Page 1 of 1

Crash with frameinstance tag

Posted: 23 May 2013, 18:02
by steeffeen
I was working on my script and since i did a change on a manialink script it crashes right after the start..
here is a crash log: https://dl.dropboxusercontent.com/u/588 ... B03CA8.txt
i can provide the script if needed

regards

Re: Crash on script start

Posted: 23 May 2013, 18:11
by faserg1
Do you use bots in your script? If yes, I have same probem. Bots for now totaly not working. It just a biggest crash-bug.

Re: Crash on script start

Posted: 23 May 2013, 18:18
by steeffeen
faserg1 wrote:Do you use bots in your script? If yes, I have same probem. Bots for now totaly not working. It just a biggest crash-bug.
no i'm not using bots
and bots aren't always causing bots, don't say that

Re: Crash on script start

Posted: 23 May 2013, 18:26
by faserg1
Try to found source of problem. Just place log instructions and before script start turn on log console. If you lucky - you can see the last seconds of console)

Re: Crash on script start

Posted: 23 May 2013, 18:38
by steeffeen
okay i found the source of the crash

it crashes when using a not-existing modelid for a <frameinstance/> in a manialink

Re: Crash on script start

Posted: 23 May 2013, 18:45
by faserg1
Are you tryed to comment this? I mean delete the wrong string by writing // before it?

Re: Crash on script start

Posted: 23 May 2013, 18:47
by steeffeen
why would i want to do that?
i just needed to correct the modelid, it's just that it shouldn't crash and raise an error instead

Re: Crash on script start

Posted: 23 May 2013, 18:52
by faserg1
Ok. Just for my bug I must comment SpawnBot because this function makes crash :? and I must work with shops and Inventory.