[RELEASE] BOI Server Files + Server Tools + GM tools

07/21/2012 09:38 Krozo#346
Quote:
Originally Posted by MoreTiVeR View Post
I have a question
-Server running success ? or not
-I try to login by account but fail " Username: test00 | Password: test00 >> 0x23dd9ac4d17161600021eb3d765800eb |Username: test | Password: 123 >> 0xcc03e747a6afbbcbf8be7668acfebee5 | "

How to solve this problem?
Thanks
[Only registered and activated users can see links. Click Here To Register...]
you have the exact same problem as i am. Please help us.
07/21/2012 09:46 MoreTiVeR#347
i'll try
07/21/2012 10:09 Krozo#348
This is my setting. Please check if i do wrong.

Linux side.

Name Server>Config>namesvrd.cfg

Code:
[DBINFO]
DBUSER = root
DBNAME = shengui
DBPASSWD = game
DBSOCKFILE = /tmp/mysql.sock

[NAMESVRD]
SERVERID = 1
SERVICEIP = LINUX
SERVICEPORT = 50050
CHECKINTERVAL = 60

[MANAGERSVRD]
MANAGERSVRDNUM = 1
[MANAGERSVRD.1]
SERVERID = 1
SERVICEIP = WINDOWS
/home/BOI/DBServer/config/dbsvrd.cfg

Code:
[DBSVRD]
SERVERID = 1
SERVICEIP = LINUX
SERVICEPORT = 29251
DBOPERMODE = 1
CPTINTERVAL = 30
TOINTERVAL = 60
PRINTSTATINTERVAL = 60
COUNTLOGINTERVAL = 300
DBUSER = root
DBNAME = shengui
DBPASSWD = game
DBSOCKFILE = /var/lib/mysql/mysql.sock
TODBNUMONCE = 100
RECYCLENUMONCE = 300
MAXRECYCLETIME = 900

[MANAGERSVRD]
MANAGERSVRDNUM = 2
[MANAGERSVRD.1]
SERVERID = 1
SERVICEIP = WINDOWS
SERVICEPORT = 21042

[MANAGERSVRD.2]
SERVERID = 2
SERVICEIP = WINDOWS
SERVICEPORT = 21044

[AUAGENT]
SERVERID = 3
SERVICEIP = WINDOWS
/home/BOI/CardServer/config/cardsvrd.cfg

Code:
[LOGSVRD]
SERVERID = 1
SERVICEIP = LINUX
SERVICEPORT = 9008

[DBINFO]
DBUSER = root
DBNAME = shenguicard
DBPASSWD = game
DBSOCKFILE = /tmp/mysql.sock

[CARDSVRD]
SERVERID = 1
SERVICEIP = LINUX
SERVICEPORT =10080
CHECKINTERVAL = 6000
PRINTSTATINTERVAL = 300
ISAUTO = 1
ISENCRYPT = 0

[MANAGERSVRD]
MANAGERSVRDNUM = 1
[MANAGERSVRD.1]
SERVERID = 1
SERVICEIP = WINDOWS
/home/BOI/authd/config/authd.cfg

Code:
[GAuthServer]
type			=	tcp
port			=	29200
address			=	LINUX
so_sndbuf		=	131072
so_rcvbuf		=	131072
ibuffermax		=	819200
obuffermax		=	819200
tcp_nodelay		=	1
listen_backlog		=	10
mtrace			=	/tmp/mtrace.authd
isec			=	2
iseckey			=	meiguoKlhEa65alkudaiwbd9Xrf
osec			=	2
oseckey			=	meiguofZVo9ru4avavehstaQ8by
shared_key		=	meiguobYthzeCfh8kx7us5usqjA
isabroad		=	true
ismssql			=	true

[ThreadPool]
config				=	(1,1)(2,10)(3,1)(101,5)
max_queuesize		=	1048576
/home/BOI/auth/build/

Code:
[GAuthServer]
type			=	tcp
port			=	29200
address			=	LINUX
so_sndbuf		=	131072
so_rcvbuf		=	131072
ibuffermax		=	819200
obuffermax		=	819200
tcp_nodelay		=	1
listen_backlog		=	10
mtrace			=	/tmp/mtrace.authd
isec			=	2
iseckey			=	meiguoKlhEa65alkudaiwbd9Xrf
osec			=	2
oseckey			=	meiguofZVo9ru4avavehstaQ8by
shared_key		=	meiguobYthzeCfh8kx7us5usqjA
isabroad		=	true
ismssql			=	true

[ThreadPool]
config				=	(1,1)(2,10)(3,1)(101,5)
max_queuesize		=	1048576
table.xml

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="table.xsl"?>

<application debug="false" beans="com.wanmei.db.passport" beanbase="src/beans">

<connection name="auth0" poolsize="8" url="jdbc:microsoft:sqlserver://WINDOWS:1433;databasename=PassportBOI" username="sa" password="123456"/>
<driver name="com.microsoft.jdbc.sqlserver.SQLServerDriver" />

