King Arthur's Gold
 กระทู้นี้ถูกปักหมุด เพราะฉะนั้นอาจเป็นกระทู้สำคัญ
[HOW-TO] host a server
Locate your King Arthur's Gold folder
Right click King Arthur's Gold in your Steam library, click "Properties", select the "Local Files" tab and click "Browse Local Files"
OR
Go to your Steam installation folder -> steamapps -> common -> King Arthur's Gold

Set up your server
Open autoconfig.cfg and change variables. Here is a table of useful ones:
Variable
Comment
sv_name
Sets the name of the server
sv_gamemode
Sets the gamemode of the server (TTH, CTF, TDM, Sandbox)
sv_port
Sets the port of your server (UDP). Default is 50301
sv_password
Sets the password of your server
sv_maxplayers
Sets the max amount of players allowed in your server

Don't forget to port forward port 50301 (or your custom on if you changed it) UDP!

Running your server
Execute dedicatedserver.bat/.sh and press Play to run the server. It takes a minute for it to run, it's ready when it says something along the lines of "SERVER EMPTY - GAME PAUSED".

Connecting to your server
Open up your game and either fill in 127.0.0.1:50301 (replace 50301 with a different port if you changed it) in the "Connect To" tab or join via the server browser. Others should be able to join via the server browser.

Getting admin on your server
Open the Security folder and remove the .example extension from all(!) the files. Open up superadmin.cfg and add your name ending with a semicolon like this:
users = my_kag_username;
Note that this is not your steam nickname or username, but your KAG username. If you don't know what it is, join a server or solo game and look on the scoreboard in the "Username" row.
I don't recommend you to make anyone other than you yourself superadmin. If you wish to add admins open up admin.cfg and add names just like before seperated by a semicolon:
users = my_friend; good_admin; somedude;

Adding a mod to your server
I will not be going over making mods or fixing them, but if you have a working mod you open the Mods folder and paste all the mod's contents in a folder with that mod's name. After that open mods.cfg in your main King Arthur's Gold folder and write the name of the mod (folder) there.
Images for simplification:
My mods folder with the mod "CoolMod" I want to use: http://i.imgur.com/Ke0qEVi.png
My mods.cfg: http://i.imgur.com/6FrR1YL.png

Links

You can download mods on the official forum's resources section: https://forum.thd.vg/resources/
For further assistance ask the on official forum's help section: https://forum.thd.vg/forums/help.81/ (preferably - but here is also allowed obviously)

Cheers
แก้ไขล่าสุดโดย Maz; 10 ม.ค. 2016 @ 6: 04am
< >
กำลังแสดง 1-15 จาก 47 ความเห็น
i found the folder but when i went to open it, my computer didnt recognize the file so it said. what would you like to run it with. im pretty sure notebook is the one but i need to know what the real one is. thank you
Are you talking about autoconfig.cfg? Every text/code editor should work. Notepad, Notepad++, Sublime Text, Wordpad (not Word I think). All of those should work (although I don't recommend the latter)
แก้ไขล่าสุดโดย Maz; 28 ม.ค. 2016 @ 4: 33am
yes when i click onautoconfig.cfg its doesnt recognize it
insert space^
ok i opend it in note pad ant its full of lots of code. i think its a log of everything i did last time i played. do i just put in the stuff underneath or clear it adn put it in
โพสต์ดั้งเดิมโดย Toothless Head:
ok i opend it in note pad ant its full of lots of code. i think its a log of everything i did last time i played. do i just put in the stuff underneath or clear it adn put it in
Hope this clears things up: http://file.mazey.xyz/01-2016/28_13-36-02.gif
I'm opening KAG's Folder, opening autoconfig.cfg in my text editor, edit the server name and gamemode, start the server.
it only i can in other can't what problem is ?
โพสต์ดั้งเดิมโดย Shanyangxia山羊:
it only i can in other can't what problem is ?
Incorrect port forwarding most likely.
โพสต์ดั้งเดิมโดย Mazey:
โพสต์ดั้งเดิมโดย Shanyangxia山羊:
it only i can in other can't what problem is ?
Incorrect port forwarding most likely.
and what i need to do to fix this?:steamsad:
port forward
ok, i did all this up too the connection part, but i didnt go past the admin stuff. my game is apearing for other people browsing in the server browser but when they try to connect it says to check the adress and make sure the server is active. during that time i am IN my server waiting for players. can someone please explain this too me?
โพสต์ดั้งเดิมโดย OceanPuddles:
ok, i did all this up too the connection part, but i didnt go past the admin stuff. my game is apearing for other people browsing in the server browser but when they try to connect it says to check the adress and make sure the server is active. during that time i am IN my server waiting for players. can someone please explain this too me?
Are you sure you didn't change any variables in gamemode.cfg like sv_ip? Maybe it's a port forwarding issue (although I don't think it should show up in the server browser if that's the problem).
What exactly does it log in your server console when someone tries to connect?
แก้ไขล่าสุดโดย Maz; 24 ก.พ. 2016 @ 4: 10pm
all i changed was the name to be easier to find. left the rest alone, made sure my windows firewall wasnt blocking anything KAG related, its all open. not quite sure what you mean by port forwarding everyone keeps mentioning. whenever someone finds my server and tries to connect it says CONNECTION FAILED PLEASE CHECK THE ADDRESS AND AMKE SURE THE SERVER IS RUNNING. i assume its running while im IN it, even the command console for the server says ive joined it and it pauses when i leave like normal.
โพสต์ดั้งเดิมโดย OceanPuddles:
all i changed was the name to be easier to find. left the rest alone, made sure my windows firewall wasnt blocking anything KAG related, its all open. not quite sure what you mean by port forwarding everyone keeps mentioning. whenever someone finds my server and tries to connect it says CONNECTION FAILED PLEASE CHECK THE ADDRESS AND AMKE SURE THE SERVER IS RUNNING. i assume its running while im IN it, even the command console for the server says ive joined it and it pauses when i leave like normal.
Port forwarding means opening a port on your router, that allows people to connect through it. Google it. Without port forwarding port 50301 no one will be able to connect
< >
กำลังแสดง 1-15 จาก 47 ความเห็น
ต่อหน้า: 1530 50

วันที่โพสต์: 10 ม.ค. 2016 @ 5: 40am
โพสต์: 47

ดูกระดานสนทนาเพิ่มเติม