1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. 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

Can someone help me make a server

Discussion in 'Server Help' started by Whale, Jul 17, 2012.

  1. Whale

    Whale Impervious Donator

    Messages:
    28
    I have been trying to make a zombie server for my friend and I and i can't seem to figure out how to portforward
    Can someone please help me accomplish what i really want to get done?
    </br>--- merged: Jul 17, 2012 4:34 AM ---</br>
    i've got the portforwarding finished but now i get an api call failed

    Api call failed: cURL Error in putStatus(): Couldn't Connect to server

    this is on windows by the way
    </br>--- merged: Jul 17, 2012 7:57 PM ---</br>
    anyone. please can you assist me? :(
     
  2. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Please run the following commands in cmd.exe (the windows command shell) and paste their output here:
    route print
    ping api.kag2d.com
    ping -4 api.kag2d.com
    ping -6 api.kag2d.com
    ipconfig /all


    Thanks
     
    FG and Froghead48 like this.
  3. Whale

    Whale Impervious Donator

    Messages:
    28
    i put in all the commands but how can i copy and paste them?
    </br>--- merged: Jul 18, 2012 6:27 PM ---</br>
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Users\Johnny>route print
    ===========================================================================
    Interface List
    12...44 1e a1 c8 e6 c4 ......Realtek PCIe FE Family Controller
    11...60 d8 19 1a 5d f1 ......Ralink RT5390 802.11b/g/n WiFi Adapter
    13...7a 79 05 df 14 58 ......Hamachi Network Interface
    1...........................Software Loopback Interface 1
    17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
    19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
    15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
    18...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
    ===========================================================================

    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 5.0.0.1 5.223.20.88 9256
    0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.2 20
    0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.3 30
    5.0.0.0 255.0.0.0 On-link 5.223.20.88 9256
    5.223.20.88 255.255.255.255 On-link 5.223.20.88 9256
    5.255.255.255 255.255.255.255 On-link 5.223.20.88 9256
    127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
    127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
    127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
    192.168.0.0 255.255.255.0 On-link 192.168.0.2 276
    192.168.0.0 255.255.255.0 On-link 192.168.0.3 286
    192.168.0.2 255.255.255.255 On-link 192.168.0.2 276
    192.168.0.3 255.255.255.255 On-link 192.168.0.3 286
    192.168.0.255 255.255.255.255 On-link 192.168.0.2 276
    192.168.0.255 255.255.255.255 On-link 192.168.0.3 286
    224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
    224.0.0.0 240.0.0.0 On-link 192.168.0.2 276
    224.0.0.0 240.0.0.0 On-link 5.223.20.88 9256
    224.0.0.0 240.0.0.0 On-link 192.168.0.3 286
    255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
    255.255.255.255 255.255.255.255 On-link 192.168.0.2 276
    255.255.255.255 255.255.255.255 On-link 5.223.20.88 9256
    255.255.255.255 255.255.255.255 On-link 192.168.0.3 286
    ===========================================================================
    Persistent Routes:
    Network Address Netmask Gateway Address Metric
    0.0.0.0 0.0.0.0 5.0.0.1 Default
    ===========================================================================

    IPv6 Route Table
    ===========================================================================
    Active Routes:
    If Metric Network Destination Gateway
    1 306 ::1/128 On-link
    18 58 2001::/32 On-link
    18 306 2001:0:4137:9e76:340e:e:bb32:2ab5/128
    On-link
    13 276 2620:9b::/96 On-link
    13 276 2620:9b::5df:1458/128 On-link
    12 276 fe80::/64 On-link
    13 276 fe80::/64 On-link
    11 286 fe80::/64 On-link
    18 306 fe80::/64 On-link
    18 306 fe80::340e:e:bb32:2ab5/128
    On-link
    11 286 fe80::7428:e2ef:dbad:7510/128
    On-link
    12 276 fe80::b199:1171:2586:a392/128
    On-link
    13 276 fe80::e959:81c5:5e8c:d3c3/128
    On-link
    1 306 ff00::/8 On-link
    18 306 ff00::/8 On-link
    12 276 ff00::/8 On-link
    13 276 ff00::/8 On-link
    11 286 ff00::/8 On-link
    ===========================================================================
    Persistent Routes:
    If Metric Network Destination Gateway
    0 4294967295 2620:9b::/96 On-link
    ===========================================================================

    C:\Users\Johnny>ping api.kag2d.com

    Pinging api.kag2d.com [67.23.118.180] with 32 bytes of data:
    Reply from 67.23.118.180: bytes=32 time=62ms TTL=50
    Reply from 67.23.118.180: bytes=32 time=60ms TTL=50
    Reply from 67.23.118.180: bytes=32 time=60ms TTL=50
    Reply from 67.23.118.180: bytes=32 time=61ms TTL=50

    Ping statistics for 67.23.118.180:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 60ms, Maximum = 62ms, Average = 60ms

    C:\Users\Johnny>ping -4 api.kag2d.com

    Pinging api.kag2d.com [67.23.118.181] with 32 bytes of data:
    Reply from 67.23.118.181: bytes=32 time=32ms TTL=50
    Reply from 67.23.118.181: bytes=32 time=32ms TTL=50
    Reply from 67.23.118.181: bytes=32 time=31ms TTL=50
    Reply from 67.23.118.181: bytes=32 time=32ms TTL=50

    Ping statistics for 67.23.118.181:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 31ms, Maximum = 32ms, Average = 31ms

    C:\Users\Johnny>ping -6 api.kag2d.com
    Ping request could not find host api.kag2d.com. Please check the name and try ag
    ain.

    C:\Users\Johnny>ipconfig /all

    Windows IP Configuration

    Host Name . . . . . . . . . . . . : JohnsBaby
    Primary Dns Suffix . . . . . . . :
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No

    Ethernet adapter Local Area Connection:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Realtek PCIe FE Family Controller
    Physical Address. . . . . . . . . : 44-1E-A1-C8-E6-C4
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::b199:1171:2586:a392%12(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.0.2(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Lease Obtained. . . . . . . . . . : Wednesday, July 18, 2012 2:05:00 PM
    Lease Expires . . . . . . . . . . : Wednesday, July 18, 2012 3:05:00 PM
    Default Gateway . . . . . . . . . : 192.168.0.1
    DHCP Server . . . . . . . . . . . : 192.168.0.1
    DHCPv6 IAID . . . . . . . . . . . : 340008609
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-39-CE-8C-60-D8-19-1A-5D-F1

    DNS Servers . . . . . . . . . . . : 65.32.5.111
    65.32.5.112
    NetBIOS over Tcpip. . . . . . . . : Enabled

    Wireless LAN adapter Wireless Network Connection:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Ralink RT5390 802.11b/g/n WiFi Adapter
    Physical Address. . . . . . . . . : 60-D8-19-1A-5D-F1
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::7428:e2ef:dbad:7510%11(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.0.3(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Lease Obtained. . . . . . . . . . : Wednesday, July 18, 2012 2:05:03 PM
    Lease Expires . . . . . . . . . . : Wednesday, July 18, 2012 3:05:03 PM
    Default Gateway . . . . . . . . . : 192.168.0.1
    DHCP Server . . . . . . . . . . . : 192.168.0.1
    DHCPv6 IAID . . . . . . . . . . . : 241227801
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-39-CE-8C-60-D8-19-1A-5D-F1

    DNS Servers . . . . . . . . . . . : 65.32.5.111
    65.32.5.112
    NetBIOS over Tcpip. . . . . . . . : Enabled

    Ethernet adapter Hamachi:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Hamachi Network Interface
    Physical Address. . . . . . . . . : 7A-79-05-DF-14-58
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    IPv6 Address. . . . . . . . . . . : 2620:9b::5df:1458(Preferred)
    Link-local IPv6 Address . . . . . : fe80::e959:81c5:5e8c:d3c3%13(Preferred)
    IPv4 Address. . . . . . . . . . . : 5.223.20.88(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.0.0.0
    Lease Obtained. . . . . . . . . . : Wednesday, July 18, 2012 2:04:59 PM
    Lease Expires . . . . . . . . . . : Thursday, July 18, 2013 2:07:06 PM
    Default Gateway . . . . . . . . . : 5.0.0.1
    DHCP Server . . . . . . . . . . . : 5.0.0.1
    DHCPv6 IAID . . . . . . . . . . . : 427457015
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-16-39-CE-8C-60-D8-19-1A-5D-F1

    DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
    fec0:0:0:ffff::2%1
    fec0:0:0:ffff::3%1
    NetBIOS over Tcpip. . . . . . . . : Enabled

    Tunnel adapter isatap.{5ECC6608-C7DA-4748-B084-048B65E6FAE0}:

    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes

    Tunnel adapter isatap.{AD35507E-9DDA-4283-AE1A-F2851B1BB7B2}:

    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes

    Tunnel adapter isatap.{661681A8-86C5-463A-B487-1A889ACC8D06}:

    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter #3
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes

    Tunnel adapter Local Area Connection* 9:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:340e:e:bb32:2ab5(Preferr
    ed)
    Link-local IPv6 Address . . . . . : fe80::340e:e:bb32:2ab5%18(Preferred)
    Default Gateway . . . . . . . . . :
    NetBIOS over Tcpip. . . . . . . . : Disabled

    C:\Users\Johnny>
     
  4. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Interesting, another hamachi user with API issues. You're now the 3rd person I have encountered with a problem like this.

    Try this command:
    netsh interface ipv6 uninstall

    Notes:
    - It may require a reboot
    - You may need to run it in a cmd shell that is run as administrator (right click on cmd and run as administrator)
     
  5. Whale

    Whale Impervious Donator

    Messages:
    28
    it says that there is no command for interface ipv6 uninstall
    is there something that i did wrong?
     
  6. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    ok, try these instead

    netsh interface teredo set state disabled
    netsh interface ipv6 6to4 set state state=disabled undoonstop=disabled
    netsh interface ipv6 isatap set state state=disabled
     
  7. Whale

    Whale Impervious Donator

    Messages:
    28
    This is what i got

    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.

    C:\Windows\system32>netsh interface teredo set state disabled
    Ok.


    C:\Windows\system32>netsh interface ipv6 6to4 set state state=disabled undoonsto
    p=disabled
    Ok.


    C:\Windows\system32>netsh interface ipv6 isatap set state state=disabled
    Ok.


    C:\Windows\system32>
     
  8. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    try running the server again now

    edit: also what version of windows are you on?
     
  9. Whale

    Whale Impervious Donator

    Messages:
    28
    it still did not work here is what happened when i ran the server


    C:\KAG>echo "TO SET IP/PORT/SLOTS/PASSWORD ADD THESE COMMAND PARAMS: ip 127.0.0.
    1 port 50213 slots 32 password pass123"
    "TO SET IP/PORT/SLOTS/PASSWORD ADD THESE COMMAND PARAMS: ip 127.0.0.1 port 50213
    slots 32 password pass123"

    C:\KAG>KAG.exe nolauncher noautoupdate autostart Scripts/dedicated_autostart.gm
    autoconfig Scripts/dedicated_autoconfig.gm
    Running without AutoUpdate
    PID: 6136
    Starting in directory: C:\KAG
    Changed directory to: KAG.exe
    Missing language file or wrong language file version.
    Engine (build: 422 version: 0.95A)
    Running without Launcher

    ____________________________________________________NO AUTOUPDATE ______________
    ___________________________

    Loading library...
    Using file 'Base/Juxta.dll'
    Library loaded...
    APP GameDLLInit

    Game DLL initialized.
    Changing game working directory to 'KAG.exeBase/'
    Missing language file or wrong language file version.
    [15:40:13] Config loaded from 'Scripts/dedicated_autoconfig.gm'
    [15:40:13] * Config loaded from 'Scripts/config.gm'
    [15:40:13] Loading security from Base/Scripts/securitysetup.cfg
    [15:40:13] Whitelist inactive.
    [15:40:13] Blacklist empty.
    [15:40:13] Creating video device...
    [15:40:13] Checking driver support...
    [15:40:13] Initializing new video device...
    [15:40:13] Irrlicht Engine version 1.8.0-alpha
    [15:40:13] Microsoft Windows 7 Home Premium Edition Service Pack 1 (Build 7601)
    [15:40:13] Joystick support is enabled and 0 joystick(s) are present.
    Game version 428
    [15:40:13] Precaching files...
    Precaching files.
    [15:40:13] ...Precaching files.
    [15:40:13] Loading config defines Scripts/defines.cfg
    [15:40:13] Creating world from file ''
    [15:40:13] Loading names from Scripts/NameGen_OldEnglish.cfg...
    [15:40:13] Server created on :50301
    [15:40:14] Server is identified as to the API as 68.205.213.74
    [15:40:14] Server activated.
    [15:40:14]

    * GOLD SERVER OPTION ON FOR ZOMBIE FORTRESS *


    [15:40:14] Loading game rules from Rules/Zombie_Survival/gamemode.cfg...
    [15:40:14] Loaded team 0 'GUI/emblem1.png'
    [15:40:14] Loaded team 0 class 0 'GUI/builder_icon.png'
    [15:40:14] Loaded team 0 class 1 'GUI/archer_icon.png'
    [15:40:14] Loaded team 0 class 2 'GUI/knight_icon.png'
    [15:40:14] Loaded team 1 'GUI/emblem2.png'
    [15:40:14] Loaded team 1 class 0 'GUI/builder_icon.png'
    [15:40:14] Loading blob config from Entities/Actors/Bison.cfg...
    [15:40:14] Loading blob config from Entities/Actors/Greg.cfg...
    [15:40:14] Loading blob config from Entities/Actors/Migrant.cfg...
    [15:40:14] Loading blob config from Entities/Actors/Skeleton.cfg...
    [15:40:14] Loading blob config from Entities/Actors/Wraith.cfg...
    [15:40:14] Loading blob config from Entities/Actors/Zombie.cfg...
    [15:40:14] Loading blob config from Entities/Actors/ZombieKnight.cfg...
    [15:40:14] Loading blob config from Entities/Effects/Light.cfg...
    [15:40:14] Loading blob config from Entities/Items/Boulder.cfg...
    [15:40:14] Loading blob config from Entities/Items/Crate.cfg...
    [15:40:14] Loading blob config from Entities/Items/Keg.cfg...
    [15:40:14] Loading blob config from Entities/Items/Lantern.cfg...
    [15:40:14] Loading blob config from Entities/Items/Rope.cfg...
    [15:40:14] Loading blob config from Entities/Items/TreasureChest.cfg...
    [15:40:14] Loading blob config from Entities/Managers/ZombieDirector.cfg...
    [15:40:14] Loading blob config from Entities/Rooms/CTF_Room.cfg...
    [15:40:14] Loading blob config from Entities/Rooms/FullCTF_Room.cfg...
    [15:40:14] Loading blob config from Entities/Rooms/Portal.cfg...
    [15:40:14] Loading blob config from Entities/Rooms/Sandbox_Room.cfg...
    [15:40:14] Loading blob config from Entities/Rooms/Zombie_Room.cfg...
    [15:40:14] Loading blob config from Entities/Structures/Door.cfg...
    [15:40:14] Loading blob config from Entities/Structures/Pulley.cfg...
    [15:40:15] Generating map from seed 9210; size 37500 bytes
    ................................................................................
    .........................[15:40:17] Loaded zombies default config
    [15:40:17] Config finished loading from Scripts/Server/dedicated_autostart.gm
    [15:40:17] *Match Ended*
    [15:40:17] Map saved to memory
    [15:40:17] WARNING: API call failed: cURL Error in putStatus(): Couldn't connect
    to server
    [15:40:18] WARNING: API call failed: cURL Error in putMinimapPNG(): Couldn't con
    nect to server
    [15:40:20]
    [15:40:20] *** RCON password is not set, you won't be able to remotely administr
    ate the server
    [15:40:20]
    [15:40:20]
    [15:40:20] ********* WARNING *********
    [15:40:20]
    [15:40:20] sv_allow_globals_mods is set to 1. This means GLOBAL GUARDS AND ADMIN
    S can administer your server and kick players to help prevent griefing. If you d
    o not accept this, please turn this variable to 0.
    [15:40:20]
    [15:40:20] Server variables can be changed in Base/Scripts/dedicated_autoconfig.
    gm (by default)
    [15:40:27] WARNING: API call failed: cURL Error in putStatus(): Couldn't connect
    to server
     
  10. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    what version of windows are you on?
     
  11. Whale

    Whale Impervious Donator

    Messages:
    28
    windows 7 64 bit does that have something to do with why i can't run a server?
     
  12. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    nope, I'm just working on reproducing the issue so I can hopefully solve it.


    Would you be open to allowing me to do a screen sharing/remote control session with you at some point? This way I can do a lot of troubleshooting firsthand instead of talking you through lots of additional steps
     
  13. Whale

    Whale Impervious Donator

    Messages:
    28
    sure i have teamviewer if that would be a good thing to use, plus i would really like to get this solved aswell
     
  14. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Ok, contact me via one of these means:
    gtalk: flieslikeabrick@gmail.com
    AIM: flieslikeabrick
    IRC: flieslikeabrick on irc.quakenet.org #kag
     
  15. Whale

    Whale Impervious Donator

    Messages:
    28
    alright im on now
    </br>--- merged: Jul 18, 2012 9:38 PM ---</br>
    the irc that is.
     
  16. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    This turned out to be due to some weird behavior in one of the libraries we use (libcurl). It autodetected his outgoing IP address as 127.0.0.1 which is clearly incorrect.

    I have added a workaround which helps with this - I suspect this only impacts windows users with hamachi, there must be some way that hamachi is interfering with how that is detected.

    It is not due to IPv6 or any of the IPv6 transition mechanisms at all (I put that here mostly for people who come here from google and go 'zomg look IPv6 breaks shit, gotta disable it!' - don't do it )

    Major thanks to DarcLightz for being patient and working with me to test out some custom builds to identify the issue. I will need to talk to some libcurl developers to identify the cause of this unexpected behavior.

    A hotfix is pushed out for this, since I know at least 2 other people that were having this problem.