How to freeze a player?

Results 1 to 17 of 17
  1. #1
    Account Upgraded | Title Enabled! ofiritsmeeee is offline
    MemberRank
    Sep 2011 Join Date
    274Posts

    How to freeze a player?

    Can anyone give me a code or something shows how to freeze a player?






  2. #2
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: How to freeze a player?

    ZGameInput.cpp

  3. #3
    Account Upgraded | Title Enabled! ofiritsmeeee is offline
    MemberRank
    Sep 2011 Join Date
    274Posts

    Re: How to freeze a player?

    Quote Originally Posted by qet123 View Post
    ZGameInput.cpp
    Ok , and ...
    Where to put my if statement?
    IF (XXX)
    {
    freeze the player
    }
    else
    {
    nothing happend
    }

  4. #4
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: How to freeze a player?

    Quote Originally Posted by ofiritsmeeee View Post
    Ok , and ...
    Where to put my if statement?
    IF (XXX)
    {
    freeze the player
    }
    else
    {
    nothing happend
    }
    ZGameInput::OnEvent
    if(1) return false;

  5. #5
    Account Upgraded | Title Enabled! ofiritsmeeee is offline
    MemberRank
    Sep 2011 Join Date
    274Posts

    Re: How to freeze a player?

    Quote Originally Posted by qet123 View Post
    ZGameInput::OnEvent
    if(1) return false;
    lol i edited like that:
    Code:
    bool ZGameInput::OnEvent(MEvent* pEvent)
    {
    	int sel = 0;
    	
    	if ((ZGetGameInterface()->GetState() != GUNZ_GAME)) return false;
    	if ( ZGetGameInterface()->GetGame() == NULL ) return false;
    
    	MWidget* pMenuWidget = ZGetGameInterface()->GetIDLResource()->FindWidget("CombatMenuFrame");
    	if ((pMenuWidget) && (pMenuWidget->IsVisible())) return false;
    	MWidget* pChatWidget = ZGetGameInterface()->GetIDLResource()->FindWidget("CombatChatInput");
    	if ((pChatWidget) && (pChatWidget->IsVisible())) return false;
    	MWidget* p112ConfirmWidget = ZGetGameInterface()->GetIDLResource()->FindWidget("112Confirm");
    	if (p112ConfirmWidget->IsVisible()) return false;
    	if(ZGetGame()->m_pMyCharacter->GetStatus().Ref().Freeze) return false;
    BUT w , s , a ,d , hit , jump works anD ALL DASH'S + CHAT + DEFENCE are locked.
    HOW TO freeze with no jump and all this..
    Last edited by ofiritsmeeee; 16-12-12 at 04:03 PM.

  6. #6
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: How to freeze a player?

    ZChat::Input.

  7. #7
    Account Upgraded | Title Enabled! ofiritsmeeee is offline
    MemberRank
    Sep 2011 Join Date
    274Posts

    Re: How to freeze a player?

    Quote Originally Posted by Wizkidje View Post
    ZChat::Input.
    Ok , what to add there?

  8. #8
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: How to freeze a player?

    Quote Originally Posted by ofiritsmeeee View Post
    Ok , what to add there?
    same shit lol

  9. #9
    Account Upgraded | Title Enabled! ofiritsmeeee is offline
    MemberRank
    Sep 2011 Join Date
    274Posts

    Re: How to freeze a player?

    Quote Originally Posted by qet123 View Post
    same shit lol
    So , to freeze a player completly , that he cant move , which files should i edit?
    What about mute a player? [Which files] ?
    What about show ESP of the player? [Which files] ?
    Last edited by ofiritsmeeee; 18-12-12 at 02:23 PM.

  10. #10
    Account Upgraded | Title Enabled! ofiritsmeeee is offline
    MemberRank
    Sep 2011 Join Date
    274Posts

    Re: How to freeze a player?

    Quote Originally Posted by ofiritsmeeee View Post
    So , to freeze a player completly , that he cant move , which files should i edit?
    What about mute a player? [Which files] ?
    What about show ESP of the player? [Which files] ?
    Any one?

  11. #11
    Apprentice Probility is offline
    MemberRank
    Jun 2012 Join Date
    SomewhereLocation
    24Posts

    Re: How to freeze a player?

    Quote Originally Posted by ofiritsmeeee View Post
    What about mute a player? [Which files] ?
    There is a mute rank :o.
    If i'm not wrong, the ugrade of the mute rank is 104.

  12. #12
    Account Upgraded | Title Enabled! ofiritsmeeee is offline
    MemberRank
    Sep 2011 Join Date
    274Posts

    Re: How to freeze a player?

    Quote Originally Posted by Probility View Post
    There is a mute rank :o.
    If i'm not wrong, the ugrade of the mute rank is 104.
    Tnx , can any1 help me how should i edit this files to get full freeze?and how to esp someone by an if statement.

  13. #13
    Account Upgraded | Title Enabled! ofiritsmeeee is offline
    MemberRank
    Sep 2011 Join Date
    274Posts

    Re: How to freeze a player?

    Bump , i did it like that but it freezing only the dashes.. I want a full freeze that the player cant move:
    Code:
    	case MWM_ACTIONPRESSED:
    		if( ZGetGame()->m_pMyCharacter->GetStatus().Ref().Freeze != 1) 
    		if (!ZGetGame()->IsReservedSuicide())		// ְ»ל ¿¹ֱ₪ְ־ °ז¿ל ´כ½¬¸¦ ַׂ¼צ¾ר°װ ¸·´ֲ´
    		{
    			switch(pEvent->nKey){
    			case ZACTION_FORWARD:  
    			case ZACTION_BACK:  
    			case ZACTION_LEFT:  
    			case ZACTION_RIGHT:  
    			case ZACTION_JUMP:
    				 
    				if (m_pInstance) 
    					m_pInstance->m_ActionKeyHistory.push_back(ZACTIONKEYITEM(ZGetGame()->GetTime(),true,pEvent->nKey));
    				return true;

  14. #14
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: How to freeze a player?

    Quote Originally Posted by ofiritsmeeee View Post
    Bump , i did it like that but it freezing only the dashes.. I want a full freeze that the player cant move:
    Code:
        case MWM_ACTIONPRESSED:
            if( ZGetGame()->m_pMyCharacter->GetStatus().Ref().Freeze != 1) 
            if (!ZGetGame()->IsReservedSuicide())        // ְ»ל ¿¹ֱ₪ְ־ °ז¿ל ´כ½¬¸¦ ַׂ¼צ¾ר°װ ¸·´ֲ´
            {
                switch(pEvent->nKey){
                case ZACTION_FORWARD:  
                case ZACTION_BACK:  
                case ZACTION_LEFT:  
                case ZACTION_RIGHT:  
                case ZACTION_JUMP:
                     
                    if (m_pInstance) 
                        m_pInstance->m_ActionKeyHistory.push_back(ZACTIONKEYITEM(ZGetGame()->GetTime(),true,pEvent->nKey));
                    return true;
    ...

    ZMyCharacter::OnUpdate

  15. #15
    Account Upgraded | Title Enabled! ofiritsmeeee is offline
    MemberRank
    Sep 2011 Join Date
    274Posts

    Re: How to freeze a player?

    Quote Originally Posted by Wizkidje View Post
    ...

    ZMyCharacter::OnUpdate
    I'm confused , In which files should i edit for a full freze?

  16. #16
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: How to freeze a player?

    Quote Originally Posted by ofiritsmeeee View Post
    I'm confused , In which files should i edit for a full freze?
    o shit, confused? look for
    ZmyCharacter::OnUpdate
    if(1) return false;

  17. #17
    Account Upgraded | Title Enabled! ofiritsmeeee is offline
    MemberRank
    Sep 2011 Join Date
    274Posts

    Re: How to freeze a player?

    Quote Originally Posted by qet123 View Post
    o shit, confused? look for
    ZmyCharacter::OnUpdate
    if(1) return false;
    Lol , i did it , but the result was when i press forward , it's like a speed hack hh



Advertisement