[Source] | v97 | ZenthosDev

Re: [Source] | v83 | ZenthosDev

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.

Thanks and done. Will be on the next version.

To Squall:

Awesome, welcome back.
 
Re: [Source] | v83 | ZenthosDev

add hired merchants playershops and first aran job when use begginer skills, also add rings and pin and the other password thingy to be disabled and enabled in server.properties.
 
Re: [Source] | v83 | ZenthosDev

Hi, When i start my server of ZenthosDev..
The Login says this:

XiuzSu - [Source] | v97 | ZenthosDev - RaGEZONE Forums


...? 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 :*:
 
Last edited:
Re: [Source] | v83 | ZenthosDev

Hi, When i start my server of ZenthosDev..
The Login says this:

XiuzSu - [Source] | v97 | ZenthosDev - RaGEZONE Forums


...? 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 :*:
LOL, You have to put you Stength Files at the right place!
C:\Program Files\Java\jdk1.6.0_24\lib
C:\Program Files\Java\jdk1.6.0_24\jre\lib
C:\Program Files\Java\jdk1.6.0_24\jre\lib\ext
C:\Program Files\Java\jdk1.6.0_24\jre\lib\security
and:
C:\Program Files\Java\jre6\lib
C:\Program Files\Java\jre6\lib\ext
C:\Program Files\Java\jre6\lib\security

There you go :)
 
Re: [Source] | v83 | ZenthosDev

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)
 
Last edited:
Re: [Source] | v83 | ZenthosDev

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)
DatabaseConnection?? maybe something about your database?:mellow:
man idk
 
Re: [Source] | v83 | ZenthosDev

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
 
Re: [Source] | v83 | ZenthosDev

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.
 
Re: [Source] | v83 | ZenthosDev

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.

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 ?
 
Re: [Source] | v83 | ZenthosDev

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 :sleep:
 
Last edited:
Re: [Source] | v83 | ZenthosDev

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.
 
Re: [Source] | v83 | ZenthosDev

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.

Whats the next version going to be about?

@Tried with x32 netbeans but still don't work.
These are the errors :
Mapleserverhandler.java
MapleClient.java
LoginServer.java
MaplCodecFactory.java
MaplePacketDecoder.java
MaplePacketEncoder.java
HexTool.java
MockIOSession.java
ByteBufferLittleEndianWriter.java
ByteBuggerOutputStream.java

Hope that god wish me luck.

---------- Post added at 05:53 PM ---------- Previous post was at 05:24 PM ----------

Three Word to myself. I'm a retard

Why? I didn't add my JAR Folders.
 
Re: [Source] | v83 | ZenthosDev

Code:
[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().


I get this after create character, and like error.
character data are not saved.
 
Back