<cache name="account_by_id" type="reference" ip="226.1.1.1" port="4444" local_ip="LINUX" size="262144" partition="0"/>
<cache name="account_by_name" type="reference" ip="226.1.1.1" port="4445" local_ip="LINUX" size="262144" partition="0"/>

<cache name="function_by_id" type="direct" ip="226.1.1.2" port="4446" local_ip="LINUX" size="262144" partition="0"/>
<cache name="forbid_by_id" type="direct" ip="226.1.1.3" port="4447" local_ip="LINUX" size="262144" partition="0"/>
<cache name="matrix_by_uid" type="direct" ip="226.1.1.4" port="4448" local_ip="LINUX" size="262144" partition="0"/>

<cache name="phoneuser_by_phone" type="direct" ip="226.1.1.5" port="4449" local_ip="LINUX" size="262144" partition="0"/>
<cache name="userinfo_by_id" type="direct" ip="226.1.1.6" port="4450" local_ip="LINUX" size="131072" partition="0"/>
07/21/2012 10:11 Bingo2008#349
Guys I was neebie at this and still got lots to learn from experts here.
Anyway, i had made up working server for myself and few people also join me already.

I will make a Simple tutorial (Basic) for those who really are newbie at this thing.
Keep checking my post, and boom u'll get soon.

Right now, m helping some1. All crdits goes to Axel and Burik though.. :D

Don't ask for video tutorial now, i may make but now fully.

Let me see how many people need guide ? If its worth making, i'll.
Depends of who vote. :)
07/21/2012 10:15 Krozo#350
@Bingo2008

can you add up my skype so that we can talk? devilghost44
07/21/2012 10:24 goto69#351
good thax
07/21/2012 11:02 Drmzindec#352
@Bingo2008, i would like a guide please. I think i have everything set up as it should be but a few things i am struggling with.

The client in the first post is taking forever to download, can someone please post a link to the working client? Or tell me which version to get at least please.
07/21/2012 11:14 Bingo2008#353
Quote:
Originally Posted by Drmzindec View Post
@Bingo2008, i would like a guide please. I think i have everything set up as it should be but a few things i am struggling with.

The client in the first post is taking forever to download, can someone please post a link to the working client? Or tell me which version to get at least please.
I have My own client which I downloaded 1years back. I forgot to delete and now it serve me a purpose.

In the first page you will find the Client !

If u think its too hard to download or bug: I can still upload.

or else IDK :D
07/21/2012 11:24 Drmzindec#354
i found the client on the Chinese page but its 3 gig big downloading over HTTP with 1 "peer" connected, its been downloading for 2 days. Can you please upload yours!
07/21/2012 11:30 Krozo#355
Quote:
Originally Posted by Drmzindec View Post
i found the client on the Chinese page but its 3 gig big downloading over HTTP with 1 "peer" connected, its been downloading for 2 days. Can you please upload yours!
[Only registered and activated users can see links. Click Here To Register...]

or

[Only registered and activated users can see links. Click Here To Register...]
07/21/2012 12:03 Sleyer85#356
in Gamesaveserver i got this msg

ReqSysVar 4
ReqSysVar 4
ReqSysVar 4

error or what ?? how to fix ?>
07/21/2012 12:15 Krozo#357
Quote:
Originally Posted by Sleyer85 View Post
in Gamesaveserver i got this msg

ReqSysVar 4
ReqSysVar 4
ReqSysVar 4

error or what ?? how to fix ?>
in linux, there's dbsvrd.cfg.

Code:
[DBSVRD]
SERVERID = 1
SERVICEIP = LINUX
SERVICEPORT = 29251
DBOPERMODE = 1
CPTINTERVAL = 30
TOINTERVAL = 60
PRINTSTATINTERVAL = 60
COUNTLOGINTERVAL = 300
DBUSER = root
DBNAME = shengui
DBPASSWD = game
DBSOCKFILE = /var/lib/mysql/mysql.sock
TODBNUMONCE = 100
RECYCLENUMONCE = 300
MAXRECYCLETIME = 900
change the DBPASSWD.
07/21/2012 12:15 imrain01#358
Ok i'll share instruction of config ini's files.Axel show u some problem ini then u cant login to game.

I was stress and dizzy cz these file and port doesnt match each others.Now go to the point
192.168.1.2 = WINDOWS
192.168.1.3 = LINUX
Config to ur ip
auagent.ini
Quote:
[AuAgentServer]
zoneid = 904
aid = 9
type = tcp
port = 29250
address = 192.168.1.2
so_sndbuf = 131072
so_rcvbuf = 131072
ibuffermax = 409600
obuffermax = 819200
tcp_nodelay = 1
listen_backlog = 10
mtrace = /tmp/m_trace.link

[GameDBClient]
type = tcp
port = 29251
address = 192.168.1.3
so_sndbuf = 131072
so_rcvbuf = 131072
ibuffermax = 409600
obuffermax = 819200
tcp_nodelay = 1
;listen_backlog = 10
mtrace = /tmp/m_trace.link
cashfile = d:\cash_backup.data

