OpenArena Message Boards

OpenArena Contributions => Development => Topic started by: wing0 on May 10, 2012, 11:24:06 AM



Title: Need advice on how to start developing
Post by: wing0 on May 10, 2012, 11:24:06 AM
Hi there,

I would like to write a bot which gives advice to new players / collects stats.
For those who know B3, I wrote B3 (Dont tell anybody!).

I dont get where I get the information who fragged who.
I grep'ped for dodged, as in "XXX almost dodged YYY rocket", as this seemed a good start.
However, there is no such string in the engine code.
Am I missing something?

Aboute B3:
B3 is a client side bot mostly hanging around at 'normal ctf server for the stupid'.
I was unable to figure out how to do it properly,so I wrote a Java wrapper vor OAs stdout :/

Maybe the code can be used for personal stats in OA.


Btw:
I know two players, that collect stats by parsing the games.log


Title: Re: Need advice on how to start developing
Post by: Someone_mad on May 10, 2012, 12:31:52 PM
That could be a nice idea, still I can't help you in this.
             ±END¤CONNEXION±


Title: Re: Need advice on how to start developing
Post by: Gig on May 10, 2012, 02:51:26 PM
B3 what? You are not referencing to Big Brother Bot, right?

Anyway, the "x fragged y" message is probably not in the engine side, but in the gamecode (game logic) side (OAX).

You may start from (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Main_Page#Development


Title: Re: Need advice on how to start developing
Post by: hemite on May 10, 2012, 06:16:28 PM
"X fragged Y" is in (default) games.log

That's the log file the server automatically dumps out with all the content including date, game type, frags, etc.

Again, games.log is the default file. Some server admins choose to output it to a different file or to dump the contents to trash (not save a log file at all).