mirror of
https://github.com/tbamud/tbamud.git
synced 2025-09-22 05:50:48 +02:00
Increase ID space
DG Scripts uses tiny idspace that results in wacky bugs when the mud is running too long.
This commit is contained in:
parent
c8895b57d1
commit
c59e675cff
1 changed files with 3 additions and 3 deletions
|
@ -420,9 +420,9 @@ void wld_command_interpreter(room_data *room, char *argument);
|
|||
* mob id's: MOB_ID_BASE to ROOM_ID_BASE - 1
|
||||
* room id's: ROOM_ID_BASE to OBJ_ID_BASE - 1
|
||||
* object id's: OBJ_ID_BASE and higher */
|
||||
#define MOB_ID_BASE 50000 /* 50000 player IDNUMS should suffice */
|
||||
#define ROOM_ID_BASE 1050000 /* 1000000 Mobs */
|
||||
#define OBJ_ID_BASE 1300000 /* 250000 Rooms */
|
||||
#define MOB_ID_BASE 10000000 /* 10000000 player IDNUMS should suffice */
|
||||
#define ROOM_ID_BASE (10000000 + MOB_ID_BASE) /* 10000000 Mobs */
|
||||
#define OBJ_ID_BASE (10000000 + ROOM_ID_BASE) /* 10000000 Rooms */
|
||||
|
||||
#define SCRIPT(o) ((o)->script)
|
||||
#define SCRIPT_MEM(c) ((c)->memory)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue