Thread: ~~Base of Grand Exchange~~

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31
  1. #1 ~~Base of Grand Exchange~~ 
    green0981
    Guest
    This my first tut people like my server and the ge so i dedcided to post the tut,please post leachers links here

    Well this is on my server RunescapeIV which can be downloaded here:
    http://www.rune-server.org/showthrea...798#post728798

    ok but to add your own
    search this in client.java if u got gs mini this should work if u don't you will have to search around a little bit
    Code:
     } else if (useItemID == 601 && atObjectID == 4126) // reward
    you should see something like this
    Code:
    } else if (useItemID == 601 && atObjectID == 4126) // reward
                {
                    sendMessage(
                            "Well done, you have just finished your mini game, here's your reward :)");
                    addSkillXP((300000 * playerLevel[6]), 6);
                    deleteItem(601, getItemSlot(601), 1);
                    addItem(15336, 1);
                    teleportToX = 2845;
                    teleportToY = 4832;
    Add these under that code
    Code:
    } else if (useItemID == 15334 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling bandos godsword at Ge!:)");
                } else if (useItemID == 15350 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling bandos boots at Ge!:)");
                       } else if (useItemID == 15348 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling bandos chest at Ge!:)");
                      } else if (useItemID == 15349 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling bandos tasset at Ge!:)");
                    } else if (useItemID == 15348 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling sara gs at Ge!:)");
                    } else if (useItemID == 15335 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling zammy gs at Ge!:)");
                    } else if (useItemID == 15333 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling arm gs at Ge!:)");
                    } else if (useItemID == 15351 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling sara sword at Ge!:)");
                     } else if (useItemID == 9099 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling zammy cloak at Ge!:)");          
                {
    ok now go into your make global objects and add these
    Code:
      makeGlobalObject(3251, 3421, 75, -3, 10); // Ge-chest
    add these with your commands
    Code:
    } else if (command.equalsIgnoreCase("GrandE")) {
                if (teleblock == true) {
                    sendMessage("A magical force stops you from teleporting."); // made by rang34nub
                } else {
                    teleportToX = 3253;
                    teleportToY = 3421;
                    sendMessage(
                            "You teleport to ge sell stuff here");
                    sendMessage(
                            "some items are not in the database more items will be added soon");
                }
    and for the coustom comand
    Code:
     case 167:                 
                    if (teleblock == true) { // Made by rang34nub
                        sendMessage("A magical force stops you from teleporting."); 
                    } else {
                        customCommand("GrandE"); // made by rang34nub
                    }
                    break;
    and this to youre autospawn.cfg
    Code:
    spawn = 793	3252	3423	0	0	0	0	0	1	ge banker

    Add this to your npcs speaking to do this go into npchandler.java and search for moo you should see something like this or something similar
    Code:
    if (npcs[i].npcType == 409) {
                            if (misc.random2(30) <= 2) {
                                npcs[i].updateRequired = true;
                                npcs[i].textUpdateRequired = true;
                                npcs[i].textUpdate = "Type ::info to begin";
                            }
                        }
    under that add this
    Code:
    if (npcs[i].npcType == 793) {
                            if (misc.random2(30) <= 2) {
                                npcs[i].updateRequired = true;
                                npcs[i].textUpdateRequired = true;
                                npcs[i].textUpdate = "Welcome to the grand Exchange Sell stuff here";
                            }
                        }                    }
    there u go post errors here
    Ucan add a block off or anything else u like

     

  2. #2  
    ahhhhhhhhhhhhhhhhhhhhhhhh
    Guest
    I'll add it then test it out.. Just a sec.

    EDIT: Fail. You have to add custom items.. Thats retarded tbh. Thats just use item on object and sendmessage.. Fail.
     

  3. #3  
    Registered Member
    Join Date
    May 2008
    Posts
    527
    Thanks given
    0
    Thanks received
    1
    Rep Power
    70
    At least make it so if you use an item on the object it gets the item name and yells that, not add items one by one.
     

  4. #4  
    Banned

    Join Date
    Jan 2008
    Posts
    639
    Thanks given
    4
    Thanks received
    5
    Rep Power
    0
    Quote Originally Posted by ahhhhhhhhhhhhhhhhhhhhhhhh View Post
    I'll add it then test it out.. Just a sec.

    EDIT: Fail. You have to add custom items.. Thats retarded tbh. Thats just use item on object and sendmessage.. Fail.
    Dude, who are you saying who Fails? It's his first Tutorial, sadly not everyone can be as perfect as you, maybe you should think before you act.
     

  5. #5  
    Community Veteran

    Dust R I P's Avatar
    Join Date
    Jan 2008
    Posts
    2,599
    Thanks given
    197
    Thanks received
    221
    Rep Power
    586
    99skiller is right evryone is learing and they keep growing untill they make something ownage
     

  6. #6  
    green0981
    Guest
    i had no internet so i did the best i can do ill upgrade later thanks for the replies guys
     

  7. #7  
    Banned

    Join Date
    Jul 2008
    Posts
    2,056
    Thanks given
    26
    Thanks received
    98
    Rep Power
    0
    nice for first tut
     

  8. #8  
    Banned

    Join Date
    Jan 2008
    Posts
    639
    Thanks given
    4
    Thanks received
    5
    Rep Power
    0
    Quote Originally Posted by dust r i p View Post
    99skiller is right evryone is learing and they keep growing untill they make something ownage
    Thanks for backing me up.

    ON TOPIC: Great job once again Green, hope to see more legit tut's from you man.
     

  9. #9  
    Banned

    Join Date
    Jul 2008
    Posts
    2,056
    Thanks given
    26
    Thanks received
    98
    Rep Power
    0
    yea +1 to that
     

  10. #10  
    Donator

    tj007razor's Avatar
    Join Date
    Feb 2007
    Posts
    895
    Thanks given
    2
    Thanks received
    9
    Rep Power
    210
    Looks decent for your first try, but I do have to ask, wtf is with your formatting here:
    Code:
    } else if (useItemID == 15334 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling bandos godsword at Ge!:)");
                } else if (useItemID == 15350 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling bandos boots at Ge!:)");
                       } else if (useItemID == 15348 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling bandos chest at Ge!:)");
                      } else if (useItemID == 15349 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling bandos tasset at Ge!:)");
                    } else if (useItemID == 15348 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling sara gs at Ge!:)");
                    } else if (useItemID == 15335 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling zammy gs at Ge!:)");
                    } else if (useItemID == 15333 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling arm gs at Ge!:)");
                    } else if (useItemID == 15351 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling sara sword at Ge!:)");
                     } else if (useItemID == 9099 && atObjectID == 75) // Ge reward
                {
                   PlayerHandler.messageToAll = (playerName
                        + " is selling zammy cloak at Ge!:)");          
                {
     

Page 1 of 4 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •