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

07/22/2012 11:39 s4lly#391
I just want to know wich file i should edit, to setup mssql, because i used another version than mssql 2008. If Database should be named to something special. i use mssql 2012
07/22/2012 12:42 lpmike87#392
Quote:
Originally Posted by kenisen View Post
You can add [Coin]Money Pack to the market. You can see item ID and NPC shop list in /GameServer/Slk/item.slk and SHopNPC.slk, etc
too many code.. can u more specific :handsdown:
07/22/2012 13:12 xtremecrazy#393
Quote:
Originally Posted by lpmike87 View Post
too many code.. can u more specific :handsdown:
Go in item.slk find [Coins]Pack in left is CODE and put in ShopCommodity with 0 zen :) easy
07/22/2012 13:13 bilun4b2#394
Why i attack one moster get 40mil exp after kill this monster i get character data corrup and go cof room :( who can help me please ?

Quote:
Originally Posted by xtremecrazy View Post
guys let's find 3-5 ppl and work tugheter to make the good svr files with all programs , editors , etc. :)

PS : this is max growth on svr :)


[Only registered and activated users can see links. Click Here To Register...]
How to edit this pet, can you tell me please ? @@ i'm newbie
07/22/2012 13:56 cryplex#395
People that are crying here for help and telling us that they are newbies. Why do you even started dealing with this server? BOI dev community is really small, I think something like 10-15 people. and everything we know about BOI server, configuring, editing and etc... We figured out these thing just by ourselves and noone helped us. So stop asking stupid questions and crying about errors and bugs and START thinking with your BRAIN. There is nothing hard in this server. No matter if you will get errors or some other shit just TRY, again and again and again. And everything will work =)
07/22/2012 14:08 xtremecrazy#396
who know Chinese ? i need to translate the GM TOOLS ~X(
07/22/2012 14:49 lpmike87#397
Quote:
Originally Posted by xtremecrazy View Post
Go in item.slk find [Coins]Pack in left is CODE and put in ShopCommodity with 0 zen :) easy
in item.slk cant find ShopCommodity column :handsdown::handsdown:

why always char jump to jail ?
07/22/2012 15:36 Krozo#398
Quote:
Originally Posted by cryplex View Post
People that are crying here for help and telling us that they are newbies. Why do you even started dealing with this server? BOI dev community is really small, I think something like 10-15 people. and everything we know about BOI server, configuring, editing and etc... We figured out these thing just by ourselves and noone helped us. So stop asking stupid questions and crying about errors and bugs and START thinking with your BRAIN. There is nothing hard in this server. No matter if you will get errors or some other shit just TRY, again and again and again. And everything will work =)
Sorry to say this, but people who ask, is people who don't know. Maybe your talented, but not all people are like you, some of us need help. So, if you don't really want to help, no one force you to reply here. There's other whom willing to help. =) People learn from newbie, and grow to pro.
07/22/2012 16:45 demonlordace#399
Quote:
Originally Posted by Bingo2008 View Post
I did lol :) From level 75 to lvl 1 hahah


It was because I use the Linux IP in Gateserver.ini (In windows side).


Eg: C: Programfiles\Privateserver\Gateserver\gateserver.i ni

(Change the IP to your window IP and yes use Bridge connection).



node server normal Bingo 127.0.0.1 30002 9 1
(If any1 like to try BETA server :D - All stuffs Free; Pet +15 (90% fortification change), Drop and XP X 200; Gem Lvl 15, Boss Respawn = 1mins etc)

Only taking 5people for Now and Yes the server is NOT 24X7.
Will run only few Hour now and then.




Kill the task (gateway server ie. gate.exe) MANUALLY and re-run (Admin right) again and try logging in.

see if it help :D
that is what i have ini set as so it should be fine


[Default]

ManagerIP = 192.168.1.15

ManagerPort = 21020

AuAgentIP = 192.168.1.15

AuAgentPort = 29250

OnlineMax = 5000

/ / The local listening port in order to avoid conflict with the service port, port 30000 above

GatePort = 30002

[LogServer]

Port = 9008

ServerIP = 192.168.1.50


also is anyone having an issue with it saving after u log out

is gate server supposed to connect or sum thing even tho i have server running gate server just says

GateServer initing...
listen port: 30002
>GameServer[4] Connecting...



Bingo2008


that didnt seem to work got disconnected again
07/22/2012 17:30 Drmzindec#400
I still dont have realms! Can anyone help me please?

I had realms this morning but the GameDB kept connecting and disconnecting so i couldnt create a char. Then i thought "Ok lets start over" and now im back where i began and cant see realms.

I have checked all the ip's like x100 times.

Any advice would be appreciated...

I have skype and team view or i can provide screenshots. Please!
07/22/2012 18:03 demonlordace#401
2012-07-22 12:00:58 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:03 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:08 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:13 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:18 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:23 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:28 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:33 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:38 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:43 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:48 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:53 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:01:58 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008
2012-07-22 12:02:03 lv2:LS:socket err:11004 -- CLogsrvConnector::OnError -- SetAddress failed! Addr:(ubuntu) Port:9008


