Hello again! Ok, i did like this, i patched Oasis and then i copied all errors i got and im gonna show every error i get for you people :-) When im forst trying to compile it i get an error there is conflicting type, but i just comment away those lines.. the code under this is the first error i get its something wrong with max_players. To just get on with the compiling to see the other errors i renamed all max_playing to max_players (this wont work). Well i dont know how to fix this with max_players, any idea? comm.c: In function `get_max_players': comm.c:504: `max_playing' undeclared (first use in this function) comm.c:504: (Each undeclared identifier is reported only once comm.c:504: for each function it appears in.) make[1]: *** [comm.o] Error 1 make[1]: Leaving directory `/home/toxez/mud/circle30bpl17/src' make: *** [all] Error 2 #ifdef RLIM_INFINITY if (limit.rlim_max == RLIM_INFINITY) max_descs = max_playing + NUM_RESERVED_DESCS; <---- line 504 else max_descs = MIN(max_playing + NUM_RESERVED_DESCS, limit.rlim_max); #else max_descs = MIN(max_playing + NUM_RESERVED_DESCS, limit.rlim_max); #endif } Under here i did a grep to see all max_players and max_playing in my src directory: (grep max_players *) comm.c:int max_players = 0; /* max descriptors available */ comm.c:int get_max_players(void); comm.c: max_players = get_max_players(); comm.c: if ((wsaData.iMaxSockets - 4) < max_players) { comm.c: max_players = wsaData.iMaxSockets - 4; comm.c: log("Max players set to %d", max_players); comm.c:int get_max_players(void) comm.c: if (sockets_connected >= max_players) { config.c:int max_players = 300; (grep max_playing *) comm.c: return (max_playing); comm.c: max_descs = max_playing + NUM_RESERVED_DESCS; comm.c: max_descs = MIN(max_playing + NUM_RESERVED_DESCS, limit.rlim_max); comm.c: max_descs = MIN(max_playing + NUM_RESERVED_DESCS, limit.rlim_max); comm.c: max_descs = max_playing + NUM_RESERVED_DESCS; comm.c: max_descs = max_playing + NUM_RESERVED_DESCS; comm.c: max_descs = MIN(max_playing, max_descs - NUM_RESERVED_DESCS); Ok, after i renamed all max_players to max_playing (to get moving) i get this little piecse of error, (to remove it i comment away the two lines in fight.c) fight.c:31: conflicting types for `str_app' constants.h:28: previous declaration of `str_app' fight.c:32: conflicting types for `dex_app' constants.h:30: previous declaration of `dex_app' After this, it compiles and creates the bin/circle file... but when i run it i get this error: SYSERR: Non-positive max player limit! (set o using rlimit) Of course i get this because of that i just renamed all max_players to max_playing... But HOW can i fix this little (but hard for me) problem? Can anyone help? Bye :-) +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT