Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
0 registered members (), 975 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 5 of 8 1 2 3 4 5 6 7 8
Re: crash after level_load [Re: 3run] #457673
01/26/16 11:51
01/26/16 11:51
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Sorry for the "wait(-5)" ... it was just something I also tried inside the complete game code to asure that everything is created. Actually I set proc_late for the load_new_room function and use wait(1) or wait(2).

I also believe that the error is somewhere inside the code, but I'm just confused that changing the order of the models inside WED removes the crash.

I'm just hoping to get some fresh ideas where to look by brainstorming with you (by the way ... thanks to all of you for discussing this issue with me).

Maybe I should also check the entities in the "engine_gettaskinfo"-list ... maybe one of the functions get an invalid entity pointer? The question is why should that happen just in the case the rooms are loaded in this order.

By the way ... I'd love to share more of the code with you, but it's really a lot of code. Far too much to post it. And the whole project is about 1 GB.

Re: crash after level_load [Re: pegamode] #457674
01/26/16 12:03
01/26/16 12:03
Joined: Feb 2012
Posts: 371
Dico Offline
Senior Member
Dico  Offline
Senior Member

Joined: Feb 2012
Posts: 371
Maybe the crash just from save game !!!

Re: crash after level_load [Re: pegamode] #457675
01/26/16 12:08
01/26/16 12:08
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I wish I could help you more, but I'm out of ideas right now. I'll try to think more of this, maybe I'll come up with something. I hope things will get solved soon.

Edit: it might have to do something with 'proc_mode' maybe, just a guess. Maybe some of those functions which aren't terminated on level change using it?

Best regards.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: crash after level_load [Re: 3run] #457676
01/26/16 12:26
01/26/16 12:26
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
I searched our bug tracking system and found a bug report some years ago from one of our beta testers.

He reported an engine crash and the attached log file looks quite the same as the one I currently get.

The only difference: The first room was another one (but the one that was loaded and where the crash occured was the same).

Good: So I guess I don't need to search in the first level.

Bad: If it's in the game code, why is it always the same level where this sporadic crash occurs ???

Hmmm ... strange.

I think my next step is to place both characters in the rooms where the game crashes in my savegame and check if I could reproduce the crash right after starting the game. Usually who have to play the game about 45 - 60 minutes to reach those rooms. So there happened already a lot of stuff at the point of my savegame.

Re: crash after level_load [Re: pegamode] #457677
01/26/16 13:15
01/26/16 13:15
Joined: Feb 2012
Posts: 371
Dico Offline
Senior Member
Dico  Offline
Senior Member

Joined: Feb 2012
Posts: 371
Can you load this room without game_save and , how you save your level ?
Can you test by load your level with just game_save and without level_load function ?

Re: crash after level_load [Re: Dico] #457685
01/26/16 15:48
01/26/16 15:48
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
you can view memory usage in windows tadk manager-memory ..

have you checked your nexus reserve ?

thats all i can think of given what everyone has thought of already .

good luck


Compulsive compiler
Re: crash after level_load [Re: Dico] #457702
01/27/16 10:18
01/27/16 10:18
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
Originally Posted By: Dico
Can you load this room without game_save and , how you save your level ?
Can you test by load your level with just game_save and without level_load function ?


I don't use "game_save". I've written an own function that fills a struct with all needed data and then write it into a file (and vice versa when loading the savegame).

Re: crash after level_load [Re: pegamode] #457738
01/28/16 20:37
01/28/16 20:37
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
I finally found the time to place the characters into the rooms that lead into the crash right at the start of the game.

Result: the crash still occurs

So at least I can say that it's no issue with the savegame, neither it's something in the characters' inventories nor something that happened during playtime.

I hope to find some more time on the weekend to dive deeper into the code.

Re: crash after level_load [Re: pegamode] #457739
01/28/16 20:44
01/28/16 20:44
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: pegamode
I finally found the time to place the characters into the rooms that lead into the crash right at the start of the game.

Result: the crash still occurs

So at least I can say that it's no issue with the savegame, neither it's something in the characters' inventories nor something that happened during playtime.

I hope to find some more time on the weekend to dive deeper into the code.
I wish you to find and fix everything that causes this crash as soon as possible! Unfortunately there is nothing I could help with. Keep it up man!

Best regards!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: crash after level_load [Re: 3run] #457760
01/29/16 20:11
01/29/16 20:11
Joined: Feb 2006
Posts: 1,011
Germany
pegamode Offline OP
Serious User
pegamode  Offline OP
Serious User

Joined: Feb 2006
Posts: 1,011
Germany
The bad thing is that I can even add a freely chosen model to the room and the crash is gone ... so how do I know when I have really fixed the issue ???

Page 5 of 8 1 2 3 4 5 6 7 8

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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