Did you import frames?![]()
|
|
errr....plz help?Code:Compiling palidino76.rs2.util Compiling palidino76.rs2.world.mapdata Compiling palidino76.rs2.world.items .\palidino76\rs2\io\packets\ActionButtons.java:80: cannot find symbol symbol : method createGlobalObject(int,int,int,int,int,int) location: class palidino76.rs2.io.Frames p.frames.createGlobalObject(28297, p.heightLevel, p.absX, p.absY, 0, 10); ^ .\palidino76\rs2\io\packets\ActionButtons.java:81: cannot find symbol symbol : method createGlobalObject(int,int,int,int,int,int) location: class palidino76.rs2.io.Frames p.frames.createGlobalObject(28297, p.heightLevel, p.absX - 1, p.absY + 2, 0, 10) ; ^ .\palidino76\rs2\io\packets\ActionButtons.java:82: cannot find symbol symbol : method createGlobalObject(int,int,int,int,int,int) location: class palidino76.rs2.io.Frames p.frames.createGlobalObject(28297, p.heightLevel, p.absX + 2, p.absY - 1, 0, 10) ; ^ 3 errors Press any key to continue . . .

Replace
WithCode:p.frames.createGlobalObject(28297, p.heightLevel, p.absX, p.absY, 0, 10);
Enjoy,Code:p.frames.addStaticObject(28297, p.heightLevel, p.absX, p.absY, 0, 10);
~Abyssal

Exactly what I'm saying, The frames class uses addStaticObject... not addGlobalObject.
~Abyssal

Actually change add to create.
Code:/** * Creates a GlobalObject. * @param Objectid The Id of the Object to spawn. * @param Heigh The Height to spawn the Object on. * @param ObjectX The AbsX to spawn the Object on. * @param ObjectY The AbsY to spawn the Object on. * @param Face The Position for the OBject to face * @param Type Object Type * */ public void createGlobalObject(int objectId, int height, int objectX, int objectY, int face, int type) { for (Player p : Engine.players) { if (p == null) { continue; } createObject(p, objectId, height, objectX, objectY, face, type); } }

| « Ip | Urgent help. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |