Problem with Blizz-ABS 1.98 5E and Tons of Add-ons.

Started by Rymdpotatis, July 18, 2008, 10:06:11 am

Previous topic - Next topic

Rymdpotatis

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) ?

Aqua

Did you turn on the caterpillar add-on from Tons?

Rymdpotatis

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

Aqua

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.

Rymdpotatis

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

Aqua

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 =/

Rymdpotatis

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^^

shdwlink1993

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.
Stuff I've made:




"Never think you're perfect or else you'll stop improving yourself."

"Some people say the glass is half full... some half empty... I just wanna know who's been drinking my beer."

Rymdpotatis

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

Rymdpotatis

Hm, now I get an error saying stack level is too deep on line 1581.
    $map_names = load_data('Data/MapInfos.rxdata')

Blizzard

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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Rymdpotatis

July 19, 2008, 12:44:12 pm #11 Last Edit: July 19, 2008, 12:45:36 pm by Rymdpotatis
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?^^

Blizzard

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"?
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Rymdpotatis

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. =/

Blizzard

Alright... Send me your Scripts.rxdata, I'll take a look at it.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Rymdpotatis

July 19, 2008, 01:55:42 pm #15 Last Edit: July 19, 2008, 02:27:57 pm by Rymdpotatis
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)

Blizzard

Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.


Blizzard

July 19, 2008, 02:43:26 pm #18 Last Edit: July 19, 2008, 02:45:27 pm by Blizzard
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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Rymdpotatis

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*