Run time error 7: "Stack underflow"
#6

I was just about to just re-write it, cause before, it worked... last night, it was working perfectly... but now its... meh' pissing me off kinda.

I'll come back with the results.

Edit:
Also, run which Query twice?
format(Query, 128, "SELECT * FROM serverdata WHERE Enabled = 1");
Is ran three times, actually once.

1. To check if there's data in the Database.
2.A. If there's no data it is not ran the 2nd or 3rd time and the script moves on.
2.B. If there's data it's ran again, to get the Primary Key that is Enabled.
3. If there's data and the 2nd Query grabbed the Primary Key then this is called to start sending the data to MySQL and store them in the Server variable.

Like I said, I did no changes to the script since last night except try to find the problem by adding alot of print("Debug."); after every other line to see where it stops and it worked perfectly last night.
Reply


Messages In This Thread
Run time error 7: "Stack underflow" - by TheLazySloth - 21.11.2011, 04:06
Re: Run time error 7: "Stack underflow" - by Calgon - 21.11.2011, 04:10
Re: Run time error 7: "Stack underflow" - by TheLazySloth - 21.11.2011, 04:13
Re: Run time error 7: "Stack underflow" - by TheLazySloth - 21.11.2011, 11:26
Re: Run time error 7: "Stack underflow" - by TheLazySloth - 21.11.2011, 11:31
Re: Run time error 7: "Stack underflow" - by TheLazySloth - 21.11.2011, 11:40
Re: Run time error 7: "Stack underflow" - by TopSecret - 21.11.2011, 12:03
Re: Run time error 7: "Stack underflow" - by TheLazySloth - 21.11.2011, 12:11
Re: Run time error 7: "Stack underflow" - by TheLazySloth - 21.11.2011, 12:52
Re: Run time error 7: "Stack underflow" - by TheLazySloth - 21.11.2011, 13:02

Forum Jump:


Users browsing this thread: 2 Guest(s)