how to run the server arena?
what should be the macro. I did work on creating areny.No launch arena occurs with errors. I think it is wrong to compile.
how to run the server arena?
what should be the macro. I did work on creating areny.No launch arena occurs with errors. I think it is wrong to compile.
use compiled mainsrv bins just edit map.cfg to amap.cfg and put there arena maps(infinity ,arena and cities) and global.cfg to aglobal.cfg with arenaserver flag and other MGamesrvid
by default arena bin's cant run on same server as normal server you have to add some macro to change some value to make diference between normal server and arena one, on other case, arena and normal server are differencied by config file.
so too way add some word in source code, or run on 2 different server.
or get the arena bin of killburne ;)
good luck for this little dev (follow the start of the field server to understand what happen on start. and add the same piece of code in log server, npc server, im server.
Its case of FIELD SERVER
Yes, use HEX editor, search for global.cfg first, change it to for ex. aglobal.cfg and create that file in config/ folder.
Then search for map.cfg and change it to for ex. amap.cfg and do the same as in global.cfg case.
Now search for Field Server - use brain here - in hex it will looks like '00 HEX CODE OF FIELD SERVER STRING 00'and change it to for ex ArenaField.
Now search for FieldSystem (It's prefix of log file) and just change it for ex to ArenaField
Do the same for rest of bins and it will be ok
For no-brain idiots - just make backup copies
he have server source code (from what he said on his thread), so it's more easier to add 3 define line than compile bin to hex edit them at each build ;)
but each people do what he want ;)
add ARENA definition in Contents.h
not as, just pre-processor definition
them compile (im, log,field,npc) and it will read cfg of arena (amap,aglobal) if you have that in your source setted up.Code:#define ARENA
dont forget to comment this line before you want to compile main server ;)
Last edited by WarriorSW; 01-05-14 at 10:46 AM.
#if defined(WIKIGAMES_ENG)
#define ARENA
#endif
smth like that or just add it on the top of the file before localization (build type) definitions