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!

Improved !job command

Status
Not open for further replies.
Λκαяυz føяeνeя
Loyal Member
Joined
Jun 28, 2008
Messages
1,950
Reaction score
73
No more !job (ID) with this you can use !gm, !hermit, etc.
This includes Pirates
=========
Job ID List
Code:
0 - Beginner's Basics
100 - Warrior Basics - Swordman
200 - Intro. to Magic - Magician
300 - Bowman Basics - Archer
400 - Thief Skills - Rogue
110 - Fighter Techniques - Fighter
120 - Page's Path - Page
130 - Spearman Techniques - Spearman
210 - Fire & Poison Basics - Wizard
220 - Ice & Lightning Basics - Wizard
230 - Holy Magic Basics - Cleric
310 - Hunter's Guide - Hunter
320 - Crossbowman Guide - Crossbowman
410 - Assassin Skills - Assassin
420 - Bandit's Tricks - Bandit
111 - Crusader's Guide - Crusader
121 - White Knight's Code - White Knight
131 - Dragon Knight's Path - Dragon Knight
211 - Adv. Fire & Poison - Mage
221 - Adv. Ice & Lightning - Mage
231 - Adv. Holy Magic - Priest
311 - Path of the Ranger - Ranger
321 - Sniper's Scope - Sniper
411 - The Way of Hermit - Hermit
421 - Chief Bandit's Tricks - Chief bandit
112 - Ultimate Hero - Hero
122 - Paladin of Light - Paladin
132 - Dark Knight of Darkness - Dark knight
212 - Highest class of Magic (F,P) - Arch mage
222 - Highest class of Magic (I,L) - Arch mage
232 - Highest class of Holy Magic - Bishop
312 - Bow master
322 - Marksman
412 - Secret Skills of Nights Lord - Night Lord
422 - Secret Skills of Shadower - Shadower
500 - Pirate Beginner Guide - Pirate
510 - Brawler Guide - Brawler
520 - Gunslinger Guide - Gunslinger
511 - The Path of the Marauder - Marauder
521 - The Path of the Outlaw - Outlaw
512 - The Perfect Buccaneer - Buccaneer
522 - The Perfect Corsair - Corsair
900 - Admin. Skill Book (Normal) - GM
910 - Admin. Skill Book (Super) - Super GM
=========

In CharCommands.java

