PI All single doors 100% working

Good release :wink:

i get a error when i compile saying that “package server.model/players/objects does not exsist”
but in fact it does, and thts all thats stopping my server from having doors!

[quote=“rangergodlv, post:22, topic:423150”]i get a error when i compile saying that “package server.model/players/objects does not exsist”
but in fact it does, and thts all thats stopping my server from having doors![/quote]
Use periods instead of forward slashes, with a semi-colon at the end.

Good job, I always found a doors.cfg file annoying.

i get this error, private static ObjectManager singleton = null;

    public static ObjectManager getSingleton() {
            if (singleton == null) {
                    singleton = new ObjectManager();
            }
            return singleton;
    }

hmm good job, i really like this

[quote=“rangergodlv, post:25, topic:423150”]i get this error, private static ObjectManager singleton = null;

    public static ObjectManager getSingleton() {
            if (singleton == null) {
                    singleton = new ObjectManager();
            }
            return singleton;
    }[/quote]

you may need to add

public ObjectManager() {}

I love you.

So I been trying to figure this out for about an hour

src\server\model\players\packets\ClickObject.java:5: cannot find symbol symbol : class Doors location: package server.model.objects import server.model.objects.Doors; ^ src\server\Server.java:10: cannot find symbol symbol : class Doors location: package server.model.objects import server.model.objects.Doors; ^ src\server\model\objects\Doors.java:115: cannot find symbol symbol : class Objects location: class server.model.players.objects.Doors Objects o = new Objects(-1, d.doorX, d.doorY, d.doorZ, 0, d.type, 0); ^ src\server\model\objects\Doors.java:115: cannot find symbol symbol : class Objects location: class server.model.players.objects.Doors Objects o = new Objects(-1, d.doorX, d.doorY, d.doorZ, 0, d.type, 0); ^ src\server\model\objects\Doors.java:122: cannot find symbol symbol : class Objects location: class server.model.players.objects.Doors Objects o = new Objects(-1, d.doorX, d.doorY, d.doorZ, 0, d.type, 0); ^ src\server\model\objects\Doors.java:122: cannot find symbol symbol : class Objects location: class server.model.players.objects.Doors Objects o = new Objects(-1, d.doorX, d.doorY, d.doorZ, 0, d.type, 0); ^ src\server\model\objects\Doors.java:140: cannot find symbol symbol : class Objects location: class server.model.players.objects.Doors Server.objectHandler.placeObject(new Objects(d.doorId, d.doorX, d.doorY, d.doorZ, getNextFace(d), d.type, 0)); ^ Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 7 errors Press any key to continue . . .

Thanks, I’ve been needing this for a while.

That’s such a cliche.