this is log from local save server

[Network]

DBServerIP = 192.168.1.50

DBServerPort = 21021

ManagerIP = 192.168.1.15

ManagerPort = 21023

[Log]

/ / Log level

LogLevel = 4

/ / Output type of each grade

Wrong = 3

Warning = 3

Normal = 3

Debug = 3

/ / Shared memory

[SharedMem

/ / Limit the number of

BlockMax = 3000

/ / Save interval

SaveInterval = 1000

/ / GS response time

ResponseInterval = 10000

/ / Shared memory block number

SharedMemCount = 4

SharedMemName1 = Global \ ShareMem1

SharedMemSize1 = 100

SharedMemName2 = Global \ ShareMem2

SharedMemSize2 = 100

SharedMemName3 = Global \ ShareMem3

SharedMemSize3 = 100

SharedMemName4 = Global \ ShareMem4

SharedMemSize4 = 100

is is the ini im guessing this is why my lvl dont get saved when i log out or dc can sum1 see anything worng with the ini cuz i dont


i have also included the Auagent jar files just unzip the zip files in the rar for any1 that wants to take a look at them
07/22/2012 19:02 axelcro#402
Quote:
Originally Posted by cryplex View Post
People that are crying here for help and telling us that they are newbies. Why do you even started dealing with this server? BOI dev community is really small, I think something like 10-15 people. and everything we know about BOI server, configuring, editing and etc... We figured out these thing just by ourselves and noone helped us. So stop asking stupid questions and crying about errors and bugs and START thinking with your BRAIN. There is nothing hard in this server. No matter if you will get errors or some other shit just TRY, again and again and again. And everything will work =)
I aggree, because we find out everything about ourself. I've looked for fckin chinese sites to find a tutorial and files (google translator is sux), i had many sleepless nights to find everything to post in my tutorial, so i'm tired of helping. Around 10ppl server up and running. They did it somehow. Around 10-15ppl added me on skype and only 1-2 knew something about the server and understood my tutorial. All others wanted to I set up their whole server cross Teamviewer... NO! If You don't know what is developing and You are newbeis, wait for a COMPLETE tutorial, coz i'll not reply a question (forex: How i can mount virtualbox file with daemontools).
07/22/2012 19:08 imrain01#403
hmmm....maybe ur right.i think u should check about dbserver cz our server is us and db port is 29251 then in LocalsaverServer u put chinese port is 21021.that's the point of time out request.now i think i can set up a messing server in 5min.cz it's very easy.now the thing is that how to write LUA script.cz in my country has too much Pro about LUA cz they code JX online.
07/22/2012 19:29 Drmzindec#404
I dont expect anyone to set it up for me, just need some advice on where i might be going wrong, if you had the same error by any chance? I have been working on it for a few days straight now, each time i get something to work something else breaks or doesn't work. Im a programmer as well, more web based but i know quite a bit about everything in your tutorial, the problem is im not that good with linux and think thats where im going wrong.

Please can you try help me, or anyone. I have read through the entire forum like 3 times, people had the same problem as me but never replied on how they fixed it.

If i can help with any code web based or mysql i will be happy to, i just wont be bale to if i cant actually use the server to see what i am doing.

Quote:
WINDOWS IP: 192.168.2.2
LINUX IP: 192.168.56.1
I used ipconfig in windows to get the above.
Windows Configs:

AUAGENT/RUN.BAT
Quote:
@echo off
start compactau.exe
"C:\Program Files (x86)\Java\jre7\bin\java" -Xms512m -Xmx768m -cp jio.jar;log4j-1.2.9.jar;auagent.jar Auagent auagent.conf
Pause
AUAGENT.CONF
Quote:
[AuAgentServer]
zoneid = 904
aid = 9
type = tcp
port = 29250
address = 192.168.2.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
port = 21021
address = 192.168.56.1
;address = 127.0.0.1
so_sndbuf = 131072
so_rcvbuf = 131072
ibuffermax = 409600
obuffermax = 819200
tcp_nodelay = 1
;listen_backlog = 10
mtrace = /tmp/m_trace.link
cashfile = c:\cash_backup.data

[GAuthClient]
type = tcp
port = 29200
address = 192.168.2.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
COMPACTAU.CONF
Quote:
[GCompactAUServer]
type = tcp
port = 29200
address = 192.168.2.2
osec = 2
oseckey = n1hxpxztozyxnsvk6RaycpmrCnrdds
isec = 2
iseckey = rdppjtaki1MxoHnsnaltiiwfjszs9l
shared_key = 4khdwAAcjrg0eqfzazqcemdpgulnje
SERVER.INI
Quote:
[Default]
Version=0
ManagerServerIP=192.168.2.2
ManagerServerPort=20021
ListenGatePort=40003
LineID=1
ShowLoginIP=0

[LogServer]
ServerIP = 192.168.56.1
Port = 9008

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

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

