View unanswered posts | View active topics It is currently Thu Apr 25, 2024 9:24 pm



Reply to topic  [ 4 posts ] 
 Mac crashing. 
Author Message
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post 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 180 times


Last edited by mail2345 on Tue May 19, 2009 11:23 pm, edited 1 time in total.

Tue May 19, 2009 7:19 am
Profile
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post 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.


Tue May 19, 2009 1:46 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post 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?


Tue May 19, 2009 11:22 pm
Profile
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post Re: Mac crashing.
Alright well comment sections out, etc, until it stops crashing. That's the best route of debugging.


Wed May 20, 2009 1:35 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.067s | 16 Queries | GZIP : Off ]