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

People can't join.

Discussion in 'Server Help' started by WarrFork, Apr 15, 2012.

  1. WarrFork

    WarrFork フォーク Donator Tester

    Messages:
    1,412
    I already know what is the problem but I don't know how to resolve them. :p
    It's the line: global sv_ip = ``;
    I already put 0, nothing and my IP adress from here : http://ip4.me/ (173.176.223.222)

    0 and nothing can start the server but people can't join and with my IP, the server don't start...
    Ports already all open, firewall off (ftw I deleted this (ok I just desactived it completely :rollseyes: ) of my computer years ago)

    Here is my config:
    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 = 0; // Map generator width
    global m_height = 0; // Map generator height
    global m_seed = 0; // Map generator seed. Pick a random number.
    global m_generator = `0`; // Map generator file config.
    global g_kickvote_percent = 45; // Percentage of players needed for a kick vote to pass.
    global g_mapvote_percent = 55; // 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 = 70; // 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 = `0`; // 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 = 0; // 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 = `0`; // 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 = 0; // 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 = 32; // Maximum number of players allowed ingame.
    global sv_ip = ``; // 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 = `here is supposed to have rcon:D`; // 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 = 1; // 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 = 0; // 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 = `1`; // Sets the players clan name.
    global cl_classnum = 0; // Sets the players class number.
    global cl_team = 0; // Sets the players team number.
    global cl_sex = 0; //
    global cl_head = 0; //
    global cl_hat = 0; //
    global cl_joinaddress = `210.237.232.139:50301`; // Client only! Join address for the GUI box in menu.
    global cl_password = `0`; // GUI: Join password.
    global sv_maxping = 1000; // Max ping allowed on server after which player is kicked. Large ping players will slow down server.
    global sv_maxping_warnings = 0; // Because of ping spikes, warnings are issued if a player has ping over max number.
    global sv_maxhack_warnings = 100; // 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 = `[!] WarrFork - Day 'n' Night - Unlimited Life`; // Sets the server name displayed in server browser.
    global sv_info = `Gold server, Keg, Day and Night, new shops.`; // Sets the server info displayed in server browser.
    global auth_key = `0`; // Unlock key
    print(`Config loaded from 'C:\KAG\Base\Scripts\custom_autoconfig.gm'`);
     
    inactive_account likes this.
  2. MCrypa

    MCrypa Haxor

    Messages:
    562
    Did you open the ports as UDP?
    Check if the forwarded ipv4 is the same as your actual ipv4 (That you didn't misstype)
    The sv_ip should be blank (No space, just blank, nothing)

    Then get people to try joining your server (That is not sharing the same network as you are)
    You have to join via "Connect to" with your ipv4:50301

    Also: Remember to edit the dedicated_autostart, game mode, maps etc.

    If nothing works:
    Send me what the server says when you boot it?
    Also send me a pic of your portforwarding settings.
     
  3. WarrFork

    WarrFork フォーク Donator Tester

    Messages:
    1,412
    For me, I join with Connect to and this works. Already asked people to try it and can't join. Already on UDP. sv_ip, already tried blank. dedicated_autostart, game mode and maps are already edited.
    Here is what I have for the ip in file: global sv_ip = ``; (and already tried with a 0)

    [​IMG]
    [18:16:53] Config loaded from 'Scripts/dedicated_autoconfig.gm'
    [18:16:53] Variable g_debug has NULL type
    [18:16:53] * Config loaded from 'Scripts/config.gm'
    [18:16:53] Loading security from Base/Scripts/securitysetup.cfg
    [18:16:53] Whitelist inactive.
    [18:16:53] Blacklist empty.
    [18:16:53] Creating video device...
    [18:16:53] Checking driver support...
    [18:16:53] Initializing new video device...
    [18:16:53] Irrlicht Engine version 1.8.0-alpha
    [18:16:53] Microsoft Windows Vista Business Edition Service Pack 2 (Build 6002)
    [18:16:53] Variable cc_key_team has NULL type
    [18:16:53] Joystick support is enabled and 0 joystick(s) are present.
    [18:16:53] Precaching files...
    [18:16:53] ...Precaching files.
    [18:16:53] Loading config defines Scripts/defines.cfg
    [18:16:53] Creating world from file ''
    [18:16:53] Loading names from Scripts/NameGen_OldEnglish.cfg...
    [18:16:53] *Match Ended*
    [18:16:53] Server created on 0:50301.

    [18:16:53] Server activated.
    [18:16:53] Loading game rules from Rules/CTF/gamemode.cfg...
    [18:16:53] Loaded team 0 'GUI/emblem1.png'
    [18:16:53] Loaded team 0 class 0 'GUI/builder_icon.png'
    [18:16:53] Loaded team 0 class 1 'GUI/knight_icon.png'
    [18:16:53] Loaded team 0 class 2 'GUI/archer_icon.png'
    [18:16:53] Loaded team 1 'GUI/emblem2.png'
    [18:16:53] Loaded team 1 class 0 'GUI/builder_icon.png'
    [18:16:53] Loaded team 1 class 1 'GUI/knight_icon.png'
    [18:16:53] Loaded team 1 class 2 'GUI/archer_icon.png'
    [18:16:53] *Match Ended*
    [18:16:53] Loading blob config from Entities/Actors/Bison.cfg...
    [18:16:53] Loading blob config from Entities/Actors/Greg.cfg...
    [18:16:53] Loading blob config from Entities/Actors/Migrant.cfg...
    [18:16:53] Loading blob config from Entities/Actors/Skeleton.cfg...
    [18:16:53] Loading blob config from Entities/Actors/Wraith.cfg...
    [18:16:53] Loading blob config from Entities/Actors/Zombie.cfg...
    [18:16:53] Loading blob config from Entities/Actors/ZombieKnight.cfg...
    [18:16:53] Loading blob config from Entities/Effects/Light.cfg...
    [18:16:53] Loading blob config from Entities/Items/Boulder.cfg...
    [18:16:53] Loading blob config from Entities/Items/Keg.cfg...
    [18:16:53] Loading blob config from Entities/Items/Lantern.cfg...
    [18:16:53] Loading blob config from Entities/Items/TreasureChest.cfg...
    [18:16:53] Loading blob config from Entities/Managers/ZombieDirector.cfg...
    [18:16:53] Loading blob config from Entities/Rooms/CTF_Room.cfg...
    [18:16:53] Loading blob config from Entities/Rooms/Portal.cfg...
    [18:16:53] Loading blob config from Entities/Rooms/Zombie_Room.cfg...
    [18:16:53] *Restarting Map*
    [18:16:53] *Match Ended*
    [18:16:53] Established connection to master server
    [18:16:56]
    [18:16:56] ********* WARNING *********
    [18:16:56]
    [18:16:56] sv_allow_globals_mods is set to 1. This means GLOBAL GUARDS AND ADMINS can administer your server and kick players to help prevent griefing. If you do not accept this, please turn this variable to 0.
    [18:16:56]
    [18:16:56] Server variables can be changed in Base/Scripts/dedicated_autoconfig.gm (by default)
     
    inactive_account likes this.
  4. MCrypa

    MCrypa Haxor

    Messages:
    562
    Hmm.. It seems that you aren't loading up the configs from dedicated_autostart.gm. I see that you are using "custom_autoconfigs.gm" and most likely "custom_autostart.gm" The server is booting up the configs from the "dedicated_" ones.
    '[18:16:53] Config loaded from 'Scripts/dedicated_autoconfig.gm'
    So try configuring the "dedicated_" ones instead of the custom ones, as the server loads up the dedi.

    If that doesn't work, try opening every port required, individually.
    ex: Start: 50301 End: 50301
    Start: 51308 End: 51308

    Hope this solves your problems.
     
  5. WarrFork

    WarrFork フォーク Donator Tester

    Messages:
    1,412
    Trying all of this, nothing change. :(
     
  6. Teemo

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

    Messages:
    244
    for one, 210.237.232.139 isn't your ip though unsure if it matters



    with your IP in sv_ip, your IP is not actually that -- if you have to port forward, your REAL (according to your computer) ip is something like 192.168.x or 10.x.x.x -- your computer itself has no knowledge of your outside IP if you're behind NAT and can't bind to it as an interface
     
    trelawney likes this.
  7. WarrFork

    WarrFork フォーク Donator Tester

    Messages:
    1,412
    Changed the ''210.237.232.139''. I don't know why this was there..
    For the sv_ip, you mean my ip I taken here http://ip4.me/ isn't the good one ? If not, what I need to take ? I don't really understand the last part you write. :p

    You mean I don't port fowarded well or I need to take another IP ?
     
  8. Teemo

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

    Messages:
    244
    Your computer is 192.168.1.2.
    Your router knows 173.176.223.222.

    173.176.223.222 does not exist on your computer, so it cannot bind to it
     
    inactive_account likes this.
  9. WarrFork

    WarrFork フォーク Donator Tester

    Messages:
    1,412
    You mean I simply can't create a server in any ways with my router ?
     
  10. Skurcey

    Skurcey Catapult Fodder

    Messages:
    86
    google "port forwarding". You need to configure your router so the packets send to it arrive at your PC in your local network. They are drop by default. Dont forget your firewall too
     
  11. MCrypa

    MCrypa Haxor

    Messages:
    562
    Run CMD as admin, use command /ipconfig
    Use the ipv4
     
  12. WarrFork

    WarrFork フォーク Donator Tester

    Messages:
    1,412
    Mhh, did you read the OP ? I'm talking about firewall and ports. Thank you anyway for trying to help me. :)
    </br>--- merged: Apr 18, 2012 11:15 PM ---</br>
    Tried and don't works too. This just change one thing. I can go in my server withtout ''Connect to'' but people still can't join.
     
  13. MCrypa

    MCrypa Haxor

    Messages:
    562
    I didn't mean put sv_ip :p
    Just leave that blank.
    I ment forward the ip?

    PS: I noticed you miss two lines when you boot up the server... Dunno what is the cause thou.