Author Topic: Some add-on is loving up onDeath and I need help finding it.  (Read 1017 times)

I forgeted up somewhere in my adventure.

Some add-on is loving up the onDeath function, so every time a player dies, they lose control of everything. Once the player's body poofs, the screen freezes and, say they get the mouse on the screen, it spams the screen with a bajillion different mouses.

Since I seem to have to reset my game every single time I try to disable a single add-on to find it (if I don't reset, it'll continue it's effects even in the next server I host. tested theory, playing w/ 100% default addons does the same effect unless i reset.), does anybody know a quicker way to find it?

trace(1);
cause the problem.
post console.log

trace(1);
cause the problem.
post console.log
Swollow said that it won't show up in the console.log because it's likely to be a function that's not in a package or something.

If it's messing with onDeath then yeah it's probably going to show up.


Wanna try disabling Event_TargetEvents and do it again? And if you can, keep movement (wasd+mouse) to a minimum.

That log is very very cluttered.

Okay. Event_TargetEvents didn't fix it.
Here's the trace the second time.
http://1drv.ms/1Pe5fb5

Okay. Event_TargetEvents didn't fix it.
Yeah wasn't expecting it to, it was just flooding the console with a constant scheduled loop.
Here's the trace the second time.
http://1drv.ms/1Pe5fb5
Alright, still not exactly sure what's causing it, although there's a select few packages that could be doing it. I'd tell you which add-ons these packages belong to but those show up when the add-ons are loading and you cropped that part out.
Potential problem packages:
EventCam
EZMPackage

I doubt it's minigame events, slayer, zone events, or duplicator doing this. I'm just not sure which add-ons these other two packages belong to.

I turned off the Endless Zombies gamemode and it works, now.
Looking into the package, there's nothing that seems to deal with onDeath. D:

I found the issue.

For some reason the code doesn't parent Armor::Damage, unless it detects that you're inside of a minigame. I never noticed the problem because I had the SMMBodies thing on, too, which used the same function but had it parented. Iunno.

Fixed, though. Had to add a parent because it was missing one where it should have been.