@ Player
! non player
Printable View
@ Player
! non player
Change your GM level in MySQL to become a GM.
what level?
i already 1
become level 100 gm
how do i now i am GM than?
and when i do GM rank 100 and i relog than it is 0 again?
You see if you can do COMMANDS to test if you're a GM or not x_x
make sure you set your GM level to 100, when you're OFFLINE not online
o oke
but oke now it is 100 but how can i do rank superGM?
100 gives you all commands
u now GM rank?
What source are you using
source=database database=zenthosDEV
Read the bottom
PHP Code:package client.messages;
public class Command {
private final static String x = ",";
private final static String getAdminsCommands =
"changechannel," +
"clearPortalScripts," +
"clearReactorDrops," +
"clearguilds," +
"closemerchants," +
"createaccount," +
"dcall," +
"dreactor," +
"drop," +
"gmperson," +
"hreactor," +
"itemperson," +
"itemvac," +
"jobperson," +
"kill," +
"killnear," +
"lreactor," +
"mesoperson," +
"monsterdebug," +
"notice," +
"playernpc," +
"pmob," +
"pnpc," +
"pnpc," +
"removeplayernpcs," +
"saveall," +
"servercheck," +
"setaccgm," +
"setrebirths," +
"shopitem," +
"showtrace," +
"shutdown," +
"shutdownnow," +
"shutdownworld," +
"speak," +
"speakall," +
"sreactor," +
"strip," +
"systemsay," +
"tdrops," +
"threads"
;
private final static String getGMCommands =
"addtokens," +
"anego," +
"ap," +
"ariantpq," +
"array," +
"balrog," +
"ban," +
"banreason," +
"bird," +
"blackcrow," +
"bossdroprate," +
"centipede," +
"charinfo," +
"checktokens," +
"cleardrops," +
"clearevents," +
"clearshops," +
"clearslot," +
"clock," +
"clone," +
"coke," +
"connected," +
"cornian," +
"currentdate," +
"dc," +
"dropmesos," +
"droprate," +
"emote," +
"ergoth," +
"exprate," +
"fame," +
"franken," +
"fullcharge," +
"gender," +
"getrings," +
"giftnx," +
"givedisease," +
"gmtext," +
"heal," +
"healmap," +
"horntail," +
"horseman," +
"item," +
"jail," +
"job," +
"joinguild," +
"killall," +
"killmonster," +
"leafreboss," +
"level," +
"levelperson," +
"levelup," +
"lowhp," +
"ludimini," +
"map," +
"maxmesos," +
"maxskills," +
"mesos," +
"mesosrate," +
"msearch," +
"mushmom," +
"mute," +
"mutesmega," +
"mynpcpos," +
"nearestPortal," +
"noname," +
"npc," +
"nxslimes," +
"online," +
"opennpc," +
"papapixie," +
"papu," +
"permban," +
"pianus," +
"pirate," +
"proitem," +
"removenpcs," +
"removeoid," +
"removering," +
"ring," +
"rreactor," +
"say," +
"search," +
"sendhint," +
"servermessage," +
"setall," +
"setmaxhp," +
"setmaxmp," +
"setname," +
"shark," +
"shop," +
"skill," +
"slap," +
"smega," +
"snackbar," +
"sp," +
"spawn," +
"spy," +
"tempban," +
"theboss," +
"unban," +
"unbuff," +
"unbuffmap," +
"unhide," +
"warp," +
"warpallhere," +
"warphere," +
"warpwholeworld," +
"whereami," +
"whosthere," +
"wyvern," +
"youlose," +
"zakum"
;
private final static String getDonatorCommands =
"buffme," +
"goto," +
"sexchange," +
"storage"
;
private final static String getExtrasCommands =
"banme," +
"buynx," +
"cody," +
"fredrick," +
"go," +
"goafk," +
"kin," +
"news," +
"nimakin," +
"reward," +
"reward1," +
"slime," +
"spinel," +
"storage"
;
private final static String getPlayersCommands =
"checkstats," +
"command," +
"commands," +
"dex," +
"dispose," +
"emo," +
"expfix," +
"gm," +
"help," +
"hp," +
"int," +
"luk," +
"mp," +
"onlinetime," +
"rebirth," +
"reborn," +
"revive," +
"save," +
"str," +
"togglesmega"
;
public static boolean isCommand(String command, char charZero, boolean isGM) {
String[] commandList;
if (charZero == '@') {
commandList = (getPlayersCommands + x + getExtrasCommands).split(x);
} else {
commandList = isGM ? (getDonatorCommands + x + getGMCommands + x + getAdminsCommands).split(x) : getDonatorCommands.split(x);
}
for (int i = 0; i < commandList.length; i++) {
if (commandList[i].equals(command)) {
return true;
}
}
return false;
}
public static boolean findCommand(int type, String command, int cGML, int reqLevel) {
if (cGML >= reqLevel && cGML > -1 && cGML < 4) {
String[] commandList;
if (type == 0) {
commandList = getPlayersCommands.split(x);
} else if (type == 1) {
commandList = getExtrasCommands.split(x);
} else if (type == 2) {
commandList = getDonatorCommands.split(x);
} else if (type == 3) {
commandList = getGMCommands.split(x);
} else if (type == 4) {
commandList = getAdminsCommands.split(x);
} else {
return false;
}
for (int i = 0; i < commandList.length; i++) {
if (commandList[i].equals(command)) {
return true;
}
}
}
return false;
}
}
where do i place this?
You dont place it anywhere. Those are the commands and what level gm you have to be to use what commands