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

How to make a server on Win7?

Discussion in 'General Help' started by Rooness, Dec 24, 2011.

  1. Rooness

    Rooness Shipwright

    Messages:
    9
    Hello guys, first sorry for my English- it's not perfect.

    I have a question, can you help me make a server on Win7? I was looking for a long time for any informations that would help me, but I didn't find any...

    This tutorial didn't help me very much because I still don't know how to set a proper IP.

    http://kagwiki.com/wiki/Server

    I don't know if it's even possible to make server by using Hamachi and where should I input my Hamachi's IP? If anyone could paste here an example of server configuration file that would be very helpful.

    I can see my server on Server List, but I just can't join.
     
  2. Furai

    Furai THD Team THD Team Administrator

    Messages:
    3,124
    What about other people, can they join your server? If no - then it could be your firewall not allowing inward traffic.
    Why do you want to run it over hamachi? It works perfectly fine without any tricks like that. Could you paste here in [code][/code] blocks contents of your dedicated_autoconfig.gm script? I would help you with basic configuration - anyway it's dedicated_autoconfig.gm is rather well commented, at least that version of file for windows.

    If the server you're running on your local machine you can just join it by choosing option "connect to" and typing there your localhost address which is usually 127.0.0.1 and port which you've set up in config. Default one is 51308.

    EDIT: Ok, my bad. Well commented file's name is: "autoconfig.gm" - check it out.
     
  3. Rooness

    Rooness Shipwright

    Messages:
    9
    Thank you for your reply, I will try again tomorrow. I will reinstall game and try with new files- now I have no idea what is correct and what is not, because I changed it so many times.

    Edit: I will try run server without firewall too. Maybe that would help, We will see.
     
  4. Furai

    Furai THD Team THD Team Administrator

    Messages:
    3,124
    Catch me in IRC - I'm usually there.
     
  5. Rooness

    Rooness Shipwright

    Messages:
    9
    I really have no idea what should I do. I tried all options... I don't know this text is ok or not:

    PHP:
    global sv_ip = `0`;
    global 
    sv_port 50301;
    global 
    cl_port 50328;
    global 
    n_master_ip = `master.kag2d.com`; // Master server IP address.
    global n_master_port 51308;
    global 
    sv_password = ``;
    global 
    sv_rconpassword = ``;
    global 
    cl_name = ``;
    global 
    cl_classnum 0;
    global 
    cl_team 0;
    global 
    cl_joinaddress = `127.0.0.1:50301`;
    PHP:
    global g_debug 0;
    global 
    g_precache 1;
    global 
    k_rendersync 0;
    global 
    m_width 250;
    global 
    m_height 150;
    global 
    m_seed 0;
    global 
    n_graph 0;
    global 
    n_log 0;
    global 
    n_filechunk 8192;
    global 
    s_soundon 1;
    global 
    s_volume 1;
    global 
    s_effects 1;
    global 
    v_width 1024;
    global 
    v_height 768;
    global 
    v_bpp 32;
    global 
    v_fullscreen 0;
    global 
    v_driver 0;
    global 
    v_vsync 0;
    global 
    v_showfps 0;
    global 
    g_playerlistkey 9;
    global 
    g_screenshotkey 115;
    global 
    g_reportbugkey 116;
    global 
    g_tutorialkey 112;
    global 
    v_smoothsprites 0;
    global 
    v_smoothmap 0;
    global 
    v_screenshotquality 99;
    global 
    c_dimension_x 1;
    global 
    c_dimension_y 0.9;
    global 
    c_bgshow 1;
    global 
    c_fontfile = `GUI/Fonts/commodore.png`;
    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;
    global 
    c_indent 1;
    global 
    c_key 192;
    global 
    c_prompt = ``;
    global 
    c_history_size 20;
    global 
    c_halign 2;
    global 
    c_valign 0;
    global 
    cc_dimension_x 0.4;
    global 
    cc_dimension_y 0.095;
    global 
    cc_bgshow 1;
    global 
    cc_fontfile = `GUI/Fonts/pixel.png`;
    global 
    cc_bgcolor_a 125;
    global 
    cc_bgcolor_r 10;
    global 
    cc_bgcolor_g 10;
    global 
    cc_bgcolor_b 35;
    global 
    cc_linespacing 1;
    global 
    cc_indent 8;
    global 
    cc_key 13;
    global 
    cc_channelkey 163;
    global 
    cc_history_size 25;
    global 
    cc_halign 2;
    global 
    cc_valign 2;
    global 
    u_transparency 255;
    global 
    u_guiconfig = `Scripts/gui.cfg`;
    global 
    u_showtutorial 1;
    global 
    u_shownames 0;
    global 
    n_disconnectwait 1000;
    global 
    sv_maxplayers 8;
    global 
    sv_ip = `0`;
    global 
    sv_port 50301;
    global 
    cl_port 50328;
    global 
    n_master_ip = `master.kag2d.com`; // Master server IP address.
    global n_master_port 51308;
    global 
    sv_password = ``;
    global 
    sv_rconpassword = ``;
    global 
    cl_name = ``;
    global 
    cl_classnum 0;
    global 
    cl_team 0;
    global 
    cl_joinaddress = `127.0.0.1:50301`;
    global 
    cl_password = ``;
    global 
    auth_autologin 0;
    global 
    auth_login = `test`;
    global 
    auth_password = `test`;
    global 
    sv_name = `----TEST PREMIUM SERVER----`;
    global 
    sv_info = `Default config`;
    global 
    w_camera_poslag 3;
    print(`
    Config loaded from 'Scripts/dedicated_autoconfig.gm'`);
     
  6. Furai

    Furai THD Team THD Team Administrator

    Messages:
    3,124
    Did you forward ports on your router?
     
  7. Rooness

    Rooness Shipwright

    Messages:
    9
    I didn't change anything with ports or router. It looks like it's little difficult for ordinary user. I think my dreams about making server won't come true... at least not in the nearest future :D