Page 1 of 1

Auto reg acc doesn't work???

Posted: Tue Aug 27, 2013 7:37 pm
by GeoPrey
EDIT: Look last post

Hello guys, so I need a help from you... I have one problem when launching LS:
Starting L2J Login Server.
Error: Could not find or load main class com.l2jserver.loginserver.L2LoginServer

Login Server terminated abnormally!

Login Server Terminated.

Press any key to continue . . .
I had the similar problem ( Could not find or load main class...) when registering game server, but it was fixed when changing svn to Native JavaHL and using .exe file to register game server. Any suggestions what to do...?

P.S. I can't tell you my files rev, because the only thing I see when opening version files is:
l2jdp-version
version=svn: E The working copy at 'C:\Eclipse workspace\L2J_DataPack'
is too old (format 29) to work with client version '1.8.0-SlikSvn-1.8.0-X64 (SlikSvn/1.8.0) X64' (expects format 31). You need to upgrade the working copy first.

builddate=27/08/2013 22:09
l2j-version
version=svn: E The working copy at 'C:\Eclipse workspace\L2J_Server'
is too old (format 29) to work with client version '1.8.0-SlikSvn-1.8.0-X64 (SlikSvn/1.8.0) X64' (expects format 31). You need to upgrade the working copy first.

builddate=27/08/2013 22:06
Maybe I have messed up something or what...? :?

Re: Can't launch LS

Posted: Tue Aug 27, 2013 7:54 pm
by jurchiks
1.8.0-SlikSvn-1.8.0-X64
that could be your problem, use SlikSVN 1.7.9.

Re: Can't launch LS

Posted: Tue Aug 27, 2013 8:54 pm
by GeoPrey
jurchiks wrote:
1.8.0-SlikSvn-1.8.0-X64
that could be your problem, use SlikSVN 1.7.9.
Gosh... I Love You so Much! Thanks for helping, dude :mrgreen:

Re: Auto reg acc doesn't work???

Posted: Tue Aug 27, 2013 9:17 pm
by GeoPrey
Okey.. Everything was just perfect (almost) until now...:
# Default: True
AutoCreateAccounts = True
and this when trying to join my server
The password you have entered is incorrect. Confirm your account information and log in again later.
Any suggestions? :?

Re: Auto reg acc doesn't work???

Posted: Wed Aug 28, 2013 8:17 am
by jurchiks
Caps lock perhaps? Anyway, I would suggest using the account manager (login/startSQLAccountManager.bat/sh).

Re: Auto reg acc doesn't work???

Posted: Wed Aug 28, 2013 10:27 am
by GeoPrey
jurchiks wrote:Caps lock perhaps? Anyway, I would suggest using the account manager (login/startSQLAccountManager.bat/sh).
Caps lock where? startSQLAccountManager works, but it's kinda uncomfortable, I need to fix (somehow) AutoReg :s
Btw, one problem leads another... Today when starting GS I got this error:
Exception in thread "main" java.lang.NumberFormatException: For input string: ""

at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.l2jserver.Config.load(Config.java:1641)
at com.l2jserver.gameserver.GameServer.main(GameServer.java:467)

Game Server Terminated Abnormally!

Game Server Terminated.

Press any key to continue . . .
What the f**k is wrong with me or with the files? It doesn't work properly :x

Re: Auto reg acc doesn't work???

Posted: Wed Aug 28, 2013 10:48 am
by Konstantinos
all the files are ok because all we use them so something is wrong from you.

Re: Auto reg acc doesn't work???

Posted: Wed Aug 28, 2013 10:52 am
by GeoPrey
Konstantinos wrote:all the files are ok because all we use them so something is wrong from you.
Okay, I have messed up something, but what and how to fix it? :?

P.S. Everything was done using tutorial/guide, so I can't understand what is wrong here :|

Re: Auto reg acc doesn't work???

Posted: Wed Aug 28, 2013 10:58 am
by jurchiks
The tutorial has also worked for other people.

Anyway, "at com.l2jserver.Config.load(Config.java:1641)"
there is no parseInt on that line in current BETA:
String[] array = Character.getProperty("RetailLikeAugmentationNoGradeChance", "55,35,7,3").split(",");

What revisions/branch are you using?

Re: Auto reg acc doesn't work???

Posted: Wed Aug 28, 2013 11:12 am
by GeoPrey
jurchiks wrote:The tutorial has also worked for other people.

Anyway, "at com.l2jserver.Config.load(Config.java:1641)"
there is no parseInt on that line in current BETA:
String[] array = Character.getProperty("RetailLikeAugmentationNoGradeChance", "55,35,7,3").split(",");

What revisions/branch are you using?
L2jdb - version = 9641
L2j - version = 5937

Re: Auto reg acc doesn't work???

Posted: Wed Aug 28, 2013 11:21 am
by jurchiks
Great, stable...
Config.java line 1641: AUGMENTATION_NG_GLOW_CHANCE = Integer.parseInt(Character.getProperty("AugmentationNGGlowChance", "0"));
Unless you modified that line, the error is not there.

I have no idea tbh, you're the only one who has had such problems. These things don't happen with clean code.

Re: Auto reg acc doesn't work???

Posted: Wed Aug 28, 2013 12:00 pm
by GeoPrey
jurchiks wrote:Great, stable...
Config.java line 1641: AUGMENTATION_NG_GLOW_CHANCE = Integer.parseInt(Character.getProperty("AugmentationNGGlowChance", "0"));
Unless you modified that line, the error is not there.

I have no idea tbh, you're the only one who has had such problems. These things don't happen with clean code.
Yes, that was the problem, I left empty space in config files there, sorry guys for my dumb head :| Now another problem (again)... Is it possible that something is messed up in system files? Because when I'm trying to log in (no matter if acc is crated using manager or auto reg) l2 stuck on this window:
You are currently logged in.
Please wait a moment.
and nothing happens, I can only press Cancel button :| Maybe you could suggest me fully working clean Hi5 system files? (If they could be the problem) Because I had found only 2 of them (idk if I searched bad or what) and 1 of them didn't worked at all... :|

EDIT: Just found another system and everything look fine (I was able to log in), but Auto reg acc still doesn't work... Any suggestions here? Or maybe someone know where I could make a mistake with that? :?

EDIT2: This is shitty system either... Any suggestions of good and working clean system? :|