[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