Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[GUIDE] Allods 4.0.02.42 server setup (start local game server)

Initiate Mage
Joined
May 6, 2018
Messages
2
Reaction score
0
The IP address specified in the starter.exe can be modified with the help of any hex editor.
But, there is a restriction: the ip address must contain no more than nine digits.
In your IP address there are ten.
There is an alternative option for running the game client - via a modified launcher.
This launcher allows you to make changes to the file accountserver.cfg
Thus, you can register your IP address (178.33.35.136) in this config file and run the game client. ;)

Русский:
IP адрес указанный в starter.ехе можно модифицировать с помощью любого HEX редактора.
Но, есть ограничение: IP адрес должен содержать не более девяти цифр.
В вашем IP адресе их - десять.

Есть альтернативный вариант запуска игрового клиента - через модифицированный лаунчер.
Данный лаунчер разрешает вносить изменения в файл accountserver.cfg
Таким образом Вы можете в данный конфиг файл прописать свой IP адрес и без проблем запустить игровой клиент.

Sorry for my bad english :/

Thanks a lot, everything works fine now!!
 
Initiate Mage
Joined
Jul 28, 2017
Messages
2
Reaction score
0
all thing is so good but shard give this error :(
{unable to connect to account server}

those are my settings
Code:
shard
[CODE]
<?xml version="1.0" encoding="utf-8"?>
<config name="Ragezone Forever" comment="" maxUsers="10" build="Debug">
<net basePort="10000" consoleAccessPort="9856"/>
<resourceSystem restrictedMapsLoading="true" storeXdbLinks="true" checkResourceSystemIndex="false"/>

<territory>Russia</territory>

<monetization>F2P</monetization>

<logging kind="local">
<local format="csv"/>
<remote host="localhost" port="8888"/>
</logging>

<shard role="LocalShard" memory="6144" ip="127.0.0.1">
<frontEnd ip="127.0.0.1" port="9322" timeout="60000"/>
<db database="allods_online_RC_4_0_02" host="127.0.0.1" user="allods_online" password="spm123"/>
<http host="127.0.0.1" port="8080"/>
<xmpp port="5222" domain="allods.ru" certificate="keys/xmpp.p12" password="secret" />
<indicator/>
<doorway/>
</shard>


<itemMallServer>
<net ip="127.0.0.1" port="9321"/>
<assortment banners-config="banners.cfg"/>
</itemMallServer>

<billingServer>
<accounter accounterOneWay="billingserver.AccounterOneWayFakeImpl"/>
<net host="127.0.0.1" port="9320"/>
<api host="127.0.0.1" port="8080"/>
<billing-api-url>http://emp2.allods.mail.ru/actions.php</billing-api-url>
</billingServer>

<accountServer>
<approve ip="127.0.0.1" port="9346"/>
<auth ip="127.0.0.1" port="9340" timeout="30000"/>
<api host="127.0.0.1" port="9356" protocol="http"/>
</accountServer>

<masterServer>
<net ip="127.0.0.1" port="9513"/>
<api ip="127.0.0.1" port="10500"/>
</masterServer>

<resourceErrorsEnabled>false</resourceErrorsEnabled>

<gameMechanics>
<characterCreation allowDiffFactions="true"/>
<shipRate build="1" buildReduce="1"/>
<mobExpRate>10</mobExpRate>
<questExpRate>10</questExpRate>
</gameMechanics>

<!-- use fake address of gametool - 127.0.0.2 - to avoid same ip as local shard -->
<gametoolEAR ip="127.0.0.2" lang="rus">
<standard-gametool-config>
<mode name="slave"/>
<instance name="Trunk shard"/>
<database-defaults>
<default-gametool-database port="5432" database="gametool" login="gametool" password="gametool"/>
<default-logserver-database host="127.0.0.1" port="5432" database="logserver" login="logserver" password="logserver"/>
</database-defaults>
<master address="127.0.0.1" login="*" password="*"/>
<shard id="trunk_local" name="trunk_local" address="127.0.0.1"                         login="*" password="*"/>
</standard-gametool-config>
</gametoolEAR>

<enableDynamicMapServices>true</enableDynamicMapServices>
</config>

account server :

Code:
<?xml version="1.0" encoding="utf-8"?><config name="test_trunk_shard" build="Debug" serversNeed="1" mapServicesAmount="1">
<net basePort="9000" datagramPort="8000" bindPortsRange="15"/>
<logging kind="none"/>

<accountServer maxUsersOnShard="10" clientsLimit="10" build="builds/standard.xml" versionOnLogin="-1" ip="127.0.0.1">
<approve ip="127.0.0.1" port="9347"/>
<auth ip="127.0.0.1" port="9340" timeout="30000"/>
<api protocol="http" host="127.0.0.1" port="9357"/>
<db host="127.0.0.1" user="postgres" password="spm123" />

<authenticator>
<api host="127.0.0.1" port="9399"/>
</authenticator>

</accountServer>
</config>


master server :
Code:
<?xml version="1.0" encoding="utf-8"?>
<config name="AllodsBR" build="FinalRelease">

<masterServer memory="1024" ip="127.0.0.1" lang="eng">
<db host="127.0.0.1" user="allods_online" password="spm123" />
<net ip="127.0.0.1" port="9513"/>
<api ip="127.0.0.1" port="10500"/>
</masterServer>

</config>

[/CODE]

the photo and server log are in the attachments i hope anyone can help me :)
 