These errors :confused: :’(

src\server\model\players\packets\ClickObject.java:6: error: package server.model .players.objects does not exist import server.model.players.objects.Doors; ^ src\server\Server.java:12: error: package server.model.players.objects does not exist import server.model.players.objects.Doors; ^ src\server\model\players\packets\ClickObject.java:30: error: cannot find symbol if (Doors.getSingleton().handleDoor(c.objectId, c.objectX, c.objectY, c.heightLevel)) { ^ symbol: variable Doors location: class ClickObject src\server\Server.java:162: error: cannot find symbol Doors.getSingleton().load(); ^ symbol: variable Doors location: class Server Note: src\server\world\map\C.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors Press any key to continue . . .

how to do this on delta would be very nice because we ARE still out here… :o

i need this too…l ol

I get this im not the smartest either. Sorry to bother you.

src\server\world\ObjectManager.java:41: error: illegal start of type
for (Objects s : globalObjects) {
^
src\server\world\ObjectManager.java:41: error: ‘)’ expected
for (Objects s : globalObjects) {
^
src\server\world\ObjectManager.java:41: error: expected
for (Objects s : globalObjects) {
^
src\server\world\ObjectManager.java:46: error: illegal start of type
for (Objects s : toremove) {
^
src\server\world\ObjectManager.java:46: error: ‘)’ expected
for (Objects s : toremove) {
^
src\server\world\ObjectManager.java:46: error: expected
for (Objects s : toremove) {
^
src\server\world\ObjectManager.java:51: error: expected
globalObjects.add(o);
^
src\server\world\ObjectManager.java:51: error: expected
globalObjects.add(o);
^
8 errors
Press any key to continue . . .

Then you’ll need the door class, it should be placed so its like src/server/model/players/objects/Doors.java

I do not have objects/doors.java inside my players folder?

Please let me know if i’m stupid or i just need to add it in?

I am getting the following error:

src\server\model\players\packets\ClickObject.java:6: error: package server.model
.players.objects does not exist
import server.model.players.objects.Doors;
                                   ^
src\server\Server.java:3: error: package server.model.players.objects does not e
xist
import server.model.players.objects.Doors;
                                   ^
src\server\model\players\packets\ClickObject.java:30: error: cannot find symbol
                                if (Doors.getSingleton().handleDoor(c.objectId,
c.objectX, c.objectY, c.heightLevel)) {
                                    ^
  symbol:   variable Doors
  location: class ClickObject
src\server\Server.java:163: error: cannot find symbol
                Doors.getSingleton().load();
                ^
  symbol:   variable Doors
  location: class Server
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
Druk op een toets om door te gaan. . .

Could someone help please?

[quote=“Giliam, post:37, topic:423150”]I am getting the following error:

src\server\model\players\packets\ClickObject.java:6: error: package server.model
.players.objects does not exist
import server.model.players.objects.Doors;
                                   ^
src\server\Server.java:3: error: package server.model.players.objects does not e
xist
import server.model.players.objects.Doors;
                                   ^
src\server\model\players\packets\ClickObject.java:30: error: cannot find symbol
                                if (Doors.getSingleton().handleDoor(c.objectId,
c.objectX, c.objectY, c.heightLevel)) {
                                    ^
  symbol:   variable Doors
  location: class ClickObject
src\server\Server.java:163: error: cannot find symbol
                Doors.getSingleton().load();
                ^
  symbol:   variable Doors
  location: class Server
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
4 errors
Druk op een toets om door te gaan. . .

Could someone help please?[/quote]

make this your compiler

@echo off "c:\Program Files\Java\jdk1.6.0_30\bin\javac.exe" -classpath deps/log4j-1.2.15.jar;deps/jython.jar;deps/xstream.jar;deps/mina.jar;deps/mysql.jar;deps/poi.jar;deps/slf4j.jar;deps/slf4j-nop.jar -d bin src\server\event\*.java src\server\model\items\*.java src\server\model\minigames\*.java src\server\model\npcs\*.java src\server\model\objects\*.java src\server\model\players\*.java src\server\model\players\skills\*.java src\server\model\players\packets\*.java src\server\model\shops\*.java src\server\net\*.java src\server\task\*.java src\server\util\*.java src\server\clip\region\*.java src\server\clip\*.java src\server\world\*.java src\server\util\log\*.java src\server\*.java src\server\world\map\*.java src\server\model\players\objects\*.java pause

but change the jdk version to yours

I need help with this error:

src\server\model\objects\Doors.java:115: cannot find symbol symbol : class Objects location: class server.model.players.objects.Doors Objects o = new Objects(-1, d.doorX, d.doorY, d.doorZ, 0 , d.type, 0); ^ src\server\model\objects\Doors.java:115: cannot find symbol symbol : class Objects location: class server.model.players.objects.Doors Objects o = new Objects(-1, d.doorX, d.doorY, d.doorZ, 0 , d.type, 0); ^ src\server\model\objects\Doors.java:122: cannot find symbol symbol : class Objects location: class server.model.players.objects.Doors Objects o = new Objects(-1, d.doorX, d.doorY, d.doorZ, 0 , d.type, 0); ^ src\server\model\objects\Doors.java:122: cannot find symbol symbol : class Objects location: class server.model.players.objects.Doors Objects o = new Objects(-1, d.doorX, d.doorY, d.doorZ, 0 , d.type, 0); ^ src\server\model\objects\Doors.java:140: cannot find symbol symbol : class Objects location: class server.model.players.objects.Doors Server.objectHandler.placeObject(new Objects(d.doorId, d.doorX, d.doorY, d.doorZ, getNextFace(d), d.type, 0)); ^ 5 errors Press any key to continue . . .

src\server\world\ObjectHandler.java:83: error: illegal start of type for (Objects s : globalObjects) { ^ src\server\world\ObjectHandler.java:83: error: ')' expected for (Objects s : globalObjects) { ^ src\server\world\ObjectHandler.java:83: error: <identifier> expected for (Objects s : globalObjects) { ^ src\server\world\ObjectHandler.java:88: error: illegal start of type for (Objects s : toremove) { ^ src\server\world\ObjectHandler.java:88: error: ')' expected for (Objects s : toremove) { ^ src\server\world\ObjectHandler.java:88: error: <identifier> expected for (Objects s : toremove) { ^ src\server\world\ObjectHandler.java:93: error: <identifier> expected globalObjects.add(o); ^ src\server\world\ObjectHandler.java:93: error: <identifier> expected globalObjects.add(o); ^ 8 errors Press any key to continue . . .What should I do for those errors to get fixed.