3 registered members (TedMar, Ayumi, kzhao),
1,359
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Crash! With a view entity
[Re: Superku]
#438423
03/13/14 21:49
03/13/14 21:49
|
Joined: Jul 2002
Posts: 3,208 Germany
Error014
OP
Expert
|
OP
Expert
Joined: Jul 2002
Posts: 3,208
Germany
|
I haven't touched the script. Instead, I renamed the original "lock.mdl", then copied a different model from the project, renamed the copy to "lock.mdl", then started the script. Sometimes it crashed, sometimes it didn't. I believe now, though I don't remember it 100% anymore, that it crashed with two models: The original "lock.mdl", as well as a different MDL5-version of it, and a model of a treasure chest that is in the game. These are the only models I've touched with MED since I've done a reinstall of Windows on this computer. Other models, both from my projects, as well as a testmodel from the forum, did not trigger a crash* I wouldn't use the seemingly problematic lock model at all anymore until I'm sure it is the reason.
I'm not sure I understood what you mean - I'm assuming the "lock.mdl"-model is the reason, but I've now replaced it by loading the original 3DS-data (the model was made in Wings3D), and saving that as a MDL. So the original faulty model isn't used at all anymore. * - I've tried running the thing several times per model, since the crash only appears semi-regulary. However, at the time, it crashed every time with the models mentioned.
Perhaps this post will get me points for originality at least.
Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
|
|
|
Re: Crash! With a view entity
[Re: jcl]
#438438
03/14/14 11:34
03/14/14 11:34
|
Joined: Dec 2008
Posts: 1,218 Germany
Rackscha
Serious User
|
Serious User
Joined: Dec 2008
Posts: 1,218
Germany
|
for instance when it is damaged in a way that loading it overwrites a wrong memory area. Which should never happen. o.O A loader has to verify the data or abort if suspicious, instead of pushing it into memory without control.
MY Website with news of my projects: (for example my current Muliplayer Bomberman, GenesisPrecompiler for LiteC and TileMaster, an easy to use Tile editor) Sparetime-Development
|
|
|
Re: Crash! With a view entity
[Re: jcl]
#438453
03/14/14 19:46
03/14/14 19:46
|
Joined: Dec 2008
Posts: 1,218 Germany
Rackscha
Serious User
|
Serious User
Joined: Dec 2008
Posts: 1,218
Germany
|
Well, i suspect, the mdl(7) file is not loaded by directx, right? So the stage of loading and validating is before pushing it to directx
Last edited by Rackscha; 03/14/14 19:46.
MY Website with news of my projects: (for example my current Muliplayer Bomberman, GenesisPrecompiler for LiteC and TileMaster, an easy to use Tile editor) Sparetime-Development
|
|
|
Re: Crash! With a view entity
[Re: Superku]
#438540
03/16/14 21:49
03/16/14 21:49
|
Joined: Jul 2002
Posts: 3,208 Germany
Error014
OP
Expert
|
OP
Expert
Joined: Jul 2002
Posts: 3,208
Germany
|
YES PLEASE.
A standalone tool that checks all files in a folder would be fine, too. (I wouldn't mind if it would only check Acknex-formats.)
Also, some kind of parameter that makes it so that Acknex writes the filenames of each file loaded into the acklog would help - if it crashes, at least we know which files to look at, then. I suppose that would be easier to add.
It is a NIGHTMARE to find this bug otherwise in bigger projects, what with its random, sporadic appearances.
Perhaps this post will get me points for originality at least.
Check out Dungeon Deities! It's amazing and will make you happy, successful and almost certainly more attractive! It might be true!
|
|
|
Re: Crash! With a view entity
[Re: Error014]
#438541
03/17/14 07:25
03/17/14 07:25
|
Joined: Sep 2003
Posts: 6,861 Kiel (Germany)
Superku
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
|
Surprisingly today I get the same error ("Bad File Format") in a new project, no 200 lines of code. The message does not appear when I remove the second skin and weirdly when I do the following check:
you = ent_tiles[(i+1)*tiles_dim_y+j];
if(you == NULL) error("AAA"); // <- this line
your.skill4 = k;
the engine will not crash which makes zero sense to me. I can send this project in to the support if wanted. EDIT: No view entities, just regular ent_created objects.
Last edited by Superku; 03/17/14 08:46.
"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
|
|
|
|