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

Connection problems.

Discussion in 'Server Help' started by MCrypa, Apr 1, 2012.

  1. MCrypa

    MCrypa Haxor

    Messages:
    562
    The problem is:
    Me and my brother (risp) can join my server as we share the same network, but others can't? :S
    I used to get like "Disconnected from master server" before I joined the server (In the console)
    I can see it in the server lists, and so can others. I can also see the connection bars.

    Solutions? :S :shad:
     
  2. Teemo

    Teemo T͔̕e͖͚̖̯̩̪͙͝e͡m̖o̤̪͘ Forum Moderator Donator Tester

    Messages:
    244
    You're not open to the world, forward your stuff :shad:
     
  3. MCrypa

    MCrypa Haxor

    Messages:
    562
    I've opened ports, forwarded them at my routers site already. I opened the ports in my firewall. I'm not sure what I should do at this point :S

    Ps: Vacation, not coming back in 5 days.
     
  4. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Have you had anyone else try to join your server?
     
  5. MCrypa

    MCrypa Haxor

    Messages:
    562
    Yes, they couldn't join :S
    Is there a specific thing I have to turn on or?
     
  6. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Can you post a screenshot here of the settings you changed in your router (for port forwarding)?
     
  7. MCrypa

    MCrypa Haxor

    Messages:
    562
  8. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    They need to be UDP, not TCP
     
  9. MCrypa

    MCrypa Haxor

    Messages:
    562
    Really? :O
    Took tcp cause its got better quality.
     
  10. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    The TCP or UDP choice is made by the developers, not by the users (with 99% of applications). So you need to use set there what the program uses, and with 99% of games that is UDP.

    Please post back here after you try it, let us know if switching to UDP works :)
     
  11. MCrypa

    MCrypa Haxor

    Messages:
    562
    Nope.
    I can send you the configs if you want them.

    global g_debug = 0; // Sets the level of debug information (0 - none).
    global g_precache = 1; // Are resources preloaded at game start?
    global k_rendersync = 0; // Sync rendering FPS with game ticks ~ 30FPS
    global g_sort = 0; // Type of sorting in the servers browser
    global m_width = 400; // Map generator width
    global m_height = 230; // Map generator height
    global m_seed = 0; // Map generator seed. Pick a random number.
    global m_generator = ``; // Map generator file config.
    global g_kickvote_percent = 51; // Percentage of players needed for a kick vote to pass.
    global g_mapvote_percent = 51; // Percentage of team players needed for a map vote to pass.
    global g_vote_time = 60; // How long (in seconds) does the voting take place.
    global g_kickvote_bantime = 10; // How long (in minutes) is the player banned after a kick vote.
    global auth_autologin = 0; // Should authentication be automatic on game start with saved password.
    global auth_login = `test`; // Portal authentication login
    global auth_remember = 0; // Portal authentication remembered
    global n_graph = 0; // Shows the network activity graph.
    global n_log = 0; // Saves the session network data to a file.
    global n_filechunk = 8192; // Max amount of file sent every packet (in bytes).
    global v_bpp = 32; // Requires v_restart to take effect.
    global v_driver = 0; // Rendering driver (0 - null, 1 - software, 2 - software+, 5 - ogl).
    global v_vsync = 0; // Vertical synchronization of video with monitor.
    global v_showfps = 0; // Show the current FPS on screen.
    global v_showminimap = 1; // Show minimap or not. Might solve performance issues.
    global g_playerlistkey = 9; // The key used for showing the players list.
    global g_screenshotkey = 115; // The key used for taking screenshots.
    global g_reportbugkey = 116; // The key used for sending screen bug reports.
    global g_tutorialkey = 112; // The key used for showing help.
    global v_postprocess = 0; // Use fullscreen post processing effects.
    global v_fastrender = 0; // Degrades visual quality for speed
    global v_smoothsprites = 0; // Uses a filter to smoothen sprite pixels
    global v_smoothmap = 0; // Uses a filter to smoothen map pixels
    global v_screenshotquality = 99; // screenshotquality 92
    global v_drawhud = 1; // v_drawhud 1
    global g_smallhud = 0; // Uses smaller HUD scaling.
    global g_fixedcamera = 1; // Uses a fixed camera on player. Disabling this makes the camera Soldat-like.
    global c_dimension_x = 1; // Width of console in percents of screen.
    global c_dimension_y = 0.9; // Height of console in percents of screen.
    global c_bgshow = 1; // Draws background of console.
    global c_fontfile = `GUI/Fonts/commodore.png`; // Sets the font file of the console.
    global c_bgcolor_a = 255; //
    global c_bgcolor_r = 11; //
    global c_bgcolor_g = 24; //
    global c_bgcolor_b = 147; //
    global c_fontcolor_a = 255; //
    global c_fontcolor_r = 109; //
    global c_fontcolor_g = 136; //
    global c_fontcolor_b = 237; //
    global c_linespacing = 1; // Space between lines in console.
    global c_indent = 1; // Left indentation of messages in console.
    global c_key = 192; // The key for opening and closing the console.
    global c_prompt = ``; // Sets the command prompt text.
    global c_history_size = 20; // Number of console commands stored in history.
    global c_halign = 2; // Horizontal alignment of console 0-left, 1-center, 2-right.
    global c_valign = 0; // Vertical alignment of console 0-top, 1-middle, 2-bottom.
    global cc_linespacing = 1; // Space between lines in console.
    global cc_indent = 8; // Left indentation of messages in console.
    global cc_key = 84; // The key for opening and closing the chat.
    global cc_key_team = 89; // The key for opening and closing the chat in team mode.
    global cc_history_size = 25; // Number of console commands stored in history.
    global cc_valign = 0; // Vertical alignment of console 0-top, 1-middle, 2-bottom.
    global cc_killfeed = 0; // Show kill feed in chat console?
    global u_transparency = 255; // Transparency of the game interface.
    global u_showtutorial = 1; // Show controls tutorial
    global u_shownames = 0; // Show team member names above head
    global u_showpremium = 1; // Show premium help
    global u_agreedterms = 0; // Agreed to terms
    global s_soundon = 1; // Determines if the sound engine starts or not. Requires restart to turn sound on/off.
    global s_volume = 1; // Sets the overall sound volume.
    global s_effects = 1; // Use sound effects or not.
    global s_system = 0; // Sets the sound system (0 autodetect;1 DirectSound 8; 2 DirectSound;3 Win MM; 4 ALSA; 5 Core Audio;6 No sound.
    global n_disconnectwait = 1000; // The time to wait before truly closing the communication.
    global sv_maxplayers = 10; // Maximum number of players allowed ingame.
    global sv_ip = `192.168.10.112`; // Server communication IP, this is where it listens for incoming clients. This is the IP clients can connect to. Set to 0 for automatic detection.
    global sv_port = 50301; // Server communication port, this is where it listens for incoming clients. Remember to open this port in your firewall.
    global cl_port = 50328; // Client communication port.
    global n_master_ip = `master.kag2d.com`; // Master server IP address.
    global n_master_port = 51308; // Master server connection port.
    global sv_password = ``; // Sets the server password.
    global sv_rconpassword = `CENSORE`; // Sets the server remote console password.
    global sv_require_auth = 1; // If set to 1 server checks client authentication via master server.
    global sv_gold_only = 0; // If set to 1 only premium account players can join (aka Gold Server).
    global sv_allow_globals_mods = 1; // If set to 1 global KAG moderators and admins can kick/ban players on server.
    global sv_deltapos_modifier = 1; // Controls the threshold for delta packet updating. Value higher than 1 will reduce bandwidth, lower increase.
    global sv_compression = 1; // Compress network data or not. Disabling compression may improve performance. DO NOT change this while running the server!
    global cl_name = `Peasant`; // Sets the players name.
    global cl_clantag = ``; // Sets the players clan name.
    global cl_class
    num = 0; // Sets the players class number.
    global cl_team = 0; // Sets the players team number.
    global cl_sex = 0; //
    global cl_head = 255; //
    global cl_hat = 0; //
    global cl_joinaddress = `127.0.0.1:50301`; // Client only! Join address for the GUI box in menu.
    global cl_password = ``; // GUI: Join password.
    global sv_maxping = 350; // Max ping allowed on server after which player is kicked. Large ping players will slow down server.
    global sv_maxping_warnings = 300; // Because of ping spikes, warnings are issued if a player has ping over max number.
    global sv_maxhack_warnings = 25; // Maximum amount of warnings where server thinks player is hacking.
    global sv_alloweditor = 1; // If set to 1 players that have RCON can start map editor on server
    global sv_name = `Broth TDM`; // Sets the server name displayed in server browser.
    global sv_info = `Enjoy!`; // Sets the server info displayed in server browser.
    global auth_key = ``; // Unlock key
    print(`Config loaded from 'Scripts/dedicated_autoconfig.gm'`);
     
  12. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    change sv_ip to `` (blank)
     
  13. MCrypa

    MCrypa Haxor

    Messages:
    562
    Now I can't join my server :S
     
  14. 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
    You need to directly connect instead
     
  15. MCrypa

    MCrypa Haxor

    Messages:
    562
    I'm not sure about what the servers ip address, so I just typed :50301
    But I want other people to be able to join as well :P
     
  16. 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
    If you run the server off of the computer you are using computer, you yourself to have use the "connect to..." button. Other people can still join via the server browser though.
     
  17. MCrypa

    MCrypa Haxor

    Messages:
    562
    :O Okay
    Edit: they still cant join :\
     
  18. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Right, you should really join your own server using the local 192.168.x.x IP address.

    The IP address you have in your port forwarding was 192.168.10.108 and the IP address in the config was 192.168.10.112 ... are you sure you don't have your addresses mixed up somewhere?

    What's the name or IP address of your server? I'll try joining it.
     
  19. MCrypa

    MCrypa Haxor

    Messages:
    562
    Name is Broth TDM
    The ipadress is the ipv4 but I have a different ip address if I use a ip checking website.

    Edit: God.. I think my ipv4 changed or something :l
    Edit2: Oh it worked :D I think I misstyped. :P Thanks a lot! :)
     
  20. Taien

    Taien Catapult Fodder

    Messages:
    1
    They should add the fact that the ports have to be UDP to the wiki. Had the same problem until I read this. :p