Making The New Grade As Admin [1.5]

Page 1 of 3 123 LastLast
Results 1 to 15 of 31
  1. #1
    Yaaay! Tannous is offline
    MemberRank
    Jul 2012 Join Date
    KonohaLocation
    840Posts

    Making The New Grade As Admin [1.5]

    Hello everyone, how you all doing !
    So, I know this is easy, but since skhan asked about it Imma release it
    This will make your new grade have the admin powers (such as: /admin_wall ... all these commands xD)

    CSCommon/MMatchObject.h
    Search for IsAdminGrade(MMatchUserGradeID nGrade)
    Under
    Code:
    (nGrade == MMUG_ADMIN) ||
    Add
    Code:
    (nGrade == MMUG_new_grade) ||
    Gunz/ZChat.cpp
    Search for ZChatCmdManager::CIF_ADMIN;
    You'll see somewhere above it, this line
    Code:
    (ZGetMyInfo()->GetUGradeID() == MMUG_DEVELOPER) ||
    Add under it
    Code:
    (ZGetMyInfo()->GetUGradeID() == MMUG_new_grade) ||
    Gunz/ZMyInfo.h
    Search for IsAdminGrade()
    At the end you'll see
    Code:
    (GetUGradeID() == MMUG_ADMIN) ||
    Add after it (after ||)
    Code:
    (GetUGradeID() == MMUG_new_grade)
    This should DO THE JOB xD, you can build now !
    Please let me know if I missed a spot
    Thank you <3


  2. #2
    Member skhan is offline
    MemberRank
    Apr 2012 Join Date
    52Posts

    Re: Making The New Grade As Admin [1.5]

    Thank you :)

  3. #3
    I'm retired, I'm already jorklenis2 is offline
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    879Posts

    Re: Making The New Grade As Admin [1.5]

    What I want to say is that this new degree make is that the "developer" cannot use commands of administrator.

  4. #4
    Account Upgraded | Title Enabled! Arenbunny is offline
    MemberRank
    Mar 2013 Join Date
    Peru - AyacuchoLocation
    273Posts

    Re: Making The New Grade As Admin [1.5]

    I'm love.

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

    Re: Making The New Grade As Admin [1.5]

    Quote Originally Posted by jorklenis2 View Post
    What I want to say is that this new degree make is that the "developer" cannot use commands of administrator.
    What !!!!! I didn't understand your question sorry :$ ,eventhough the developer can still use admin commands... what do u mean o.o

  6. #6
    Intelligent DoucheBag jur13n is offline
    MemberRank
    Jan 2008 Join Date
    Zwolle,Location
    1,946Posts

    Re: Making The New Grade As Admin [1.5]

    Shouldn't there be an id associated with the name?
    not to mention, for commands to work you must do the check:

    Code:
    if(GetUGradeID() == MMUG_Whatever)
    {
       do what has to be done here.
    }
    for those who wonder >.>

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

    Re: Making The New Grade As Admin [1.5]

    commands aint working :/

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

    Re: Making The New Grade As Admin [1.5]

    Quote Originally Posted by AijdManiacs View Post
    commands aint working :/
    did you add new grade and made the following steps correctly ?!

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

    Re: Making The New Grade As Admin [1.5]

    yeah.

    for example i added a grade called GM (gamemaster) (UGradeID=251) so i tried to give admin powers with ur tut and it didn't work.

    if i type for example: /ann (admin_wall) on my GM account it will give me an error, because i didn't write any message but if i write /ann MESSAGE HERE nothing gonna happen

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

    Re: Making The New Grade As Admin [1.5]

    Quote Originally Posted by AijdManiacs View Post
    yeah.

    for example i added a grade called GM (gamemaster) (UGradeID=251) so i tried to give admin powers with ur tut and it didn't work.

    if i type for example: /ann (admin_wall) on my GM account it will give me an error, because i didn't write any message but if i write /ann MESSAGE HERE nothing gonna happen
    Since it gives you an error cuz you didn't write a message, that means the command works, depending on your error, it seems to be that the command its self crashing and NOT cuz of my tutorial :D

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

    Re: Making The New Grade As Admin [1.5]

    but commands work fine on admin, developer and eventmaster accounts :D

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

    Re: Making The New Grade As Admin [1.5]

    Okay that is weird tho ;o can you send me pm what you did in all the 3 places in the tut plz :)

  13. #13
    Account Upgraded | Title Enabled! Arenbunny is offline
    MemberRank
    Mar 2013 Join Date
    Peru - AyacuchoLocation
    273Posts

    Re: Making The New Grade As Admin [1.5]

    Quote Originally Posted by Tannous View Post
    Okay that is weird tho ;o can you send me pm what you did in all the 3 places in the tut plz :)
    I do not tube no problem complaining is something else they do not know how to add and there are only complaints.
    I work with all commands 100% Thanks Donnous >.<

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

    Re: Making The New Grade As Admin [1.5]

    Was that suppose to mean that the commands worked for the new grade ?

  15. #15
    Account Upgraded | Title Enabled! Arenbunny is offline
    MemberRank
    Mar 2013 Join Date
    Peru - AyacuchoLocation
    273Posts

    Re: Making The New Grade As Admin [1.5]

    Quote Originally Posted by Tannous View Post
    Was that suppose to mean that the commands worked for the new grade ?
    New grade Moderator, Grade ID = 251 and congratulation very good tut, yes worked commands :)



Page 1 of 3 123 LastLast

Advertisement