Master Summoner
- Joined
- Dec 13, 2009
- Messages
- 557
- Reaction score
- 31
Configuring your server.
Configuring your server! ( local )
Read ;
I know, this post is maybe useless,
but i'm getting sick of all those threads,
from people who dont know how to test their
client on the local way. Becuz, some people
who have written some tuts here, about this issue,
made some mistakes, i will put them togheter,
the credits goes to everyone, who have made
an server setup / client tutorial.
Note ; If you just start making a gunz
server, skip this thread it will
help you in the future, but not if you just start.
Server.ini
C:\gunzserver\Matchserver\server.ini
AgentConfig.xml
C:\gunzserver\Matchagent\AgentConfig
Locator.ini
C:\gunzserver\Locator\Locator.ini
System.xml
C:\programfiles\yourgunz\system.mrs
dbo.ServerStatus
Database, table
Ports
run\ipconfig\default gateway (starts with 192)
Hopefully you're now able to get this work.If you need some help ask it here, do not make threads 'bout it. Good Luck
Read ;
I know, this post is maybe useless,
but i'm getting sick of all those threads,
from people who dont know how to test their
client on the local way. Becuz, some people
who have written some tuts here, about this issue,
made some mistakes, i will put them togheter,
the credits goes to everyone, who have made
an server setup / client tutorial.
Note ; If you just start making a gunz
server, skip this thread it will
help you in the future, but not if you just start.
Server.ini
C:\gunzserver\Matchserver\server.ini
[DB]
DNS="GunzDB"
USERNAME="YourMSSQLLoginName(sa)"
PASSWORD="yourmssqlpassword"
[SERVER]
MAXUSER=500
SERVERID=1
SERVERNAME="YourServerName"
FREELOGINIP="127.0.0.1"
KEEPERIP="127.0.0.1"
MONITORIP="127.0.0.1"
MONITORPORT=9000
MODE="test"
COUNTRY="BRZ"
LANGUAGE="BRZ"
USETICKET="0"
[LANGUAGE]
LANG_TYPE="eng"
[LOCALE]
DBAgentPort=5100
DBAgentIP=127.0.0.1
[FILTER]
USE="0"
ACCEPT_INVALID_IP="1"
[ENVIRONMENT]
USE_HSHIELD="0"
USE_XTRAP="0"
USE_EVENT="0"
USE_FILECRC="0"
USE_MD5="0"
DNS="GunzDB"
USERNAME="YourMSSQLLoginName(sa)"
PASSWORD="yourmssqlpassword"
[SERVER]
MAXUSER=500
SERVERID=1
SERVERNAME="YourServerName"
FREELOGINIP="127.0.0.1"
KEEPERIP="127.0.0.1"
MONITORIP="127.0.0.1"
MONITORPORT=9000
MODE="test"
COUNTRY="BRZ"
LANGUAGE="BRZ"
USETICKET="0"
[LANGUAGE]
LANG_TYPE="eng"
[LOCALE]
DBAgentPort=5100
DBAgentIP=127.0.0.1
[FILTER]
USE="0"
ACCEPT_INVALID_IP="1"
[ENVIRONMENT]
USE_HSHIELD="0"
USE_XTRAP="0"
USE_EVENT="0"
USE_FILECRC="0"
USE_MD5="0"
AgentConfig.xml
C:\gunzserver\Matchagent\AgentConfig
<?xml version="1.0" encoding="euc-kr"?>
<XML>
<AGENTCONFIG>
<NAME>YourServerName</NAME>
<MAXCLIENT>500</MAXCLIENT>
<MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/>
<ADDRESS ip="127.0.0.1" tcpport="7777" udpport="5100"/>
</AGENTCONFIG>
</XML>
<XML>
<AGENTCONFIG>
<NAME>YourServerName</NAME>
<MAXCLIENT>500</MAXCLIENT>
<MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/>
<ADDRESS ip="127.0.0.1" tcpport="7777" udpport="5100"/>
</AGENTCONFIG>
</XML>
Locator.ini
C:\gunzserver\Locator\Locator.ini
[DB]
DNS="GunzDB"
USERNAME="YourMSSQLLoginName(sa)"
PASSWORD="YourMSSQLPassword"
[NETWORK]
IP="127.0.0.1"
PORT="8900"
[ENV]
ID="1"
LOCATOR_UID_HIGH="5"
LOCATOR_UID_LOW="0"
MAX_ELAPSED_UPDATE_SERVER_STATUS_TIME="1000"
UDP_LIVE_TIME="10000000"
MAX_FREE_RECV_COUNT_PER_LIVE_TIME="9"
BLOCK_TIME="0"
UPDATE_UDP_MANAGER_ELAPSED_TIME="3"
MARGIN_OF_ERROR_MIN="500000"
USE_COUNTRY_CODE_FILTER="no"
GMT_DIFF="-3"
ELAPSED_TIME_UPDATE_LOCATOR_LOG="3600000"
ELAPSED_TIME_UPDATE_LOCATOR_LOG="10000"
ELAPSED_TIME_UPDATE_COUNTRYCODEFILTER_LOG="10000"
UPDATE_COUNTRY_CODE="66 89 69 77 73 83 65 78 68"
TEST_SERVER="0"
DNS="GunzDB"
USERNAME="YourMSSQLLoginName(sa)"
PASSWORD="YourMSSQLPassword"
[NETWORK]
IP="127.0.0.1"
PORT="8900"
[ENV]
ID="1"
LOCATOR_UID_HIGH="5"
LOCATOR_UID_LOW="0"
MAX_ELAPSED_UPDATE_SERVER_STATUS_TIME="1000"
UDP_LIVE_TIME="10000000"
MAX_FREE_RECV_COUNT_PER_LIVE_TIME="9"
BLOCK_TIME="0"
UPDATE_UDP_MANAGER_ELAPSED_TIME="3"
MARGIN_OF_ERROR_MIN="500000"
USE_COUNTRY_CODE_FILTER="no"
GMT_DIFF="-3"
ELAPSED_TIME_UPDATE_LOCATOR_LOG="3600000"
ELAPSED_TIME_UPDATE_LOCATOR_LOG="10000"
ELAPSED_TIME_UPDATE_COUNTRYCODEFILTER_LOG="10000"
UPDATE_COUNTRY_CODE="66 89 69 77 73 83 65 78 68"
TEST_SERVER="0"
System.xml
C:\programfiles\yourgunz\system.mrs
<?xml version="1.0" encoding="UTF-8" ?>
<XML>
<XMLHEADER>version="1.0" encoding="UTF-8"</XMLHEADER>
<SKIN>Default</SKIN>
<DEFFONT>Arial</DEFFONT>
<IME>true</IME>
<BAREPORT>
<ADDR>www.battlearena.com</ADDR>
<DIR>incoming/gunz_global</DIR>
</BAREPORT>
<HOMEPAGE>
<URL>http://www.gunzonline.com</URL>
<TITLE>GunZ the Dual</TITLE>
</HOMEPAGE>
<EMBLEM_URL>http://gunzonline.com/emblems/</EMBLEM_URL>
<TEMBLEM_URL>http://gunzonline.com/emblems/</TEMBLEM_URL>
<LOCATORLIST>
<LOCATOR id="1" IP="127.0.0.1" />
</LOCATORLIST>
<TLOCATORLIST>
<LOCATOR id="1" IP="127.0.0.1" />
</TLOCATORLIST>
</XML>
<XML>
<XMLHEADER>version="1.0" encoding="UTF-8"</XMLHEADER>
<SKIN>Default</SKIN>
<DEFFONT>Arial</DEFFONT>
<IME>true</IME>
<BAREPORT>
<ADDR>www.battlearena.com</ADDR>
<DIR>incoming/gunz_global</DIR>
</BAREPORT>
<HOMEPAGE>
<URL>http://www.gunzonline.com</URL>
<TITLE>GunZ the Dual</TITLE>
</HOMEPAGE>
<EMBLEM_URL>http://gunzonline.com/emblems/</EMBLEM_URL>
<TEMBLEM_URL>http://gunzonline.com/emblems/</TEMBLEM_URL>
<LOCATORLIST>
<LOCATOR id="1" IP="127.0.0.1" />
</LOCATORLIST>
<TLOCATORLIST>
<LOCATOR id="1" IP="127.0.0.1" />
</TLOCATORLIST>
</XML>
dbo.ServerStatus
Database, table
- Server ID = 1
- CurrPlayer = 1
- MaxPlayer = 500
- Time = 4/22/2010
- IP = 127.0.0.1
- Port = 6000
- ServerName = YourServerName
- Opened = 1
- Type = 4
Ports
run\ipconfig\default gateway (starts with 192)
Hopefully you're now able to get this work.If you need some help ask it here, do not make threads 'bout it. Good Luck
Last edited: