Data Realms Fan Forums
http://45.55.195.193/

Loading Crash, no errors
http://45.55.195.193/viewtopic.php?f=75&t=17231
Page 1 of 1

Author:  PhantomAGN [ Fri Nov 27, 2009 9:19 am ]
Post subject:  Loading Crash, no errors

Ok, this is an error I cannot pin down.
The code is crashing CC under startup, no error code, no abortscreen. Commenting out the includefile for it stops the crash.
The code has no dependancies that are not already defined, the issue must be syntax, or act of god.
Someone wanna whack me in the head with an answer?

http://pastebin.com/m7d2b2651

Author:  411570N3 [ Fri Nov 27, 2009 12:43 pm ]
Post subject:  Re: Loading Crash, no errors

Try inserting gibberish lines to see if the error occurs before that line. Continue until you find the exact line of the error.
Also, try adding wounds or <Exit/Entry>Wound = None.

Author:  Duh102 [ Fri Nov 27, 2009 3:14 pm ]
Post subject:  Re: Loading Crash, no errors

I have NO idea if this would affect anything, but is there a specific reason you define AtomGroup twice?

Author:  411570N3 [ Fri Nov 27, 2009 3:23 pm ]
Post subject:  Re: Loading Crash, no errors

Maybe he means deepgroup? That might be the problem actually.

Author:  PhantomAGN [ Sat Nov 28, 2009 8:28 pm ]
Post subject:  Re: Loading Crash, no errors

BAH.
I fixed the double-AtomGroup, that was a copypasta relic.
Then using the "insert gibberish" method, I have tracked the error to the Parent Offset's numbers.
Not sure why that would ever cause a crash though.
For anyone not wanting to go dig into the code from the link above, I'll put it here, it's three lines.

ParentOffset = Vector
X = 0
Y = −5
lkjabaklshfg = asdfaisgh //crashes before gibberish, which anywhere above ParentOffset gives an error.
If I remember right, that's copied directly from the Dreadnought. By my understanding, it ought to work. Obviously I am wrong about that.

Author:  CaveCricket48 [ Sun Nov 29, 2009 12:52 am ]
Post subject:  Re: Loading Crash, no errors

If an actor that can have limbs doesn't have walkpaths and foot and/or hand atomgroups, it crashes.

Author:  PhantomAGN [ Sun Nov 29, 2009 1:31 am ]
Post subject:  Re: Loading Crash, no errors

I've removed all the code defining any limbs or attachments, but it still needs paths?

Author:  CaveCricket48 [ Sun Nov 29, 2009 7:25 pm ]
Post subject:  Re: Loading Crash, no errors

Yes.

Author:  PhantomAGN [ Sun Nov 29, 2009 9:11 pm ]
Post subject:  Re: Loading Crash, no errors

Argh.
I've stuck in the Dreadnought's walk paths, but it still crashes with no errors.
This is the most evil debugging system ever, worse than print-tests in lua.

I'm going to insert gibberish and see where it is crashing.

Edit:
Screw that, I am going to define some null-based legs for it.
Starting from scratch.
Thanks for the help guys, I'll post here when I inevitably mess up again.

Author:  CaveCricket48 [ Sun Nov 29, 2009 9:22 pm ]
Post subject:  Re: Loading Crash, no errors

Give it some invisible and unhittable legs, like the ones in the Dummy turret.

Author:  PhantomAGN [ Sun Nov 29, 2009 9:50 pm ]
Post subject:  Re: Loading Crash, no errors

It's butt ugly, but it works now.
After evaluating what was different, I found my file was missing number of things, let alone limb paths. Stuck what was missing in, and it worked.
Thanks!

This will need a lot more work, but it's closer to release. (By 200 lines of code and 2 hours of my life)

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/