[Source] Need help with Sleeping/Physic wall skill fix

Results 1 to 5 of 5
  1. #1
    Making a come back NickHough is offline
    MemberRank
    Nov 2009 Join Date
    United KingdomLocation
    397Posts

    [Source] Need help with Sleeping/Physic wall skill fix

    Hello,
    My Arcanist sleeping skill is working but never ends, i know this is a known bug and i know people fix it using CHS_STUN but i want to do it the official way by fixing it properly.
    This is my MoverActEvent.cpp on my world server source

    Code:
    #ifdef __3RD_LEGEND16
    			if( nAdjParam & CHS_SLEEPING )	// ½ºÅÏ»óÅ·Î...
    			{
    				if( pTarget->SetStun( TRUE, dwSkillTime ) == FALSE )
    					return FALSE;
    				pTarget->m_wStunCnt = 0;		
    			} else
    #endif // __3RD_LEGEND16
    is there something wrong with it this is the only file with CHS_SLEEPING in, is there any other files it needs to be in for it to work.

    Also for some reason my Psyhic wall keeps disconnecting the whole server when it is used, does anyone else know why this happens?


  2. #2
    Member cffazot is offline
    MemberRank
    Mar 2012 Join Date
    53Posts

    Re: [Source] Need help with Sleeping/Physic wall skill fix

    Could you enlighten me what is the point in pissing about with chs_sleeping instead of just using stun?

    And with the wall, it's honestly hard to tell what's causing it if you're... well... not you.; You're the one who made all the changes so you're gonna have to walk through wall-related changes step-by-step to figure it out, i guess. And by that I mean not just looking at it but actually testing it bit by bit (thats what I do when I'm brain dead and I can't think of anything else, lol)

  3. #3
    Unity Developer SirTwistedStorm is offline
    MemberRank
    Oct 2008 Join Date
    TexasLocation
    597Posts

    Re: [Source] Need help with Sleeping/Physic wall skill fix

    did you try adding the skill time in the code instead of it using the one from the res file?

  4. #4
    Not working on UnitedFlyf Mootie is offline
    MemberRank
    Apr 2009 Join Date
    1,589Posts

    Re: [Source] Need help with Sleeping/Physic wall skill fix

    Quote Originally Posted by cffazot View Post
    Could you enlighten me what is the point in pissing about with chs_sleeping instead of just using stun?

    And with the wall, it's honestly hard to tell what's causing it if you're... well... not you.; You're the one who made all the changes so you're gonna have to walk through wall-related changes step-by-step to figure it out, i guess. And by that I mean not just looking at it but actually testing it bit by bit (thats what I do when I'm brain dead and I can't think of anything else, lol)
    Maybe to create a status effect completely separate from stun? On the server that I work at, Echoes of the Weary lasts 12 seconds at 100% success rate and ends abruptly when the target is hit with an attack. We also replaced the stun emote with the /sleepy emote and made the eyes of the target close.

  5. #5
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,916Posts

    Re: [Source] Need help with Sleeping/Physic wall skill fix

    Quote Originally Posted by xLethal View Post
    Maybe to create a status effect completely separate from stun? On the server that I work at, Echoes of the Weary lasts 12 seconds at 100% success rate and ends abruptly when the target is hit with an attack. We also replaced the stun emote with the /sleepy emote and made the eyes of the target close.
    That's pretty cool. I haven't bothered with making mine realistic yet, it just works the same as a stun for me lol



Advertisement