g_botsFile
Can't get custom bots.txt working. I have seta g_botsFile "scripts/bots.txt"
in server.cfg. I have bots.txt in /scripts:
{ name Xaero model xaero aifile bots/xaero_c.c arenaLord 1 } { name Orbb model orbb aifile bots/orbb_c.c } { name Slash model slash aifile bots/slash_c.c } { name Sorlag model sorlag aifile bots/sorlag_c.c } { name Daemia model major/daemia aifile bots/daemia_c.c } { name Uriel model uriel aifile bots/uriel_c.c arenaLord 1 } { name Wrack model ranger/wrack aifile bots/wrack_c.c } { name Keel model keel aifile bots/keel_c.c } { name Bitterman model bitterman aifile bots/bitterman_c.c } { name Anarki funname ^1A^2n^3a^4r^5k^6i model anarki aifile bots/anarki_c.c arenaLord 1 } { name Angel model lucy/angel aifile bots/angel_c.c } { name Klesk model klesk aifile bots/klesk_c.c arenaLord 1 } { name Phobos model doom/phobos aifile bots/phobos_c.c } { name Mynx model mynx aifile bots/mynx_c.c } { name Visor model visor aifile bots/visor_c.c } { name Lucy model lucy aifile bots/lucy_c.c } { name Biker model biker aifile bots/biker_c.c } { name Stripe model grunt/stripe aifile bots/stripe_c.c } { name Hossman model biker/hossman aifile bots/hossman_c.c }
/* Argus Heir - Quake III Arena Bot * * @date 10. April 2003 * @author chris <root@xube.de> **/ #include "inv.h" #define FS_HEALTH 3 #define FS_ARMOR 7 #define W_BFG10K 230 #define W_RAILGUN 285 #define W_ROCKETLAUNCHER 220 #define W_LIGHTNING 285 #define W_PLASMAGUN 80 #define W_GRENADELAUNCHER 40 #define W_MACHINEGUN 70 #define W_SHOTGUN 150 #define GWW_BFG10K 150 #define GWW_RAILGUN 225 #define GWW_ROCKETLAUNCHER 140 #define GWW_LIGHTNING 180 #define GWW_PLASMAGUN 80 #define GWW_GRENADELAUNCHER 30 #define GWW_MACHINEGUN 50 #define GWW_SHOTGUN 115 #define W_QUAD 160 #define W_INVISIBILITY 80 #define W_REGEN 40 #define W_HASTE 40 #define W_ENVIRO 40 #define W_FLIGHT 40 #define W_TELEPORTER 40 #define W_MEDKIT 40 #define FLAG_WEIGHT 50 #include "fw_items.c"
.... and re-zipped it (renamed to z-xp-2_0a.pk3) , the server won't start.
Check the chosen archiving method you set. It should be the same as original PK3's use. Also look at "save full path", "no encryption", not an "7zip-format" but simply "ZIP" if you use 7zip archiver etc etc. Otherwise engine will unable to inflate resources right to memory.
How do I know how the original pk3 was archived? BTW - your sig is hilarious
If you do not want to dig into pkware headers (two bytes at offset 8 shows used method and also somewhere in eocd secondary header at the end of the archive) then simply backup aside your pk3, keep it opened in 7-zip for example and just drag back only files modified by you in appropriate directories. In that case archiver will keep deflation method as well as compression level etc the same as they were prior. Your job will be only to confirm such replacements.
Quote:then simply backup aside your pk3, keep it opened in 7-zip for example and just drag back only files modified by you in appropriate directories. In that case archiver will keep deflation method as well as compression level etc the same as they were prior. Your job will be only to confirm such replacements.After dragging the edited files (argus_i.c, argus_w.c) into 7-zip, I noticed the files had no attributes, and were in fat format instead of unix. I fired up linux and edited the files, changed the timestamps to the same as the original files and repacked. Everything looked perfect. I placed the edited z-xp-2_0a.pk3 in the excessive plus directory. Server would not start
that was only my suggestion where start to investigate, obviously we had spotted the problem itself still persists in another field. Put here the console log of a server start process. To get it just use the following commands
/developer 1 /condump <filename>.<ext>
Could not get /condump to execute, I copied the output of the console:
... 7553 files in pk3 files Loading vm file vm/qagame.qvm... File "vm/qagame.qvm" found in "C:\Quake III Arena\excessiveplus\z-xp-2_3.pk3" VM file qagame compiled to 3849417 bytes of code qagame loaded in 10840160 bytes on the hunk ******************** ERROR: Excessive Plus seems broken, please download from <a href="//www.excessiveplus.net">www.excessiveplus.net</a> ******************** ----- Server Shutdown (Server crashed: Excessive Plus seems broken, please download from <a href="//www.excessiveplus.net">www.excessiveplus.net</a>) ...
So )))
Do you see the error by yourself?
Please check your files integrity with something like this
Usually but not always the hero is pointed at previous log string before crash
How do I know how the original pk3 was archived? BTW - your sig is hilarious