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)

Newbie Spellweaver
Joined
Feb 23, 2015
Messages
12
Reaction score
2
Запустил , добавил новые карты, шард полетел

en:
Start server,add new maps, shard crashes.



Кто-нибудь может полностью расписать структуру сервера(где изменять для добавления карт, вещей,изменения механик)

Anybody can explain how server works(add new items,maps etc)?

This code get error
Code:
      long l1 = localDataInputStream.readLong();
      
      l3 = System.currentTimeMillis();
      long l4 = Math.abs(l1 - l3);
      if (l4 >= TimeUnit.SECONDS.toMillis(20L))

idk how this emu ever works

l1 - time sended by emu

after if server send error

UPD:

Fixed server emu







Hi,

Thank you very much for this topic. What do I get an error in the text of the picture. I would appreciate if you can help.


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

i clean bd allods_online_rc_4_0_02
on mysql.
 
Last edited:
Newbie Spellweaver
Joined
May 31, 2015
Messages
23
Reaction score
0
Невозможно обработать. База данных в недопустимом состоянии!
прикрепите server.log файл:
(server/server_bin/accountServer/out/xx-xx.xx_xx_xx.rev_xxxxxx/logs/server.log)

===en=translate===

Can't process. Database in invalid state!
attach server.log file:
(server/server_bin/accountServer/out/xx-xx.xx_xx_xx.rev_xxxxxx/logs/server.log)

I apologize for not for log messages. Here's server logs.
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
May 4, 2015
Messages
17
Reaction score
2
I apologize for not for log messages. Here's server logs.
from logs:
[06-01 08:03:43,518, 77808] main - ERROR verify : Datababase check fail: table hash_algorithms not equals in database and in config.
Reasons: Column id serэal doesn't exists
Column constraэnt `idx_hash_algorithms_name` doesn't exists
check postgres database for existence of the table 'hash_algorithms'.
Or execute sql file for creation and updating 'hash_algorithms':
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
May 31, 2015
Messages
23
Reaction score
0
from logs:

check postgres database for existence of the table 'hash_algorithms'.
Or execute sql file for creation and updating 'hash_algorithms':
I'm new to this. How to perform this operation.
 
Newbie Spellweaver
Joined
May 31, 2015
Messages
23
Reaction score
0
I use Navicat Premium - powerful soft for administration of databases.
I just found out I could connect with Navicat Thank you. But I get the following error when installing SQL.

[Err] ERROR: table "hash_algorithms" does not exist

[Err] /*
Navicat PGSQL Data Transfer


Source Server : ao
Source Server Version : 90400
Source Host : localhost:5432
Source Database : allods_account_rc_4_0_02
Source Schema : public


Target Server Type : PGSQL
Target Server Version : 90400
File Encoding : 65001


Date: 2015-06-03 03:37:27
*/




-- ----------------------------
-- Table structure for "public"."hash_algorithms"
-- ----------------------------
DROP TABLE "public"."hash_algorithms";
[Msg] Finished - Unsuccessfully
--------------------------------------------------
 
Newbie Spellweaver
Joined
May 4, 2015
Messages
17
Reaction score
2
But I get the following error when installing SQL.
Try to execute two commands manually:
INSERT INTO "public"."hash_algorithms" VALUES ('1', 'SHA-1', 'f', 'UTF-8');
INSERT INTO "public"."hash_algorithms" VALUES ('2', 'MD5', 't', 'UTF-8');
or lead the table to the following look:
witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums
 
Newbie Spellweaver
Joined
May 31, 2015
Messages
23
Reaction score
0
Try to execute two commands manually:
INSERT INTO "public"."hash_algorithms" VALUES ('1', 'SHA-1', 'f', 'UTF-8');
INSERT INTO "public"."hash_algorithms" VALUES ('2', 'MD5', 't', 'UTF-8');
or lead the table to the following look:
witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums

