Hey, in what file can i see the auto-create account code? I would like to change something.
greets.
Where can i find auto-create account module?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 1
- Joined: Wed Nov 25, 2009 11:26 pm
- nonom
- L2j Veteran
- Posts: 649
- Joined: Wed Mar 11, 2009 10:34 pm
- Location: Magmeld
Re: Where can i find auto-create account module?
There are some useful steps.
First, looking properties files. This property was in loginserver.properties:
Now use search into the Config.java file. L2_Gameserver project.
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
First, looking properties files. This property was in loginserver.properties:
Code: Select all
AutoCreateAccounts = True
Code: Select all
AUTO_CREATE_ACCOUNTS = Boolean.parseBoolean(serverSettings.getProperty("AutoCreateAccounts","True"));
L2_GameServer/java/com/l2jserver/loginserver/LoginController.java
Code: Select all
if (Config.AUTO_CREATE_ACCOUNTS){ ... here is your code