Jump to content

Recommended Posts

Hello everyone, I'm Mathew advanced player of top, but newbie "DEV", I had idea with my friends to make PKO server just for 5 people for co-op camping, but no one wants to host server on his own, cuz of 24/7 pc working and electricity payments, so we get together 15$ and we bought VPS server (spec in spoiler). My experience with KOP/PKO/TOP servers was about 8 years ago with sql2000 and hamachi, but for now, we want 24/7 server on VPS without any additional programs that all about the story 

 

Dropbox link: there you can find all files that I config and working with.

Problem:

1-No one can connect to host, (timeout) (atm we are using IPchanger and start.bat) [my friends]

2-I'm OSx user so I can't use start.bat, maybe someone knows this kind command/file for OSX??

3-I don't know how to properly create/config website, (i tried with all guides on the forum)

 

Questions:

0- is it host provider problem or just server config ??? (i tried same config on tungle and it was workig ...)

1-how can I make KOP/PKO/TOP shortcut but without laucher/autoupdater/ipchanger/start.bat but with VPS IP  include?

2-If its possible, autopatcher-without website (on VPS)

3-How to add new functions to PKO server files, (i tried to add double exp for weekends, but when I added it to exp_and_level.lua, we didn't get exp from anything, GM either.

4-how to add Cooldowns on AMPs,Potions,etc.

5-Do I need to set DNS on VPS

AccountServer

Spoiler

[net]
listen_port = 1978
listen_ip = 77.77.77.77

[db]
dbserver = 77.77.77.77
db = AccountServer
userid = sa
passwd = EZCpyYOZVofugqDFBZrLKw==

[bill]
enable_bill = 0
enable_passport = 0
enable_kickuser = 0

bill_server1 = 77.77.77.77:7243
bill_server2 = 77.77.77.77:7243

[tom]
enable_tom = 0

[gs]
GroupServerAndor = GroupServerAndor
GroupServerAndor1 = GroupServerAndor1
GroupServerAndor2 = GroupServerAndor2
GroupServerAndor5 = GroupServerAndor5
GroupServerAndor6 = GroupServerAndor6
enable_ping = 1

 

GateServer

Spoiler

[Main]
Name = GateServer
Version = 136

[GroupServer]
IP = 77.77.77.77
Port = 1975
EnablePing = 180

[ToClient]
IP = 77.77.77.77
Port = 1973
CommEncrypt = 1
EnablePing = 60
MaxConnection = 1500

[ToGameServer]
IP = 77.77.77.77
Port = 1971
EnablePing = 180

[ShowRange]
ShowMin = 500
ShowMax = 800
IsUse = 1

 

GroupServer

Spoiler

[Main]
Name = GroupServerAndor1
Listen_Port = 1975
Listen_IP = 77.77.77.77
KeepAlive = 1800
Version = 103

[AccountServer]
AcctEnable = 1
Password = GroupServerAndor1
IP = 77.77.77.77
Port = 1978

[Database]
IP = 77.77.77.77
DB = GameDB
Login = sa
Password = EZCpyYOZVofugqDFBZrLKw==
MaxVal = 2000000000

[Character]
MaxCharNumPerAct = 3
MaxCharMapIconValue = 30
MaxLoginPlayerNum = 3000

[Friend]
MaxInvitationNum = 5
InvitationOverTime = 30
MaxFriendNumPerChar = 50
MaxOwnFriendListNumPerChar = 10

[Party]
MaxInvitationNum = 5
InvitationOverTime = 30
MaxMemberNumPerParty = 5

[Chat]
MaxChatNumPerPlayer = 30
MaxPlayerNumPerChat = 50
WorldChannelInterval = 60
TradeChannelInterval = 90
PrivateChannelInterval = 2

[BirthPlace]
Argent City = garner
Shaitan City = magicsea
Icicle Castle = darkblue

 

GameServer

Spoiler

[ID]
name = GameServer00
equment = system1

[Gate]
gate = 77.77.77.77, 1971

[Map]
map = garner
map = eastgoaf
//map = lonetower1
//map = leiting2
//map = teampk
//map = puzzleworld
//map = puzzleworld2

[DB]
db_ip = 77.77.77.77
db_usr = sa
db_pass = EZCpyYOZVofugqDFBZrLKw==

[Socket]
keep_alive = 120

[BaseID]
BaseID = 0x50000000

[Entity]
max_ply = 500
max_cha = 15000
max_item = 30000
max_tnpc = 300

[Guild]
guild_num = 80
guild_try_num = 80

[Item]
item_show_time = 60
item_prot_time = 30

[Interval]
say_interval = 3

[LOG]
log_cha = 0
log_cal = 0
log_ai = 0
log_mission = 0

[Debug]
supercmd = 1

[Res]
res_dir = ./resource
log_dir = log\\log

db_mapmask = 1

 

VPS SPEC: 

OS: Windows Server 2012 R2

COREspd: 1vCore x2GHz

Storage: 50GB SSD

Internet spd 100mb (5ms from host to player)

Bandwidth limit 99TB

RAM: 2GB

Ports: OPEN

for guide purpose let VPS ip be:77.77.77.77 (ipv4)

 

 

DISCORD: Ajoj#1945

Skype: Sillvar

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...