server:compiling_the_server:config_h
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
server:compiling_the_server:config_h [2018/04/13 07:03] – created for TMPDIR and LOGFILE karl | server:compiling_the_server:config_h [2025/04/18 13:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 17: | Line 17: | ||
If it is planned to add a --prefix to configure, then before running '' | If it is planned to add a --prefix to configure, then before running '' | ||
- | to adjust the TMPDIR variable to match --prefix . | + | to adjust the TMPDIR variable to match --prefix . |
Example: ./configure --prefix=/ | Example: ./configure --prefix=/ | ||
- | should then make TMPDIR look as | + | should then make TMPDIR look as |
''# | ''# | ||
Line 41: | Line 41: | ||
If it is planned to add a --prefix to configure, then before running '' | If it is planned to add a --prefix to configure, then before running '' | ||
- | to adjust the LOGFILE variable to match --prefix . | + | to adjust the LOGFILE variable to match --prefix . |
Example: ./configure --prefix=/ | Example: ./configure --prefix=/ | ||
- | should then make LOGFILE look as | + | should then make LOGFILE look as |
''# | ''# | ||
FIXME Proper permissions for LOGFILE | FIXME Proper permissions for LOGFILE | ||
+ | |||
+ | |||
+ | ===== mapsize == | ||
+ | The server has two pre-defined maximum mapsize values to send to the client : **MAP_CLIENT_X** and **MAP_CLIENT_Y** . \\ | ||
+ | It is unfortunately not possible to set those in the // | ||
+ | <code c> | ||
+ | #define MAP_CLIENT_X | ||
+ | #define MAP_CLIENT_Y | ||
+ | </ | ||
+ | |||
+ | Since the client supports a maximum of 31, it might be advised to set these two values to 31 also, \\ | ||
+ | especially for local servers just consuming loop back (inerface lo) bandwidth. | ||
+ | |||
+ | ===== NEW_MATERIAL_CODE == | ||
+ | When this variable is enabled, the material of an item is displayed in the user's inventory and look window: | ||
+ | <code c> | ||
+ | # | ||
+ | </ | ||
+ | |||
+ | Example : | ||
+ | >- 8 eight **bronze** throwing daggers (1213621) | ||
+ | >- 1 **iron** long sword of Lythander (wielded) (1469332) | ||
+ | >- 4 four **oak** clubs (1213628) | ||
+ | >- 2 two **copper** axes (1213626) | ||
+ | >- 1 **granite** stoneaxe (1213627) | ||
+ | >- 1 **pine** bow * (1469324) | ||
+ | >- 1 **iron** hauberk (worn) (1469337) | ||
+ | >- 1 **cotton** robe * (1469308) | ||
+ | >- 1 **leather** jack boots * (worn) (1469351) | ||
+ | >- 1 **leather** pair of shoes * (1469367) | ||
+ | >- 1 **iron** thief' | ||
+ | >- 2 two **organic** sharp bones +2 (1469296) |
server/compiling_the_server/config_h.1523621026.txt.gz · Last modified: (external edit)