1. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

KAG KAG beta server set up

Discussion in 'Server Help' started by meissner61, Jul 29, 2013.

  1. meissner61

    meissner61 Shipwright

    Messages:
    6
    Can anyone walk me through starting a server to play with my friend? Explained like I was 5 please. thank you
     
  2. jackitch

    jackitch :(){ :|: & };: Global Moderator Donator Tester
    1. SharSharShar - [SHARK]

    Messages:
    249
    Did you read the 'Read Me First' stickied threads in the Server Help Subforum? If not, please read them. Since I have to assume you'll be using your own pc, read this one. Then, once you've read it, please post here again if you need more help, explaining in detail where you're getting stuck.
     
  3. kaizokuroof

    kaizokuroof Agkubuk|'Kaizokuroof' Cilobakil, Roofpointy Global Moderator Forum Moderator Donator Tester
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    909
    Hello,

    Certainly, there are already a few guides made by some of the Guard/Moderators of the forums, that are fairly newbie friendly, are you running Windows or Linux or the worst, OsX?

    Here is Downbursts guide for Linux/Ubuntu

    Here is Jackitch's guide for Windows OS

    In the future, please read the stickies! These guides are fairly easy to follow, however if you have any problems you can ask in the threads above or post here again, for more detailed instructions for whatever you're stuck with :)

    And btw, your first post! Welcome to KAG :3

    ~~~~~ Ninja'd ~~~~ :3
     
  4. meissner61

    meissner61 Shipwright

    Messages:
    6
    i have read all of those posts. I would also like to add that I have entirely turned off my firewall for testing purposes to make sure that doesnt interfere with port blocking. server still wont show up. I start the dedicated server bat then press play. CMD screen pops up and updates like every 5 seconds saying the same thing like spawning trader. Then I start KAG.exe go on multiplayer section and do not see my server anywhere
    </br>--- merged: Jul 29, 2013 4:44 AM ---</br>
    i should add - I can connect to the server by using direct connect option. But I believe thats just a local server and not necessarily on the internet.
     
  5. kaizokuroof

    kaizokuroof Agkubuk|'Kaizokuroof' Cilobakil, Roofpointy Global Moderator Forum Moderator Donator Tester
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    909
    Have you checked to see if your router is allowing the ports you set? If you have not altered the dedicated server settings, you'll need to allow 50301 and 50328

    If you want to change this, open up autoconfig.cfg in the root of your KAB directory and edit lines 71 and 72 for your desired port:

    sv_port = 50301 # Server communication port, this is where it listens for incoming clients. Remember to open this port in your firewall.
    cl_port = 50328 # Client communication port.

    You'll need these open with both UDP and TCP

    and just so you're aware, a lot of the stuff is commented in the files, so all you need to do is start opening files and reading :D It's hella confusing at first, but you'll get there!

    Again, if you continue to have problems let me know :)
     
  6. meissner61

    meissner61 Shipwright

    Messages:
    6
    so allowing the ports through the firewall and my router are two different things?
     
  7. jackitch

    jackitch :(){ :|: & };: Global Moderator Donator Tester
    1. SharSharShar - [SHARK]

    Messages:
    249
    Yes, you'll also have to type your router's IP into your browser address bar and login using the default account credentials. Once in, you'll have to find the section that lets you modify the router's firewall rules, and add the ports that Kaizo specifies above. Once that's done, you should be good to go.
     
  8. kaizokuroof

    kaizokuroof Agkubuk|'Kaizokuroof' Cilobakil, Roofpointy Global Moderator Forum Moderator Donator Tester
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    909
    To expand on what Jackitch has said, remember you have two IP address on your network, you have your LOCAL address, which is the IP address that your Router assigns and then your ISP provided IP address, that lets you access the internet.

    You can find out your LOCAL IP address, by opening up command prompt Start -> Run -> Type "CMD" hit Enter and in the black box that appears on your screen, type: "ipconfig"

    in the information listed, you will need the following:

    IPv4 address: This will be your local address, usually something like 192.168.0.X where X is a number, for all the above steps I'm assuming you're running a Dynamic network.

    In your router, find your port forwarding section and type the ipv4 address where needed and specify the ports in both UDP and TCP. (there will be two entries in most case, both ports need BOTH UDP and TCP)

    *All text in quotations, should be type WITHOUT the quotation marks
    *Also, if you're not sure how to find your router IP (to type in the browser to log in) it's listed under ipconfig, as your default gateway
     
    Gurin likes this.
  9. meissner61

    meissner61 Shipwright

    Messages:
    6
    allright then, Sorry for being so thick but networking has never really been a strong point for me. HERE is where i am at in forwarding those ports through the router.
    First off do I use the single or port range tab? Also what is the internal and external ports and which ones should I use.
    And why wont it let me change the "to IP address" I try to change that last 0 to 1 so that it matches my default gateway and it wont let me.
     
  10. Kouji

    Kouji Cold, Uncaring, Sadistic, Evil and Cruel Meanie Administrator Global Moderator Forum Moderator Tester
    1. MOLEing Over Large Estates - [MOLE]
    2. REKINS OF SEAS: Super Crew of Ultimate Havoking 2: Return of King of KAG: Chapter 420blazeit - REKIN

    Messages:
    2,910
    The only port you need to open for your router is 30501 tcp/udp (assuming you haven't changed the port in your server set up configs, otherwise it'd be the port you used for your server). If you can't choose both as an option, then make two exceptions, with one being udp, and the other being tcp.
    As far as internal IP goes, that's the internal IP of YOUR computer, not the router. So it'll probably be some number between 192.168.1.2 - 192.168.1.11 (or higher depending on how many things you have connected to your router).

    Anyways, to find your IP, type cmd in the search box from the start menu and run the command prompt. IP config and look for your WiFi card. Use your IPv4 Host Address, don't use the subnet mask or default gateway.
     
  11. kaizokuroof

    kaizokuroof Agkubuk|'Kaizokuroof' Cilobakil, Roofpointy Global Moderator Forum Moderator Donator Tester
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    909
    Failing all that, get on the IRC by clicking this link: ---------------> https://forum.kag2d.com/pages/irc/

    And ask for help there, lots of people idle in the chat and should be able to help you in real time :)))
     
  12. meissner61

    meissner61 Shipwright

    Messages:
    6
    Sorry dont you mean 50301?
     
  13. kaizokuroof

    kaizokuroof Agkubuk|'Kaizokuroof' Cilobakil, Roofpointy Global Moderator Forum Moderator Donator Tester
    1. PumpkinStars - [Pk#] - Inactive

    Messages:
    909
    Really, it could be any port - It just has to be the same one as per your KAB/autoconfig.cfg

    Open up that file and find the line 71

    sv_port = 50301 # Server communication port, this is where it listens for incoming clients. Remember to open this port in your firewall.

    What ever sv_port = XXXXX is, open that port for both TCP and UDP
     
  14. meissner61

    meissner61 Shipwright

    Messages:
    6
    Hey folks I am still having some issues with this. Here is where I am at right now, does this look right?

    http://imgur.com/7K3huQm
     
  15. VanHuek

    VanHuek KAG Guard Tester

    Messages:
    751
    That does look right, add to install as well but also add 50328 below. You can test with www.canyouseeme.org and make sure you it is open (mine is open but it fails for some reason). The other thing is make sure your IP is static, so it doesn't change.