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
Aug 3, 2016
Messages
1
Reaction score
0
Hello,
I come to you because I have a problem I can not seem to ressoudre

I have followed the tutorial to the letter, but the "startAccountServer_local.bat" refuses to work as shown on the screen.



"StartLocalBillingServer.bat" and "startLocalItemMallServer.bat" and "startTimeChecker.bat" working correctly
 
Banned
Banned
Joined
Sep 4, 2014
Messages
77
Reaction score
2
try to edit the RAM its at 512, who have a itemmall server for the version 1.1 ? pls my server dont have the itemmall
 
Banned
Banned
Joined
Sep 4, 2014
Messages
77
Reaction score
2
hi I have a problem, i had use 2000 in ram , the server run , the tomorrow he dont want run at 2000 of ram, i put at 1400 ram and he work ; but now he dont work at 1400 , i put 1000 of ram and et dont want run too [Could not reserv enough space for the object heap
could not create the Java Virtual machine ] pls help me !
 
Newbie Spellweaver
Joined
Jan 21, 2015
Messages
48
Reaction score
6
Having some error with db tables...

BillingServer :

[08-11 09:13:12,561, 30717] main - ERROR verify : Datababase check fail: table account not equals in database and in config. Reasons: Index btree_!_referral_parent_id doesn't exists
[08-11 09:13:12,562, 30718] main - ERROR verify : Datababase check fail: table item not equals in database and in config.
Reasons: Index btree_!_bundle_id doesn't exists
[08-11 09:13:12,564, 30720] main - ERROR verify : Datababase check fail: Table operation_log does not exists in database.
[08-11 09:13:12,565, 30721] main - ERROR verify : Datababase check fail: Table massive_operation_log does not exists in database.
[08-11 09:13:12,566, 30722] main - ERROR verify : Datababase check fail: Table bonus_operation_log does not exists in database.
[08-11 09:13:12,567, 30723] main - ERROR verify : Datababase check fail: Table massive_operation_log_participant does not exists in database.
[08-11 09:13:12,568, 30724] main - ERROR verify : Datababase check fail: Table event does not exists in database.
[08-11 09:13:12,570, 30726] main - ERROR verify : Datababase check fail: Table params does not exists in database.
[08-11 09:13:12,573, 30729] main - ERROR verify : Datababase check fail: Table generators does not exists in database.
[08-11 09:13:12,576, 30732] main - ERROR verify : Datababase check fail: Table locks does not exists in database.
[08-11 09:13:12,577, 30733] main - ERROR verify : Datababase check fail: Table bundle does not exists in database.
[08-11 09:13:12,578, 30734] main - ERROR verify : Datababase check fail: Table bundle_items does not exists in database.
[08-11 09:13:12,579, 30735] main - ERROR verify : Datababase check fail: Table bundle_description does not exists in database.
[08-11 09:13:12,589, 30745] main - WARN databaseServer : Database param "max_heap_table_size" value not equals to recomended value. Actual: 16777216 Recommended: 1073741824
[08-11 09:13:12,590, 30746] main - WARN databaseServer : Database param "innodb_buffer_pool_size" value not equals to recomended value. Actual: 16777216 Recommended: 8388608000
[08-11 09:13:12,590, 30746] main - WARN databaseServer : Database param "innodb_flush_log_at_trx_commit" value not equals to recomended value. Actual: 1 Recommended: 2
[08-11 09:13:12,590, 30746] main - WARN databaseServer : Database param "innodb_log_file_size" value not equals to recomended value. Actual: 5242880 Recommended: 268435456
[08-11 09:13:12,590, 30746] main - WARN databaseServer : Database param "innodb_max_dirty_pags_pct" value not equals to recomended value. Actual: null Recommended: 10
[08-11 09:13:12,591, 30747] main - WARN databaseServer : Database param "query_cache_size" value not equals to recomended value. Actual: 1048576 Recommended: 0
[08-11 09:13:12,591, 30747] main - WARN databaseServer : Database param "sql_mode" value not equals to recomended value. Actual: STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER Recommended: NO_ZERO_DATE,ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES
[08-11 09:13:12,592, 30748] main - INFO databaseServer : Database time: 2016.08.11 09.13.12.000 +0200, local server time: 2016.08.11 09.13.12.592 +0200, delta: 0 sec.
[08-11 09:13:12,604, 30760] main - ERROR verify : unable to start server
system.base.bc: org.apache.commons.configuration.ConfigurationException: dbcommons.c: dbcommons.b: Can't process. Database in invalid state!
[08-11 09:13:12,709, 30865] Thread-2 - INFO launch.c : finished

And Master Server :

