OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: chaoticsoldier on January 29, 2009, 08:31:36 PM



Title: What is botlib.log?
Post by: chaoticsoldier on January 29, 2009, 08:31:36 PM
It appears in the baseoa folder along with the games and qconsole logs. I think it started to appear when I enabled the qconsole log, but I'm not sure.

Can someone please tell me what it is for? I can't make sense of it.


Title: Re: What is botlib.log?
Post by: andrewj on January 30, 2009, 01:58:19 AM
I don't have that file, so you must have enabled it somehow.

Looks to me like a debugging aide for the bot code, and I reckon the contents probably won't mean much to anybody not experienced in the Q3A bot internals.


Title: Re: What is botlib.log?
Post by: fufinha on January 30, 2009, 03:22:28 AM
He is right. It generates itself if you dont direct the output to null. I dont know what it's for either but didnt look at it. I bet google knows tho


Title: Re: What is botlib.log?
Post by: chaoticsoldier on January 30, 2009, 07:32:12 AM
I did a few searches on Google (took about 30 minutes), but I couldn't find a description of the file :(

So, I deleted the existing botlib.log and then played a quick match against a bot on Aggressor. This is what the file contained afterwards:

Code:
item team_redobelisk has modelindex 0item team_blueobelisk has modelindex 0item team_neutralobelisk has modelindex 0item item_botroam has modelindex 0entity worldspawn unknown item
entity info_null unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity info_player_deathmatch unknown item
entity info_player_deathmatch unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity info_player_deathmatch unknown item
entity info_player_deathmatch unknown item
entity info_player_deathmatch unknown item
entity info_player_deathmatch unknown item
entity info_player_deathmatch unknown item
entity light unknown item
entity trigger_teleport unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity trigger_teleport unknown item
entity misc_teleporter_dest unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity trigger_teleport unknown item
entity trigger_teleport unknown item
entity misc_teleporter_dest unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity misc_teleporter_dest unknown item
entity misc_teleporter_dest unknown item
entity info_null unknown item
entity light unknown item
entity info_null unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity light unknown item
entity dom_controlpoint unknown item
entity runematch_spawn_point unknown item
entity dom_controlpoint unknown item
entity dom_controlpoint unknown item
entity dom_controlpoint unknown item
entity runematch_spawn_point unknown item
entity runematch_spawn_point unknown item
entity runematch_spawn_point unknown item
entity runematch_spawn_point unknown item
entity target_speaker unknown item
entity target_speaker unknown item
entity target_speaker unknown item
item info 25 "weapon_gauntlet" has no fuzzy weight
item info 26 "weapon_grapplinghook" has no fuzzy weight
item info 49 "team_redobelisk" has no fuzzy weight
item info 50 "team_blueobelisk" has no fuzzy weight
item info 51 "team_neutralobelisk" has no fuzzy weight

Does that mean anything?


Title: Re: What is botlib.log?
Post by: fufinha on January 30, 2009, 07:55:22 AM
maybe a bug, that hasnt been fixed since 0.60?

Package: openarena
Version: 0.6.0-2
Severity: minor

OpenArena dumps the file botlib.log in the current directory. This
isn't dangerous, nor does it make anything unstable, but it is annoying.

A simple fix would be to configure the /usr/games/openarena script to
delete this file on exit. I don't recommend this. It would fail if
openarena, or the computer, crashed, or if openarena was kill -9'ed. It
also wouldn't work if that script was bypassed, or replaced with a
similar script (such as to use custom maps by default). The proper
solution would be to find the code that does this, and remove it.

-Brandon


Title: Re: What is botlib.log?
Post by: chaoticsoldier on January 30, 2009, 08:23:24 AM
Hmm. I found that as well, but I thought the bug report was because the log file was being put in the wrong place - not because it was being created.


Title: Re: What is botlib.log?
Post by: andrewj on January 30, 2009, 08:46:08 PM
The console command "logfile" controls whether this file is created or not.

It defaults to "0" aka OFF, so I don't see any problem with it.


Title: Re: What is botlib.log?
Post by: chaoticsoldier on January 30, 2009, 09:00:33 PM
I set /logfile to 1 in order to create qconsole.log, so I guess it creates both. No worries then.


Title: Re: What is botlib.log?
Post by: Marble of Doom on February 01, 2009, 10:18:13 AM
The log also appears on my computer too but it appears in random folders each time.


Title: Re: What is botlib.log?
Post by: chaoticsoldier on February 02, 2009, 05:09:39 AM
That's interesting. On my computer, it's always in the same place: the  "Application Data\OpenArena\baseoa"  folder. This is where it is meant to be, along with the other logs.