Description: Adding objects to the 503 server
Difficulty: 1/10
Assumed Knowledge: Java, A brain, Know how to read 
Tested Server: Project duke
Files/Classes Modified: Player.java, HandlePacket.java Frames.java - only if your not using project duke
Procedure
Step 1: Go to Player.java and add this method (YOU SHOULD KNOW WHERE TO ADD IT)
Code:
public void objects() {
//frame.createObject(this, objID, HEIGHT, X, Y, FACE, TYPE);
frame.createObject(this, 4388, 0, 3216, 3262, 0, 10);
}
Step 2: Go to HandlePacket.java and add this in packet 62
Step 3: Heres the createobject method add it in frames.java -- Only add this if your not using project duke
Code:
public void createObject(Player p, int objectId, int height, int objectX, int objectY, int face, int objectt) {
if (p == null || p.outStream == null || p.disconnected[0]) {
return;
}
if (Main.engine.getDistance(objectX, objectY, p.absX, p.absY) <= 60 && p.heightLevel == height) {
sendPlayerCoords(p, (objectX - ((p.mapRegionX - 6) * 8)), (objectY - ((p.mapRegionY - 6) * 8)));
p.outStream.createFrame(224);
p.outStream.writeByteC(0);
p.outStream.writeWordBigEndian(objectId);
p.outStream.writeByteA((objectt << 2) + (face & 3));
}
}
picture:
[Only registered and activated users can see links. ]
[Only registered and activated users can see links. ]
Credits: 50 percent me for writing the tutorial and 50 percent t x and lumby for the method and project duke

Originally Posted by
T X
Tbh u got permison from me for posting this to give nubs help i.e i dont care if u use the code from the souce
u can put this in the first post if u want