Initiate Mage
- Joined
- Jun 3, 2009
- Messages
- 2
- Reaction score
- 0
Ok i am going to show u how to spawn portals and make them teleport u to anywhere in runescape and if it dosent work just tell me and i have other ways that will try to help.
So first of all u need to create the teleporter (if u have that done skip this step)
Put this code inside client.java
press ctrl+f and type in "makeglobalobject" or "addobject"(its different on some servers sorry if it isint right one) and add this code
To find x-coods and y-coords u need to be administrator.
Then type ::mypos if that dosent work look in one of the tabs it will have xxxx,xxxx the numbers are the x + y coords (in game)
and the 6551 is the teleporters id use a different one if u want this is one i use.
now open up client.java again and search a portals id that is already made/working in the game, u should see something like this
Under that add this.
xxxx = X-coords of portal
yyyy = Y-coords of portal
6551 = portals id
aaaa = x-coords where u teleport to
bbbb = y-coords where u teleport to
then save and compile and try it out
So first of all u need to create the teleporter (if u have that done skip this step)
Put this code inside client.java
press ctrl+f and type in "makeglobalobject" or "addobject"(its different on some servers sorry if it isint right one) and add this code
Code:
makeGlobalObject(X-coords, Y-coords, 6551, 0, 10);//teleporter
Then type ::mypos if that dosent work look in one of the tabs it will have xxxx,xxxx the numbers are the x + y coords (in game)
and the 6551 is the teleporters id use a different one if u want this is one i use.
now open up client.java again and search a portals id that is already made/working in the game, u should see something like this
Code:
if ((objectID == 6551) && (objectX == XXXX) && (objectY == YYYY)) {
triggerTele(xxxx, yyyy, 0);
xxxx = X-coords of portal
yyyy = Y-coords of portal
6551 = portals id
aaaa = x-coords where u teleport to
bbbb = y-coords where u teleport to
Code:
}
if ((objectID == 6551) && (objectX == xxxx) && (objectY == yyyy)) {
triggerTele(aaaa, bbbb, 0);
sM("You have been teleported to (name of place).");
}