Jump to content
  • 0
Sign in to follow this  
Spikeboy57

How to make working quest interfaces? VERY IMPORTANT PLZ HELP

Question

Hello everyone I have my quests tab and I think that to make the quests open an interface or menu when u click on them it has to do with clickingbuttons.java please correct me if I'm wrong and if I'm not then how do I know the Case Id's for the quest tabs?

The base is PI

This is my code in client.java

[CODE]getPA().sendFrame126("The Ritual", 7332);
getPA().sendFrame126("Something else", 7333);
getPA().sendFrame126("",7334);
getPA().sendFrame126("", 7336);
getPA().sendFrame126("", 7383);
getPA().sendFrame126("", 7383);
getPA().sendFrame126("", 7339);
getPA().sendFrame126("", 7338);
getPA().sendFrame126("", 7340);
getPA().sendFrame126("", 7346);
getPA().sendFrame126("", 7341);
getPA().sendFrame126("", 7342);
getPA().sendFrame126("", 7337);
getPA().sendFrame126("", 7343);
getPA().sendFrame126("", 7335);
getPA().sendFrame126("", 7344);
getPA().sendFrame126("", 7345);
getPA().sendFrame126("", 7347);
getPA().sendFrame126("", 7348);
/*Members Quests*/
getPA().sendFrame126("", 12772);
getPA().sendFrame126("", 673);
getPA().sendFrame126("", 7352);
//4th one is missing
getPA().sendFrame126("", 7353);
getPA().sendFrame126("", 12129);
getPA().sendFrame126("", 8438);
getPA().sendFrame126("", 12852);
getPA().sendFrame126("", 15841);
getPA().sendFrame126("", 7354);
getPA().sendFrame126("", 7355);
getPA().sendFrame126("", 7356);
getPA().sendFrame126("", 8679);
getPA().sendFrame126("", 7459);
getPA().sendFrame126("", 16149);
getPA().sendFrame126("", 6987);
getPA().sendFrame126("", 7357);
getPA().sendFrame126("", 12836);
getPA().sendFrame126("", 7358);
getPA().sendFrame126("", 7359);
getPA().sendFrame126("", 14169);
getPA().sendFrame126("", 10115);
getPA().sendFrame126("", 14604);
getPA().sendFrame126("", 7360);
getPA().sendFrame126("", 12282);
getPA().sendFrame126("", 13577);
getPA().sendFrame126("", 12839);
getPA().sendFrame126("", 7361);
getPA().sendFrame126("", 16128);
getPA().sendFrame126("", 11857);
getPA().sendFrame126("", 7362);
getPA().sendFrame126("", 7363);
getPA().sendFrame126("", 7364);
getPA().sendFrame126("", 10135);
getPA().sendFrame126("", 4508);
getPA().sendFrame126("", 18517);
getPA().sendFrame126("", 11907);
getPA().sendFrame126("", 7365);
getPA().sendFrame126("", 7366);
getPA().sendFrame126("", 7367);
getPA().sendFrame126("", 13389);
getPA().sendFrame126("", 15487);
getPA().sendFrame126("", 7368);
getPA().sendFrame126("", 11132);
getPA().sendFrame126("", 7369);
getPA().sendFrame126("", 12389);
getPA().sendFrame126("", 13974);
getPA().sendFrame126("", 7370);
getPA().sendFrame126("", 8137);
getPA().sendFrame126("", 7371);
getPA().sendFrame126("", 12345);
getPA().sendFrame126("", 7372);
getPA().sendFrame126("", 8115);
getPA().sendFrame126("", 18684);
getPA().sendFrame126("", 15499);
getPA().sendFrame126("", 668);
getPA().sendFrame126("", 8576);
getPA().sendFrame126("", 12139);
getPA().sendFrame126("", 14912);
getPA().sendFrame126("", 7373);
getPA().sendFrame126("", 7374);
getPA().sendFrame126("", 8969);
getPA().sendFrame126("", 15352);
getPA().sendFrame126("", 7375);
getPA().sendFrame126("", 7376);
getPA().sendFrame126("", 15098);
getPA().sendFrame126("", 15592);
getPA().sendFrame126("", 249);
getPA().sendFrame126("", 1740);
getPA().sendFrame126("", 15235);
getPA().sendFrame126("", 3278);
getPA().sendFrame126("", 7378);
getPA().sendFrame126("", 6518);
getPA().sendFrame126("", 7379);
getPA().sendFrame126("", 7380);
getPA().sendFrame126("", 7381);
getPA().sendFrame126("", 11858);
getPA().sendFrame126("", 191);
getPA().sendFrame126("", 9927);
getPA().sendFrame126("", 6024);
getPA().sendFrame126("", 7349);
getPA().sendFrame126("", 7350);
getPA().sendFrame126("", 7351);
getPA().sendFrame126("", 13356);
/*END OF ALL QUESTS*/[/CODE]

It's all in order but how do I fix this problem thanks guys! Edited by Spikeboy57

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0
[quote name='Spikeboy57']Hello everyone I have my quests tab and I think that to make the quests open an interface or menu when u click on them it has to do with clickingbuttons.java please correct me if I'm wrong and if I'm not then how do I know the Case Id's for the quest tabs?

The base is PI

This is my code in client.java

