How To Prevent GMs/SGMs From Abusing in Maplestory V83 Game ?

Results 1 to 9 of 9
  1. #1
    Enthusiast JockeyMS is offline
    MemberRank
    Feb 2013 Join Date
    36Posts

    angry How To Prevent GMs/SGMs From Abusing in Maplestory V83 Game ?



    Guys i need ur help today. 2-3 GMs were abusing my server today and i ban them Permanently. I had nothing problem with that.....
    but i wan to stop these abusing cases -.- .
    what i meant my abusing is GMs and SGMs drops their EQs . items ect.
    in other V83 servers has an anti abusing system.
    When GMs and SGMs drop any of their eq it pops out a message saying 'u are not allowed to drop any eqs'

    i really wan this anti abusing system for GMs and SGMs ( Level 2 - 6 )
    and i want a !give command soo gms will be able to give the its when someone won a event ....
    ( !give <playername> <item id> for <reason for giving item> )
    world message :
    <Gm's name who gave the item to player> has given <item's id> <item's name> <Reason>


    Please guys i need this help from u :( my admin will be really happy if u guys helped .....
    we are looking for Command Coders too if u wan to join us as a staff u can only if u helped on this abusing system and !give command.


  2. #2
    Omega sunnyboy is offline
    MemberRank
    Mar 2010 Join Date
    6,109Posts

    Re: How To Prevent GMs/SGMs From Abusing in Maplestory V83 Game ?

    or just don't hire random people to be a GM on your server. lol

  3. #3
    Enthusiast JockeyMS is offline
    MemberRank
    Feb 2013 Join Date
    36Posts

    Re: How To Prevent GMs/SGMs From Abusing in Maplestory V83 Game ?

    Quote Originally Posted by sunnyboy184 View Post
    or just don't hire random people to be a GM on your server. lol
    That means i must be the only GM -.- Everyones keep abusing... i cant be 24 hours on9 lol .... if i in game then no one abuses and no complains....
    I making Donators GM.... How do i get money to pay for server hosting?
    Last edited by JockeyMS; 20-03-13 at 07:29 AM.

  4. #4
    至死不渝 noviceboy55 is offline
    MemberRank
    Dec 2008 Join Date
    SingaporeLocation
    708Posts

    Re: How To Prevent GMs/SGMs From Abusing in Maplestory V83 Game ?

    If you actually evaluated your GMs properly, you won't have such problems.

    Anyway just rip from a source that has it by searching for the line "u are not allowed to drop any eq" or whatever message it is supposed to show and just copy over the whole function? lol

  5. #5
    $_SESSION['DEV']; hecari is offline
    MemberRank
    Dec 2008 Join Date
    336Posts

    Re: How To Prevent GMs/SGMs From Abusing in Maplestory V83 Game ?

    You can make sure the !give command only work when the event instance is active or use this: http://forum.ragezone.com/f427/approval-system-708359/

    A approval system developed by my friend and I.

    Tbh, the approval system was released long time ago, I forget the actual purpose of it. :X Hope it help you, and sorry if it doesnt . ^^

    Code:
    Based on MoopleDEV v83 player command.
    
    Add this code into your AdminCommand.java
    
    Code:
    private static String joinStringFrom(String arr[], int start) {
            return joinStringFrom(arr, start, arr.length - 1);
        }
    
        private static String joinStringFrom(String arr[], int start, int end) {
            StringBuilder builder = new StringBuilder();
            for (int i = start; i < arr.length; i++) {
                builder.append(arr[i]);
                if (i != end) {
                    builder.append(" ");
                }
            }
            return builder.toString();
        }
    
    // Written by Kevintjuh93 (If you're using MoopleDEV, you dont need to include this, since kevintjuh93 has added this into his source.)
    Code:
    // some of the syntax is wrong, I dont use v83. I'm sorry, you have to go check the pre-defined function in your source.
    if (sub[0].equals("gives")) {
        if(sub.length < 4) {
             mc.dropMessage("Command entered wrongly");
        } else {
             String target = sub[1];
             String nameOfGM = player.getName();
             int itemid = Integer.parseInt(sub[2]);
             String nameOfItem = MapleItemInformationProvider.getName(itemid); // should be this.
             String reason = joinStringFrom(sub, 3);
             MapleCharacter chr = cserv.getPlayerStorage().getCharacterByName(target);
             MapleInventoryManipulator.addById(chr.getClient(), itemid, 1, nameOfGM);
             String output = nameOfGM + " has given " + target + " " + sub[2] + " " + nameOfItem + " for " + reason + "."; // stringbuilder work better but I'm lazy and the itemName function, I will add it in tommorow.
             Server.getInstance().broadcastMessage(player.getWorld(), MaplePacketCreator.serverNotice(6, "[Event] " + output));
        }
    }
    Last edited by hecari; 21-03-13 at 07:08 AM. Reason: Added the code for !give command <completed>

  6. #6
    Enthusiast JockeyMS is offline
    MemberRank
    Feb 2013 Join Date
    36Posts

    Re: How To Prevent GMs/SGMs From Abusing in Maplestory V83 Game ?

    Quote Originally Posted by noviceboy55 View Post
    If you actually evaluated your GMs properly, you won't have such problems.

    Anyway just rip from a source that has it by searching for the line "u are not allowed to drop any eq" or whatever message it is supposed to show and just copy over the whole function? lol
    Players can change really fast. How someone is now isn't always how they'll be 2/3 months from now. Even one of the Gm said he wont abuse and i gave him gm he did that. i cant really be turn on my computer and monitor them for 24 hours....

  7. #7
    C++ TheIceBreaker is offline
    MemberRank
    Jan 2013 Join Date
    SwordArtOnlineLocation
    598Posts

    Re: How To Prevent GMs/SGMs From Abusing in Maplestory V83 Game ?

    Just rip the methods and functions from other sources to edit the commands to your likings?

  8. #8
    Account Upgraded | Title Enabled! Liv3 is offline
    MemberRank
    Dec 2011 Join Date
    CanadaLocation
    817Posts

    Re: How To Prevent GMs/SGMs From Abusing in Maplestory V83 Game ?

    Quote Originally Posted by JockeyMS View Post


    Guys i need ur help today. 2-3 GMs were abusing my server today and i ban them Permanently. I had nothing problem with that.....
    but i wan to stop these abusing cases -.- .
    what i meant my abusing is GMs and SGMs drops their EQs . items ect.
    in other V83 servers has an anti abusing system.
    When GMs and SGMs drop any of their eq it pops out a message saying 'u are not allowed to drop any eqs'

    i really wan this anti abusing system for GMs and SGMs ( Level 2 - 6 )
    and i want a !give command soo gms will be able to give the its when someone won a event ....
    ( !give <playername> <item id> for <reason for giving item> )
    world message :
    <Gm's name who gave the item to player> has given <item's id> <item's name> <Reason>


    Please guys i need this help from u :( my admin will be really happy if u guys helped .....
    we are looking for Command Coders too if u wan to join us as a staff u can only if u helped on this abusing system and !give command.
    Quote Originally Posted by JockeyMS View Post
    That means i must be the only GM -.- Everyones keep abusing... i cant be 24 hours on9 lol .... if i in game then no one abuses and no complains....
    I making Donators GM.... How do i get money to pay for server hosting?
    - Do not make donors GMs. It is just plain stupid. Most of the time donors are the ones who abuse their power 24/7.
    - Properly evaluate your GMs.
    - Do not give donors Super GM status, or GM status. In my opinion, the most they deserve is intern, and that is mostly restricted. If they are good enough to be a GM, then consider making them one.
    - If you really want to get money for server hosting, make interesting donor prizes.

    That is just advice, but if you really still want to go on with that...

    > Go to the commands files for GMs, and restrict by making it only on an event map or when an event is active. Make sure there is an !event command (there should be a boolean to make event status online). And then, make a command that checks if the boolean is true, and then if so, allow the person to give the item. If you really want to make sure they don't abuse their power, you can make them do something like so: !event <player name> <item id> (prize)

    > At the end of event, you can do something like... !giveprize <playername> to give the prize. (that is if you wanted to do the thing I said last in the other part.

    Anyway, as I am extremely lazy to code all of this right now, I will simply not spoonfeed it to you.

    I'll give one of the commands though.
    I'll assume you are using MoopleDEV.
    Not sure if the commands changed at all in REV 118. Haven't checked it since rev 116.
    PHP Code:
    } else if (sub[0].equals("giveprize")) { 
         
    itemId Integer.parseInt(sub[1]);
         
    quantity Integer.parseInt(sub[2]);
         if (
    eventIsOn) { // idk the boolean name. 
             
    MapleCharacter victim cserv.getPlayerStorage().getCharacterByName(sub[1]);
             
    int petid = -1;
             if (
    ItemConstants.isPet(itemId)) {
                 
    petid MaplePet.createPet(itemId);
             }
             
    MapleInventoryManipulator.addById(citemIdquantityplayer.getName(), petid, -1);
          } else {
              
    player.dropMessage("no event is on.");
          } 
    that is just an example.

  9. #9
    $_SESSION['DEV']; hecari is offline
    MemberRank
    Dec 2008 Join Date
    336Posts

    Re: How To Prevent GMs/SGMs From Abusing in Maplestory V83 Game ?

    Quote Originally Posted by Liv3 View Post
    - Do not make donors GMs. It is just plain stupid. Most of the time donors are the ones who abuse their power 24/7.
    - Properly evaluate your GMs.
    - Do not give donors Super GM status, or GM status. In my opinion, the most they deserve is intern, and that is mostly restricted. If they are good enough to be a GM, then consider making them one.
    - If you really want to get money for server hosting, make interesting donor prizes.

    That is just advice, but if you really still want to go on with that...

    > Go to the commands files for GMs, and restrict by making it only on an event map or when an event is active. Make sure there is an !event command (there should be a boolean to make event status online). And then, make a command that checks if the boolean is true, and then if so, allow the person to give the item. If you really want to make sure they don't abuse their power, you can make them do something like so: !event <player name> <item id> (prize)

    > At the end of event, you can do something like... !giveprize <playername> to give the prize. (that is if you wanted to do the thing I said last in the other part.

    Anyway, as I am extremely lazy to code all of this right now, I will simply not spoonfeed it to you.

    I'll give one of the commands though.
    I'll assume you are using MoopleDEV.
    Not sure if the commands changed at all in REV 118. Haven't checked it since rev 116.
    PHP Code:
    } else if (sub[0].equals("giveprize")) { 
         
    itemId Integer.parseInt(sub[1]);
         
    quantity Integer.parseInt(sub[2]);
         if (
    eventIsOn) { // idk the boolean name. 
             
    MapleCharacter victim cserv.getPlayerStorage().getCharacterByName(sub[1]);
             
    int petid = -1;
             if (
    ItemConstants.isPet(itemId)) {
                 
    petid MaplePet.createPet(itemId);
             }
             
    MapleInventoryManipulator.addById(citemIdquantityplayer.getName(), petid, -1);
          } else {
              
    player.dropMessage("no event is on.");
          } 
    that is just an example.


    I recommending adding the broadcast of the message that a GM has given a item to the winner so that the whole server know whether the GM abused their power. Afterall, event instance check doesnt really make sure gm doesnt abuse their power as they can give their friends the item when they start an event.

    Add this code below the code that add the item into the inventory of the winner so that the whole server know what item did the GM give the user.(The code below was actually part of the code that I wrote up there, so there are some variable not included if you intend to use what Liv3 wrote.)
    PHP Code:
              String output nameOfGM " has given " target " " sub[2] + " " nameOfItem " for " reason ".";
              
    Server.getInstance().broadcastMessage(player.getWorld(), MaplePacketCreator.serverNotice(6"[Event] Congratulation! " output)); 



Advertisement