-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
110 lines (85 loc) · 3.19 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
There's not a lot here right now, but since most of the pages will be
identical to those on TriDB, those should be done fairly quickly. Adding
actual data will take some time.
Some of the gen files in data/temp depend on LuaFileSystem/lua-imlib2.
Typos:
Pouage Pectus S -> Rouage Pectus S
Urukuru Leggings S -> Urukusu Leggings S
Rangura Greaves/Leggings S -> Ranguro Greaves/Leggings S
Ghillie bow -> Ghillie Bow
Dober Legings -> Dober Leggings
Tigrex Tasset S -> Tigrex Tasset S
Doburu Coat S -> Doboru Coat S
Jinouga Greaves S -> Jinouga Greaves S
Doburu Leggings S -> Doboru Leggings S
There are two pieces called Ranger/Scout Belt (plate and waist)
There are two pieces called Jolly Roger Skirt
Possible typos:
Hunter Helm/Cap S -> Hunter's Helm/Cap S
Hunters Power Bow I -> Hunter's Power Bow I
Crystals Anklets -> Crystal Anklets
Grt Frggi Arm -> Grt Froggi Arm
Grt Frggi Arm+ -> Grt Froggi Arm+
GrtBaggiScraps -> GrtBaggi Scraps
Why are the Jhen waist parts called waistcoats?
Aptanoth -> Aptonoth
Red Qurpeco is used commonly, but the HR scraps are Qurupco. Perhaps one
should be changed for consistency.
Lighttpd config:
(don't copy this straight into your lighttpd.conf, read it and change it
as needed)
index-file.names += (
"index.lua",
)
server.modules += (
"mod_fastcgi",
"mod_rewrite",
# these aren't mandatory but I recommend you enable them
# mod_expire for obvious reasons
# mod_compress because it compresses the files in data/js to
# like 10% of their original size (which is HUGE given how big
# they are)
"mod_expire",
"mod_compress",
)
# wrap a $HTTP[ "url" ] check around this if needed
fastcgi.server += (
".lua" => (
(
"bin-path" => "/path/to/fcgi",
"socket" => "/tmp/mhp3dbFCGI.socket",
# each proc maxes at about 25MB of memory
# edit this to suit your setup
"max-procs" => 2,
)
)
)
url.rewrite-once += (
"monsters/?$" => "monsters.lua",
"monsters/([A-Za-z_]+)/?$" => "monsters.lua?monster=$1",
"weapons/?$" => "weapons.lua",
"weapons/([a-z]+)/?$" => "weapons.lua?class=$1",
"weapons/([a-z]+)/([A-Za-z0-9_+-]+)/?$" => "weapons.lua?class=$1&name=$2",
"armory/?$" => "armory.lua",
"armory/([a-z]+)/?$" => "armory.lua?class=$1",
"armory/([a-z]+)/([A-Za-z0-9_+-]+)/?$" => "armory.lua?class=$1&name=$2",
"items/?$" => "items.lua",
"items/([A-Za-z0-9_+-]+)/?$" => "items.lua?item=$1",
"builder/?$" => "builder.lua",
"builder/([A-Za-z0-9_\-\.=]+)/?$" => "builder.lua?set=$1",
"generator/?$" => "generator.lua",
)
# possibly change this to a $HTTP[ "url" ] regex?
# these will need changing if not installed to web root
expire.url += (
"/css/" => "access plus 1 months",
"/js/" => "access plus 1 months",
"/data/js/" => "access plus 1 months",
"/data/img/" => "access plus 1 months",
)
compress.cache-dir = "/path/to/cache/"
compress.filetype = (
"text/html",
"text/javascript",
"text/css",
)