Data Realms Fan Forums
http://45.55.195.193/

Mac crashing.
http://45.55.195.193/viewtopic.php?f=73&t=14779
Page 1 of 1

Author:  mail2345 [ Tue May 19, 2009 7:19 am ]
Post subject:  Mac crashing.

I have a mod.

See the thread on what it does.

Anyway, to be specific, this works by when the zombie dies, it takes everything in a 200 px distance and adds it to a global list.

And gives it an item which when is checked for before adding to the list.

An emiter floating around somewhere(I call it the GCM) then reads the list, subtracts health and spawns two zombies, deleting the actor from the list when the listed thing dies.

The emitter is spawned by checking a variable and spawning if it is nil.
Just as a failsafe, the emiter selfdestructs on creation if it detects that the variable is not nil.

The zombies just use the Mother Crab code to jump around.

The issue is that macs experience unexplained crashing.

Attachments:
RZombies.rte.7z [3.53 KiB]
Downloaded 199 times

Author:  Daman [ Tue May 19, 2009 1:46 pm ]
Post subject:  Re: Mac crashing.

mail2345 wrote:
Just as a failsafe, the emiter selfdestructs on creation if it detects that the variable is not nil.



That's probably why.

Author:  mail2345 [ Tue May 19, 2009 11:22 pm ]
Post subject:  Re: Mac crashing.

Here's the code for that:
Code:
if _GCMR == true then
self.Lifetime = 2
end
_GCMR = true


So, how would I fix it?

Author:  Daman [ Wed May 20, 2009 1:35 am ]
Post subject:  Re: Mac crashing.

Alright well comment sections out, etc, until it stops crashing. That's the best route of debugging.

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