Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Show hide pgrade jjang command

Junior Spellweaver
Joined
Sep 27, 2016
Messages
151
Reaction score
10
I see MTG Gunz have this code, i very need this code from my Gunz, some one can help me ? ( thanks, sorry my eng bad ).
[video]https://streamable.com/yq6y92[/video]
 
Experienced Elementalist
Joined
Oct 14, 2015
Messages
290
Reaction score
83
I see MTG Gunz have this code, i very need this code from my Gunz, some one can help me ? ( thanks, sorry my eng bad ).
[video]https://streamable.com/yq6y92[/video]

You can hide it in this function.
Code:
class ZEffectIconLoopStar : public ZEffectIconLoop
 
Upvote 0
I'm retired, I'm already
Banned
Joined
Oct 3, 2011
Messages
832
Reaction score
155
Hide JJang?
Easy.

Code:
void ChatCmd_HideJjang(const char* line, const int argc, char** const argv)
{
	char szMsg[256];
	if (!ZGetMyInfo()->IsEventGrade())
	{
		//return;
	}
	if (ZGetGame()->m_pMyCharacter->GetStatus().Ref().isJjang == 0)
	{
		ZGetGame()->m_pMyCharacter->GetStatus().CheckCrc();
		ZGetGame()->m_pMyCharacter->GetStatus().Ref().isJjang = 1;
		ZGetGame()->m_pMyCharacter->GetStatus().MakeCrc();
		ZGetEffectManager()->Clear();
		ZGetSoundEngine()->PlaySound("fx_whoosh02");
		sprintf(szMsg, "^2Hide Jjang: Off");
	}
	else if (ZGetGame()->m_pMyCharacter->GetStatus().Ref().isJjang == 1)
	{
		ZGetGame()->m_pMyCharacter->GetStatus().CheckCrc();
		ZGetGame()->m_pMyCharacter->GetStatus().Ref().isJjang = 0;
		ZGetGame()->m_pMyCharacter->GetStatus().MakeCrc();
		if (ZGetGame())
			ZGetGame()->GetJjang();
		ZGetSoundEngine()->PlaySound("fx_whoosh02");
		sprintf(szMsg, "^1Hide Jjang: On");
	}
	ZChatOutput(szMsg);
}
 
Upvote 0
Experienced Elementalist
Joined
Oct 14, 2015
Messages
290
Reaction score
83
Hide JJang?
Easy.

Code:
void ChatCmd_HideJjang(const char* line, const int argc, char** const argv)
{
    char szMsg[256];
    if (!ZGetMyInfo()->IsEventGrade())
    {
        //return;
    }
    if (ZGetGame()->m_pMyCharacter->GetStatus().Ref().isJjang == 0)
    {
        ZGetGame()->m_pMyCharacter->GetStatus().CheckCrc();
        ZGetGame()->m_pMyCharacter->GetStatus().Ref().isJjang = 1;
        ZGetGame()->m_pMyCharacter->GetStatus().MakeCrc();
        ZGetEffectManager()->Clear();
        ZGetSoundEngine()->PlaySound("fx_whoosh02");
        sprintf(szMsg, "^2Hide Jjang: Off");
    }
    else if (ZGetGame()->m_pMyCharacter->GetStatus().Ref().isJjang == 1)
    {
        ZGetGame()->m_pMyCharacter->GetStatus().CheckCrc();
        ZGetGame()->m_pMyCharacter->GetStatus().Ref().isJjang = 0;
        ZGetGame()->m_pMyCharacter->GetStatus().MakeCrc();
        if (ZGetGame())
            ZGetGame()->GetJjang();
        ZGetSoundEngine()->PlaySound("fx_whoosh02");
        sprintf(szMsg, "^1Hide Jjang: On");
    }
    ZChatOutput(szMsg);
}
You need to save the jjang function, if not every time you enter the game you will have to keep typing the command.
Code:
 Z_EXTRA_HIDEJJANG = ((Z_EXTRA_HIDEJJANG == false) ? true : false);
    if (Z_EXTRA_HIDEJJANG)
  ZChatOutput("JJang disabled.", ZChat::CMT_SYSTEM);
    else
  ZChatOutput("JJang activated.", ZChat::CMT_SYSTEM);

    //save the function.
    ZGetOptionInterface()->SaveInterfaceOption();
 
Upvote 0
Junior Spellweaver
Joined
Sep 27, 2016
Messages
151
Reaction score
10
@jorklenis2 @Orby
First! very thanks your help. i need command more!
But when i'm build i got an error.
ZrA6mUD - Show hide pgrade jjang command - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Upvote 0
Experienced Elementalist
Joined
May 12, 2014
Messages
260
Reaction score
61
I'm sorry friends for what I'm going to say, but you're not going to get anywhere, if you don't know what an if and an else are, you are going to be explaining :( just to create a server for 2 days, I really don't kill myself with This, if they make me a forum moderator, maybe :)
 
Upvote 0
I'm retired, I'm already
Banned
Joined
Oct 3, 2011
Messages
832
Reaction score
155
I'm sorry friends for what I'm going to say, but you're not going to get anywhere, if you don't know what an if and an else are, you are going to be explaining :( just to create a server for 2 days, I really don't kill myself with This, if they make me a forum moderator, maybe :)

That's true, and gunz is not like before, we are not in 2011.
 
Upvote 0
Initiate Mage
Joined
May 10, 2016
Messages
26
Reaction score
2
Gunz can still be revived, it just takes someone with dedication and do something good with gunz.

PD:
You're not going to get anywhere just by saying "Gunz is dead, it's not 2011 anymore."You can do something very striking with that source since it is not that complicated to work with, but that is work for someone with time and dedication.
 
Upvote 0
Back
Top