Win without a fight

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

Moderator: Moderators

Post Reply
Underground
Private
Posts: 4
Joined: Sat Nov 01, 2003 2:48 pm
Location: Underground World
Contact:

Win without a fight

Post by Underground »

I downloaded two bot maps from www.mohmaps.com : The Hunt w/ Bots and Vemork Heavy Water Factory w/ Bots. But when I started to play one of these maps, the Allies will win in like 2 seconds even though I haven't joined the team and there's no player/bot or there are player in each team. What's wrong? Are these maps that buggy?
"The real and lasting victories are those of peace, and not of war"--Ralph Waldo Emerson
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm well Vemork factory used to had that bug though I made a fix for it... not sure if the download over at mohmaps.com ships with the bot update. Anyway should be fixed when the next bot version comes out.

I've heard about those problems on the hunt with bots too, but I'm not sure what causes them. I think I'll take a look at the script.
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Well the script for the hunt with bots is a mess, not sure if this explains the bogus wins but it could very well be the culprit.

It doesn't happen each round does it?
Image
Underground
Private
Posts: 4
Joined: Sat Nov 01, 2003 2:48 pm
Location: Underground World
Contact:

Post by Underground »

It doesn't happen each round does it?
Well it happened each time on both maps. Actually these 2 maps are the (so far) the only map I've downloaded from www.mohmaps.com and I stopped downloading from that site cuz I think most maps there have similiar bugs :shock: I would prefer download map from your site :lol:
"The real and lasting victories are those of peace, and not of war"--Ralph Waldo Emerson
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Well that certainly is odd :?
Image
Bjarne BZR
Site Admin
Posts: 3298
Joined: Wed Feb 05, 2003 2:04 pm
Location: Sweden
Contact:

Post by Bjarne BZR »

As for vemork factory: this is a pre-release and I recommend you download all you need for it at the source. :D
Admin .MAP Forums
Image
Head above heels.
User avatar
Krash
Private
Posts: 7
Joined: Sat Apr 05, 2003 7:21 pm

same here

Post by Krash »

I've tried both maps and I get the same "feature". It has happened every time I've tried to play them and ONLY on these maps... I've also tried re-downloading from differend sites with no luck. I also took a look at the script for The Hunt, but couldn't realy find anything wrong. Check out this screen of my console, maybe you can use this.
Image
The only thing I can figure is that there is no Flak88 model in the map. Would that matter?
And, when the doctor said I didn't have worms any more, that was the happiest day of my life...
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

maybe if you could get the whole log file. Type "logfile 1" and you'll get a qconsole.txt in the folder of the game, main, mainta, or maintt. Copy that here.
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Well the problem is obvious now... level.targets_destroyed is initialized as NIL instead of 0, so the < operator isn't valid and thus returns false (0), the while loop exits and the allies win.

Adding the line level.targets_destroyed = 0 somewhere on top of the script below level waittill spawn will certainly fix these issues.
Image
User avatar
Krash
Private
Posts: 7
Joined: Sat Apr 05, 2003 7:21 pm

Post by Krash »

Never even occured to me... Thanks JV. :idea:
And, when the doctor said I didn't have worms any more, that was the happiest day of my life...
smartaiguy
Brigadier General
Posts: 512
Joined: Tue Jul 08, 2003 2:52 pm

Post by smartaiguy »

:oops: :!: how'd I miss that :oops:
Fallschirmjager in europe(FIE)! (Mapper/Webmaster)
.Map map reviewer
Look up in the sky! Its a bird its a plane, oh wait its a bird.:lol:
Post Reply