[Release]Limit GM commands

Results 1 to 20 of 20
  1. #1
    Apprentice nublet is offline
    MemberRank
    Mar 2004 Join Date
    nyLocation
    20Posts

    [Release]Limit GM commands

    Here is a fix only SuperGM can use !commands its a simple code but ya..

    http://forum.ragezone.com/attachment...-s-players.zip


  2. #2
    Valued Member iarehenry is offline
    MemberRank
    Aug 2007 Join Date
    144Posts

    Re: Release Limit GM commands

    Oh this is nice ;)
    I'll check it out when I'm done showering.
    Thanks for this in advance.

  3. #3
    Account Upgraded | Title Enabled! zigglesxd is offline
    MemberRank
    Aug 2007 Join Date
    319Posts

    Re: Release Limit GM commands

    ...Doesn't work.

  4. #4
    Valued Member iarehenry is offline
    MemberRank
    Aug 2007 Join Date
    144Posts

    Re: Release Limit GM commands

    It works fine for me! Thanks for this
    Last edited by iarehenry; 05-04-08 at 09:36 PM.

  5. #5
    akakori akakori is offline
    MemberRank
    Apr 2008 Join Date
    613Posts

    Re: Release Limit GM commands

    basically just edit the player and when they do the commands and run the check if their job is either 500 or 510 if yes den continue if no den die.. lol

  6. #6
    Member razz91 is offline
    MemberRank
    Apr 2008 Join Date
    SwedenLocation
    69Posts

    Re: Release Limit GM commands

    this works very well

  7. #7
    Member DragonEyes is offline
    MemberRank
    Apr 2008 Join Date
    72Posts

    Re: Release Limit GM commands

    But what if you change your job (Cleric par example), then you aren't a real GM anymore, or am I wrong. (So if you use the !job command)...
    So when you jobchanged you can't use the commands anymore or am I wrong?

  8. #8
    Novice betaecho is offline
    MemberRank
    Apr 2008 Join Date
    2Posts

    Re: Release Limit GM commands

    Then change it in the database browser

  9. #9
    Apprentice qwertylol is offline
    MemberRank
    Jan 2005 Join Date
    SingaporeLocation
    20Posts

    Re: Release Limit GM commands

    i'm screwed, cause i wasn't on SuperGM when i replaced the script over. Anyway to make my Priest became SuperGM? I can't use !job now.

  10. #10
    The Omega Superfun is offline
    MemberRank
    Dec 2006 Join Date
    The NetherlandsLocation
    5,223Posts

    Re: Release Limit GM commands

    Change in the database the jobid to 510

  11. #11
    Account Upgraded | Title Enabled! noffa is offline
    MemberRank
    Jun 2006 Join Date
    Behind youLocation
    212Posts

    Re: Release Limit GM commands

    This worked on rec 003 and 004 but gives errors in 005

    edit: nvm i solved

  12. #12
    Member tehkiki is offline
    MemberRank
    Mar 2006 Join Date
    68Posts

    Re: Release Limit GM commands

    It's better to have an accesslevel for each client, then base the use of GM commands off that.

    If a hacker finds a way to change their job to anything they want, and simply having the GM job allows them to use all the GM commands, you're gonna have a huge problem on your hands!!

    Example:
    < 0 = Banned
    0-499 = Regular Player
    500-509 = Regular GM
    510-600 = Super GM
    > 600 = Developer

  13. #13
    akakori akakori is offline
    MemberRank
    Apr 2008 Join Date
    613Posts

    Re: Release Limit GM commands

    yes but u need to define the variables it isnt as easy for u to just hey i wanna code smth.. = =" unless u are good in c++ its hard to work around so much codes

  14. #14
    Account Upgraded | Title Enabled! xnBlaze is offline
    MemberRank
    Apr 2008 Join Date
    860Posts

    Re: Release Limit GM commands

    Quote Originally Posted by kikiness View Post
    It's better to have an accesslevel for each client, then base the use of GM commands off that.

    If a hacker finds a way to change their job to anything they want, and simply having the GM job allows them to use all the GM commands, you're gonna have a huge problem on your hands!!

    Example:
    < 0 = Banned
    0-499 = Regular Player
    500-509 = Regular GM
    510-600 = Super GM
    > 600 = Developer
    I remember something like this on ro servers, how do you make something like that for ms?

  15. #15
    Member tehkiki is offline
    MemberRank
    Mar 2006 Join Date
    68Posts

    Re: Release Limit GM commands

    I'm hardly going to code it for you...

    Something like that is the most basic of basic coding. If you can't even code in C++, why are you bothering to even download the source?

    Just add something like:

    int AccessLevel;

    Into the Player class (probably there... or the client class if there is one?). Then retrieve it from the database with all the other account info.

    I know TitanMS has functions like player->getLevel();, etc. So you'll need to code something which returns the AccessLevel.

    Like:

    int CPlayer::getAccessLevel()
    {
    return player->AccessLevel;
    }

    THEN whenever you need to check the accesslevel of the client, call that getAccessLevel() function.

    If you don't understand this, then GTFO the forum.

    It's the MOST basic of class/database manipulation.

  16. #16
    Valued Member xerob is offline
    MemberRank
    Jul 2007 Join Date
    133Posts

    Re: Release Limit GM commands

    Quote Originally Posted by kikiness View Post
    I'm hardly going to code it for you...

    Something like that is the most basic of basic coding. If you can't even code in C++, why are you bothering to even download the source?

    Just add something like:

    int AccessLevel;

    Into the Player class (probably there... or the client class if there is one?). Then retrieve it from the database with all the other account info.

    I know TitanMS has functions like player->getLevel();, etc. So you'll need to code something which returns the AccessLevel.

    Like:

    int CPlayer::getAccessLevel()
    {
    return player->AccessLevel;
    }

    THEN whenever you need to check the accesslevel of the client, call that getAccessLevel() function.

    If you don't understand this, then GTFO the forum.

    It's the MOST basic of class/database manipulation.

    wow all I can say is your one rude person, none of your rude comments were called for. I can tell by your post count your new to RZ thats not the kinda attitude we try to have in a OS enviroment.

    just my 2 cents.

  17. #17
    Member IeeM is offline
    MemberRank
    Apr 2008 Join Date
    56Posts

    Re: Release Limit GM commands

    Quote Originally Posted by xerob View Post
    wow all I can say is your one rude person, none of your rude comments were called for. I can tell by your post count your new to RZ thats not the kinda attitude we try to have in a OS enviroment.

    just my 2 cents.
    He's not trying to be rude, it's the facts.

    Just my 1 cents.

  18. #18
    RaGEZONE = FLaMEZONE thisisakevin is offline
    MemberRank
    Jul 2008 Join Date
    284Posts

    Re: [Release]Limit GM commands

    can have +post plz? tyty

  19. #19
    Proficient Member 0aix2 is offline
    MemberRank
    Jul 2008 Join Date
    195Posts

    Re: [Release]Limit GM commands

    oooOOO my army prevails!

  20. #20
    Novice edward033 is offline
    MemberRank
    Dec 2008 Join Date
    1Posts

    Re: [Release]Limit GM commands

    Quote Originally Posted by nublet View Post
    Here is a fix only SuperGM can use !commands its a simple code but ya..

    http://forum.ragezone.com/attachment...-s-players.zip
    i cant go to the website



Advertisement