How to fix "servers not showing up"
First off, here are some basic configurations you need to know.
This is QUITE noob friendly.
I'm assuming you already did the relevant ODBC configurations. (For the database)
Feel free to ask questions if you are unclear and i will try to help you with it ASAP.
Anything thats written after a "//" is a description, do not bother about it.
More in-depth discription is at the bottom of this post.
The stuff that i post here are just the stuff you need to look out for in your server files or system.xml or database.
There are (obviously) more stuff in the files, these are just the essentials you need to change.
Locator.ini
Code:
DNS="GunzDB" [I][COLOR="Silver"]// Your database name[/COLOR][/I]
Port="8900" [I][COLOR="Silver"]// Just a port, leave it as it is.[/COLOR][/I]
Ip="Your wan ip" [I][COLOR="Silver"]// I'll explain "your wan ip" at bottom of the post.[/COLOR][/I]
Agentconfig.xml
Code:
<NAME>YOUR SERVER NAME HERE</NAME> [COLOR="Silver"][I]// The name of your server goes here.[/I][/COLOR]
<MAXCLIENT>200</MAXCLIENT> [I][COLOR="Silver"]//The maximum number of players you allow in 1 server.[/COLOR][/I]
<MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/> [I][COLOR="Silver"]//Leave it as it is.[/COLOR][/I]
<ADDRESS ip="Your wan ip" tcpport="7777" udpport="5100"/[I][COLOR="Silver"]//Leave the ports alone. I'll explain "your wan ip" at bottom of the post.
[/COLOR][/I]
server.ini
Code:
[DB]
DNS="GunzDB" [COLOR="Silver"][I]//Must be same as the DNS in Locator.ini , a.k.a. your database name.[/I][/COLOR]
USERNAME="sa" [I][COLOR="Silver"]//The username you used when you installed SMSE.[/COLOR][/I]
PASSWORD="xx" [COLOR="Silver"][I]//The password you used when you installed SMSE.[/I][/COLOR]
[SERVER]
MAXUSER=200 [I][COLOR="Silver"]//Same as the one you put for MAXCLIENT in Agentconfig.xml.[/COLOR][/I]
SERVERID=1 [I][COLOR="Silver"]//If you are only running 1 server, just leave it as 1.[/COLOR][/I]
SERVERNAME="YOUR SERVER NAME HERE" [I][COLOR="Silver"]//Must be same as the NAME you put in Agentconfig.xml[/COLOR][/I]
FREELOGINIP="" [COLOR="Silver"][I]//Leave it as it is.[/I][/COLOR]
KEEPERIP="127.0.0.1" [COLOR="Silver"][I]//Leave it as it is.[/I][/COLOR]
MONITORIP="127.0.0.1" [I][COLOR="Silver"]//Leave it as it is.[/COLOR][/I]
MONITORPORT=9000 [COLOR="Silver"][I]//Leave is as it is.[/I][/COLOR]
MODE="test" [I][COLOR="Silver"]//test for quest server. clan for clan server. I'll explain more at bottom.
[/COLOR][/I]
[LOCALE]
DBAgentPort=5100 [I][COLOR="Silver"]//Leave it as it is.[/COLOR][/I]
DBAgentIP=127.0.0.1 [I][COLOR="Silver"]//Leave is as it is.[/COLOR][/I]
system.xml
Code:
<LOCATORLIST>
<LOCATOR id="1" IP="your wan ip" /> [COLOR="Silver"][I]//I'll explain "you wan ip" at bottom.[/I][/COLOR]
</LOCATORLIST>
<TLOCATORLIST>
<LOCATOR id="1" IP="your wan ip" /> [I][COLOR="Silver"]//I'll explain "you wan ip" at bottom.[/COLOR][/I]
</TLOCATORLIST>
dbo.ServerStatus
Code:
ServerID = 1 [I][COLOR="Silver"]//Same as the ID you put in server.ini[/COLOR][/I]
MaxPlayer = 200 [I][COLOR="Silver"]//Same as the one you put in server.ini and Agentconfig.xml[/COLOR][/I]
Ip = your wan ip [I][COLOR="Silver"]//I'll explain at bottom[/COLOR][/I]
port = 6000 [I][COLOR="Silver"]//Leave it as it is.[/COLOR][/I]
ServerName = YOURSERVERNAMEHERE [I][COLOR="Silver"]//Must be same as the NAME you put in Agentconfig.xml and server.ini[/COLOR][/I]
Opened = 1 [I][COLOR="Silver"]// Leave it as it is.[/COLOR][/I]
type = 4 [I][COLOR="Silver"]// 1=Debug Server 2=Normal MatchServer 3=Clan WarServer 4=Quest Server 5=Event Server and must correspond with the one you put for MODE in server.ini[/COLOR][/I]
Port Forward:
YOU NEED TO OPEN/FORWARD YOUR PORTS IF NOT YOUR SERVER WON'T SHOW.
These are the ports you need to portforward. visit
You must be registered to see links
if you don't understand.
Code:
5100 udp
6000 tcp
7000 to 7777 tcp and udp
8900 tcp
This is how my port-forward page looks like:
YOURS MAY/WILL DIFFER. (Mine's D-Link DIR-655)
CLICK TO ENLARGE.
Your WAN ip address can be found at
You must be registered to see links
and the numbers there is your WAN ip. THIS IS THE IP you insert into all the places above of which i have said "your wan ip" THIS IS YOUR WAN IP.192.168.x.x is a private IPv4 network address. Home routers can use it to establish the default gateway. On such routers, you can access its administrative console by pointing a Web browser to
You must be registered to see links
. The address you type into your browser to port forward would be similar to this. THIS IS NOT YOUR WAN IP.If your IP, like mine, is always changing. follow this guide http://forum.ragezone.com/f497/tut-...thout-dynamic-ip-advance-not-for-noob-567116/ credits to omgisavedyou .
If i am missing out anything, please comment.
If you need more help, please comment as well.
Last edited: