g_botsFile read only

6 replies [Last post]
THOR*ELITE'Z*
Thor-NL's picture
Offline
Joined: Jan 2011
Posts:

Hi,

When i want to test custom bots on server i get this message : g_botsFile read only.

In the server.cfg :
seta g_botsFile "custombots.txt"

When i check \g_botsFile its empty " "

When added manualy in q3config.cfg, the bots dont come in (only normal bots), leaving Q3 and checking q3config .... g_botsFile empty again. (removed automaticly)

Online dedicated server works fine, on my PC i get this "read only" message.
(No write-protect on files, other variables are changed fine)

Can someone help me out ? Thankx in advance

www.elitez.eu



The whole world is searching for Waldo...
In Soviet Russia, Waldo finds YOU !
Rayden was here
georgekotz's picture
Offline
Joined: May 2010
Posts:
Re: g_botsFile read only

If you use win7 64 bit like me then probably is windows fault coz lately it happens to me also with my quake 3 cfg. I try to change something and it doesnt. So try to find a way to let windows modify and save the file you want.

Real life is more important then Virtual life
Dont forget that

THOR*ELITE'Z*
Thor-NL's picture
Offline
Joined: Jan 2011
Posts:
Re: g_botsFile read only

Running XP sp3.... and altering other variables just works fine.

It's not the bots file itself but the CVAR which is acting up .

www.elitez.eu



The whole world is searching for Waldo...
In Soviet Russia, Waldo finds YOU !
hrd
Alpha.Dot's picture
Offline
Joined: Jan 2011
Posts:
Re: g_botsFile read only

You have to put this seta g_botsFile "custombots.txt" to server cfg i think, at least worked for me, and dedicated 1-2 ofc.

With single player its never works properly :\ if you need help with setup local server i can send you .cfg and .bat

THOR*ELITE'Z*
Thor-NL's picture
Offline
Joined: Jan 2011
Posts:
Re: g_botsFile read only

It is placed in server.cfg.

But i dont't start as dedicated server, is that a must?

Just \exec server.cfg, all other things work just fine.....it's only that message g_botsFile is read only.

www.elitez.eu



The whole world is searching for Waldo...
In Soviet Russia, Waldo finds YOU !
THOR*ELITE'Z*
Thor-NL's picture
Offline
Joined: Jan 2011
Posts:
Re: g_botsFile read only

Found a solution with my problem described above.
Perhaps if someone stumbles up on this thread, it might help them too Winking

My startup sequence is, q3 then load mod 2.2b, multiplayer, create.
This sequence loads first the q3config.cfg in baseq3 directory, in which the string is written seta g_botsFile " "
When excessive loads it will not overwrite the g_botsvile, its write protected.

The solution is, fill that string already in the q3config.cfg in baseq3 directory exp: seta g_botsFile "DM17bots.txt" AND in you excessive\q3config.cfg.

After that, bots are loaded from this file.

www.elitez.eu



The whole world is searching for Waldo...
In Soviet Russia, Waldo finds YOU !
ditto*ELITE'Z*
Offline
Joined: Jan 2011
Posts:
Re: g_botsFile read only

Nice work around Thor. I had this exact problem and never took time to figure out a solution. I always ran dedicated then joined which takes more time. So now I can run server.bat and all my custom bots join me.
Thanks.