[GAuthClient]
type = tcp
port = 29200
address = 192.168.1.2
so_sndbuf = 131072
so_rcvbuf = 131072
ibuffermax = 409600
obuffermax = 819200
;so_broadcast = 1
tcp_nodelay = 1
osec = 2
oseckey = rdppjtaki1MxoHnsnaltiiwfjszs9l
isec = 2
iseckey = n1hxpxztozyxnsvk6RaycpmrCnrdds
shared_key = 4khdwAAcjrg0eqfzazqcemdpgulnje

;if use certverify between au,1:use,0:not use,default use
issupport_cert = 0

[ThreadPool]
config = (1,1)(2,4)(3,2)
max_queuesize = 1048576
;prior_strict = 1

[SpeedLimit]
window = 20
high = 2

[TimeoutLimit]
;window > 60
window = 180
high = 200

[CouponLimit]
;GetUserCoupon limit
window = 300
high = 2

[CouponExchangeLimit]
;CouponExchange limit
window = 120
high = 2
compacau.ini
Quote:
[GCompactAUServer]
type = tcp
port = 29200
address = 192.168.1.2
osec = 2
oseckey = n1hxpxztozyxnsvk6RaycpmrCnrdds
isec = 2
iseckey = rdppjtaki1MxoHnsnaltiiwfjszs9l
shared_key = 4khdwAAcjrg0eqfzazqcemdpgulnje
server.ini
Quote:
[Default]
Version=0
ManagerServerIP=192.168.1.2
ManagerServerPort=20021
ListenGatePort=40003
LineID=1
ShowLoginIP=0

[LogServer]
ServerIP = 192.168.1.3
Port = 9008

[SharedMem]
SharedMemCount=1
SharedMemName1=Global\ShareMem1
SharedMemSize1=100
gateserver.ini
Quote:
[Default]
ManagerIP=192.168.1.2
ManagerPort=21020
AuAgentIP=192.168.1.2
AuAgentPort=29250
OnlineMax=5000

//±¾µØ¼àÌý¶Ë¿ÚΪ±ÜÃâÓë·þÎñ¶Ë¿Ú³åÍ»£¬Ê¹ÓÃ30000ÒÔÉ϶˿ Ú
GatePort=30002

[LogServer]
Port = 9008
ServerIP = 192.168.1.3

Localsaveserver.ini
Quote:
[Network]
DBServerIP=192.168.1.3 <---- Linux IP here >.<
DBServerPort=21021
ManagerIP=192.168.1.2
ManagerPort=21023

[Log]
//ÈÕÖ¾µÈ¼¶
LogLevel=4

//¸÷µÈ¼¶Êä³öÀàÐÍ
Wrong=3
Warning=3
Normal=3
Debug=3


//¹²ÏíÄÚ´æ
[SharedMem]
//ÈËÊýÏÞÖÆ
BlockMax=3000
//±£´æ¼ä¸ô
SaveInterval=1000
//GSÏìӦʱ¼ä
ResponseInterval=10000

//¹²ÏíÄÚ´æ¿éÊýÁ¿
SharedMemCount=4

SharedMemName1=Global\ShareMem1
SharedMemSize1=100

SharedMemName2=Global\ShareMem2
SharedMemSize2=100

SharedMemName3=Global\ShareMem3
SharedMemSize3=100

SharedMemName4=Global\ShareMem4
SharedMemSize4=100
ManagerIP.ini
Quote:
[Default]
ManagerNum = 3
ManagerIP1 = 192.168.1.2
ManagerIP2 = 192.168.1.2
ManagerIP3 = 192.168.1.2
ManagerServer
Quote:
[Default]
LocalIP = 127.0.0.1
OnlineMax=1000
DefWallowOnlineTime = 10800
DefWallowOfflineTime = 18000
LootTimes=50.0
ExpTimes=50.0

[GameServer]
Port = 20021

[DBServer]
ServerIP = 192.168.1.3
#ListenPort = 21022 TW
#ListenPort = 21032 VN
ListenPort = 21042 US


[GateServer]
ServerIP = 192.168.1.2
Port = 21020

[LocalDBThread]
#DBListenPort = 21024 TW
#DBListenPort = 21034 VN
ServerIP = 192.168.1.3
DBListenPort = 21044 US
LocalListenPort = 21023

[NameServer]
ServerIP = 192.168.1.3
ServerPort = 50050
#ServerPort = 10080

[LogServer]
ServerIP = 192.168.1.3
Port = 9008

[DetectCheatServer]
ServerIP = 192.168.1.2
ServerPort = 55000

[GACD]
ServerIP = 192.168.1.3
ServerPort = 29705

[CardServer]
ServerIP = 192.168.1.3
ServerPort = 10080
ServerGuarder.ini
Quote:
[Default]
LocalIP = 192.168.1.2
07/21/2012 13:18 Bingo2008#359
Just 1 QUESTION: How to raise the chances of Fortification HIGHER ??

and How to add more stuffs in Market please.
I add few items but It didn't show up.

Any1 who had already know how to add, please help me.

Thanks in advance :)
07/21/2012 15:25 axelcro#360
DBSOCKFILE = /var/lib/mysql/mysql.sock

Edit in NameSvrd.cfg and in CardSvrd.cfg