Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 642 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
SkyCube causes nexus overflow #449680
03/28/15 15:49
03/28/15 15:49
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline OP
Expert
alibaba  Offline OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Hi JCL,

I´ve spend more than a week to find out what caused the crash in my project and it cost me alot of nerves. However I broke down the problem to just 3 line of code. Could you kindly look into it? It just loads a skycube and 2 models. And the thing is, it works in developement mode (from SED). But when you publish it then it goes crazy. Nexus increases to 100+ in acklog you can see the nexus overflow thingy.
First start the script test.c and then execute test.bat in the publish directory. It starts test.exe with the -diag command. In the Debug Panel you can see that the nexus is way too high.

I´ve checked the models and the skycube and also changed them but nothing solved the problem for me. Maybe there is something in the ent_create function. The Skycube has a normal
size of 6144x1024

I would be really happy if you could look into it!

http://skytitans.de/crash_test.rar

PS: You are not allowed to use the models in any project (commercial /non commercial)

EDIT: After searching a bit it seems that quite a few people got that problem. I guess it´s something Gamestudio related then?



Last edited by alibaba; 03/28/15 20:42.

Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: SkyCube causes nexus overflow [Re: alibaba] #449685
03/28/15 21:12
03/28/15 21:12
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
I've once had a similar problem in my game where I used ent_createlayer(?) or whatever it is called to create a sky cube in one of the cutscenes. It produced a nexus overflow and showed way too high nexus values in the debug panel. This would lead to subsequent crashes or mostly just weird behavior in following levels, such as unexplainable white surfaces stretching across whole levels - I thought this could be my fault, resulting from ... script errors, I don't know, but they weren't even listed as a regular entity in the level or clickable - or "missing" random models in subsequent level_load calls.
Some stuff regarding the nexus was fixed already, don't know about related or maybe unrelated crashes and errors though:
Originally Posted By: bug page
Version 8.45
If the nexus was exceeded in a level, the nexus display in the F11 panel increased in steps that are too high by a factor of 1024 (all A8 versions; fixed in A8.46.0).


"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: SkyCube causes nexus overflow [Re: Superku] #449686
03/28/15 21:18
03/28/15 21:18
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline OP
Expert
alibaba  Offline OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Sadly that quote is unrelated since it only fixes the Debug planel. But still the sky cube causes a nexus overflow for some reason. Even Ello, spike and Pegamode, all had the same problem. Sadly they aren´t around anymore.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: SkyCube causes nexus overflow [Re: alibaba] #449736
03/30/15 16:07
03/30/15 16:07
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
I don't understand the problem at a first glance. The difference in development and release mode is just due to the fact that the development mode distinguishes between nexus and sys_memory. The release version does not, and handles memory slightly differently for speed reasons. If you exceed the nexus, system memory is allocated.

Exceeding the nexus gave you a wrong nexus display as Superku said, but that was fixed in the current A8 release.

Re: SkyCube causes nexus overflow [Re: jcl] #449746
03/30/15 17:42
03/30/15 17:42
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline OP
Expert
alibaba  Offline OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
The thing is, it crashes when I change the level.
Just add for example
Code:
while(!key_h)wait(1);
level_load("");


at the end of the main function and you´ll see that it instantly crashes. But only in published mode but not in developement mode.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: SkyCube causes nexus overflow [Re: alibaba] #449748
03/30/15 18:02
03/30/15 18:02
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline OP
Expert
alibaba  Offline OP
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Okay nevermind, starting with a higher nexus value solved it!
Thanks for your time though!


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de

Moderated by  jcl, Nems, Spirit, Tobias 

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