Pages: [1]
Author Topic: Need advice on how to start developing  (Read 4849 times)

Cakes 0
Posts: 72

« 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.

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

L!ve* is life - na na nana na
Lesser Nub

Cakes 0
Posts: 102

Painted nails and long haired... I'm not a witch!

« Reply #1 on: May 10, 2012, 12:31:52 PM »

That could be a nice idea, still I can't help you in this.

In the year 3000

Cakes 45
Posts: 4393

« Reply #2 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

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.

Cakes 1
Posts: 33

« Reply #3 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).
Pages: [1]
Jump to: