[REQUEST] how to open server to public on vps server?

10/21/2021 09:40 zulflbeatz#1
I don’t see any tutorial how to make server online to public..don’t know what file need to change:

- what port need to open to make client file available to public?

- how to setting MySQL when server online or let it using localhost (127.0.0.1) or change to public ip?

I found this :
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]
10/22/2021 13:01 assyf7#2
all u need is a vps
10/26/2021 20:18 zulflbeatz#3
didt i miss someting?

ACC SERVER/CONFIG.INI
Quote:
[System]
LOGINLISTENPORT =6110
POINTLISTENPORT =6130
SERVER_FULL_DELAY_SECS = 5000
SERVER_BUSY_DELAY_SECS = 3000
SERVERNAME =testserver
LOGINNAME =test
PASSWORD =test
SERVERIP =127.0.0.1 <---(change to public ip)
LOGINLISTENPORT1=9959
FirstMsgIP=192.168.1.212 <---(this is for what??)
SecondMSgIP=0.0.0.0
EnabledDouble=0
LogMessage=1
LogErrMessage=1
LogWarnMessage=1
MySQLErrLog=1
MustDecrypt=1
IsPresentTime=0
IsEudemonTime=0
PresentTime=60
EudemonTime=30
MaxACCClient=800
MaxPointClient=400
MaxACCIpFilter=10
MaxPackFilter=5
PointOnlyLocal=1
CloseUnknown=0
ClientTimeOut=1
ClientPackFilter=1
EnDecryptAcc=0
FilterCPUID=0
FilterCPUIDCount=1
AutoOpenReg=0
AutoOpenRegDateTime=2019-06-01 11:28:10 PM
DoMSGPort=1
EnabledPrivateKey=0
PrivateKey=
BanToIPSec=1
LOGINLISTENPORT2=0
ThirdMSgIP=
OpenRandCode=0
FilterIPID=0
FilterIPIDCount=1
FilterIPIDTime=5
AutoOpenDateTime=2019-06-01 11:28:10 PM

[Database]
DBHOSTNAME=127.0.0.1
DATABASENAME =top1
DBUSER =test
DBPASSWORD =test
GAME SERVER/CONFIG.INI
Quote:
; 配置文件


[System]
SERVERNAME =testserver
MONSTER_ACTIVE_LIMIT = 4000
SERVER_TITLE = testserver

[GameServer]
GAMESERVER_IP =127.0.0.1 <---(change to public ip)
GAMESERVER_PORT =5816
SND_SIZE = 64000
RCV_SIZE = 16000
NPCSERVER_RAND = 1
//*下面4行为NPCServer与MSGServer通信之间的版本号与密 钥。*//
//*建议各个区设置的都不样。但不可设置为0。版本号一定 要为数字*//
NPCSERVER_VERSION_RELOGIN = 19111211
NPCSERVER_VERSION = 20128211
NPCSERVER_ACCOUNT = 就这样被你蒸熟!
NPCSERVER_PASSWORD = 蒸熟后你又煎煮!
CPUID = -1
//这里的CPUID标记注释。-1表示由系统自动分配。0表示由程序随机分配。其它的表 示直接指定CPU核心.比如说你有8个CPU核心。那就可以设 置成1到8。当值超过CPU核心最大数量时,使用程序分配� �


[Database]
DB_IP =127.0.0.1
DB_USER =test
DB_PW =test
DB_NAME =zuldb



[InternetPort]
MASTER_IP =127.0.0.1 <---(change to public ip)
MASTER_PORT =6140
PORT_SIZE = 53
LOGIN_KEY = dfkKO23k'[cvK934
CURRENT_PORTID = 2


[BusySleep]
LEVEL1 = 20 ; > 1000 sleep 20%
LEVEL2 = 30 ; > 2000
LEVEL3 = 40 ; > 3000
LEVEL4 = 50 ; > 4000
LEVEL5 = 60 ; > 5000


GAMESERVER/SHELL.INI
Quote:
; 外壳配置文件
; 2002.10.23

[System]
MAPGROUP_SIZE = 1


[Database]
DB_IP =127.0.0.1
DB_USER =test
DB_PW =test
DB_DB =zuldb


[AccountServer]
ACCOUNT_IP =127.0.0.1 <---(change to public ip)
ACCOUNT_PORT =6130
SERVERNAME =testserver
LOGINNAME =test
PASSWORD =test
; 登录表尺寸, 10-5000
MAXLOGINTABLESIZE=1500
; 登录表超时秒数,0-86400
LOGINOVERTIMESECS=120




[InternetPort]
MASTER_IP = 192.168.1.161 <---(change to public ip)
MASTER_PORT = 8653
PORT_SIZE = 53
LOGIN_KEY = dfkKO23k'[cvK934
CURRENT_PORTID = 1


CLIENTFILE/OEM.DAT
Quote:
[Oem]
Id=2001

[AccountSetup]
Type=1

[ServerInfo]
URL=

[ServerStatus]
Link=

[ExitLink]
Address=

[VipLink]
URL=

[Header]
GroupAmount=1
Group1=test

[Group1]
ServerAmount=1
Server1=testserver
Ip1=127.0.0.1 < --(change to public ip)
Pic1=Server1
ServerName1=test
10/27/2021 05:15 DuaSelipar#4
Quote:
Originally Posted by zulflbeatz View Post
didt i miss someting?

ACC SERVER/CONFIG.INI


GAME SERVER/CONFIG.INI


GAMESERVER/SHELL.INI

CLIENTFILE/OEM.DAT
seems no.. did serve run?
10/27/2021 05:42 tehpwnerer69#5
MySQL should be 127.0.0.1

You should ensure your IP is not being blocked by your firewall.
(Ping your server IP afterwards to test)
You should ensure your Port is not being blocked by your firewall.
(Ping IP with Port defined in the ping to test)

Failing that, it might need elevated privileges.
10/29/2021 07:37 zulflbeatz#6
Quote:
Originally Posted by UltimateChaos View Post
seems no.. did serve run?
No~ :(

Quote:
Originally Posted by tehpwnerer69 View Post
MySQL should be 127.0.0.1

You should ensure your IP is not being blocked by your firewall.
(Ping your server IP afterwards to test)
You should ensure your Port is not being blocked by your firewall.
(Ping IP with Port defined in the ping to test)

Failing that, it might need elevated privileges.
If I use hamachi server also can right? Same setting?
10/29/2021 13:01 tehpwnerer69#7
Quote:
Originally Posted by zulflbeatz View Post
No~ :(



If I use hamachi server also can right? Same setting?
Same thing with hamachi.
Always check advanced firewall settings