Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: action runs past level_load [Re: sivan] #456780
12/09/15 09:51
12/09/15 09:51
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline OP
Senior Expert
Superku  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
@Wjbender: Thanks, gonna test both later today.


@sivan: There is nothing wrong with using multiple while loops, if branches are not a nicer or better way to do it. I don't want to add additional stuff or states either, and I've been using this for I don't know how many years.
Projects I've started after Superku are more organized and don't use wait and such but that's not the thing in question here. The problem instead is just the following:
All objects, enemies and such are killed and their actions stopped on level_load, except a few of those certain enemies in their death loop, as if something put their function state in PROC_GLOBAL mode. Maybe it's just a damaged file or something overwriting memory? Not sure yet.

(I probably shouldn't have posted a code example at all in the first post, got the focus wrong. My bad.)


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: action runs past level_load [Re: Superku] #456783
12/09/15 11:27
12/09/15 11:27
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
Did you try using wait(1) just before the level_load instruction, so that the level_load is executed after all loop iterations are in a pause?


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201
Re: [solved] action runs past level_load [Re: EpsiloN] #456833
12/11/15 16:34
12/11/15 16:34
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline OP
Senior Expert
Superku  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
I've found the reason for the crash:
I was letting the enemy in this specific death loop fall too quick and deep. Then it would leave the level(_ent) dimensions, therefore at some point past that the ABT and on the next level_load() the entity wasn't treated as a level entity anymore!
Although it's mostly my incompetence I see that as an engine bug, more or less.

Thanks to everyone who posted and shared his ideas in this thread!

Last edited by Superku; 12/11/15 16:34.

"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: [solved] action runs past level_load [Re: Superku] #456835
12/11/15 19:40
12/11/15 19:40

M
Malice
Unregistered
Malice
Unregistered
M



^ if not a bug... Information that should be in the manual. Thanks

Re: [solved] action runs past level_load [Re: ] #456836
12/11/15 20:37
12/11/15 20:37
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Awesome that you found it! I´m sure it was really hard to find it.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: [solved] action runs past level_load [Re: alibaba] #456838
12/12/15 06:36
12/12/15 06:36
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline OP
Senior Expert
Superku  Offline OP
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Yeah thanks, that was quite tricky indeed! shocked


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Page 2 of 2 1 2

Gamestudio download | chip programmers | 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