you gotta add it in clickingbutttons.java just rip it from DSPK its simpler
|
K so lately I have gotten into the whole rsps. It's pretty cool but right now I am having trouble trying to make the quest tab give you items when clicked this is what I have so far in the quest tab.
How can I make it so when someone clicks those it gives items I want to set?Code:public void handleLoginText() { //Quest Tab c.getPA().sendFrame126("PeacePk", 640); c.getPA().sendFrame126("Gear", 663); c.getPA().sendFrame126("Maxed Gear", 7332); c.getPA().sendFrame126("Pure Gear", 7333); c.getPA().sendFrame126("Range Tank", 7334); c.getPA().sendFrame126("Zerker Gear", 7336);
Please help thanks!
you gotta add it in clickingbutttons.java just rip it from DSPK its simpler
Under the case ID for the line
login ur client and click on the quest list and click the spot you want, and look at the run cmd and it should say "name" action button - "number" and keep that number and go to clicking buttons and search for it it should be as a case and under it add waht u want
Click on the section of quest tab the text is on, then look on server cmd prompt, should say the button ID. Now go to ClickingButtons.java and add:
Code:case #####://add your ID here if (c.inWild() && c.isBanking) { c.sendMessage("You cannot do this right now"); } else if(c.getItems().freeSlots() <= 1) { c.sendMessage("You need atleast # free slot's to use this feature."); } else if (c.getItems().playerHasItem(995, ####)) { c.getItems().deleteItem2(995, ####); c.getItems().addItem(####,####); } else { c.sendMessage("You need atleast ###### coins to use this feature."); } break;
Your welcome.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |