… | |
… | |
193 | * players, monsters, or items with speed 1 can do one thing. |
193 | * players, monsters, or items with speed 1 can do one thing. |
194 | */ |
194 | */ |
195 | |
195 | |
196 | #define MAX_TIME 120000 |
196 | #define MAX_TIME 120000 |
197 | |
197 | |
198 | |
|
|
199 | /* |
198 | /* |
200 | * MAX_ITEM_PER_DROP defines how many items a player can drop at once. |
199 | * MAX_ITEM_PER_ACTION defines how many items a player can drop/take etc. at once. |
201 | * (be careful to set this to high values, as dropping lots of things |
200 | * (be careful to set this to high values, as dropping lots of things |
202 | * can be a performance problem (for which a fix is worked on)). |
201 | * can be a performance problem (for which a fix is worked on)). |
203 | */ |
202 | */ |
204 | |
203 | |
205 | #define MAX_ITEM_PER_DROP 100 |
204 | #define MAX_ITEM_PER_ACTION 50 |
206 | |
205 | |
207 | /* Polymorph as it currently stands is unbalancing, so by default |
206 | /* Polymorph as it currently stands is unbalancing, so by default |
208 | * we have it disabled. It can be enabled and it works, but |
207 | * we have it disabled. It can be enabled and it works, but |
209 | * it can be abused in various ways. |
208 | * it can be abused in various ways. |
210 | */ |
209 | */ |
… | |
… | |
256 | * DMFILE - file with dm/wizard access lists |
255 | * DMFILE - file with dm/wizard access lists |
257 | * LOGFILE - where to log if using -daemon option |
256 | * LOGFILE - where to log if using -daemon option |
258 | * MAP_ - various map timeout and swapping parameters |
257 | * MAP_ - various map timeout and swapping parameters |
259 | * MAX_OBJECTS - how many objects to keep in memory. |
258 | * MAX_OBJECTS - how many objects to keep in memory. |
260 | * MAX_OBJECTS_LWM - only swap maps out if below that value |
259 | * MAX_OBJECTS_LWM - only swap maps out if below that value |
261 | * MOTD - message of the day - printed each time someone joins the game |
|
|
262 | * PERM_FILE - limit play times |
260 | * PERM_FILE - limit play times |
263 | * SHUTDOWN - used when shutting down the server |
261 | * SHUTDOWN - used when shutting down the server |
264 | * SOCKETBUFSIZE - size of buffer used internally by the server for storing |
262 | * SOCKETBUFSIZE - size of buffer used internally by the server for storing |
265 | * backlogged messages. |
263 | * backlogged messages. |
266 | * TMPDIR - directory to use for temp files |
264 | * TMPDIR - directory to use for temp files |
… | |
… | |
286 | * -daemon option. |
284 | * -daemon option. |
287 | */ |
285 | */ |
288 | #ifndef LOGFILE |
286 | #ifndef LOGFILE |
289 | #define LOGFILE "/var/log/deliantra/logfile" |
287 | #define LOGFILE "/var/log/deliantra/logfile" |
290 | #endif |
288 | #endif |
291 | |
|
|
292 | /* |
|
|
293 | * If you want to have a Message Of The Day file, define MOTD to be |
|
|
294 | * the file with the message. If the file doesn't exist or if it |
|
|
295 | * is empty, no message will be displayed. |
|
|
296 | * (It resides in the CONFDIR directory) |
|
|
297 | */ |
|
|
298 | #define MOTD "motd" |
|
|
299 | |
289 | |
300 | /* |
290 | /* |
301 | * You can restrict playing in certain times by creating a PERMIT_FILE |
291 | * You can restrict playing in certain times by creating a PERMIT_FILE |
302 | * in CONFDIR. See the sample for usage notes. |
292 | * in CONFDIR. See the sample for usage notes. |
303 | */ |
293 | */ |