WOOT! Working Bot Scores!!!

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

sure, post it anywhere! :D
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
Daniel_NAD
Sergeant
Posts: 51
Joined: Sat Jun 28, 2003 4:25 pm
Location: UK
Contact:

Post by Daniel_NAD »

Will do :)

hopefully you should get some more people....hopefully :roll:

http://www.gamingforums.com/showthread. ... adid=79958
If a job is worth doing then it's worth doing well!
Image
dpresdperson
Private
Posts: 1
Joined: Mon Jun 30, 2003 12:32 am

Post by dpresdperson »

wow! is that a Grease Gun in the background of the first screenshot? where did you get that?
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

yes, it's my grease gun.
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
martijn_NL
Map Reviewer
Posts: 156
Joined: Mon Apr 14, 2003 5:33 pm
Location: The Netherlands
Contact:

Post by martijn_NL »

Why is the fps so low with the bots?
Mapping 4 life
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

martijn_NL wrote:Why is the fps so low with the bots?

Well I'm not completely sure myself but I know some reasons:
  1. Bot pathfinding: the server continuously has to calculate routes for about 16 bots
  2. Bot AI: in game code regularly does sighttraces so the bot is aware of threats.
  3. Animation scripts: all bot animations are called from .scr files in the anim folder. Scripts are much slower than game code.
  4. Bot scripts: bots check for tasks every 0.4 seconds. These checks involve a lot of distance calculations.
Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

When will we get it? Will it be in jv_bot02?

Looks great.

Bye
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Yeah I suppose 8-)
Image
User avatar
small_sumo
Lieutenant General
Posts: 953
Joined: Mon Jul 01, 2002 4:17 pm
Contact:

Post by small_sumo »

Can we add the scoreboard to our levels already or is it still in development?

Thanks.
Image

www.smallsumo.tk

Yeah Truth above Honor Man ;)
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

It's still in development. Currently the scores assigned are random :wink:
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Yay now with the actual scores :). Yet you can see how good I really am :cry: Image
Image
nihilo
Sergeant Major
Posts: 107
Joined: Thu Mar 13, 2003 6:07 am

Post by nihilo »

wow, looks excellent. That was a problem I really didn't see a solution to, but seems like you guys found it. Now, if I understand correctly, that is not the actual scoreboard, right? Instead you made another scoreboard that looks identical to the original that you can bring up by pushing a button other than tab. Correct?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

nihilo wrote:wow, looks excellent. That was a problem I really didn't see a solution to, but seems like you guys found it. Now, if I understand correctly, that is not the actual scoreboard, right? Instead you made another scoreboard that looks identical to the original that you can bring up by pushing a button other than tab. Correct?

Yes.

Too bad the score are not completely accurate. It's not recorded when a bot kills a player, so all you see on the scoreboard are 'bot kills', i.e. kills in which a bot was killed.
Image
User avatar
Daniel_NAD
Sergeant
Posts: 51
Joined: Sat Jun 28, 2003 4:25 pm
Location: UK
Contact:

Post by Daniel_NAD »

Hey jv

it dont really matter if they're random, sure it would be good with them proper, but random score's add a bit of realism


Good work :D
If a job is worth doing then it's worth doing well!
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Oh no

Post by jv_map »

I'm having a very annoying problem with the botscores :cry:

It's due to a bug or an 'intended uglyness' in the mohaa dedicated server code. This code automatically spawns a fake player in the map, even if no clients have connected. My bot script tries to send the score information from the server to this 'fake' client, which results in a load of errors and finally in a 'division by zero' crash :?

cqonsole.log wrote:===== pending server commands =====
cmd 1: stopwatch 0 0
cmd 2: stufftext "set jvbot_ui_axis_score_8 0"
cmd 3: stufftext "set jvbot_ui_axis_name_8 0"
cmd 4: stufftext "set jvbot_ui_axis_score_7 0"
(...)
cmd 510: stufftext "set jvbot_ui_axis_score_7 0"
cmd 511: stufftext "set jvbot_ui_axis_score_7 0"
cmd 512: stufftext "set jvbot_ui_axis_name_8 0"
cmd 513: stopwatch 0 0
cmd 514: stufftext "set jvbot_ui_axis_name_8 0"
NET_CompareAdr: bad address type
NET_CompareAdr: bad address type
NET_CompareAdr: bad address type
(...)
NET_CompareAdr: bad address type
NET_CompareAdr: bad address type
NET_CompareAdr: bad address type
broadcast: print " Server command overflow\n"
Going to CS_ZOMBIE for


:x

Anyone who knows a solution? :D
Image
Post Reply