PDA

View Full Version : Changing Home



Caldito
June 17th, 2010, 19:16
Well Hello this is my first time posting here so Hi.
I want to know how to change my Home, normal home is on Varrock bank I want the new home be on Camelot.
Additional Information : using codeusa src

Thanks!
|*Caldito*|

Faab234
June 17th, 2010, 19:21
Testworldloader.java, find p.setCoords.

Break
June 17th, 2010, 19:21
Go to Rs2loginprotocol.java.
Now ingame do ::coords and check the coords.
Example: 3091, 3493.
So search inside Rs2loginprotocol.java for 3091, Then change the coords for your wish.

Nathan
June 17th, 2010, 19:22
rs2login.java search that. then should be something like p.setCoords(...., ...., .); under it.


if (p.teleportToX == -1 && p.teleportToY == -1)

Break
June 17th, 2010, 19:41
Omfg, I already told him.
Can't you guys read?
Base: Codeusa, Codeusa is z508.

Nathan
June 17th, 2010, 19:42
Omfg, I already told him.
Can't you guys read?
Base: Codeusa, Codeusa is z508.

wow cry much plz?

Perfection
June 17th, 2010, 19:43
wow cry much plz?

Agreed, Can't remember what the code is for find the coords.

Break
June 17th, 2010, 19:48
Nathan, I'm not crying.
I'm just wondering, Are you blind or stupid? If you can't read or can't help, Then don't post.

Nathan
June 17th, 2010, 19:50
l000000000000l. ur funny. i just love people who go mad over a help thread like u <3 no more posts from me sir.

Caldito
June 17th, 2010, 19:55
thanks for help I got it , but i have another questionb ;)
How do i put globalobsjects such as mining rocks, threes, spining wheel, fishing spots?
Thanks again

jamie
June 17th, 2010, 20:15
Find the cords by going to your home and do ::mypos or logout and look in your character file for cords x and search in client.java idk what that is called for a 508/525.

Break
June 17th, 2010, 20:16
Go to player.java, Search for:

public void loadStaticObjects() {
And under add something like this:

getActionSender().addStaticObject(14002, 0, 3372, 3571, 2, 10);

Just change the id and the coords.

Caldito
June 17th, 2010, 20:27
Ok Thanks now I got new home ;) I have two more questiosn xD
1.- How do I put globalobject I saw tuts about and they say to go frames.java but my base (codeusa) don't have or I don't know where is it.
2.- When I person dies on PvP (on Camelot) appear on Varrock, where do I fix that?

Thanks for Help!

Break
June 17th, 2010, 20:31
Check above you for number one.
For number two, All you have to do is go to Player.java and search for:

public void appenddeath() {
Now u'll see

oh dear! you are dead or something like this, below this thier coords, Change it to what you choose :P.

Caldito
June 17th, 2010, 20:37
Thanks dude :) and about the globalobject? 'o.O, sorry for asking lot of question and I really apriciate you guys are helping me :)

Break
June 17th, 2010, 20:41
Go to player.java and search for:

public void loadStaticObjects() {
Now under add this:

getActionSender().addStaticObject(ITEM ID, 0, COORDS X, COORDS Y, 2, 10);

Anytime bro XD.

TehCow
June 17th, 2010, 20:45
Maybe a command? I'm not the greatest in z508+, neither in emolus.

Caldito
June 17th, 2010, 20:49
Z0mg Thanks dude haha but another question [sorry] where do I edit the stuff you recive when you like woodcut (200k) etc, theving stall (500k), fishing spot (200k) and can you post me a link for the objects? 'o.O soz!

Thanks!

Break
June 17th, 2010, 20:57
Objectoption1, It's inside Packethandler folder.

And don't say sorry, I'm glad helping you :P.

Caldito
June 17th, 2010, 21:00
HAHA Ok thanks, well can you post me a link for object id list? 'o.O?
And if you can :) can you explain me the code of the ObjectOptions?

case 2092:
case 2093:
case 31071:
case 31072:
case 31073:
Engine.playerItems.hasPlayerItemAmount(p, 1265, 1);
p.appendExperience(100, 14);
p.clickDelay = 4;
if (p.skillLvl[14] <= 20);
p.requestAnim(6752, 0);
Engine.playerItems.addItem(p, 995, 5000);
p.getActionSender().sendMessage(p, "You mine some iron ore.");
break;

Break
June 17th, 2010, 21:03
No problem, Tell me which objects you need and I will give you the id's.