|
机翻:
[7.0] Full guide to install server + FAQ #服务器安装完整指南 + 常见问题解答
Installation # 安装 1、install postgres (set username to : postgres) ( set password to : postgres) # 安装postgres(用户名:postgres)(密码:postgres) 2、install wamp # 安装wamp 3、install java # 安装java
Configuration # 配置 create a folder in c:// with any name inside you need to have it look like this # 在C盘 创建一个文件夹,名称随意(比如 Divinity),包含以下文件夹 1、Game folder 2、server_bin 3、smb_master 4、vendors
edit【Server_7.0\server_bin\shard\cfg\shard.xml】line32 to 36 # 编辑shard.xml文件,第32~36行 <accountServer maxUsersOnShard="5000"> <approve ip="127.0.0.1" port="9347"/> <auth ip="127.0.0.1" port="9340" timeout="30000"/> <api host="127.0.0.1" port="9357" protocol="http"/> </accountServer> —————— After installing wamp, run it and go to【?localhost】 # 安装完 wamp 后,右键它选择localhost the username is : root(there is no password.) # 用户名:root,无密码。 Go to【users accounts】 # 进入用户账户 Select【Edit previliges】on account : root # 选择编辑账户权限:root select【change password】, and set password to : root 》then hit enter. # 选择“更改密码”,并将密码设置为:root 》然后按回车。 you can see now the【password】is "Yes" # 你现在可以看到密码列 是"Yes"了 you must see the notification. now refresh page and input your new password. # 你一定看到了通知。现在刷新页面并输入你的新密码。 Next create【database】name: allods_master # 接下来,创建数据库名称:allods_master Now select database allods_master,Then select import file, choose allods_master.sql, if you see error ssh_acess already exist, don't worry. # 现在选择数据库allods_master,然后选择导入文件,选择allods_master.sql # 如果你看到错误提示“ssh_access already exist”(ssh_access已存在),请不要担心。 Next open PgAdmin III》Double click on postgreSQL 9.5》enter password : postgres # 接下来,打开PgAdmin III》双击postgreSQL 9.5》输入密码:postgres Right click "Databases" # 右键点击“New Databases”(新数据库) New database.》do this and create 4 databases # 新建数据库》执行此操作并创建4个数据库 1、shard 2、123 3、billing 4、accounts —————— Starting the server # 启动服务器 1、Run【server_bin\accountServer\startAccountServer.bat】 2、Run【smb_master\server_bin\masterServer\start.bat】 3、Run【smb_master\server_bin\masterServerAgent\start.bat】 4、Run【server_bin\billingServer\startBillingServer.bat】 5、Run【server_bin\itemMallServer\startItemMallServer.bat】 6、Run【server_bin\shard\startLocalServer.bat】 —————— Client and login # 客户端与登录 Download AORG ( instructions inside). # 下载AORG(内有说明) Extract in wamp www folder,go to【?localhost】or【?127.0.0.1】1.0.php # 解压wamp www文件夹,注册账号 you can check pgadmin accounts table view rows. # 你可以查看pgadmin账户表视图中的行。 now to login in-game # 登录游戏 edit allods client【divinity 7.0\Profiles\accountServer.cfg】 # 编辑allods客户端文件 account_srv_host = "127.0.0.1" account_srv_port = 9340
Then launch allods client【divinity 7.0\bin\AOgame.exe】 # 启动allods客户端 Enter your username&password and Enjoy # 输入您的用户名和密码,尽情享受吧 —————— FAQ: 1、Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (1). Last acquisition attempt exception: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "postgres" # 获取尝试失败!!!正在清除挂起的获取请求。在尝试获取所需的新资源时,我们的获取尝试次数超过了允许的最大次数(1次)。最后一次获取尝试异常:org.postgresql.util.PSQLException: 致命错误:用户“postgres”的密码验证失败 Check【server_bin\accountServer\shard.xml】 # 检查shard.xml文件 <db host="127.0.0.1" user="postgres" password="postgres" />
2、(Access denied for user 'root'@'localhost' (using password: YES)) # (用户“root”@“localhost”(使用密码:是)的访问被拒绝) check your phpmyadmin user password, and master server configs. # 检查你的phpmyadmin用户密码,以及主服务器配置。
3、Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (1). Last acquisition attempt exception: org.postgresql.util.PSQLException: FATAL: database "billing" does not exist # 获取尝试失败!!!正在清除挂起的获取操作。在尝试获取所需的新资源时,我们未能成功,超过了允许的最大获取尝试次数(1次)。最后一次获取尝试异常:org.postgresql.util.PSQLException: FATAL: 数据库“billing”不存在 Open pgadmin III》create database billing # 打开 pgadmin III》创建数据库 billing
|