[08-11 08:36:14,509, 33664] main - INFO DatabaseService : Database "jdbc:mysql://127.0.0.1/a1_masterserver_RC_4_0_02?useUnicode=yes&characterEncoding=UTF-8&rewriteBatchedStatements=false&allowMultiQueries=false&useLocalSessionState=true&elideSetAutoCommits=true&sessionVariables=tx_isolation='READ-COMMITTED',autocommit=0&connectTimeout=500000&socketTimeout=500000" is used.
[08-11 08:36:14,531, 33686] main - INFO DatabaseService : Connection info: ConnectionInfo{name='master', driver='com.mysql.jdbc.Driver', url='jdbc:mysql://127.0.0.1/a1_masterserver_RC_4_0_02?useUnicode=yes&characterEncoding=UTF-8&rewriteBatchedStatements=false&allowMultiQueries=false&useLocalSessionState=true&elideSetAutoCommits=true&sessionVariables=tx_isolation='READ-COMMITTED',autocommit=0&connectTimeout=500000&socketTimeout=500000', testSQL='SELECT 1', poolSize=5, poolMaxIdl=2, poolMinIdl=1, pingIdleTime=10000, minEvictableTime=300000, mode=MASTER}
[08-11 08:36:15,005, 34160] main - INFO databaseServer : Database connection is closed.
[08-11 08:36:15,016, 34171] main - ERROR verify : unable to start server
system.base.bc: dbcommons.c: dbcommons.g: dbcommons.c: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: La table 'a1_masterserver_rc_4_0_02.params' n'existe pas

It says that "a1_masterserver_rc_4_0_02.params" table doesn't exist...
Here is what looks my table :
 
Newbie Spellweaver
Joined
Mar 15, 2014
Messages
60
Reaction score
6
problem solved
if anyone needs help with the same problem I help
call me



witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums


I need help not know WHAT this wrong

skype:Milow.Druida
 
Last edited:
Newbie Spellweaver
Joined
Mar 15, 2014
Messages
60
Reaction score
6


problem solved
if anyone needs help with the same problem I help
call me
 
Last edited:
Initiate Mage
Joined
Sep 5, 2016
Messages
1
Reaction score
0
Good evening, I just have one question, everything is working for me, really nice tuto thank you. But when I log and try to create a character it say that the name isn't not conform. It's need to be a latin character between 3 and 14. Do you have any ideas to solve this? (edit: it works with russian letters but I would like latin characters if possible any tips?)
witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums
 
Junior Spellweaver
Joined
Feb 21, 2013
Messages
132
Reaction score
25
Good evening, I just have one question, everything is working for me, really nice tuto thank you. But when I log and try to create a character it say that the name isn't not conform. It's need to be a latin character between 3 and 14. Do you have any ideas to solve this? (edit: it works with russian letters but I would like latin characters if possible any tips?)
witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums

Go to " server_bin\shard\cfg\shard.xml " and edit territory from RUS to USA

Code:
<territory>USA</territory>

restart shard and you'll be good
 
Initiate Mage
Joined
Sep 26, 2014
Messages
2
Reaction score
0
cant run startServerDefault.bat!

once i run it it auto close to fast!
 
Custom Title Activated
Loyal Member
Joined
Dec 20, 2005
Messages
2,046
Reaction score
117
Congrats, finally u guys found a newer servers for Allods. When I have time I will try it out. From what I reading this emulator really uses a lot of RAM. It is possible to host on a 4GB ram with only 1-2 maps?
 
Junior Spellweaver
Joined
Feb 21, 2013
Messages
132
Reaction score
25
Congrats, finally u guys found a newer servers for Allods. When I have time I will try it out. From what I reading this emulator really uses a lot of RAM. It is possible to host on a 4GB ram with only 1-2 maps?

Yes you can, just be careful of overheating
 
Newbie Spellweaver
Joined
Mar 25, 2014
Messages
17
Reaction score
1
can anyone provide a detailed explanation how to allow my friend to connect to this server .. cant seem to take it from being local . also is there a way to change any of the game variables such as exp rates etc...
 
