gametechmods

Robot Arena => General Support => Topic started by: Silverfish on February 04, 2017, 09:35:35 AM

Title: AI crashing my game
Post by: Silverfish on February 04, 2017, 09:35:35 AM
Ok, I've gotten sick of this. I'm working on AIing bots for the Zone, but some are crashing my game for no reason. I tried literally just changing (on ronin's base AI) the name and AI type, but it gives me the "abnormal runtime error!" message and crashes. I'm running stock 1.4. Any ideas what it is?
Title: Re: AI crashing my game
Post by: Thrackerzod on February 04, 2017, 09:37:23 AM
Can you give the line that's crashing the game?
Title: Re: AI crashing my game
Post by: Silverfish on February 04, 2017, 09:45:01 AM
Two so far:
list.append( ("Olde Lance-a-Frogge", "Omni", { 'nose': math.pi, 'radius':0.5, 'range' : 500.0, 'topspeed' : 12.0, 'throttle' : 110, 'turnspeed': 3.5, 'weapons': (14) }) )
and the second is just ronin's, except with a changed name and ai type (specifically to "Smash Bash" (which is right) and "Omni")
Title: Re: AI crashing my game
Post by: Probably Rob on February 04, 2017, 09:49:48 AM
Do you have the Omni .py? 'cause funnily enough, when testing something last night on stock, mine crashed 'cause I forgot I didn't have the .py  ;s
Title: Re: AI crashing my game
Post by: Silverfish on February 04, 2017, 09:58:40 AM
Yup, I have omni. This is the same copy of RA2 I ran the Battle Arcade on. I actually found out that Omni's in Click/Firebeetle's AI Pack after I realized I didn't have it. lol
Title: Re: AI crashing my game
Post by: Gulden on February 04, 2017, 12:06:44 PM
Usually when I get that error, it's because I misspelled the Name or AI type on the Robot.

I couldn't Find Olde Lance-a-Frogge in the Bot Exchange so I can't help otherwise.
Title: Re: AI crashing my game
Post by: Badnik96 on February 04, 2017, 12:20:16 PM
yeah you probably just misspelled the robot's name
Title: Re: AI crashing my game
Post by: Asbestosstar on February 04, 2017, 01:22:35 PM
I had the same prob to when i tryed to AI bots.