Find
Code:
} else if (splitted[0].equals("!job")) {
            c.getPlayer().changeJob(MapleJob.getById(Integer.parseInt(splitted[1])));
Add under
Code:
                } else if (splitted[0].equals("!warrior")) {
                c.getPlayer().changeJob(MapleJob.getById(100)); 
                } else if (splitted[0].equals("!beginner")) {
                c.getPlayer().changeJob(MapleJob.getById(0));
                } else if (splitted[0].equals("!mage")) {
                c.getPlayer().changeJob(MapleJob.getById(200));
                } else if (splitted[0].equals("!archer")) {
                c.getPlayer().changeJob(MapleJob.getById(300));
                } else if (splitted[0].equals("!rogue")) {
                c.getPlayer().changeJob(MapleJob.getById(400));
                } else if (splitted[0].equals("!fighter")) {
                c.getPlayer().changeJob(MapleJob.getById(110));
                } else if (splitted[0].equals("!page")) {
                c.getPlayer().changeJob(MapleJob.getById(120)); 
                } else if (splitted[0].equals("!spearman")) {
                c.getPlayer().changeJob(MapleJob.getById(130)); 
                } else if (splitted[0].equals("!fpmage")) {
                c.getPlayer().changeJob(MapleJob.getById(210));
                } else if (splitted[0].equals("!ilmage")) {
                c.getPlayer().changeJob(MapleJob.getById(220));
                } else if (splitted[0].equals("!cleric")) {
                c.getPlayer().changeJob(MapleJob.getById(230)); 
                } else if (splitted[0].equals("!hunter")) {
                c.getPlayer().changeJob(MapleJob.getById(310));
                } else if (splitted[0].equals("!crossbowman")) {
                c.getPlayer().changeJob(MapleJob.getById(320)); 
                } else if (splitted[0].equals("!assassin")) {
                c.getPlayer().changeJob(MapleJob.getById(410));
                } else if (splitted[0].equals("!bandit")) {
                c.getPlayer().changeJob(MapleJob.getById(420));
                } else if (splitted[0].equals("!crusader")) {
                c.getPlayer().changeJob(MapleJob.getById(111));
                } else if (splitted[0].equals("!whiteknight")) {
                c.getPlayer().changeJob(MapleJob.getById(121));
                } else if (splitted[0].equals("!dragonknight")) {
                c.getPlayer().changeJob(MapleJob.getById(131));
                } else if (splitted[0].equals("!advfpmage")) {
                c.getPlayer().changeJob(MapleJob.getById(211));
                } else if (splitted[0].equals("!advilmage")) {
                c.getPlayer().changeJob(MapleJob.getById(221));
                } else if (splitted[0].equals("!priest")) {
                c.getPlayer().changeJob(MapleJob.getById(231));
                } else if (splitted[0].equals("!ranger")) {
                c.getPlayer().changeJob(MapleJob.getById(311));
                } else if (splitted[0].equals("!sniper")) {
                c.getPlayer().changeJob(MapleJob.getById(321));
                } else if (splitted[0].equals("!hermit")) {
                c.getPlayer().changeJob(MapleJob.getById(411));
                } else if (splitted[0].equals("!chiefbandit")) {
                c.getPlayer().changeJob(MapleJob.getById(421));
                } else if (splitted[0].equals("!hero")) {
                c.getPlayer().changeJob(MapleJob.getById(112));
                } else if (splitted[0].equals("!paladin")) {
                c.getPlayer().changeJob(MapleJob.getById(122));
                } else if (splitted[0].equals("!darkknight")) {
                c.getPlayer().changeJob(MapleJob.getById(132));
                } else if (splitted[0].equals("!fparchmage")) {
                c.getPlayer().changeJob(MapleJob.getById(212));
                } else if (splitted[0].equals("!ilarchmage")) {
                c.getPlayer().changeJob(MapleJob.getById(222));
                } else if (splitted[0].equals("!bishop")) {
                c.getPlayer().changeJob(MapleJob.getById(232));
                } else if (splitted[0].equals("!bowmaster")) {
                c.getPlayer().changeJob(MapleJob.getById(312));
                } else if (splitted[0].equals("!marksman")) {
                c.getPlayer().changeJob(MapleJob.getById(322));
                } else if (splitted[0].equals("!nightlord")) {
                c.getPlayer().changeJob(MapleJob.getById(412));
                } else if (splitted[0].equals("!shadower")) {
                c.getPlayer().changeJob(MapleJob.getById(422));
                } else if (splitted[0].equals("!pirate")) {
                c.getPlayer().changeJob(MapleJob.getById(500));
                } else if (splitted[0].equals("!brawler")) {
                c.getPlayer().changeJob(MapleJob.getById(510));
                } else if (splitted[0].equals("!gunslinger")) {
                c.getPlayer().changeJob(MapleJob.getById(520));
                } else if (splitted[0].equals("!marauder")) {
                c.getPlayer().changeJob(MapleJob.getById(511));
                } else if (splitted[0].equals("!outlaw")) {
                c.getPlayer().changeJob(MapleJob.getById(521));
                } else if (splitted[0].equals("!buccaneer")) {
                c.getPlayer().changeJob(MapleJob.getById(512));
                } else if (splitted[0].equals("!corsair")) {
                c.getPlayer().changeJob(MapleJob.getById(522));
                } else if (splitted[0].equals("!gm")) {
                c.getPlayer().changeJob(MapleJob.getById(900));
                } else if (splitted[0].equals("!supergm")) {
                c.getPlayer().changeJob(MapleJob.getById(910));
Find
Code:
new CommandDefinition("job", "", "", 100),
Add under
Code:
                        new CommandDefinition("warrior", "", "", 100),
                        new CommandDefinition("beginner", "", "", 100),
                        new CommandDefinition("mage", "", "", 100), 
                        new CommandDefinition("archer", "", "", 100),
                        new CommandDefinition("rogue", "", "", 100),
                        new CommandDefinition("fighter", "", "", 100),
                        new CommandDefinition("page", "", "", 100),
                        new CommandDefinition("spearman", "", "", 100),
                        new CommandDefinition("fpmage", "", "", 100), 
                        new CommandDefinition("ilmage", "", "", 100),
                        new CommandDefinition("cleric", "", "", 100),
                        new CommandDefinition("hunter", "", "", 100),
                        new CommandDefinition("crossbowman", "", "", 100),
                        new CommandDefinition("assassin", "", "", 100),
                        new CommandDefinition("bandit", "", "", 100),
                        new CommandDefinition("crusader", "", "", 100),
                        new CommandDefinition("whiteknight", "", "", 100),
                        new CommandDefinition("dragonknight", "", "", 100),
                        new CommandDefinition("advfpmage", "", "", 100),
                        new CommandDefinition("advilmage", "", "", 100),
                        new CommandDefinition("priest", "", "", 100),
                        new CommandDefinition("ranger", "", "", 100),
                        new CommandDefinition("sniper", "", "", 100),
                        new CommandDefinition("hermit", "", "", 100),
                        new CommandDefinition("chiefbandit", "", "", 100),
                        new CommandDefinition("hero", "", "", 100),
                        new CommandDefinition("paladin", "", "", 100),
                        new CommandDefinition("darkknight", "", "", 100),
                        new CommandDefinition("fparchmage", "", "", 100),
                        new CommandDefinition("ilarchmage", "", "", 100),
                        new CommandDefinition("bishop", "", "", 100),
                        new CommandDefinition("bowmaster", "", "", 100),
                        new CommandDefinition("marksman", "", "", 100),
                        new CommandDefinition("nightlord", "", "", 100),
                        new CommandDefinition("shadower", "", "", 100),
                        new CommandDefinition("pirate", "", "", 100),
                        new CommandDefinition("brawler", "", "", 100),
                        new CommandDefinition("gunslinger", "", "", 100),
                        new CommandDefinition("hunter", "", "", 100),
                        new CommandDefinition("marauder", "", "", 100),
                        new CommandDefinition("outlaw", "", "", 100),
                        new CommandDefinition("buccaneer", "", "", 100),
                        new CommandDefinition("corsair", "", "", 100),
                        new CommandDefinition("gm", "", "", 100),
                        new CommandDefinition("supergm", "", "", 100),
Credits me for creating it
Sadiq for the teaching me :)
 
