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
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (degenerate_762, AndrewAMD), 877 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 6 1 2 3 4 5 6
Re: Publishing problem [Re: Dico] #455539
10/22/15 15:59
10/22/15 15:59
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline OP
Expert
FoxHound  Offline OP
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
wait(1);


That is the code. even at the beginning of the function and have the function end via return immediately afterwards it would crash. It's important to note I have used that code for over a year until it just decided to crash this time when I would try to publish.

Other situations I would have to add random meaninless functions in certain scripts to get it to publish right.

And again, this all works perfectly from Sed and I just checked to see if Wed was any different and it's not.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: Publishing problem [Re: FoxHound] #455541
10/22/15 16:07
10/22/15 16:07
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)


"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: Publishing problem [Re: Superku] #455542
10/22/15 16:38
10/22/15 16:38

M
Malice
Unregistered
Malice
Unregistered
M



Ok well wait(1); isn't likely the issue. Wait adds the current function to the schedule list and then allows other functions to run. Isn't it more likely that during the wait() the next running function cause the crash.


Anyway. Good luck

Re: Publishing problem [Re: ] #455544
10/22/15 16:45
10/22/15 16:45
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
you may have a memmory bug , it usually runs fine in SED environment , but will crash outside of this environment , that is common memmory bug results , but I am guessing I don't know your code .


Compulsive compiler
Re: Publishing problem [Re: Wjbender] #455545
10/22/15 16:50
10/22/15 16:50
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Other questions: Are you using the latest version? Do you start the game with SED from a higher/ custom nexus and without NX settings in the published version?


"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: Publishing problem [Re: Superku] #455546
10/22/15 17:38
10/22/15 17:38
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
all valid questions there. ^

I would like to express the reason why I lean towards the possibility of memmory bug , the reason is , I have experienced this type of behaviour specifically where changing a function name or adding/removinh code to parts which shouldn't do anything , actually resulted in the application randomly behaving correct and incorrect at other times , I figured out I was removing a pointer and directly after that I was accessing it without checking if its valid , which was just a memmory bug ..


Compulsive compiler
Re: Publishing problem [Re: Wjbender] #455548
10/22/15 19:41
10/22/15 19:41
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline OP
Expert
FoxHound  Offline OP
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
It's possible there is a memory bug, however I do not do anything "special" everything I run is normal A7 stuff. I like to keep things simple if possible. The only weird thing is sometimes I will see an image jump from one set to another. Not sure how that happens. The project is huge though. Possible issues to get through.

Right now I am going with that rare compiler issue that Superku listed.

The most interesting thing in my project is a custom animation setup. It loads multiple images into multiple panels and moves and rotates them to simulate complex animation while keeping file size very low. I use the same file loading system between this and the animator I built which has no issue.


---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: Publishing problem [Re: FoxHound] #455549
10/22/15 19:56
10/22/15 19:56
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Then fix that weird "image jumping" issue. That's a warning sign for some deep code issue, overwriting memory or faulty pointers and such.

I've once written a program (or... 10+ programs) to solve a 16x16 tile puzzle called Eternity II. I've experienced some weird bugs doing so, for example the program going through the board in a weird and seemingly not programmed way/ routine after ~100 iterations. All bugs where either memory related (wrong array index access) or - what I didn't know back then - limited stack memory size. I called a recursive function which used local arrays, like data[1024], not knowing that the allocation of such "big" arrays fails after some levels into the recursion.


"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: Publishing problem [Re: Superku] #455550
10/22/15 20:15
10/22/15 20:15
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
FoxHound Offline OP
Expert
FoxHound  Offline OP
Expert

Joined: Jun 2004
Posts: 2,234
Wisconsin USA
I'm constantly trying to fix the issue, just no idea where this could be coming from. It's doubtful the two are connected tough.

The game loads 500 images right off the start and then another 500 other files (images and text files) once it gets going, as the custom animations are not part of this list.

Last edited by FoxHound; 10/22/15 20:18.

---------------------
There is no signature here.


QUIT LOOKING FOR ONE!
Re: Publishing problem [Re: FoxHound] #455555
10/23/15 04:56
10/23/15 04:56
Joined: Mar 2012
Posts: 927
cyberspace
W
Wjbender Offline
User
Wjbender  Offline
User
W

Joined: Mar 2012
Posts: 927
cyberspace
is there any kind of error message like a E1513 ?


Compulsive compiler
Page 3 of 6 1 2 3 4 5 6

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