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

Windows How do I create a server

Discussion in 'Server Help' started by sesalpinogamer, Aug 19, 2013.

  1. sesalpinogamer

    sesalpinogamer Haxor

    Messages:
    12
    I bought the premium acount and now i want to create a server but i don't know how to do it,i will create a server:
    -Zombie Fortress
    -Custom Maps
    -Custom Blocks
    -Custom Classe
    If just help to create a normal zombie fortress mod i ok ;).
     
  2. kaizokuroof

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

    Messages:
    909

    Hiya, Classic KAG zombies is very easy to setup - I'll only run you through the basics, as that's all I really know, adding custom maps is a little bit more tricky, if I recall correctly, you can't just load png maps for zombies, something about them breaks it (some one feel free to correct me)

    Custom blocks is also tricky, you can only really work with what is already available in classic KAG (The beta version changes this, sadly classic will never really be mod friendly)

    Anywho, for a deafult zombie server, you will need to do the following:

    Edit the following files:
    /KAG/Base/Scripts/dedicated_autoconfig.gm

    and change:
    sv_gold_only = 0
    to:
    sv_gold_only = 1


    /KAG/Base/Scripts/dedicated_autostart.gm

    - Change the global switch to 3 (for zombies mode)
    Code:
    // autostart on dedicated server launch
     
     
    //set autostartswitch to:
    //    0 for CTF
    //    1 for TDM
    //    2 for Sandbox
    //    3 for Zombies
    //    4 for RTDM
    //  10 for TEST
     
    global autostartswitch = 3;
     
    newWorld( "" );
    switchGameState(0);
     
    startServer();
     
    if (autostartswitch == 0) //ctf
    {
        LoadRules("Rules/CTF/gamemode.cfg");
        LoadMapCycle( "Scripts/mapcycle.cfg" );
        LoadMap( "" );
        print(`Loaded CTF default config`);
    }
    else if (autostartswitch == 1) //tdm
    {
        LoadRules("Rules/TDM/gamemode.cfg");
        LoadMapCycle( "Scripts/mapcycle.cfg" );
        LoadMap( "" );
        print(`Loaded TDM default config`);
    }
    else if (autostartswitch == 2) //sandbox
    {
        LoadRules("Rules/Sandbox/gamemode.cfg");
        LoadMapCycle( "Scripts/mapcycle.cfg" );
        LoadMap( "" );
        print(`Loaded TDM default config`);
    }
    else if (autostartswitch == 3) //zombies (GOLD ONLY - SET sv_gold_only = 1; in dedicated_autoconfig.gm)
    {
        LoadRules("Rules/Zombie_Survival/gamemode.cfg");
        LoadMapCycle( "Rules/Zombie_Survival/ZombieMapCycle.cfg" );
        LoadMap( "" );
     
        print(`Loaded zombies default config`);
    } else if (autostartswitch == 4) //rtdm
    {
        LoadRules("Rules/RTDM/gamemode.cfg");
        LoadMapCycle( "Rules/RTDM/RTDMMapCycle.cfg" );
        LoadMap( "" );
        print(`Loaded RTDM default config`);
    }else
    if (autostartswitch == 10) //test
    {
        LoadRules("Rules/TEST/gamemode.cfg");
        LoadMapCycle( "Scripts/mapcycle.cfg" );
        LoadMap( "" );
        print(`Loaded TEST default config`);
    }
     
    print(`Config finished loading from Scripts/Server/dedicated_autostart.gm`);


    Once you've done the above, you'll need to configure your ports to allow people to connect to your server.. You will also need to configure your seclevs, server password, your server launching script and probably some other stuff I can't think of right now. Detailed instructions on what I've been over and what I HAVENT explained is found here: https://doc.kag2d.com/wiki/Server

    If you have any problems, post them here and people can throw their two cents in, the wiki has all you need though! Good luck friend!
     
    jcjc012, Eterion and Gurin like this.
  3. jcjc012

    jcjc012 Ballista Bolt Thrower

    Messages:
    8
    thanks i needed this too but to create a rtdm server
     
    kaizokuroof likes this.