- Joined
- May 17, 2007
- Messages
- 131
- Reaction score
- 2
Credit's go to hotyute_mason from rune-server
Description: To make teleports
Difficulty: 0/10?
Assumed Knowledge: i dont think you even need a brain for this
Tested Server: 508 server
Files/Classes Modified: Actionbutton.java
Procedure
this was made based on palis method which should be in player.java already, short and sweet.
got to
\Server 508\palidino76\rs2\io\packets
open up actionbutton.java
and find
Code:
} else if (buttonId == 16) { p.frames.showInterface(p, 743); } break;
under that add this
Description: To make teleports
Difficulty: 0/10?
Assumed Knowledge: i dont think you even need a brain for this
Tested Server: 508 server
Files/Classes Modified: Actionbutton.java
Procedure
this was made based on palis method which should be in player.java already, short and sweet.
got to
\Server 508\palidino76\rs2\io\packets
open up actionbutton.java
and find
Code:
} else if (buttonId == 16) { p.frames.showInterface(p, 743); } break;
under that add this
Code:case 192: /** * Teleporting */ if(buttonId == 47) { // Ape Atoll p.teleportTo(2755, 2784, 0, 4, 4, 8939, 8941, 1576, 0, 1577, 0); } if(buttonId == 15) { // Varrock p.teleportTo(3212, 3434, 0, 4, 4, 8939, 8941, 1576, 0, 1577, 0); } if(buttonId == 18) { //Lumbridge p.teleportTo(3221, 3219, 0, 4, 4, 8939, 8941, 1576, 0, 1577, 0); } if(buttonId == 21) { //Falador p.teleportTo(2965, 3380, 0, 4, 4, 8939, 8941, 1576, 0, 1577, 0); } if(buttonId == 26) { //cammy p.teleportTo(2757, 3477, 0, 4, 4, 8939, 8941, 1576, 0, 1577, 0); } if(buttonId == 37) { // watch tower p.teleportTo(2545, 3**** 0, 4, 4, 8939, 8941, 1576, 0, 1577, 0); } if(buttonId == 32) { //ardgoune p.teleportTo(2662, 3305, 0, 4, 4, 8939, 8941, 1576, 0, 1577, 0); } break;
Last edited: