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!

[release][odinms] !getname

Junior Spellweaver
Joined
Apr 29, 2008
Messages
199
Reaction score
0
If an player reports an user u only see the id so i made !getname [characterid]

just paste this in commandproccessor.java:

Code:
else if (splitted[0].equals("!getname")) {
                            int name = Integer.parseInt(splitted[1]);
                            MapleCharacter victim = cserv.getPlayerStorage().getCharacterById(name);
                                 mc.dropMessage("The person your looking for = " + victim.getName());                  
			}

I can make more commands just give me idias :p
 
Junior Spellweaver
Joined
Apr 18, 2008
Messages
109
Reaction score
0
lol this command already exists....

its called !getnamebyid...
 
You've got my respect!
Joined
Apr 8, 2008
Messages
508
Reaction score
147
If an player reports an user u only see the id so i made !getname [characterid]

just paste this in commandproccessor.java:

Code:
else if (splitted[0].equals("!getname")) {
                            int name = Integer.parseInt(splitted[1]);
                            MapleCharacter victim = cserv.getPlayerStorage().getCharacterById(name);
                                 mc.dropMessage("The person your looking for = " + victim.getName());                  
            }
if you have the report system you can use !getnamebyid
 
Newbie Spellweaver
Joined
May 18, 2008
Messages
8
Reaction score
0
can you make a command to open a npc? for example a npc quest or npc maxskiller?
Thanks
 
Master Summoner
Loyal Member
Joined
Apr 20, 2008
Messages
578
Reaction score
76
Cant someone edit the report system so it says the name instead of the char id >.>

Thats not hard, it is literally 1 more line of code than usual and a change to another..
 
Back
Top