.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   PODBots are Spectators on CS 1.5 (http://forums.bots-united.com/showthread.php?t=6970)

wiseguy 06-11-2008 17:08

PODBots are Spectators on CS 1.5
 
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?

KWo 06-11-2008 20:56

Re: PODBots are Spectators on CS 1.5
 
I don't have a linux PC box and I don't understand what You are doing, but the only right way to install podbot mm is described here:
http://forums.bots-united.com/showthread.php?t=2576
It clearly says what and where and how should be installed.
If that topic doesn't help You, I don't think I can help You any better way. :(

wiseguy 06-11-2008 23:03

Re: PODBots are Spectators on CS 1.5
 
Okay, I found the Problem:
in liblist.gam was a second entry with cs...so - i removed that and now it works fine!


All times are GMT +2. The time now is 20:37.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.