Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

!job,!level,!mesos command, GM can give others player

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 13, 2008
Messages
16
Reaction score
0
Hi ragezone users~~
If your server GM can't !job jobcode playerid(or me) command, !level wantlevel playerid(or me) command or !mesos wantmesos playerid(or me) command is can !!
How?
First your CommandProcessor.java File open
You Find
else if (splitted[0].equals("!job")) {
}
change it
} else if (splitted[0].equals("!job")) {
MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[2]);
if (splitted[2].equals("me")) {
c.getPlayer().changeJob(MapleJob.getById(Integer.parseInt(splitted[1])));
} else if(victim != null) {
mc.dropMessage("GM give Job to you.");
victim.changeJob(MapleJob.getById(Integer.parseInt(splitted[1])));
}


,If You want !level command?
You Find
} else if (splitted[0].equals("!level")) {
and change
} else if (splitted[0].equals("!level")) {
MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[2]);
if (splitted[2].equals("me")) {
c.getPlayer().setLevel(getOptionalIntArg(splitted, 1, 1));
c.getPlayer().levelUp();
int newexp = c.getPlayer().getExp();
if (newexp < 0) {
c.getPlayer().gainExp(-newexp, false, false);
}
} else if (victim != null) {
mc.dropMessage("GM give Level to you.");
victim.setLevel(getOptionalIntArg(splitted, 1, 1));
victim.levelUp();
int newexp = victim.getExp();
if (newexp < 0) {
victim.gainExp(-newexp, false, false);
}
}
if you want !mesos command ?
You Find it
} else if (splitted[0].equals("!mesos")){
and change
} else if (splitted[0].equals("!mesos")){
MapleCharacter victim = cserv.getPlayerStorage().getCharacterByName(splitted[2]);
if (splitted[2].equals("me")) {
c.getPlayer().gainMeso(Integer.parseInt(splitted[1]), true);
} else if(victim != null) {
mc.dropMessage("GM give Mesos to you.");
victim.gainMeso(Integer.parseInt(splitted[1]), true);
}

Made in c92h23
 
Newbie Spellweaver
Joined
Apr 13, 2008
Messages
16
Reaction score
0
Re: [Release]!job,!level,!mesos command, GM can give others player

ex ) !level 200 me , !job 510 apple , !mesos 80000 me ~~
 
Newbie Spellweaver
Joined
Jul 14, 2008
Messages
26
Reaction score
0
Re: [Release]!job,!level,!mesos command, GM can give others player

Nice
 
Banned
Banned
Joined
Apr 6, 2008
Messages
120
Reaction score
0
Re: [Release]!job,!level,!mesos command, GM can give others player

there are already jobperson mesoperson and levelperson cmds
 
Newbie Spellweaver
Joined
Jun 21, 2008
Messages
72
Reaction score
0
Re: [Release]!job,!level,!mesos command, GM can give others player

n1 great i was hoping this will come out as im a noob in java lol















lol jk
 
Status
Not open for further replies.
Back
Top