View Single Post
PODBots are Spectators on CS 1.5
Old
  (#1)
wiseguy
Member
 
Status: Offline
Posts: 2
Join Date: Nov 2008
Default PODBots are Spectators on CS 1.5 - 06-11-2008

Hallo,

i want to run a CS 1.5 Server on my linux mashine (1.5 because of the steam i dont like to have).

The Server works fine, but the bots (I only found PODBot für linux Servers) are only in spectator mode.

Here is how i Installed the cs Server:
Code:
install CS Server
from: http://www.linuxforen.de/forums/showthread.php?t=195885

files needed:
  • hlds_l_3110_full.tar.gz or hlds_l_3110full.bin
  • cs_15_full.tar.gz
  • hlds_l_3111e_update.tar.gz
  • nowon2.pl
install:
  1. if i have hlds_l_3110full.bin instad of hlds_l_3110_full.tar.gz: run './hlds_l_3110full.bin' (say 'yes')
  2. tar -xvzf hlds_l_3110_full.tar.gz
  3. tar -xvzf cs_15_full.tar.gz
  4. mv cstrike hlds_l
  5. tar -xvzf hlds_l_3111e_update.tar.gz
  6. perl nowon2.pl hlds_l
run in hlds_l directory: ./hlds_run -game cstrike -nomaster +sv_lan 1 +maxplayers 12 +map de_dust +ip xx.xx.xx.xx +port xxxxx
After that I did the following changes:
Code:
  • change /hlds_l/valve/valvecomm.lst (i don't know where i get it, but thats not the problem: the PODBots are spectators with and without this changes)
  • write 'int NET_IsReservedAdr(){return 1;}' in a file named /hlds_l/nowon
  • run 'gcc -c nowon.c -o nowon.o'
  • run 'ld -shared -o nowon.so nowon.o'
  • write 'export LD_PRELOAD=/.../hlds_l/nowon.so' in file /hlds_l/hlds_run under 'export ...' ('...' is the absolute path)
  • run 'wget http://svn.nomi.cz/svn/tomi/dedtools/head/hlds/hlds_20040707fix.c' in hlds_l directory
  • run 'gcc -s -O3 -D_GNU_SOURCE -fPIC -shared -ldl -o hlds_20040707fix.so hlds_20040707fix.c'
  • change 'export LD_PRELOAD=/.../hlds_l/nowon.so' in 'export LD_PRELOAD="/.../hlds_l/nowon.so /.../hlds_l/hlds_20040707fix.so"' in file hlds_run
After that I installed the PODBot:
Code:
  • run 'wget http://ovh.dl.sourceforge.net/sourceforge/metamod/metamod-1.19-linux.tar.gz'
  • run 'tar -xfvz metamod-1.19-linux.tar.gz'
  • create hlds_l/cstrike/addons/metamod/dlls
  • copy metamod_i386.so to hlds_l/cstrike/addons/metamod/dlls
  • write 'linux addons/podbot/podbot_mm_i386.so' in a file named /hlds_l/cstrike/addons/metamods/plugins.ini
  • change 'gamedll "dlls\mp.dll"' (in my way it was an other file, but its not interesting) to 'gamedll_linux "addons/metamod/dlls/metamod_i386.so"' in file hlds_l/cstrike/liblist.gam
  • run 'wget http://filebase.bots-united.com/uploads/podbot_full_V3B20a.zip'
  • run 'unzip podbot_full_V3B20a.zip'
  • move directory podbot to hlds_l/strike/addons
The Problem is, the Bots stay in Spectate mode. I used although some older versions of PODBot (Version R2B46d (the server didn't run) and Version 2.6mm (the same problem: bots stay in Spectator mode))

can anybody help me?
  
Reply With Quote