View previous topic :: View next topic |
Author |
Message |
Mr B
Joined: 20 Mar 2003 Posts: 382
|
Posted: Sat Oct 09, 2004 12:24 pm Post subject: New- and Load-Game Plotscript Problems |
|
|
I've been having a problem with the Special Plotscripts. For some reason, the scripts specified in the "New Game" and "Load Game" won't run.
I have inserted both a "show value (1)" call and a "show textbox (1)" call into the script specified there, but neither of these function calls execute when a new game is started or a saved game is loaded.
I even preceded these two function calls with a "wait (1)" statement just in case the compiler needed to 'catch up,' but they still do not give any indication of having executed.
As a result, I have concluded that these scripts just aren't being run. Can anyone help me with this?
Full script:
Code: | script, initialization, begin
wait (1)
PB2 initialization
show value (check tag(LANTERN_ON))
show text box(1)
end | [/code] |
|
Back to top |
|
 |
Uncommon His legend will never die

Joined: 10 Mar 2003 Posts: 2503
|
Posted: Sat Oct 09, 2004 12:28 pm Post subject: |
|
|
Yeah, I've had trouble with that, too. |
|
Back to top |
|
 |
Guest
|
Posted: Sun Oct 10, 2004 12:11 pm Post subject: |
|
|
Okay, at least I'm not the only one.
I'm going to try and run it in an older version of Game.exe; perhaps it will behave differently.
(oh and Shadowiii, no need to copy the stuff here to me, I got online okay) |
|
Back to top |
|
 |
msw188
Joined: 02 Jul 2003 Posts: 1041
|
Posted: Mon Oct 11, 2004 10:36 pm Post subject: me too |
|
|
Yeah, I actually just posted on the OHR help me site about this. I was having trouble with a game-over script (another general game data special plotscript). It just wasn't running, and I was getting sent back to the title screen as usual. |
|
Back to top |
|
 |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Tue Oct 12, 2004 11:52 am Post subject: |
|
|
Mr.B, try starting a new game and doing that. msw gave me a small reminder with his game over thing and it reminded me of my problem I had. With the game over screen thing. I don't know if it will help you any, but just make a dumb NPC on a map, and then some stupid script saying set loadscript (or whatever you call it) and then put in the number for the script. Worthy helped me do that to fix my game over screen problem. Either way, if you want to avoid that, just start a new game. _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
Uncommon His legend will never die

Joined: 10 Mar 2003 Posts: 2503
|
Posted: Tue Oct 12, 2004 12:21 pm Post subject: |
|
|
If just starting a new game fixed the problem then he wouldn't have started this thread. |
|
Back to top |
|
 |
Shadowiii It's been real.

Joined: 14 Feb 2003 Posts: 2460
|
Posted: Tue Oct 12, 2004 12:34 pm Post subject: |
|
|
...though it is an idea. I've had problems with load scripts (with Stop, for instance), and I had to make a new game, then save, then load that saved game with the current script.
But yeah, I'm sure B has already tried that (and if not, he'd better! ) _________________ But enough talk, have at you! |
|
Back to top |
|
 |
Uncommon His legend will never die

Joined: 10 Mar 2003 Posts: 2503
|
Posted: Tue Oct 12, 2004 12:36 pm Post subject: |
|
|
Well, he's also said that he's having trouble with new-game scripts, so yeah. |
|
Back to top |
|
 |
RedMaverickZero Three pointed, red disaster! Halloween 2006 Creativity Winner


Joined: 12 Jul 2003 Posts: 1459
|
Posted: Tue Oct 12, 2004 5:25 pm Post subject: |
|
|
I forgot about the new game part. But the load script would help with problems that Shadowiii said about Stop. And it could help someone else with the same problem. I don't know what to say about new-game scripts that fail other than reread your scripts quite a bit. And alter stuff you think may work. _________________ ---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70% |
|
Back to top |
|
 |
Mr B
Joined: 20 Mar 2003 Posts: 382
|
Posted: Wed Oct 13, 2004 11:07 am Post subject: |
|
|
It's all very odd. I don't know why this is (not) happening.
Perhaps I'll have to create a "dummy" map with the new-game script being the load-map script, but that still won't help with loading pre-existant games.
Hmm... Has Mr. Paige said anything about this problem? |
|
Back to top |
|
 |
RPGCreations E Pluribus Unum

Joined: 18 May 2003 Posts: 345
|
Posted: Wed Oct 13, 2004 12:53 pm Post subject: |
|
|
Delete the save file.
I haven't encountered this bug personally but that might help. Let it create a new save file.
Are you also making SUPER sure you're re-importing the plotscript every time you change it, and making DOUBLY sure you save on exit?
Sword of Jade makes much use of the new-game and load-game scripts and I haven't seen it run into a problem with those yet, so otherwise I have no idea what could be going on.
Also, turn on script debug (F10) as soon as the game loads up, and see what it does. _________________
 |
|
Back to top |
|
 |
Mr B
Joined: 20 Mar 2003 Posts: 382
|
Posted: Wed Oct 13, 2004 4:37 pm Post subject: |
|
|
I am absolutely certain that I've tried all that, but I also know that I've been wrong about what I've been certain about before. I'll try it.
Hmm... Maybe I'll just have to start a new .rpg file. It wouldn't make sense to do so, but the error doesn't make any sense either..! |
|
Back to top |
|
 |
Guest
|
Posted: Wed Oct 13, 2004 7:47 pm Post subject: |
|
|
1. Mr. Paige suggested only the same as RMZ, that is to start a New Game, which did solve game-over script problems I believe.
2. I once had the trouble that my .rpg file was read-only (this was after changing computers, I think). Custom did not warn me about this, so it always said it was saving but it really wasn't changing the .rpg file at all. Just a thought that RPGCreations talking about saving brought to mind.
3. Otherwise, I'd second the deletion of the .sav file, where the special plotscripts are stored for game.exe. |
|
Back to top |
|
 |
Mr B
Joined: 20 Mar 2003 Posts: 382
|
Posted: Sat Oct 23, 2004 5:40 pm Post subject: |
|
|
Well, I figured out what was happening. It is a VERY interesting bug in the program.
It would seem that having a non-terminating "load map" script causes "new/load game" scripts to not function.
Problem solved, I suppose...(now how to get around it?). |
|
Back to top |
|
 |
Soule X

Joined: 13 Sep 2004 Posts: 131 Location: Indiana
|
Posted: Sun Oct 24, 2004 12:25 am Post subject: |
|
|
You could set it to run only when a certain tag is on and set the tag on at the end of the New Game script. That would solve the problem for the New Game script. I'm sure you could figure out something similar with the Load Game script. |
|
Back to top |
|
 |
|