Auto reg acc doesn't work???

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
GeoPrey
Posts: 10
Joined: Mon Aug 26, 2013 4:29 pm

Auto reg acc doesn't work???

Post 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...? :?
Last edited by GeoPrey on Tue Aug 27, 2013 9:14 pm, edited 1 time in total.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: Can't launch LS

Post by jurchiks »

1.8.0-SlikSvn-1.8.0-X64
that could be your problem, use SlikSVN 1.7.9.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
GeoPrey
Posts: 10
Joined: Mon Aug 26, 2013 4:29 pm

Re: Can't launch LS

Post 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:
User avatar
GeoPrey
Posts: 10
Joined: Mon Aug 26, 2013 4:29 pm

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

Post 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? :?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

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

Post by jurchiks »

Caps lock perhaps? Anyway, I would suggest using the account manager (login/startSQLAccountManager.bat/sh).
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
GeoPrey
Posts: 10
Joined: Mon Aug 26, 2013 4:29 pm

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

Post 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
User avatar
Konstantinos
Posts: 501
Joined: Wed Feb 08, 2012 12:19 pm

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

Post by Konstantinos »

all the files are ok because all we use them so something is wrong from you.
User avatar
GeoPrey
Posts: 10
Joined: Mon Aug 26, 2013 4:29 pm

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

Post 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 :|
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

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

Post 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?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
GeoPrey
Posts: 10
Joined: Mon Aug 26, 2013 4:29 pm

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

Post 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
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

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

Post 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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
GeoPrey
Posts: 10
Joined: Mon Aug 26, 2013 4:29 pm

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

Post 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? :|
Post Reply