Where can i find auto-create account module?

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
scuarplex
Posts: 1
Joined: Wed Nov 25, 2009 11:26 pm

Where can i find auto-create account module?

Post by scuarplex »

Hey, in what file can i see the auto-create account code? I would like to change something.

greets.
User avatar
nonom
L2j Veteran
L2j Veteran
Posts: 649
Joined: Wed Mar 11, 2009 10:34 pm
Location: Magmeld

Re: Where can i find auto-create account module?

Post by nonom »

There are some useful steps.

First, looking properties files. This property was in loginserver.properties:

Code: Select all

AutoCreateAccounts = True
Now use search into the Config.java file. L2_Gameserver project.

Code: Select all

AUTO_CREATE_ACCOUNTS = Boolean.parseBoolean(serverSettings.getProperty("AutoCreateAccounts","True"));
Ok, we found "AUTO_CREATE_ACCOUNTS" that contains the boolean value to enable/disable this feature. Now, we need to search this string again in L2_Gameserver project and ...

L2_GameServer/java/com/l2jserver/loginserver/LoginController.java

Code: Select all

if (Config.AUTO_CREATE_ACCOUNTS){      ... here is your code
Image
"There are three kinds of people in this world, those who can count and those who can't"
Post Reply