hello everyone!
first let me say, that i’m pretty excited about the sgs project and im looking forward to working with it! it’s pretty much what i have waited for so long to start developing a small morpg in java. great job jeff!
so far i’ve only tried out the pre-built demos and read through the api-docs. the tank game is great, kev!
i am currently doing the tutorial, but when i try to compile the sources for the server i get the following error in Player.java and Room.java
the piece of code
simTask.makeReference(this)
errors to
“The method makeReference(long) in the type SimTask is not applicable for the arguments (Room)”
unfortunately i dont know the SimTask class well enough to find out what the method is expecting.
other than that it compiles fine, and with a dirty workaround to these errors i even got the server to run.
however if i start the client the console says:
Found discovery stream of size: 353
Discovery Error: No games discovered!
Exception in thread "main" java.lang.NullPointerException
at com.sun.gi.comm.users.client.impl.DefaultUserManagerPolicy.choose(DefaultUserManagerPolicy.java:125)
at com.sun.gi.comm.users.client.impl.ClientConnectionManagerImpl.connect(ClientConnectionManagerImpl.java:201)
at com.sun.gi.comm.users.client.impl.ClientConnectionManagerImpl.connect(ClientConnectionManagerImpl.java:194)
at com.sun.gi.comm.users.client.impl.ClientConnectionManagerImpl.connect(ClientConnectionManagerImpl.java:175)
at swordclient.connect(swordclient.java:86)
at swordclient.<init>(swordclient.java:68)
at swordclient.main(swordclient.java:217)
what does “no games discovered” mean? cant the client find the server?
since i dont know the swordworld game i dont really know what is supposed to be happening. what could i do in the swordworld? i guess i get some string back when i type “look” ?
i get an empty window with a command-line at the bottom.
thank you very much in advance for any help.