Experienced Elementalist
Joined
Jan 28, 2013
Messages
235
Reaction score
124
can anyone provide a detailed explanation how to allow my friend to connect to this server .. cant seem to take it from being local . also is there a way to change any of the game variables such as exp rates etc...
- sorry only Russian guide :(
 
Initiate Mage
Joined
Jan 5, 2017
Messages
4
Reaction score
0
Hi guys!
I want to run the local server. The account server and the timechecker is started. I followed the instructions. But i can't run the billing server, the master server and the local server. Closed all with errors.
The account example.php not work. Many errors.
What can i do?
 
Initiate Mage
Joined
Dec 3, 2015
Messages
2
Reaction score
0
Hi, i have some problem with startServerDefaut

startAccountServerLocal > OPEN/OK
startLocalBillingServer > OPEN/OK
startLocalItemMallServer > OPEN/OK
startTimeChecker > OPEN/OK
startMasterServerLocal > OPEN/OK
startServerDefaut > OPEN/ he stop with this error (image):
witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums


*After some minutes he stop here (image):
witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums


Memory RAM used: 10240mb (10GB)

Maps:
map = /Maps/Inst_LeagueStart/MapResource.xdb
zone = /Maps/Inst_LeagueStart/Zones/InstLeague1/InstLeague1.(ZoneResource).xdb
map = /Maps/Kania_AL1/MapResource.xdb
zone = /Maps/Kania_AL1/Zones/ArchipelagoLeague1/ArchipelagoLeague1.xdb
zone = /Maps/Kania_AL1/Zones/ArchipelagoLeague1_2/ArchipelagoLeague1_2.(ZoneResource).xdb
map = /Maps/Inst_Liga1End/astral_MapResource.xdb
zone = /Maps/Kania/Zones/ZoneLeague1/ZL1_0Capital.(ZoneResource).xdb
zone = /Maps/Kania/Zones/ZoneLeague1/ZoneLeague1.(ZoneResource).xdb

My PC config:
i7 6700
16gb RAM
GTX 1060 6gb

server_log
View attachment server.rar

Thx.
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Jan 15, 2017
Messages
1
Reaction score
0
anyone knows how to trace this? where can i find this array?

[01-14 06:17:07,868, 82408688] net_worker_6 - ERROR verify : unhandled exception, closing connectionioBase.SerializationException: Too huge array: length=32954, lengthLimit=20000, failFactor=1 at io.cppSerialization.y.a(y.java:325) at io.cppSerialization.y.a(y.java:395) at broadcast.debug.MsgServerError.writeCpp(MsgServerError.java:16) at frontEnd.sendActions.e.a(e.java:2) at frontEnd.sendActions.d.a(d.java:2) at frontEnd.sendActions.c.writeCpp(c.java:4) at io.cppSerialization.y.a(y.java:217) at net.wb.a(wb.java:4) at net.wb.serialize(wb.java:2) at net.yb$b_.a(yb$b_.java:32) at net.ub.a(ub.java:114) at net.ub.a(ub.java:93) at net.yb.a(yb.java:16) at net.connection.m$c_.run(m$c_.java:51) at tools.concurrent.threadPool.c.run(c.java:25) at java.lang.Thread.run(Thread.java:722)
 
Last edited:
Initiate Mage
Joined
Feb 13, 2017
Messages
3
Reaction score
0
Привет всем, проблема с StartServerDefault. AccountServer,MasterServer,TimeChecker запускаются и работают. Billing and ItemMall пробовал запускать тоже работают. Проблема только c StartServerDefault. Есть кто-то здесь кто может помочь с решением? Может кто сталкивался?


Hi, i have trouble with StartServerDefault. AccountServer,MasterServer,TimeChecker are running and still work. Billing and ItemMall work too. Trouble is only with StartServerDefault. Is here somebody who can help me with it?


 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Feb 15, 2006
Messages
17
Reaction score
1
anyone knows how to trace this? where can i find this array?

[01-14 06:17:07,868, 82408688] net_worker_6 - ERROR verify : unhandled exception, closing connectionioBase.SerializationException: Too huge array: length=32954, lengthLimit=20000, failFactor=1 at io.cppSerialization.y.a(y.java:325) at io.cppSerialization.y.a(y.java:395) at broadcast.debug.MsgServerError.writeCpp(MsgServerError.java:16) at frontEnd.sendActions.e.a(e.java:2) at frontEnd.sendActions.d.a(d.java:2) at frontEnd.sendActions.c.writeCpp(c.java:4) at io.cppSerialization.y.a(y.java:217) at net.wb.a(wb.java:4) at net.wb.serialize(wb.java:2) at net.yb$b_.a(yb$b_.java:32) at net.ub.a(ub.java:114) at net.ub.a(ub.java:93) at net.yb.a(yb.java:16) at net.connection.m$c_.run(m$c_.java:51) at tools.concurrent.threadPool.c.run(c.java:25) at java.lang.Thread.run(Thread.java:722)

I'll try to help looks like their is a issue with your shard connecting to your other servers. To fix this you would need to go to your shard shard\cfg\shard.xml file and edit it.
Without knowing what you have set here is a example of mine.
Also Double check the memory usage is correct for your system. Both in the shard.xml and your startserverdefault.bat example startServerCustom.bat cfg/shard.xml maps.cfg 18110

Code:
<?xml version="1.0" encoding="utf-8"?>
<config name="[B]Server Name[/B]" comment="" maxUsers="100" build="Debug">
	<net basePort="10000" consoleAccessPort="9856"/>
  <resourceSystem restrictedMapsLoading="true" storeXdbLinks="true" checkResourceSystemIndex="false"/>

	<territory>USA</territory>

	<monetization>F2P</monetization>

	<logging kind="local">
		<local format="csv"/>
		<remote host="[B]External IP[/B]" port="8888"/>
	</logging>

	<shard role="LocalShard" memory="[COLOR="#FF0000"]18110[/COLOR]" ip="127.0.0.1">
		<frontEnd externalHost="[B]External IP[/B]" ip="[B]local IP[/B]" port="9322" timeout="30000"/>
		<db database="allods_online_RC_4_0_02" host="127.0.0.1" user="root" password="root"/>
		<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="[B]local IP[/B]" port="9513"/>
		<api ip="[B]local IP[/B]" port="10500"/>
	</masterServer>

	<resourceErrorsEnabled>false</resourceErrorsEnabled>

	<gameMechanics>
		<characterCreation allowDiffFactions="true"/>
		<shipRate build="1" buildReduce="1"/>
		<mobExpRate>20</mobExpRate>
		<questExpRate>25</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>
 
Last edited:
Back
Top