View Full Version : [SOLVED] Hunter traps does not work in phase > 1

05-11-2013, 04:04 PM
Hi guys, iam using ELuna with alot of phasing scripts. After couple of tests, we have noticed, that hunter traps does not working in phase > 1 (hunter and enemy in phase > 1) , so now i am gonna try to solve this problem, and maybe somebody can help me with it? Thanks. :crying:

offtopic: IsARecruiter() in Eluna, always returns TRUE for any player, because default value in TDB for this field is 0.

05-11-2013, 08:19 PM
Let's recap:

TrinityCore doesn't have player unique phases, so their phasing system kinda sucks. Don't you need to set the phase of the trap it spawns though?

About the recruiter method always returning true, don't have any idea because I don't know how that method works in general.

05-12-2013, 12:29 PM
The method should return false almost always .. hmm.
I checked the code and the function checks for a variable from the player's session which is set according to if there is a player that has the player's accID in recruiter field.
Check that there is no account with ID 0.

Adding an additional check to the method, like it is used in core, but it shouldnt affect this.

ps. tested and it seems to work correctly. Not sure what is wrong with you, except if you ahve an account with 0 ID