Unmask The Duel Match Whisper

Results 1 to 14 of 14
  1. #1
    Account Upgraded | Title Enabled! Rejain is offline
    MemberRank
    Jul 2012 Join Date
    201Posts

    happy Unmask The Duel Match Whisper

    Title sais it all .. btw i need it for 1.5


  2. #2
    Developer / Patch Finder Tankado is offline
    MemberRank
    Oct 2011 Join Date
    The NetherlandsLocation
    451Posts

    Re: Unmask The Duel Match Whisper

    qet123, mean find . . . . . and change the line.

  3. #3
    Valued Member a1tl4 is offline
    MemberRank
    Sep 2012 Join Date
    BrazilLocation
    112Posts

    Re: Unmask The Duel Match Whisper

    strcpy . . . . . . for msg

  4. #4
    Account Upgraded | Title Enabled! Rejain is offline
    MemberRank
    Jul 2012 Join Date
    201Posts

    Re: Unmask The Duel Match Whisper

    Quote Originally Posted by Tankado View Post
    qet123, mean find . . . . . and change the line.
    to change the line to %s like as in message or what? and is it in ZGame.cpp ? where should i look for it ??

  5. #5
    Daemonsring Developer Gunblade is offline
    MemberRank
    Jul 2007 Join Date
    On the moonLocation
    728Posts

    Re: Unmask The Duel Match Whisper

    There are some check in the executable which will change the text to ..... if the gamemode is DUEL.
    Just remove these DUEL checks, it will be easy to find, press CTRL F and type in '. . . . .' or 'DUEL' without the ''

  6. #6
    Account Upgraded | Title Enabled! Rejain is offline
    MemberRank
    Jul 2012 Join Date
    201Posts

    Re: Unmask The Duel Match Whisper

    Quote Originally Posted by Gunblade View Post
    There are some check in the executable which will change the text to ..... if the gamemode is DUEL.
    Just remove these DUEL checks, it will be easy to find, press CTRL F and type in '. . . . .' or 'DUEL' without the ''
    Thank's i Fixed it thank you all for your help can delete thread

  7. #7
    Account Upgraded | Title Enabled! Rejain is offline
    MemberRank
    Jul 2012 Join Date
    201Posts

    Re: Unmask The Duel Match Whisper

    Quote Originally Posted by Gunblade View Post
    There are some check in the executable which will change the text to ..... if the gamemode is DUEL.
    Just remove these DUEL checks, it will be easy to find, press CTRL F and type in '. . . . .' or 'DUEL' without the ''
    i have a new problem everytime someone whispers me in the lobby i get crashed any fix ?

  8. #8
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Unmask The Duel Match Whisper

    Quote Originally Posted by Rejain View Post
    i have a new problem everytime someone whispers me in the lobby i get crashed any fix ?

    Check it in Gunz.dmp file ... no one can make out what is problem unless u diagnose the .dmp file ... if u still cant get problem, u post screenshots of debugged dmp file here.

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

    Re: Unmask The Duel Match Whisper

    Copy past ZGameClient::OnUserWhisper for us

  10. #10
    Account Upgraded | Title Enabled! Rejain is offline
    MemberRank
    Jul 2012 Join Date
    201Posts

    Re: Unmask The Duel Match Whisper

    Quote Originally Posted by qet123 View Post
    Copy past ZGameClient::OnUserWhisper for us
    Code:
    void ZGameClient::OnUserWhisper(char* pszSenderName, char* pszTargetName, char* pszMessage)
    {
    	char szText[256];
    	ZTransMsg( szText, MSG_GAME_WHISPER, 2, pszSenderName, pszMessage );
    
    	if ( ZGetGame())
    	{
    		if ( (ZGetGame()->GetMatch()->GetMatchType() == MMATCH_GAMETYPE_DUEL)	&& !ZGetGame()->m_pMyCharacter->IsDie())
    			ZTransMsg( szText, MSG_GAME_WHISPER, 2, pszSenderName, pszMessage );
    	}
    
    	ZCharacter* pChar = ZGetGame()->m_pMyCharacter;
    	string name = (string)pszMessage;
    	if((name.find("Request HP/AP") != string::npos)) {
    		char hpap[100];
    		sprintf(hpap,"HP: %d, AP: %d", (int)pChar->GetHP(), (int)pChar->GetAP());
    
    		if(ZGetGame())
    		ZPostWhisper(pszSenderName, pszSenderName, hpap);
    		else
    		ZPostWhisper(pszSenderName, pszSenderName, "I'm not in game");
    	}
    	ZChatOutput(MCOLOR(ZCOLOR_CHAT_WHISPER), szText, ZChat::CL_CURRENT);
    
    	// ¸¶ֱצ¸·¿¡ ±׃¼׃¸»ְ» ÷¸³½»ח¶קְ» ±ג¾ןַׁ´.
    	ZGetGameInterface()->GetChat()->SetWhisperLastSender(pszSenderName);	
    
    	// ¸¸¾א °װְ׃ֱ¿¡ ֳ₪ֳֳֶ¢÷¸±ג ¿ֹ¼ְַּ ²¨ֱ®ְײְ» °ז¿ל ´½ֳ ֱִׁ״´.
    	if ((ZApplication::GetGameInterface()->GetState() == GUNZ_GAME) && (ZGetGame()))
    	{
    		if (ZGetCombatInterface())
    		{
    			if (!ZGetConfiguration()->GetViewGameChat())
    			{
    				ZGetCombatInterface()->ShowChatOutput(true);
    			}
    		}
    	}
    	
    }
    i am also using ure scaning hp and ap

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

    Re: Unmask The Duel Match Whisper

    Quote Originally Posted by Rejain View Post
    Code:
    void ZGameClient::OnUserWhisper(char* pszSenderName, char* pszTargetName, char* pszMessage)
    {
    	char szText[256];
    	ZTransMsg( szText, MSG_GAME_WHISPER, 2, pszSenderName, pszMessage );
    
    	if ( ZGetGame())
    	{
    		if ( (ZGetGame()->GetMatch()->GetMatchType() == MMATCH_GAMETYPE_DUEL)	&& !ZGetGame()->m_pMyCharacter->IsDie())
    			ZTransMsg( szText, MSG_GAME_WHISPER, 2, pszSenderName, pszMessage );
    	}
    
    	ZCharacter* pChar = ZGetGame()->m_pMyCharacter;
    	string name = (string)pszMessage;
    	if((name.find("Request HP/AP") != string::npos)) {
    		char hpap[100];
    		sprintf(hpap,"HP: %d, AP: %d", (int)pChar->GetHP(), (int)pChar->GetAP());
    
    		if(ZGetGame())
    		ZPostWhisper(pszSenderName, pszSenderName, hpap);
    		else
    		ZPostWhisper(pszSenderName, pszSenderName, "I'm not in game");
    	}
    	ZChatOutput(MCOLOR(ZCOLOR_CHAT_WHISPER), szText, ZChat::CL_CURRENT);
    
    	// ¸¶ֱצ¸·¿¡ ±׃¼׃¸»ְ» ÷¸³½»ח¶קְ» ±ג¾ןַׁ´.
    	ZGetGameInterface()->GetChat()->SetWhisperLastSender(pszSenderName);	
    
    	// ¸¸¾א °װְ׃ֱ¿¡ ֳ₪ֳֳֶ¢÷¸±ג ¿ֹ¼ְַּ ²¨ֱ®ְײְ» °ז¿ל ´½ֳ ֱִׁ״´.
    	if ((ZApplication::GetGameInterface()->GetState() == GUNZ_GAME) && (ZGetGame()))
    	{
    		if (ZGetCombatInterface())
    		{
    			if (!ZGetConfiguration()->GetViewGameChat())
    			{
    				ZGetCombatInterface()->ShowChatOutput(true);
    			}
    		}
    	}
    	
    }
    i am also using ure scaning hp and ap
    my fault.

    Code:
    void ZGameClient::OnUserWhisper(char* pszSenderName, char* pszTargetName, char* pszMessage)
    {
    	char szText[256];
    	ZTransMsg( szText, MSG_GAME_WHISPER, 2, pszSenderName, pszMessage );
    
    	if ( ZGetGame())
    	{
    		if ( (ZGetGame()->GetMatch()->GetMatchType() == MMATCH_GAMETYPE_DUEL)	&& !ZGetGame()->m_pMyCharacter->IsDie())
    			ZTransMsg( szText, MSG_GAME_WHISPER, 2, pszSenderName, pszMessage );
    	}
    
    	string name = (string)pszMessage;
    	if((name.find("Request HP/AP") != string::npos)) {
                    if(ZGetGame()) {
                    char hpap[100];
                    ZCharacter* pChar = ZGetGame()->m_pMyCharacter;
    		sprintf(hpap,"HP: %d, AP: %d", (int)pChar->GetHP(), (int)pChar->GetAP());
                    ZPostWhisper(pszSenderName, pszSenderName, hpap);
                    } else 
                    ZPostWhisper(pszSenderName, pszSenderName, "I'm not in game");	
    	}
    	ZChatOutput(MCOLOR(ZCOLOR_CHAT_WHISPER), szText, ZChat::CL_CURRENT);
    
    	// ¸¶ֱצ¸·¿¡ ±׃¼׃¸»ְ» ÷¸³½»ח¶קְ» ±ג¾ןַׁ´.
    	ZGetGameInterface()->GetChat()->SetWhisperLastSender(pszSenderName);	
    
    	// ¸¸¾א °װְ׃ֱ¿¡ ֳ₪ֳֳֶ¢÷¸±ג ¿ֹ¼ְַּ ²¨ֱ®ְײְ» °ז¿ל ´½ֳ ֱִׁ״´.
    	if ((ZApplication::GetGameInterface()->GetState() == GUNZ_GAME) && (ZGetGame()))
    	{
    		if (ZGetCombatInterface())
    		{
    			if (!ZGetConfiguration()->GetViewGameChat())
    			{
    				ZGetCombatInterface()->ShowChatOutput(true);
    			}
    		}
    	}
    	
    }

  12. #12
    Account Upgraded | Title Enabled! Rejain is offline
    MemberRank
    Jul 2012 Join Date
    201Posts

    Re: Unmask The Duel Match Whisper

    Quote Originally Posted by qet123 View Post
    my fault.

    Code:
    void ZGameClient::OnUserWhisper(char* pszSenderName, char* pszTargetName, char* pszMessage)
    {
    	char szText[256];
    	ZTransMsg( szText, MSG_GAME_WHISPER, 2, pszSenderName, pszMessage );
    
    	if ( ZGetGame())
    	{
    		if ( (ZGetGame()->GetMatch()->GetMatchType() == MMATCH_GAMETYPE_DUEL)	&& !ZGetGame()->m_pMyCharacter->IsDie())
    			ZTransMsg( szText, MSG_GAME_WHISPER, 2, pszSenderName, pszMessage );
    	}
    
    	string name = (string)pszMessage;
    	if((name.find("Request HP/AP") != string::npos)) {
                    if(ZGetGame()) {
                    char hpap[100];
                    ZCharacter* pChar = ZGetGame()->m_pMyCharacter;
    		sprintf(hpap,"HP: %d, AP: %d", (int)pChar->GetHP(), (int)pChar->GetAP());
                    ZPostWhisper(pszSenderName, pszSenderName, hpap);
                    } else 
                    ZPostWhisper(pszSenderName, pszSenderName, "I'm not in game");	
    	}
    	ZChatOutput(MCOLOR(ZCOLOR_CHAT_WHISPER), szText, ZChat::CL_CURRENT);
    
    	// ¸¶ֱצ¸·¿¡ ±׃¼׃¸»ְ» ÷¸³½»ח¶קְ» ±ג¾ןַׁ´.
    	ZGetGameInterface()->GetChat()->SetWhisperLastSender(pszSenderName);	
    
    	// ¸¸¾א °װְ׃ֱ¿¡ ֳ₪ֳֳֶ¢÷¸±ג ¿ֹ¼ְַּ ²¨ֱ®ְײְ» °ז¿ל ´½ֳ ֱִׁ״´.
    	if ((ZApplication::GetGameInterface()->GetState() == GUNZ_GAME) && (ZGetGame()))
    	{
    		if (ZGetCombatInterface())
    		{
    			if (!ZGetConfiguration()->GetViewGameChat())
    			{
    				ZGetCombatInterface()->ShowChatOutput(true);
    			}
    		}
    	}
    	
    }
    Thank you sir.

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

    Re: Unmask The Duel Match Whisper

    Quote Originally Posted by Ronny786 View Post
    Check it in Gunz.dmp file ... no one can make out what is problem unless u diagnose the .dmp file ... if u still cant get problem, u post screenshots of debugged dmp file here.
    not really, since he told us only in lobby/stage it crashes then you gotta think of OnUserWhisper, see if he wrote something connected to ZGetGame and he didn't done if(ZGetGame()) then it would crash, i hope you understand me... figure out the problem isn't that hard even without mlog.

  14. #14
    Yaaay! Tannous is offline
    MemberRank
    Jul 2012 Join Date
    KonohaLocation
    840Posts

    Re: Unmask The Duel Match Whisper

    Or you may use this also, I have already posted it ;) http://forum.ragezone.com/f245/unmas...ts-1-a-885156/

    But of course qet123 helps better cuz he's pro than me, anyways hope u got it :)



Advertisement