Attachments

You must be registered for see attachments list
Last edited:
Newbie Spellweaver
Joined
Mar 15, 2014
Messages
60
Reaction score
6
account server you are

<api protocol="http" host="127.0.0.1" port="9357"/>


and shard


<accountServer>
<approve ip="127.0.0.1" port="9346"/>
<auth ip="127.0.0.1" port="9340" timeout="30000"/>
<api host="127.0.0.1" port="9356" protocol="http"/>
</accountServer>

look thats


<api host="127.0.0.1" port="9356" protocol="http"/>




i used 9357 and 9357

i try help sorry my inglish

sou Brasileiro :)
 
Initiate Mage
Joined
Sep 26, 2018
Messages
1
Reaction score
0
Hi, I tried to run billingServer.bat
logs: Table storage engine for 'operation_log' doesn't have this option
How to resolve this issue?


P.S. As I understand the problem in the databases, but how to solve it I do not know..
 
Last edited:
Initiate Mage
Joined
Nov 3, 2018
Messages
1
Reaction score
0
Error phpmiadmin MySQL # 1045 I am getting it. I tackle it 3 days and 3 nights. Find a solution: replacing wamp 3.0+ on wamp 2.5
----------------------------------------------------------------------------------------------------------------------------------------------------
Error phpmiadmin MySQL # 1045 Я получила такую ошибку я искала и пробовала разные решения 3 дня и 3 ночи. мне помогло: замена wamp 3.0+ на wamp 2.5 который можно найти на резервных файлах вамп
 
Experienced Elementalist
Joined
Jan 28, 2013
Messages
235
Reaction score
124
can anybody re upload the dead links in tutorial?
please
thanks

You Welcome!

01. for Java JDK ( | )

02. for PostgreSQL ( | )

03. for WAMP ( | )

04. for GM ( )

05. for Billing ( )

06. for WWW ( )

07. for database ( )

08. for servers
( )

09. for clients ( )

10. for launcher ( )
 
Last edited:
Experienced Elementalist
Joined
Mar 20, 2012
Messages
236
Reaction score
29
You Welcome!

1. for Java JDK ( | )

2. for PostgreSQL ( | )

3. for WAMP ( | )

4. for GM ( )

5. for Billing ( )

6. for WWW ( )

7. for database ( )

thanks so much
 
Newbie Spellweaver
Joined
Nov 29, 2018
Messages
5
Reaction score
0
Hello, guys! I have problem with billing server. Could u help me with it?
Server log:
 
Last edited:
Newbie Spellweaver
Joined
Nov 3, 2018
Messages
22
Reaction score
20
Hi,

I can read:
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)



Do you have checked your mysql credentials ?
Which version of java do you use to launch the server ?
Which version of mysql are you using ?
 
Newbie Spellweaver
Joined
Nov 29, 2018
Messages
5
Reaction score
0
Hi,

I can read:
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)



Do you have checked your mysql credentials ?
Which version of java do you use to launch the server ?
Which version of mysql are you using ?
- i deleted user root without pass and its new log
Yes i did
java 1.7.0_03
mysqlnd 5.0.11
 
Newbie Spellweaver
Joined
Nov 3, 2018
Messages
22
Reaction score
20
Ok now it seems to have access to database but there is a problem with table generation. Normally these table should be created automatically. Does the user you use to log in has the right to edit database ?

[Edit]: there are many logs saying that your config does not match the existing database. Have you used a dumped database to create yours ?
 
Newbie Spellweaver
Joined
Nov 29, 2018
Messages
5
Reaction score
0
yes, its all granted
i used sql from ready billing db for mine and now new log
 
Newbie Spellweaver
Joined
Nov 29, 2018
Messages
5
Reaction score
0
all granted
yes, i did and here new log
 
Newbie Spellweaver
Joined
Nov 3, 2018
Messages
22
Reaction score
20
Ok try to drop your billing database. Don't forget to dump it if you have any valuable data inside. Just try with an empty allods_billing_RC_4_0_02.
 
Newbie Spellweaver
Joined
Nov 29, 2018
Messages
5
Reaction score
0
oh man thank you very mush, i deleted all tables from dumped db and now its working, could u give me ur contacts(fb, discord)?
 
Back
Top