Infraction Baɴɴed
Loyal Member
Joined
Apr 9, 2008
Messages
1,416
Reaction score
169
Re: [Release] Improved !job command

how about making it read the splitted[1] which would be the job name.

i think that would save having to add all the new CommandDefinition for each job? (if not my bad)

other than that good job ^_^
 
Skilled Illusionist
Joined
Nov 29, 2008
Messages
370
Reaction score
7
Re: [Release] Improved !job command

Thanks. I was thinking someone should make a command for Gms where they can type !job and a npc pops up and they pick there job from a list. This seems good though.
 
Λκαяυz føяeνeя
Loyal Member
Joined
Jun 28, 2008
Messages
1,950
Reaction score
73
Re: [Release] Improved !job command

Thanks. I was thinking someone should make a command for Gms where they can type !job and a npc pops up and they pick there job from a list. This seems good though.

This is WAY Easier to type, rather then waiting for the npc to open and such.
 
Visit my hompage
Loyal Member
Joined
May 2, 2008
Messages
1,017
Reaction score
2
Re: [Release] Improved !job command

Thanks im gonna use this for my server im making :p
 
Skilled Illusionist
Joined
Nov 29, 2008
Messages
370
Reaction score
7
Re: [Release] Improved !job command

This is WAY Easier to type, rather then waiting for the npc to open and such.

That's what I was thinking, I am thinking of a way to make it even faster. Will let you know if I figure it out.
 
Infraction Baɴɴed
Loyal Member
Joined
Apr 9, 2008
Messages
1,416
Reaction score
169
Re: [Release] Improved !job command

i still think doing !job <name> is faster and saves space
 
Experienced Elementalist
Joined
Dec 12, 2008
Messages
287
Reaction score
0
Re: [Release] Improved !job command

Why not be less lazy and type the job id x) Saves a hella lot of space
 
Newbie Spellweaver
Joined
Dec 7, 2008
Messages
84
Reaction score
0
Re: [Release] Improved !job command

!jobperson romar (JobName)
yeah do that ?
haaha, and nice job (;
 
Experienced Elementalist
Joined
Dec 12, 2008
Messages
287
Reaction score
0
Re: [Release] Improved !job command

Making the job name @ splitted[1] would be much more efficient.
That way we can make !jobperson out of it and you won't have to add all those gaybo definitions
 
Newbie Spellweaver
Joined
Jun 23, 2008
Messages
61
Reaction score
0
Re: [Release] Improved !job command

lol...

i think its just best to memorise the codes and just live life as it was previously.
 
Newbie Spellweaver
Joined
Apr 6, 2008
Messages
66
Reaction score
1
Re: [Release] Improved !job command

-----
 
Last edited:
Master Summoner
Loyal Member
Joined
Sep 25, 2008
Messages
501
Reaction score
0
Re: [Release] Improved !job command

nice job roamer
 
Λκαяυz føяeνeя
Loyal Member
Joined
Jun 28, 2008
Messages
1,950
Reaction score
73
Re: [Release] Improved !job command

i believe theres already a command '!jobperson {NAME}'
For some jobs this is easier, this is just another way to use it.
 
Getting into Graphics
Joined
Jun 22, 2008
Messages
173
Reaction score
0
Re: [Release] Improved !job command

I can just imaging me typing !advil by accident and not adding the mage part.
 
Getting into Graphics
Joined
Jun 22, 2008
Messages
173
Reaction score
0
Re: [Release] Improved !job command

One thing though, these names may be hard to remember/spell.
Although you can change it...

!warrior (7 letters)
!job 100 (6 letters)
 
Status
Not open for further replies.
Back
Top