[CODE]getPA().sendFrame126("The Ritual", 7332);
getPA().sendFrame126("Something else", 7333);
getPA().sendFrame126("",7334);
getPA().sendFrame126("", 7336);
getPA().sendFrame126("", 7383);
getPA().sendFrame126("", 7383);
getPA().sendFrame126("", 7339);
getPA().sendFrame126("", 7338);
getPA().sendFrame126("", 7340);
getPA().sendFrame126("", 7346);
getPA().sendFrame126("", 7341);
getPA().sendFrame126("", 7342);
getPA().sendFrame126("", 7337);
getPA().sendFrame126("", 7343);
getPA().sendFrame126("", 7335);
getPA().sendFrame126("", 7344);
getPA().sendFrame126("", 7345);
getPA().sendFrame126("", 7347);
getPA().sendFrame126("", 7348);
/*Members Quests*/
getPA().sendFrame126("", 12772);
getPA().sendFrame126("", 673);
getPA().sendFrame126("", 7352);
//4th one is missing
getPA().sendFrame126("", 7353);
getPA().sendFrame126("", 12129);
getPA().sendFrame126("", 8438);
getPA().sendFrame126("", 12852);
getPA().sendFrame126("", 15841);
getPA().sendFrame126("", 7354);
getPA().sendFrame126("", 7355);
getPA().sendFrame126("", 7356);
getPA().sendFrame126("", 8679);
getPA().sendFrame126("", 7459);
getPA().sendFrame126("", 16149);
getPA().sendFrame126("", 6987);
getPA().sendFrame126("", 7357);
getPA().sendFrame126("", 12836);
getPA().sendFrame126("", 7358);
getPA().sendFrame126("", 7359);
getPA().sendFrame126("", 14169);
getPA().sendFrame126("", 10115);
getPA().sendFrame126("", 14604);
getPA().sendFrame126("", 7360);
getPA().sendFrame126("", 12282);
getPA().sendFrame126("", 13577);
getPA().sendFrame126("", 12839);
getPA().sendFrame126("", 7361);
getPA().sendFrame126("", 16128);
getPA().sendFrame126("", 11857);
getPA().sendFrame126("", 7362);
getPA().sendFrame126("", 7363);
getPA().sendFrame126("", 7364);
getPA().sendFrame126("", 10135);
getPA().sendFrame126("", 4508);
getPA().sendFrame126("", 18517);
getPA().sendFrame126("", 11907);
getPA().sendFrame126("", 7365);
getPA().sendFrame126("", 7366);
getPA().sendFrame126("", 7367);
getPA().sendFrame126("", 13389);
getPA().sendFrame126("", 15487);
getPA().sendFrame126("", 7368);
getPA().sendFrame126("", 11132);
getPA().sendFrame126("", 7369);
getPA().sendFrame126("", 12389);
getPA().sendFrame126("", 13974);
getPA().sendFrame126("", 7370);
getPA().sendFrame126("", 8137);
getPA().sendFrame126("", 7371);
getPA().sendFrame126("", 12345);
getPA().sendFrame126("", 7372);
getPA().sendFrame126("", 8115);
getPA().sendFrame126("", 18684);
getPA().sendFrame126("", 15499);
getPA().sendFrame126("", 668);
getPA().sendFrame126("", 8576);
getPA().sendFrame126("", 12139);
getPA().sendFrame126("", 14912);
getPA().sendFrame126("", 7373);
getPA().sendFrame126("", 7374);
getPA().sendFrame126("", 8969);
getPA().sendFrame126("", 15352);
getPA().sendFrame126("", 7375);
getPA().sendFrame126("", 7376);
getPA().sendFrame126("", 15098);
getPA().sendFrame126("", 15592);
getPA().sendFrame126("", 249);
getPA().sendFrame126("", 1740);
getPA().sendFrame126("", 15235);
getPA().sendFrame126("", 3278);
getPA().sendFrame126("", 7378);
getPA().sendFrame126("", 6518);
getPA().sendFrame126("", 7379);
getPA().sendFrame126("", 7380);
getPA().sendFrame126("", 7381);
getPA().sendFrame126("", 11858);
getPA().sendFrame126("", 191);
getPA().sendFrame126("", 9927);
getPA().sendFrame126("", 6024);
getPA().sendFrame126("", 7349);
getPA().sendFrame126("", 7350);
getPA().sendFrame126("", 7351);
getPA().sendFrame126("", 13356);
/*END OF ALL QUESTS*/[/CODE]

It's all in order but how do I fix this problem thanks guys![/QUOTE]
Welp you have to click on the quest button and it should appear in your cmd what the clicking button is.
Then it's like
case ####:
//c.get(2 letters short for the quest doesn't matter)().showquestinformation(c);
c.getDT().showquestinformatin(c);
Break;

Share this post


Link to post
Share on other sites
  • 0
[quote name='falconpunch']Welp you have to click on the quest button and it should appear in your cmd what the clicking button is.
Then it's like
case ####:
//c.get(2 letters short for the quest doesn't matter)().showquestinformation(c);
c.getDT().showquestinformatin(c);
Break;[/QUOTE]

Thanks for your reply dude I tried what u said before hand and just now incase I missed something. When I am clicking on teleports then yes it appears in the cmd but with quests it is different. Nothing appears at all. Any other ideas? Thanks for your time It's highly appreciated.

Share this post


Link to post
Share on other sites
  • 0
[quote name='Spikeboy57']Thanks for your reply dude I tried what u said before hand and just now incase I missed something. When I am clicking on teleports then yes it appears in the cmd but with quests it is different. Nothing appears at all. Any other ideas? Thanks for your time It's highly appreciated.[/QUOTE]

in clicking buttons add something like this

[CODE]
if (c.playerRights == 3)
System.out.println(c.playerName + " - actionbutton: " + actionButtonId);
[/CODE]

Share this post


Link to post
Share on other sites
Sign in to follow this  

×