Pages: [1]
  Print  
Author Topic: (Resolved) Dedicated srv: not start bot  (Read 9411 times)
darock
Ok i've posted twice!


Cakes 0
Posts: 2


« on: August 14, 2008, 08:46:01 AM »

How can start bot in my dedicated server?
With this .bat  "oa_ded.x86 +set dedicated 1 +exec srvconfig.cfg" and this .cfg

......
set net_ip "xx.xx.xx.xx"
set g_gametype 0
set fraglimit 2
set timelimit 0
set sv_maxclients 20
set sv_hostname "TestSrv"
set g_motd "Welcome!!"
set bot_enable 1
set addbot beret 1
set addbot major 1
set d1 "map oa_dm1;set nextmap vstr d2"
set d2 "map oa_dm2;set nextmap vstr d1"
vstr d1
.......

the server is running but not have bot inside.

Any idea?

Thank 1K at all, and sorry 4 my english

-----------------------------------------------------------------
Thank 4 all, but after many test the result is only one: problem is win2000 srv!
Same .bat/.cfg in xp are ok, but in win2000 server, the server game start without bot and logfile !!




« Last Edit: September 15, 2008, 04:24:41 AM by darock » Logged
fufinha
stop making alt accounts and self-termination
Member


Cakes 7
Posts: 584


retired


« Reply #1 on: August 16, 2008, 12:35:46 PM »

I had this a while ago.

I would try this..


set bot_minplayers "2"

(sets minimum bots - i think this has an effect where it will force two random bots on the server, you might not need to use addbot)

Also..

set addbot ... this might not work because all you are doing is setting a variable in the config. I think addbot is a command so try taking 'set' out..

set bot_enable 1
addbot beret 1
addbot major 1
Logged
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #2 on: August 16, 2008, 12:48:23 PM »

The problem of the above config is bots are added AFTER the map is loaded (vstr d1)
BTW, you're right with bot_minplayers, the result is bots are automatically added (but their skill & name is default/random, so we have to set up this too in some way if we want ...)
Logged

Todo: Walk the cat.
darock
Ok i've posted twice!


Cakes 0
Posts: 2


« Reply #3 on: August 29, 2008, 04:06:23 AM »

OK, server 1 - me 0

Now server 0.7.6 start with openarena.exe and with modified srvconfig.cfg

set net_ip "xx.xx.xx.xx"
set g_gametype 0
set fraglimit 15
set timelimit 10
set sv_maxclients 20
set sv_hostname "xx"
set g_motd "xx"
set bot_enable "1"
set bot_minplayers 4
set rconpassword q2
set g_log "stat.log"
set d1 "map wrackdm17;set nextmap vstr d2"
....
vstr d1

Now bot are started! Isn't dedicated server, but is not a desert map :-)  (yes, bot are random..)
A file log not exist .. but "better than nothing"

Ah, in this mode (not dedicated), i can't start server with rel. 0.8  for error msg "GLinit() - ..not load OpenGL" :-(  (machine is an old win2K server ..)

Ok, ok, server 2 - me 0
Logged
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #4 on: August 29, 2008, 06:28:43 AM »

But why don't you run it in dedicated mode ?

You just have to follow instructions let on the wiki ( (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Servers )
Note: I admit infos on the wiki is a bit incomplete, and links given do not explain well how to start a dedicated server on Windows.

Normally, you just have to start your server with oa_ded.exe, specifying a few parameters such as the name of your config file.
Logged

Todo: Walk the cat.
Pages: [1]
  Print  
 
Jump to: