View previous topic :: View next topic |
Author |
Message |
Setu_Firestorm Music Composer

Joined: 26 Mar 2003 Posts: 2566 Location: Holiday. FL
|
|
Back to top |
|
 |
Blazes Battles Inc. I'm a chimp, not a
Joined: 25 Jan 2003 Posts: 505
|
Posted: Wed May 14, 2003 6:40 pm Post subject: |
|
|
This is a dilly of a pickle (I should get shot for that). I'm having trouble finding a problem, and when it crashed it somehow caused an error in my game.exe (it now displays only the filename.rpg, no long titles), but I'm sure that will go away when I restart my computer. It should be noted that while it prevents you from accessing the menu with ESC, it is still possible with ALT. I've also encountered a number of bugs that can be caused due to the way the menu is scripted (pressing ESC or ENTER when your icon disappears as it walks downward can cause it to disappear entirely until you try moving in another direction, and moving down at the bottom causes it to the icon to disappear because it has no 'down' frame). You could try scripting it differently (the multiple scripts caused by npcs could be fouling it up, perhaps a keypress in the loop coupled with a suspend player would work better), or someone else could figure out what's wrong. If you would, do you mind posting when the buffer goes up? Turn off debugging on your file, and press F10 on the menu. Watch the bar as the blue part increases, and tell us when. For example, if it goes up slowly no matter what, or if it jumps when you use one of the npc scripts on the menu. I have no idea why the textboxes (like when you log-in) cause the game to freeze. I'm stumped.  _________________ Preserve OHR history! Do it for the children! |
|
Back to top |
|
 |
Cube Dimensional Traveller

Joined: 02 Feb 2003 Posts: 294
|
Posted: Wed May 14, 2003 8:26 pm Post subject: |
|
|
Wait...What's the problem? I need to know before I can help ya. |
|
Back to top |
|
 |
Setu_Firestorm Music Composer

Joined: 26 Mar 2003 Posts: 2566 Location: Holiday. FL
|
|
Back to top |
|
 |
Cube Dimensional Traveller

Joined: 02 Feb 2003 Posts: 294
|
Posted: Thu May 15, 2003 1:34 pm Post subject: |
|
|
Firstly, let me give you the script I use for menu suspention:
Quote: | if (key is pressed (01), or, key is pressed (56)) then (
show text box (1)
wait (1)
advance text box
) |
Of course, the box will change for you. Make the box invisible with no text. One thing is is happening in your current script is that the while loop is being called on over and over each time the player hits a key. This will eventually cause a buffer overflow.
And for tweak palette, you need to keep in mind that the palette only goes up to a maximum of 63. Adding 255 will either make it crash, or make it utterly white.
I can't help too much since I don't know where and when these scripts are called precisely. And I still don't really understand the problem after reading that other thread. Can you PLEASE tell me yourself, and the EXACT errors you get, and what it takes to make that error occur?
Last edited by Cube on Thu May 15, 2003 1:35 pm; edited 1 time in total |
|
Back to top |
|
 |
Setu_Firestorm Music Composer

Joined: 26 Mar 2003 Posts: 2566 Location: Holiday. FL
|
Posted: Thu May 15, 2003 1:48 pm Post subject: |
|
|
When you're in the Home Page menu, I've had reports that it either wouldn't let you log in, or it would work once and never again, or other dumb things including Buffer Overflow errors.
I myself have tested the game on different platformed comps and found these reports are accurate. But that's about it, Cube! _________________
Facebook: http://www.facebook.com/georgerpowell
Newgrounds: http://setu-firestorm.newgrounds.com |
|
Back to top |
|
 |
Blazes Battles Inc. I'm a chimp, not a
Joined: 25 Jan 2003 Posts: 505
|
Posted: Thu May 15, 2003 1:51 pm Post subject: |
|
|
Also, after the buffer overlow error, it either states 'failed to load key-press script' or 'failed to load npc script #' based on what button you pressed.
Still, Setu, would you please post just when the blue bar goes up at the top of the screen after pressing F10 with the debugging keys enabled? That could help (or not) and may explain the problem (or not). _________________ Preserve OHR history! Do it for the children! |
|
Back to top |
|
 |
Setu_Firestorm Music Composer

Joined: 26 Mar 2003 Posts: 2566 Location: Holiday. FL
|
|
Back to top |
|
 |
Cube Dimensional Traveller

Joined: 02 Feb 2003 Posts: 294
|
Posted: Sat May 17, 2003 11:28 am Post subject: |
|
|
Gah, nobody listened to what I said!
The reason everything wasn't working was because that while loop was being called on over and over. Eventually the script buffer overflowed.
Now, I simply replaced the entire thing with this:
Quote: | script, Server Controls, begin #Basically keeps you from hitting ESC
if (Menu == false, and, key is pressed (01), or, key is pressed (56)) then (
show text box (13)
wait for text box
)
end |
Note that I turned the menu variable to check if it's false, since it'll be false by default. Thus, in that other script "Login", I made the variable be set to true. It does the same effect, but works better this way. Might I suggest you use a tag though? Because you're just doing true and false...Global Variables shouldn't be wasted on such simple thing .
So, that's that! When I first looked at the script I thought that was the problem, but of course, I didn't know the problem you were searching for. But that was definately the problem, and it's solved now (Tested it with the game you sent me).
So, that's that. |
|
Back to top |
|
 |
Setu_Firestorm Music Composer

Joined: 26 Mar 2003 Posts: 2566 Location: Holiday. FL
|
Posted: Mon May 19, 2003 12:32 pm Post subject: |
|
|
:> *grabs Cube and gives him a nice looooooong smooch*
ThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyou...ThankYOU...ThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyouThankyou..............................
English Teacher: He never knew when to quit!
*she smacks Setu on the head _________________
Facebook: http://www.facebook.com/georgerpowell
Newgrounds: http://setu-firestorm.newgrounds.com |
|
Back to top |
|
 |
|