[ioquake3] bot library used before being setup error

Yasir I. Al-Dosary - zgzg2020™ yasiraldosary at yahoo.com
Thu Feb 17 02:18:18 PST 2011


Sorry, I added BOTLIB=1 to precompiler definitions, that message is gone! I am really happy about something changing. However, I am afraid now I have a different message and error. But, It says Unnamed Player Killed. And, when I try to add a bot it says Biker^7 BotAISetupClient failed, and "recursive error after: FS_FileForHandle: NULL." error message.

I checked the log
----
...loaded 1942 faces, 113 meshes, 42 trisurfs, 0 flares
CL_InitCGame:  0.78 seconds
3 msec to draw all images
Com_TouchMemory: 0 msec
UnnamedPlayer^7 entered the game
UnnamedPlayer^7 killed himself.
loaded cached skill 5.000000 from bots/default_c.c
loaded skill 5 from bots/biker_c.c
loaded bots/biker_i.c
loaded bots/biker_w.c
loaded cached skill 5.000000 from bots/default_c.c
loaded cached skill 5.000000 from bots/biker_c.c
loaded cached skill 5.000000 from bots/default_c.c
loaded cached skill 5.000000 from bots/biker_c.c
loaded cached skill 5.000000 from bots/default_c.c
loaded cached skill 5.000000 from bots/biker_c.c
Biker^7 BotAISetupClient failed
Biker^7 BotAISetupClient failed
Biker^7 BotAISetupClient failed
Biker^7 BotAISetupClient failed
----

Any ideas?

--- On Thu, 2/17/11, Patrick Baggett <baggett.patrick at gmail.com> wrote:

From: Patrick Baggett <baggett.patrick at gmail.com>
Subject: Re: [ioquake3] bot library used before being setup error
To: "Primary ioquake3 Discussion/Development list" <ioquake3 at lists.ioquake.org>
Date: Thursday, February 17, 2011, 6:53 PM



On Thu, Feb 17, 2011 at 3:32 AM, Yasir I. Al-Dosary - zgzg2020™ <yasiraldosary at yahoo.com> wrote:

Thank you for the answers,
I removed the precompiler BOTLIB definition from my project. And, I placed a breakpoint at fopen(). And, it breaks there, so I assume my build is not using VFS files.

However, the Game still shows the same error message. It tried to fopen() the "weapon.c" file, but can't find it.

What can I do to help fix this?

Yasir



Re-read what Ben and I wrote -- we did not say to REMOVE it, we said to ADD it. 
Do you compile with -DBOTLIB? Without it, the botlib code doesn't use

the VFS, just plain fopen().
"weapon.c" is in the pak files. You will not be able to open it with fopen()



-----Inline Attachment Follows-----

_______________________________________________
ioquake3 mailing list
ioquake3 at lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ioquake.org/pipermail/ioquake3-ioquake.org/attachments/20110217/2f4ec5b9/attachment-0001.htm>


More information about the ioquake3 mailing list