Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,253 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Save Error [Re: Secret_V] #247131
01/19/09 08:09
01/19/09 08:09
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Are you sure that your action does not work after loading? The action is not written in a way that you can see this easily, so what happens when you replace it by something simple for testing, such as rotating the entity?

Re: Save Error [Re: jcl] #247753
01/22/09 11:22
01/22/09 11:22
Joined: Nov 2008
Posts: 50
S
Secret_V Offline OP
Junior Member
Secret_V  Offline OP
Junior Member
S

Joined: Nov 2008
Posts: 50
Well, there is a way I can check whether the action works or not. I put a watch on the battle_var variable, to keep track of it. As long as I keep walking against the entity, battle_var picks a random number every frame. And when battle_var equals 100, the function battle is called. But when the game loads using game_load and I walk against the entity, the engine does not pick a rondom number any more. And even when I set battle_var to 100 manually and then touch the entity, function battle does not run, but I'll check anyway.

I'm afraid it's not working. I replaced the body of function battle with:
Code:
grass_ent.scale_z += 1;


When I use New Game, it works. But when I use Continue, thus loading using game_load, it doesn't work. As soon as I come near the entity, it give me an error message: Error E1535 - Crash in continu.

Re: Save Error [Re: Secret_V] #248335
01/26/09 08:56
01/26/09 08:56
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
I've tried it - event pointer are saved and loaded correctly. For finding why it did not work in your case, try the following:

Manually set the event after loading. You can do that by letting the action permanently set the event again:

Code:
action grass()
{
   while(1) {
	my.emask |= ENABLE_IMPACT;
	my.event = battle;
	wait(1);
   }
}



Now save and check if the event now works after loading. If so, then the original event pointer loaded from the .sav file was wrong for some reason. Please let me know the outcome of this test.


Re: Save Error [Re: jcl] #248399
01/26/09 16:45
01/26/09 16:45
Joined: Nov 2008
Posts: 50
S
Secret_V Offline OP
Junior Member
Secret_V  Offline OP
Junior Member
S

Joined: Nov 2008
Posts: 50
As soon as I press Continue, I get the message:

Error E1513

Crash in continu

And then it loads the level. But the action itself does work now. smile That is, when I run it in Test Run. When I run it in debug run... First it gives the Crash in continu again, and then the level won't even load. frown

Edit: Never mind, I fixed that already, it's all working fine now. smile

Thank you kindly,

Secret V

Last edited by Secret_V; 01/26/09 16:52.
Page 2 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1