gametechmods

Robot Arena => General Support => Topic started by: helloface on June 15, 2013, 02:38:36 PM

Title: DSL Keeps crashing
Post by: helloface on June 15, 2013, 02:38:36 PM
So I was having troubles with AIing a bot named Diced (Dusk 2 is another bot that I AI'd) so MassimoV gave me the bindings for Diced. I copy-pasted the Diced section in, and when I tried to use Diced as an AI it crashed. So, I did I fight with two other bots that I AI'd to see if I could run other AI's and I noticed that for some reason Dusk 2, who I AI'd without any flaws yesterday, somehow had the wrong nose settings. So I re-copypasted the Diced bindings, fixed Dusk 2, and now it crashes as soon as it loads.
Title: Re: DSL Keeps crashing
Post by: MassimoV on June 15, 2013, 02:40:16 PM
You probably need the THZ.py to fix Diced.
Title: Re: DSL Keeps crashing
Post by: helloface on June 15, 2013, 03:10:30 PM
Download link?
Title: Re: DSL Keeps crashing
Post by: MassimoV on June 15, 2013, 03:15:40 PM
It's in LDAI.
Title: Re: DSL Keeps crashing
Post by: helloface on June 15, 2013, 03:20:41 PM
Okay thanks
EDIT: Still crashes
Title: Re: DSL Keeps crashing
Post by: MassimoV on June 15, 2013, 03:23:05 PM
The game?
Title: Re: DSL Keeps crashing
Post by: Badnik96 on June 15, 2013, 03:24:59 PM
Can I see the binding? I might be able to fix it.
Title: Re: DSL Keeps crashing
Post by: helloface on June 15, 2013, 03:35:01 PM
Yep, game still crashes right at splash screen. No runtime, just says "Robot Arena 2 stopped responding".
As for the bindings, here they are:
It's using NarAI, but I only put the parts where I tinkered with.
Title: Re: DSL Keeps crashing
Post by: Badnik96 on June 15, 2013, 04:04:00 PM
Are you sure THZ is in all caps, and not something else?
Title: Re: DSL Keeps crashing
Post by: helloface on June 15, 2013, 04:05:45 PM
The THZ is caps in the bindings and .py file.
Title: Re: DSL Keeps crashing
Post by: Thyrus on June 15, 2013, 04:28:07 PM
is the team .txt correct? did you put 4 spaces in front of the bindings?
Title: Re: DSL Keeps crashing
Post by: helloface on June 15, 2013, 04:38:21 PM
Never touched Teams.txt, all teams hove bot0, 1, 2, 3, ,4 ,5, all bindings have 4 spaces before list.append.
Title: Re: DSL Keeps crashing
Post by: Thyrus on June 15, 2013, 04:46:28 PM
did you replace another bot with the one you want to ai or did you create a new team?
Title: Re: DSL Keeps crashing
Post by: helloface on June 15, 2013, 04:59:47 PM
Replaced.
Title: Re: DSL Keeps crashing
Post by: 123savethewhales on June 15, 2013, 07:50:28 PM
Your best bet is probably to copy over the original AI folder and just redo whatever change you made from scratch.

If you are not already using notepad++, do so.  Go to view and turn on "show all characters" to make sure all the hidden symbols like spaces and tabs are consistent.

Always leave your notepad++ open until everything works, so you can ctrl + z everything that isn't working.

Check to make sure you copy the right bot over, that you get the right name.  By that I mean make sure the bot file has no additional space in the back of the name.

If you suspect THZ doesn't work, just replace it with omni, if it still doesn't work you know it's not the py.