Thank you for your help. I created the table but did not. :(
witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Initiate Mage
Joined
Jun 5, 2015
Messages
1
Reaction score
0
Hello,


I have a little Problem when starting the "startAccountServer_local".


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

server_log:
View attachment 152184

I tried to edit the file, as suggested in comment # 16, however, the error continues.




anyone know what it Could be?


Thank you.
 
Newbie Spellweaver
Joined
May 4, 2015
Messages
17
Reaction score
2
Thank you for your help. I created the table but did not. :(
Postgres database has to have these tables:
account
account_editions
account_shard_info
collection_editions
hardware_ban
hash_algorithms
operator_algorithms
params
relogin
sanction
scheme_patches
shard
subscription_history
These tables have to be created automatically at the first installation of the server.
On a screenshot at you only two tables.
Try to reinstall the server anew.
 
Newbie Spellweaver
Joined
May 31, 2015
Messages
23
Reaction score
0
Postgres database has to have these tables:

These tables have to be created automatically at the first installation of the server.
On a screenshot at you only two tables.
Try to reinstall the server anew.
I am setting the table, but do not occur as described in the Guide. Can you give the backup of SQL statements?

Os: Windows 8.1 64 bit.
 
Banned
Banned
Joined
Sep 4, 2014
Messages
77
Reaction score
2
hi ; why my phpadmin is not here ? when i click on there are nothing



hi my problem was settle but where I make the etape 4 ?



and how i edit the RAM ? pls
 
Banned
Banned
Joined
Sep 4, 2014
Messages
77
Reaction score
2
startServerCustom.bat cfg/shard.xml maps.cfg your ram in megabytes ; for this how I config the RAM in megabyte ?
 
Newbie Spellweaver
Joined
May 31, 2015
Messages
23
Reaction score
0

You're very good. After trying them again I will write here the result. Thank you. :)

----------------------------------------

Is it possible to be able to give .backup or .xml backup of this database? I get an error at all.

Example errors;
Code:
[Err] ERROR:  table "hardware_ban" does not exist

[Err] /*
Navicat PGSQL Data Transfer


Source Server         : ao
Source Server Version : 90400
Source Host           : localhost:5432
Source Database       : allods_account_rc_4_0_02
Source Schema         : public


Target Server Type    : PGSQL
Target Server Version : 90400
File Encoding         : 65001


Date: 2015-06-07 18:09:44
*/




-- ----------------------------
-- Table structure for "public"."hardware_ban"
-- ----------------------------
DROP TABLE "public"."hardware_ban";
[Msg] Finished - Unsuccessfully
--------------------------------------------------

Code:
[Err] ERROR:  column "id" referenced in foreign key constraint does not exist

[Err] -- ----------------------------
-- Foreign Key structure for table "public"."account_editions"
-- ----------------------------
ALTER TABLE "public"."account_editions" ADD FOREIGN KEY ("edition_id") REFERENCES "public"."collection_editions" ("id") ON DELETE RESTRICT ON UPDATE CASCADE;
[Msg] Finished - Unsuccessfully
--------------------------------------------------
 
Last edited:
Newbie Spellweaver
Joined
May 31, 2015
Messages
23
Reaction score
0
try to create manually that it turned out such:
witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums

All I get an error even though I create with my hands. this way is it possible to get a replacement with pgAdmin 3? I was able to install a separate database seamlessly pick up spare myself in this way.

witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums
 
Elite Diviner
Joined
Dec 17, 2014
Messages
482
Reaction score
61
thank for advanced tutorial friend,
i try worked.
but where tools for edit client.
 
Banned
Banned
Joined
Sep 4, 2014
Messages
77
Reaction score
2
hi ; I havent got unederstand you s1eeper; you can make screenshot pls ?
 
Newbie Spellweaver
Joined
May 4, 2015
Messages
17
Reaction score
2
All I get an error even though I create with my hands. this way is it possible to get a replacement with pgAdmin 3? I was able to install a separate database seamlessly pick up spare myself in this way.
I don't know. I don't use pgAdmin 3.



hi ; I havent got unederstand you s1eeper; you can make screenshot pls ?
witcherivan - [GUIDE] Allods 4.0.02.42 server setup (start local game server) - RaGEZONE Forums
 
Back
Top