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!

[Tut] Adding more locations to your !goto command

Banned
Banned
Joined
Oct 19, 2006
Messages
400
Reaction score
1
Just a quick tutorial how you add more locations to the !goto command.

Step 1.
Open up CommandProcessor.java

Step 2.
Ctrl+F and search for !goto

Step 3.
You should see this:

Code:
           } else if (splitted[0].equals("!goto")) {
                    //Map name array
                    int[] gotomapid = { 
                        180000000, //GmMap
                        60000, //Southperry
                        1010000, //Amherst
                        100000000, //henesys 
                        101000000, //ellinia 
                        102000000, //perion
                        103000000, //kerning
                        104000000, //lith
                        105040300, //sleepywood
                        110000000, //florina
                        200000000, //orbis
                        209000000, //happy
                        211000000, //elnath
                        220000000, //ludi
                        230000000, //aqua
                        240000000, //leafre
                        250000000, //mulung
                        251000000, //herb
                        221000000, //omega
                        222000000, //korean (Folk Town)
                        600000000, //nlc (New Leaf City)
                        990000000, //excavation (Sharenian/Excavation Site)
                        230040420, //Pianus cave
                        240060200, //Horned Tail's cave
                        100000005, //Mushmom
                        240020101, //Griffey
                        240020401, //Manon
                        682000001, //Headless Horseman
                        105090900, //Jr.Balrog
            280030000, //Zakum's Altar
            220080001, //Papulatus map
            801000000, //showa Town
            200000301, //Guild HeadQuarters
            800000000, //Shrine (Mushroom Shrine)
            910000000, //Free Market Entrance
            240040511, //Skelegon map (Leafre)
            109020001, //PVP map (Quiz X and O)
                    };
                    String[] gotomapname = { 
                        "gmmap",
                        "southperry",
                        "amherst",
                        "henesys", 
                        "ellinia", 
                        "perion", 
                        "kerning", 
                        "lith", 
                        "sleepywood", 
                        "florina",
                        "orbis", 
                        "happy", 
                        "elnath", 
                        "ludi", 
                        "aqua", 
                        "leafre", 
                        "mulung", 
                        "herb", 
                        "omega", 
                        "korean", 
                        "nlc",
                        "excavation",
                        "pianus",
                        "horntail",
                        "mushmom",
                        "griffey",
                        "manon",
                        "horseman",
                        "balrog",
            "zakum",
            "papu",
            "showa",
            "guild",
            "shrine",
            "fm",
            "skelegon",
            "pvp"
                    };

Step 4.
Get the map ID of the location you want to add, preferably on MapleTIP.com

Step 5.
After
Code:
109020001, //PVP map (Quiz X and O)
add
Code:
 xxxxxxxxxxx, // << Your map ID

Step 6.
After
Code:
"pvp"
add a comma so it looks like this
Code:
"pvp",

Step 7.
Now add your identifier for that location. For example let's say you added Kerning Party Quest,

Add
Code:
"kpq"
without a comma.

----

If you want to add more you need to write a comma on each of the except the last one.

Okay, this wasn't really hard to figure but I hope I helped someone. I don't really want credits for this or anything just thought it might help someone. I wrote the guide though, lol.
 
Newbie Spellweaver
Joined
Jul 24, 2008
Messages
8
Reaction score
0
Re: [GUIDE] Adding more locations to your !goto command

this was helpful for me. Thanks.
 
Experienced Elementalist
Joined
Aug 31, 2008
Messages
214
Reaction score
0
Re: [GUIDE] Adding more locations to your !goto command

anyone tell me where is CommandProcessor.java is ?PLZ
 
Experienced Elementalist
Joined
Jul 18, 2008
Messages
232
Reaction score
0
Re: [GUIDE] Adding more locations to your !goto command

How obvious can this get?
 
Newbie Spellweaver
Joined
Sep 12, 2008
Messages
7
Reaction score
0
Re: [GUIDE] Adding more locations to your !goto command

Nice job ;]
_________
 
Newbie Spellweaver
Joined
Dec 5, 2008
Messages
8
Reaction score
0
Java

Erm you know how to fix
('ping' java is not recognized as an internal or external commands could not found java.dll operable program or bat files )

Can help mi ??? Plz ! or my server cant on ! :*:
 
Newbie Spellweaver
Joined
Sep 5, 2008
Messages
83
Reaction score
0
Re: [GUIDE] Adding more locations to your !goto command

Thanks for this? =]
 
Back
Top