[LogServer]
Port = 9008
ServerIP = 192.168.56.1
LOCALSAVESERVER.INI
Quote:
[Network]
DBServerIP=WINDOWS IP
DBServerPort=21021
ManagerIP=WINDOWS IP
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.2.2
ManagerIP2 = 192.168.2.2
ManagerIP3 = 192.168.2.2
MANAGERSERVER.INI
Quote:
[Default]
LocalIP = 192.168.2.2
OnlineMax=2000
DefWallowOnlineTime = 10800
DefWallowOfflineTime = 18000
LootTimes=1.0
ExpTimes=1

[GameServer]
Port = 20021

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


[GateServer]
ServerIP = 192.168.2.2
Port = 21020

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

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

[LogServer]
ServerIP = 192.168.56.1
Port = 9008

[ForbidServer]
#Port = 9009
#ServerIP = 192.168.1.50
#LocalPort = 9010

[DetectCheatServer]
ServerIP = 192.168.2.2
ServerPort = 55000

[GACD]
ServerIP = 192.168.56.1
#ServerPort = 29705
ServerPort = 29712

[CardServer]
ServerIP = 192.168.56.1
ServerPort = 10080
ServerGuarder>Config.ini
Quote:
[Default]
LocalIP = 192.168.2.2
ManagerConfig.ini > Actually its ManagerConfig.xml
Quote:
<root>
<item name="BOITEST" IP="192.168.2.2" />
</root>
windows > table.xml
PHP Code:
<connection name="auth0" poolsize="8" url="jdbc:microsoft:sqlserver://192.168.2.2:1433;databasename=PassportBOI" username="sa" password=""/>
<
driver name="com.microsoft.jdbc.sqlserver.SQLServerDriver" />

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

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

<
cache name="phoneuser_by_phone" type="direct" ip="226.1.1.5" port="4449" local_ip="localiplinux" size="262144" partition="0"/>
<
cache name="userinfo_by_id" type="direct" ip="226.1.1.6" port="4450" local_ip="localiplinux" size="131072" partition="0"/> 
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
07/22/2012 19:37 axelcro#405
Quote:
Originally Posted by Drmzindec View Post
Windows Configs:

AUAGENT/RUN.BAT


AUAGENT.CONF


COMPACTAU.CONF


SERVER.INI


GATESERVER.INI


LOCALSAVESERVER.INI


MANAGERIP.INI


MANAGERSERVER.INI


ServerGuarder>Config.ini


ManagerConfig.ini > Actually its ManagerConfig.xml


windows > table.xml
PHP Code:
<connection name="auth0" poolsize="8" url="jdbc:microsoft:sqlserver://192.168.2.2:1433;databasename=PassportBOI" username="sa" password=""/>
<
driver name="com.microsoft.jdbc.sqlserver.SQLServerDriver" />

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

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

<
cache name="phoneuser_by_phone" type="direct" ip="226.1.1.5" port="4449" local_ip="localiplinux" size="262144" partition="0"/>
<
cache name="userinfo_by_id" type="direct" ip="226.1.1.6" port="4450" local_ip="localiplinux" size="131072" partition="0"/> 
I rly don't understand what's your problem. First of all why your linux and windows ip are the same? If u have router, let linux get ip by DHCP but if u don't have give an IP manually. Then windows server files configuration is at the first page and linux server files configuration:

Quote:
In LINUX config files where You find an address of a windows proccess (forex: managerserver) that means u have to put windows ip there. So: If linux process name: means linux ip, if windows process name: means windows ip

AUTHD.CONF

[GAuthServer]
type = tcp
port = 29200
address = WINDOWS
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


CARDSVRD.CFG


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

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

[MANAGERSVRD]
MANAGERSVRDNUM = 2
[MANAGERSVRD.1]
SERVERID = 1
SERVICEIP = WIN

[MANAGERSVRD.2]
SERVERID = 2
SERVICEIP = WIN


[DBSVRD]
DBUSER = root
DBNAME = shengui
DBPASSWD = game
DBSOCKFILE = /var/lib/mysql/mysql.sock
SERVERID = 1
SERVICEIP = LINUX
SERVICEPORT = 21021
CHECKINTERVAL = 6000
PRINTSTATINTERVAL = 300
ISAUTO = 1
ISENCRYPT = 0

[AUAGENT]
SERVERID = 1
SERVICEIP = WIN
SERVICEPORT =29250
CHECKINTERVAL = 6000
PRINTSTATINTERVAL = 300
ISAUTO = 1
ISENCRYPT = 0

[LOGSVRD]
SERVERID = 1
SERVICEIP = LINUX
SERVICEPORT =9008
CHECKINTERVAL = 6000
PRINTSTATINTERVAL = 300
ISAUTO = 1
ISENCRYPT = 0


NAMESVRD.CFG


[DBINFO]
DBUSER = root
DBNAME = shengui
DBPASSWD = game
DBSOCKFILE = /var/lib/mysql/mysql.sock

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

[MANAGERSVRD]
MANAGERSVRDNUM = 1
[MANAGERSVRD.1]
SERVERID = 1
SERVICEIP = WINDOWS