Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Rymdpotatis on July 18, 2008, 10:06:11 am

Title: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 18, 2008, 10:06:11 am
I'm using Blizz-ABS 1.98 5E and I can't get the Tons of Add-ons script to work.
This is the error message I keep getting: Script 'Blizz-ABS' line 7693: SystemStackError occured. Stack level to deep.

This is the codeline:
    return (($game_system.caterpillar || self == $game_player || flag) ?
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Aqua on July 18, 2008, 10:23:14 am
Did you turn on the caterpillar add-on from Tons?
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 18, 2008, 10:34:10 am
Quote from: Aqua on July 18, 2008, 10:23:14 am
Did you turn on the caterpillar add-on from Tons?


I did now when you told me too^^
However now I get all kinds of different code errors. x_x
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Aqua on July 18, 2008, 10:45:07 am
lol I meant you weren't supposed to have that on. 

Hmm... did you turn on the caterpillar on in the config of part 1?

Also, I noted that you put all 3 parts of Blizz-ABS into 1 script.  It should run fine, but then your error lines would be off since I think most people put then in 3 parts.
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 18, 2008, 10:49:46 am
Quote from: Aqua on July 18, 2008, 10:45:07 am
lol I meant you weren't supposed to have that on. 

Hmm... did you turn on the caterpillar on in the config of part 1?

Also, I noted that you put all 3 parts of Blizz-ABS into 1 script.  It should run fine, but then your error lines would be off since I think most people put then in 3 parts.



Ah XD
I'm a bit slow sometimes =3

Yeah, I turned it on on part 1
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Aqua on July 18, 2008, 10:55:30 am
Do you have more characters in the party than what you set up in part 1?

If you don't, then I dunno how to fix this =/
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 18, 2008, 11:08:49 am
Quote from: Aqua on July 18, 2008, 10:55:30 am
Do you have more characters in the party than what you set up in part 1?

If you don't, then I dunno how to fix this =/


No, I only use one character. Guess I'm in quite a pickle here^^
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: shdwlink1993 on July 18, 2008, 12:57:34 pm
Quote from: Aqua on July 18, 2008, 10:45:07 am
Also, I noted that you put all 3 parts of Blizz-ABS into 1 script.  It should run fine, but then your error lines would be off since I think most people put then in 3 parts.


Woah, woah, woah. The reason Blizz-ABS and Tons are in three parts is because RMXP has some kind of faulty error checking. If a script is too large, it generates an error (even on a commented line). If you separate them back into three scripts, that should fix the problem.
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 18, 2008, 01:18:52 pm
Quote from: shdwlink1993 on July 18, 2008, 12:57:34 pm
Quote from: Aqua on July 18, 2008, 10:45:07 am
Also, I noted that you put all 3 parts of Blizz-ABS into 1 script.  It should run fine, but then your error lines would be off since I think most people put then in 3 parts.


Woah, woah, woah. The reason Blizz-ABS and Tons are in three parts is because RMXP has some kind of faulty error checking. If a script is too large, it generates an error (even on a commented line). If you separate them back into three scripts, that should fix the problem.



Many thanks, no errors this time! =D
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 19, 2008, 05:28:42 am
Hm, now I get an error saying stack level is too deep on line 1581.
    $map_names = load_data('Data/MapInfos.rxdata')
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Blizzard on July 19, 2008, 11:40:32 am
Do you have a duplicate script by any chance or are you using another script that displays location names? Try pressing CTRL+SHIFT+F for global search an search for the line that says "main_location_later" (without the doubel quotes). If you find it more than 2 times (both in Tons), you have a duplicate.

Don't forget that the 3-parts thing goes for Tons as well.
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 19, 2008, 12:44:12 pm
Ah yes, it appears as if I have two lines with  Main_location_later.
Both in the first part of the Tons of add script.

On line number:1579
  alias main_location_later main


And on line number:1583

    main_location_later



What do I do now that I've located the code lines?^^
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Blizzard on July 19, 2008, 01:14:39 pm
Then I don't know what's wrong. If you have that line only twice, everything should be fine. Are you sure that you are getting a "Stack level too deep error"?
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 19, 2008, 01:27:43 pm
Quote from: Blizzard on July 19, 2008, 01:14:39 pm
Then I don't know what's wrong. If you have that line only twice, everything should be fine. Are you sure that you are getting a "Stack level too deep error"?



Yup, I checked 4 times to be sure. =/
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Blizzard on July 19, 2008, 01:44:35 pm
Alright... Send me your Scripts.rxdata, I'll take a look at it.
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 19, 2008, 01:55:42 pm
Quote from: Blizzard on July 19, 2008, 01:44:35 pm
Alright... Send me your Scripts.rxdata, I'll take a look at it.



Hm, you mean the script file in the Data folder? That's the only file I can see with the name scripts in it.
Apart from that the only rxdata files I have are a couple of temporary ones called Game.rxproj~(A bunch of numbers)
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Blizzard on July 19, 2008, 02:29:12 pm
Upload it on sendspace.com and post the download link.
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 19, 2008, 02:36:36 pm
http://www.sendspace.com/file/ybswky

I hope it's the right file.
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Blizzard on July 19, 2008, 02:43:26 pm
While I take a look at it, you will take a look at this here: http://forum.chaos-project.com/index.php?topic=23.0

-_- It fixed it for me on first sight at least.
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Rymdpotatis on July 19, 2008, 02:49:25 pm
I don't know if I should laugh or cry, all that was wrong was that I had put it in the wrong order. And here I've been trying to figure out the errors for hours XD

Deer Lord, sorry for wasting so much time! >_<

Thank goodness you thought of that they might not be in the correct order. I was so sure they where. -_-'*Shame*
Title: Re: Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.
Post by: Blizzard on July 19, 2008, 02:54:53 pm
Actually I downloaded your file, put it into a new project and started the game to see what the first error that I would get is. I got some error, closed the window and opened the scripts. I instantly saw that they were in the wrong order when I saw Blizz-ABS over Tons of Add-ons. xD