How to fix "servers not showing up"
First off, here are some basic configurations you need to know.
This is QUITE noob friendly. 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" // Your database name
Port="8900" // Just a port, leave it as it is.
Ip="Your wan ip" // I'll explain "your wan ip" at bottom of the post.
Agentconfig.xml
Code:
<NAME>YOUR SERVER NAME HERE</NAME> // The name of your server goes here.
<MAXCLIENT>200</MAXCLIENT> //The maximum number of players you allow in 1 server.
<MATCHSERVERADDRESS ip="127.0.0.1" tcpport="6000"/> //Leave it as it is.
<ADDRESS ip="Your wan ip" tcpport="7777" udpport="5100"///Leave the ports alone. I'll explain "your wan ip" at bottom of the post.
server.ini
Code:
[DB]
DNS="GunzDB" //Must be same as the DNS in Locator.ini , a.k.a. your database name.
USERNAME="sa" //The username you used when you installed SMSE.
PASSWORD="xx" //The password you used when you installed SMSE.
[SERVER]
MAXUSER=200 //Same as the one you put for MAXCLIENT in Agentconfig.xml.
SERVERID=1 //If you are only running 1 server, just leave it as 1.
SERVERNAME="YOUR SERVER NAME HERE" //Must be same as the NAME you put in Agentconfig.xml
FREELOGINIP="" //Leave it as it is.
KEEPERIP="127.0.0.1" //Leave it as it is.
MONITORIP="127.0.0.1" //Leave it as it is.
MONITORPORT=9000 //Leave is as it is.
MODE="test" //test for quest server. clan for clan server. I'll explain more at bottom.
[LOCALE]
DBAgentPort=5100 //Leave it as it is.
DBAgentIP=127.0.0.1 //Leave is as it is.
system.xml
Code:
<LOCATORLIST>
<LOCATOR id="1" IP="your wan ip" /> //I'll explain "you wan ip" at bottom.
</LOCATORLIST>
<TLOCATORLIST>
<LOCATOR id="1" IP="your wan ip" /> //I'll explain "you wan ip" at bottom.
</TLOCATORLIST>
dbo.ServerStatus
Code:
ServerID = 1 //Same as the ID you put in server.ini
MaxPlayer = 200 //Same as the one you put in server.ini and Agentconfig.xml
Ip = your wan ip //I'll explain at bottom
port = 6000 //Leave it as it is.
ServerName = YOURSERVERNAMEHERE //Must be same as the NAME you put in Agentconfig.xml and server.ini
Opened = 1 // Leave it as it is.
type = 4 // 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
Launcher:
YOUR LAUNCHER NEEDS TO BE EDITED AS WELL IF NOT YOUR SERVERS WILL NOT SHOW.
Open your launcher using hex editor.
press ctrl+f and type in
http://5. and change type to "Text string" and then enter.
Once you find it, change the 5.226.222.555/Launcher/start.html to wanip/Launcher/start.html and if there are any left overs, click on the left side and change the numbers to "00" to give it a null.
Scroll down slightly and you will find 2 more 5.226.222.555 and change them to your WAN IP too.
These are the ports you need to portforward. visit
www.portforward.com if you don't understand.
Different routers have different ways, and i cannot teach you how to do it. Figure it out, it's not that hard.
Take note . at the page where you port forward, they will require your ipv4
IP address, this can be found like this :
Code:
5100 udp
6000 tcp
7000 to 7777 tcp and udp
8900 tcp
Your WAN ip address can be found at
www.wimi.com 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
http://192.168.x.x. 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-s...r-noob-567116/ credits to omgisavedyou .
If i am missing out anything, please comment.
If you need more help, please comment as well.