Legendary Battlemage
- Joined
- Mar 30, 2009
- Messages
- 672
- Reaction score
- 678
Re: [Source] | v83 | ZenthosDev
Yea to a certain point.
Multi-World support working?
Yea to a certain point.
Multi-World support working?
That means....?Yea to a certain point.
That means....?
Your ServerProperties class is horribly coded, use a static initializer instead of constantly calling it from the property file. Also, if the variables are static, there's no need to create extra methods that set/return the value of the variable, just call it directly from the class.
LOL, You have to put you Stength Files at the right place!Hi, When i start my server of ZenthosDev..
The Login says this:
![]()
...? What is this o.o
PS. If i login and put my information at Username and Password and i press login
The client is closing and it says :
You have been disconnected from the login server
Please try again later :*:
ZenthosDev has started:
World Launched
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at tools.DatabaseConnection$ThreadLocalConnection.initialValue(DatabaseC
onnection.java:77)
at tools.DatabaseConnection$ThreadLocalConnection.initialValue(DatabaseC
onnection.java:66)
at java.lang.ThreadLocal.setInitialValue(Unknown Source)
at java.lang.ThreadLocal.get(Unknown Source)
at tools.DatabaseConnection.getConnection(DatabaseConnection.java:49)
at net.world.WorldRegistryImpl.<init>(WorldRegistryImpl.java:78)
at net.world.WorldRegistryImpl.getInstance(WorldRegistryImpl.java:96)
at net.world.WorldServer.main(WorldServer.java:74)
DatabaseConnection?? maybe something about your database?:mellow:umm im getting this error running the server... please help.
PHP:ZenthosDev has started: World Launched java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at tools.DatabaseConnection$ThreadLocalConnection.initialValue(DatabaseC onnection.java:77) at tools.DatabaseConnection$ThreadLocalConnection.initialValue(DatabaseC onnection.java:66) at java.lang.ThreadLocal.setInitialValue(Unknown Source) at java.lang.ThreadLocal.get(Unknown Source) at tools.DatabaseConnection.getConnection(DatabaseConnection.java:49) at net.world.WorldRegistryImpl.<init>(WorldRegistryImpl.java:78) at net.world.WorldRegistryImpl.getInstance(WorldRegistryImpl.java:96) at net.world.WorldServer.main(WorldServer.java:74)
http://forum.ragezone.com/f428/tool-compile-netbeans-detailed-708137/
Been using this tutorial to guide myself. With also all the v83 sources I tired, every source has a error on netbeans that cannot leads me to compile ZenthosDEV. Here is the build :
![]()
Its because you have a very different version of java then what the sources use. What version you have?
Lets see...
on Program Files, I have
jdk1.6.0_20
jre6
jre1.6.0_06
on Program Files (x86), I have
jdk1.6.0_21
jre6
jre1.6.0_06
I don't know which folder should I place the java, so I placed both.
For Netbeans, I'm using 6.8
Since you have a 64bit OS then just unistall what you currently have and download the latest one, then read the tutorial to set up a v83 server.
My computer is x64, i use x32 Java and x32 NetBeans :mellow:Uninstalled all the .java and download it with the x64, so glad that the next problem I'm going to asked is solved.
By the way, do you mean NetBeans x64? I can't find any download. And if I use my x32, it also has the same problems. What version of netbeans is stable for me and work for you ?
My computer is x64, i use x32 Java and x32 NetBeans :mellow:
It shouldn't acctualy be a problem![]()
There's going to be a delay on the next version.
Apparently I'm an idiot because I made the auto register check for a non-existing MAC.
There fore... you can spam register at the moment.
[Saving] Error saving character data: java.sql.SQLException: Generated keys not
requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.exec
uteUpdate() or Connection.prepareStatement().