unmask username

Results 1 to 16 of 16
  1. #1
    Member AijdManiacs is offline
    MemberRank
    Feb 2011 Join Date
    83Posts

    unmask username

    http://forum.ragezone.com/f497/tutor...2011-a-825732/ followed this tut

    building in KOR_RE_PUBLISH

    still having random symbol as name in gameroom and in lobby :/

    any one fixed it ?


  2. #2
    Account Upgraded | Title Enabled! mgdmgd is offline
    MemberRank
    Jan 2012 Join Date
    305Posts

    Re: unmask username

    any screen shot would help

  3. #3
    Member AijdManiacs is offline
    MemberRank
    Feb 2011 Join Date
    83Posts

    Re: unmask username

    yeah sure:



  4. #4
    In Progress... FFXIV... Anju is offline
    MemberRank
    Oct 2010 Join Date
    Mist Ward 7 #38Location
    1,946Posts

    Re: unmask username

    That method of unmasking does that. It's better to use the one that Chris posted. Forgot where it was.

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

    Re: unmask username

    In this tut qet doesn't unmask in all spots as Anju said follow the unmask tut of Chrisss posted in tutorial section 2nd or 3rd page...
    Edit: I've found it for you xD
    http://forum.ragezone.com/f497/tut-u...-1-5-a-870006/
    Last edited by Tannous; 01-06-14 at 07:38 AM.

  6. #6
    Member AijdManiacs is offline
    MemberRank
    Feb 2011 Join Date
    83Posts

    Re: unmask username

    i followed his tut after qet's one and still same problem

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

    Re: unmask username

    Then you have blowed up the source... i don't understand what are some guys trying to do when everyone does the same tuts and all get the correct results.. :/

  8. #8
    Member AijdManiacs is offline
    MemberRank
    Feb 2011 Join Date
    83Posts

    Re: unmask username

    no i didn't lol, it's just c/c... how can i fail at it ?

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

    Re: unmask username

    Ask your self lol xD i can't help you like this since the tuts are correct and i dunnu what wrong things you've done sorry :)

  10. #10
    Member AijdManiacs is offline
    MemberRank
    Feb 2011 Join Date
    83Posts

    Re: unmask username

    dude i've got 0 errors xD

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

    Re: unmask username

    Dude, getting 0 errors doesn't mean what you want should be done perfectly :).. i said u did wrong in the source code its self and not building it :/ try to find that wrong spot

  12. #12
    Member AijdManiacs is offline
    MemberRank
    Feb 2011 Join Date
    83Posts

    Re: unmask username

    i am sure the fucked up part come from here: (ZGame.cpp)
    Spoiler:

    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_ADMIN));
    }*/


    because if i uncomment it, it will show "Administrator", "Developer" without fucking up the name but if i comment it/delete it it fuck up the name...

    and someone knows how i can do to add MSG_WORD_GM for gamemaster? if i cant fix the unmasked name i will have to do that :(

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

    Re: unmask username

    Quote Originally Posted by AijdManiacs View Post
    i am sure the fucked up part come from here: (ZGame.cpp)
    Spoiler:

    /*if(sp_name) {
    strcpy(sp_name,ZMsg(MSG_WORD_ADMIN));
    }*/


    because if i uncomment it, it will show "Administrator", "Developer" without fucking up the name but if i comment it/delete it it fuck up the name...

    and someone knows how i can do to add MSG_WORD_GM for gamemaster? if i cant fix the unmasked name i will have to do that :(
    Man all you need to do is simply change bSpUser chats to be as normal chat in all spots, for example..
    Code:
    if(bSpUser) {
    sprintf(szTemp, "%s : %s", sp_name,szMsg);
    ZChatOutput(UserNameColor, szTemp);
    }
    and change them to
    Code:
    if(bSpUser) {
    sprintf(szTemp, "%s : %s", pChar->GetProperty()->GetName(),szMsg);
    ZChatOutput(UserNameColor, szTemp);
    }
    this is all I can tell you, you'll need to find it alone, I won't be able to know what's wrong in your source like this !
    as you can see in the code above, we've changed the sp_name to pChar->GetProperty()->GetName() whichc will take the normal name.
    by the way if you want to add GameMaster do this:
    ZMessages.h
    add somewhere
    Code:
    #define MSG_WORD_GM                       9009
    and after go to system.mrs -> add in messages.xml the ID 9009 and inside write GameMaster !!..
    Good Luck

  14. #14
    Member AijdManiacs is offline
    MemberRank
    Feb 2011 Join Date
    83Posts

    Re: unmask username

    ok bro i'll try something new again, i think it's because i didnt want to unmask level in playerlistbox so i didnt edit this code:
    Code:
    if(GetUserInfoUID(puid,_color,sp_name,gid)){
    sprintf(szLevel,"--");
    szRefName = sp_name;
    bSpUser = true;
    }
    else {
    sprintf(szLevel,"%2d",nLevel);
    szRefName = szName;
    }
    because i thought it was only for the level but i just read it and it probably do something on the username too ? (idk i am not a c++ dev) so i edited the name part.
    i am building gunz i'll tell you if it works in 2min!

    - - - Updated - - -

    FIXED BRO I LOVE U

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

    Re: unmask username

    Hahaha good to hear it worked, and you were correct this code deals with name also and not only for level :)

  16. #16
    Alpha Member Chrisss is offline
    MemberRank
    Feb 2012 Join Date
    Ask the Fox!Location
    1,660Posts

    Re: unmask username

    Undo everything you did and then re add the codes from my tutorial. That will work.

    EDIT: Sorry, didn't realised you already fixed.



Advertisement