Hide JJang

Results 1 to 5 of 5
  1. #1
    Aikatsu! jorklenis2 is offline
    True MemberRank
    Oct 2011 Join Date
    PanamáLocation
    688Posts

    idea Hide JJang

    Hide JJang
    This code is used for nothing else to hide the jjang in the game, obviously it will not be removed forever, it will only hide it for a while, you can activate or deactivate it whenever you want.

    Includes sound effects when activating the command.
    PHP Code:

    struct ZCharacterStatus add these

    ZCharacter
    .h

    int isJjang
    ;

    isJjang(0), 
    PHP Code:
    void ChatCmd_HideJjangJork(const charline, const int argcchar** const argv); 
    PHP Code:
    _CC_AC("hj",                   &ChatCmd_HideJjangJork,         CCF_GAMEARGVNoMinARGVNoMaxtrue"/hj"""); 
    PHP Code:
    void ChatCmd_HideJjangJork(const charline, const int argcchar** 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);

    Code:
    Credits: Jorklenis2
    Video Example: https://streamable.com/pu1m74
    Last edited by jorklenis2; 30-12-20 at 04:19 AM.
    You Rock My World


  2. #2
    Ultimate Member NesuxGxx is offline
    MemberRank
    May 2014 Join Date
    D:/TrunksLocation
    172Posts

    Re: Hide JJang

    struct ZCharacterStatus

  3. #3
    Registered kurohi is offline
    MemberRank
    Jan 2021 Join Date
    7Posts

    Re: Hide JJang

    Hello Jorklenis:
    - Your code was not released because of the following errors
    'IsEventGrade' & ' GetJjang ' : is not a member of ZMyInfo

  4. #4
    Aikatsu! jorklenis2 is offline
    True MemberRank
    Oct 2011 Join Date
    PanamáLocation
    688Posts

    Re: Hide JJang

    Quote Originally Posted by kurohi View Post
    Hello Jorklenis:
    - Your code was not released because of the following errors
    'IsEventGrade' & ' GetJjang ' : is not a member of ZMyInfo
    change
    if (!ZGetMyInfo()->IsEventGrade())
    {
    //return;
    }

    remplace for

    if (ZGetMyInfo()->GetUGradeID() == MMUG_STAR)
    {
    //return;
    }
    You Rock My World

  5. #5
    Feel the wind. Orby is offline
    True MemberRank
    Oct 2015 Join Date
    WorldLocation
    232Posts

    Re: Hide JJang

    Quote Originally Posted by jorklenis2 View Post
    This code is used for nothing else to hide the jjang in the game, obviously it will not be removed forever, it will only hide it for a while, you can activate or deactivate it whenever you want.

    Includes sound effects when activating the command.
    PHP Code:

    struct ZCharacterStatus add these

    ZCharacter
    .h

    int isJjang
    ;

    isJjang(0), 
    PHP Code:
    void ChatCmd_HideJjangJork(const charline, const int argcchar** const argv); 
    PHP Code:
    _CC_AC("hj",                   &ChatCmd_HideJjangJork,         CCF_GAMEARGVNoMinARGVNoMaxtrue"/hj"""); 
    PHP Code:
    void ChatCmd_HideJjangJork(const charline, const int argcchar** 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);

    Code:
    Credits: Jorklenis2
    Video Example: https://streamable.com/pu1m74
    This command has a major flaw, every time you enter the game you will have to type the command every time.I recommend making the code safer and more structured.
    Live as if there is no tomorrow, and do wonders.



Advertisement