[Tut] Adding more locations to your !goto command

🚫
Exiled
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.
 
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 ! :*:
 
Back