Gamestudio Links
Zorro Links
Newest Posts
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
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
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 (AndrewAMD, Quad), 500 guests, and 4 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 8 of 9 1 2 3 4 5 6 7 8 9
Re: Crash! With a view entity [Re: Superku] #457642
01/25/16 10:17
01/25/16 10:17
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
The problem with that project was that we could not reproduce a crash here, with or without wait, not even in the debugging environment. But I can say that it has probably nothing to do with the no-texture skin. If you get any other, maybe even tinier project with a mysterious crash, we're always interested in looking into it.

Re: Crash! With a view entity [Re: jcl] #457655
01/25/16 22:30
01/25/16 22:30
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
Could it be (a wild guess) that since you are using ent_for_name (where you aren't allowed to change any parameter of that entity if it's static) it's crashing because you're changing it's emask?
Commenting that line out prevents crashing, but as you said, maybe it's not because of that, but another problem.

EDIT: Nevermind, as you said any change will "fix" it.

Last edited by alibaba; 01/25/16 22:37.

Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Crash! With a view entity [Re: alibaba] #458052
02/14/16 16:03
02/14/16 16:03
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
The crash just wanders somewhere else. Now the newly created bone based player character model throws a "bad file format" when entering some levels.
I have no idea anymore what to do about this, and I really have a bad feeling about releasing my game.


"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: Crash! With a view entity [Re: Superku] #458064
02/15/16 12:42
02/15/16 12:42
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Well I've just realised that my new player model has 2 additional no texture skins (with UV mapping) again which the old one didn't. I'm pretty sure the error only appeared on/ with models which have skins with no textures.

Can you please double and triple check that part in the engine again?
(Btw. the error happens between "LevelReady" and "def_startup started" but I assume you are aware of that.)

EDIT: The mini example from some time ago still crashes on my machine. Is there something I can do with it (except strapping it down a little more) that helps you in finding the cause of the error (including stuff you may send me which I test)?


EDIT2: Made the old example even smaller: http://superku.de/mdl_crashNew.zip
The error does not appear regularly, sometimes on the first try, sometimes it doesn't appear 7-8 starts in a row (with this linked example). - Crashes without the view entity too:

Code:
///////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////

void main()
{
	fps_max = 60;
	video_mode = 9;
	level_load("test.wmb");
	wait(4);
	ent_create("tile3.mdl",vector(128,0,32),NULL);
	vec_set(sky_color,COLOR_BLACK);
}



And even smaller: http://superku.de/mdl_crashNew2.zip
Now it's only a few lines of code, a NULL level and one entity ("tile3.mdl"). If you remove the empty skin(s) (or load "tile3b.mdl") the crash is gone. Otherwise, after 5-6 starts at the latest the error should appear.

Last edited by Superku; 02/15/16 14:58.

"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: Crash! With a view entity [Re: Superku] #458082
02/16/16 08:48
02/16/16 08:48
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
I tried it 20 times in a row, but sadly it won't crash on my machine.


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Crash! With a view entity [Re: Superku] #458083
02/16/16 08:58
02/16/16 08:58
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: Superku
Now it's only a few lines of code, a NULL level and one entity ("tile3.mdl"). If you remove the empty skin(s) (or load "tile3b.mdl") the crash is gone. Otherwise, after 5-6 starts at the latest the error should appear.
Tried about 20 times with both models ('tile3.mdl' and 'tile3b.mdl'), but it did not crash for me.

Greets


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Crash! With a view entity [Re: 3run] #458086
02/16/16 11:38
02/16/16 11:38
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Oh no. frown
Thanks anyway for testing. I'd post my system config but it used to crash on my laptop too which has completely different components (and Windows version - EDIT: Wait, that's not true. My old laptop had Windows 7, too.).

EDIT: @alibaba: I've now downloaded it again and seen that per default it tries to create "tile3b.mdl", the one that doesn't crash. That's a bad mistake on my part, have you tested that file or "tile3.mdl"? (This has now been fixed and uploaded under the same download link.)

Last edited by Superku; 02/16/16 11:41.

"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: Crash! With a view entity [Re: Superku] #458087
02/16/16 12:03
02/16/16 12:03
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I got the crash now, but only if I press 'Run current script' button in the SED! I used to launch it with F5 before (which is test run as far as I know), and it did not crash at all. Also I found out that it actually crashes only if I press 'Run current script' button in SED, if I press F6 (which is 'Run current' too, according to the hotkeys) it won't crash... I tried to run the script about 20 time with both F5 (Test run) and F6 (Run current) hotkeys and it did not crash at all. This is really weird.

Here is the crash screen:
Quote:


Best regards!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Crash! With a view entity [Re: 3run] #458088
02/16/16 12:06
02/16/16 12:06
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Oh, that is really strange indeed!
I've clicked both "Run current script" as well as "Test Run" and it crashed on both.
Good that it crashes on someone else's machine now, too.


"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: Crash! With a view entity [Re: Superku] #458089
02/16/16 12:13
02/16/16 12:13
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: Superku
I've clicked both "Run current script" as well as "Test Run" and it crashed on both.
I just tried to click on 'Test Run' button and it crashed, but it took more tries (about 8-9).
Really weird part is that it doesn't crash with hotkeys (F5 and F6). crazy


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Page 8 of 9 1 2 3 4 5 6 7 8 9

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