Jump to content

Tech_Support

Member
  • Posts

    427
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Tech_Support

  1. you only needed to do 2 main things

    Edit what FG_Trap said in the main config, mission template= (This is What Loads The Mission.pbo/map)

    remove @Lingor; from start up param -mod= (This is What Loads The MODs!)

    copy over custom files from old .pbo to new .pbo, compare mission.sqm files from both old + new pbo's Merge what you need Edit your trader files and remove Lingor items edit custom scripts remove Lingor items update script/s dir paths if needed check your server side edits if any that about covers it.

  2. On 8/16/2014 at 11:53 PM, HellGamer115 said:

    please read the section that starts with

    
    then in your setpos.txt in the first line add all the vehicles that you are towing and lifting so its like
    !"vehiclename" !"vehiclename" and so on.

    in my first post, this will fix the kick that you get. sorry if this is a bit too late but i had to study for my exams

     

    im not sure if this works with infistar, but you can try and set a exception, i dont know how to set exceptions in infistar since i never used it

     

  3. WAI main config settings

            player_bandit                = -5000;        // this is the amount you declare someone to be a bandit on your server, bandit AI will not attack you if ai_friendly_behaviour is true
            player_hero                    = 5000;            // this is the amount you declare someone to be a hero on your server, hero AI will not attack you if ai_friendly_behaviour is true

            ai_share_info                = true;            // AI share info on player position
            ai_share_distance            = 300;            // distance from killed AI for AI to share your rough position

            ai_kills_gain                = true;            // add kill to bandit/human kill score
            ai_humanity_gain            = true;            // gain humanity for killing AI
            ai_add_humanity                = 50;            // amount of humanity gained for killing a bandit AI
            ai_remove_humanity            = 50;            // amount of humanity lost for killing a hero AI
            ai_special_humanity            = 150;            // amount of humanity gain or loss for killing a special AI dependant on player alignment

    EDIT each mission file....

    inside each mission file change the word "Hero" to "Bandit"  or the other way around you can turn the hero missions into bandit missions or the other way having the desired affect of loss or gain of humanity on kill.

    sounds like this might be your issue check the mission file make sure it is set to "Bandit" so the player gains humanity on kill.

  4.  

    The error is clear inside HiveExt.ini

    Database settings

    [Database]
    ;Hostname or IP of the server to connect to
    ;If you leave this line commented or blank, HiveExt will connect to the OFFICIAL Hive, which requires registration
    ;See support.dayzmod.com for more information on what OFFICIAL Hive means, what are the rules, etc.
    ;If using OFFICIAL hive, the rest of the settings in this section have no effect
    Host = localhost

    ;Currently, only MySQL is supported
    Type = MySQL

    ;Port to connect to. The default is the default listening port of a server of the selected Type
    ;Instead of specifying Port, you can specify Socket and set Value to the socket name
    Port = 3306

    ;Database name to connect to.
    Database = dayz_epoch

    ;Username to connect with
    Username = dayz
    ;Password to authenticate with (default is blank)
    Password = ChangeMe

  5. From A3launcher

    Tips For Server Owners

    • Server side mods containing the word "server" will be ignored by the launcher.
    • The -mod param is formatted correctly.
      (Eg. "-mod=C:\mods\@mod1;C:\mods\@mod2;C:\mods\@mod3;").
    • Ensure the correct ports are open in your firewall.
    • Using too many server side mods can stop the launcher from detecting mod. This is a limitation with the SteamAPI implementation in ARMA.
    • Mod missing? Please goto Discord
  6. On 5/17/2018 at 3:56 AM, Tiwaz said:

    Nope, but now i have... well that was easy. It has been a while since i last hosted anything arma (and it was arma 2), forgot about keys being a thing.

    Thanks for the help.

     

    I can join the server now, but the @epoch still doesn't show up under expansions in the server browser.

    I am also not sure if everything is working correctly. 

     

    When i select "vehicle maintanance" on a vehicle. It gets repaired. Without me even using any ressources.

    Use A3launcher to join your server it will launch the client with the same mods the server is running or will tell you they are missing and download them

    otherwise you need to enable the mods before you browse and join the server using the arma server browser

  7. Adding new trader using Default files

    Unpack pbo with pboManager free to download

    Inside your Server pbo then Traders Folder

    Edit with notepad++ (makes editing easy) free to download

    Edit the file with the same name as the map your running like chernarus11.sqf
    [
        ["Profiteer4",[11449.5,11341,0],34.5259],
        ["RU_Villager3",[7996.1,2899.08,0.669153],86.8589],
        ["Worker3",[4041.62,11668.9,0],24.9128],
        ["CIV_EuroMan01_EP1",[4064.07,11680.1,0],231.007],
        ["RU_WorkWoman5",[4071.99,11676.7,0],206.817],
        ["TK_GUE_Soldier_5_EP1",[4054.22,11664.7,0],62.9967],
        ["CIV_EuroMan02_EP1",[4058.05,11678.7,0],89.8909],
        ["Dr_Hladik_EP1",[6314.1,7791.53,0],217.326],
        ["RU_Functionary1",[12946.3,12766.6,0],194.242],
        ["Woodlander1",[11471.2,11361.2,3.05176e-005],250.154],
        ["RU_WorkWoman1",[11463.9,11351.7,0],261.277],
        ["Rocker4",[11465.5,11354.5,0],310.039],
        ["RU_Citizen3",[11462.3,11366,0],125.74],
        ["Dr_Annie_Baker_EP1",[11472,11370.6,0],208.205],
        ["TK_CIV_Takistani04_EP1",[6321,7794.45,-0.276764],359.642],
        ["RU_Citizen4",[13530.9,6356.74,0],102.758],
        ["RU_Citizen1",[4360.62,2260.98,0],196.699],
        ["Pilot_EP1",[6317.05,7797.92,-0.276825],104.175],
        ["Rita_Ensler_EP1",[6310.78,7794.51,0],245.567],
        ["Worker2",[12061.6,12636.3,0.0569916],19.9271],
        ["GUE_Soldier_MG",[1623.17,7797.79,0],274.599],
        ["RU_Profiteer4",[6300.31,7800.59,0],310.641],
        ["Woodlander3",[6317.99,7789.33,0],229.209],
        ["HouseWife1",[13468.4,5439.58,2.55675],268.259],
        ["Doctor",[4059.44,11660.4,0],24.2669],
        ["GUE_Woodlander2",[6321.04,7781.03,0],9.66389]
    ] call server_spawnTraders;

    Those are what trader Skin and what World Space Location to put Trader on map. (you can use Arma2 map editor to place a trader and get WSL)

    Then you need to do edits in your sql database

    Single Coin Addon uses CfgTraders read from Mission pbo cant really help any more unless we know what kind of traders your running.

  8. Setup a working Epoch server run it, test it. 

    most mods all you have to do is drop the @MODNAME in the server root dir (same dir as @DayZ_Epoch)

    most mods also come with a bikey you will need to copy the new mods key to the Keys folder in the server root dir (where the Epoch bikey is)

    after this is done you need to edit the command line to include the mod you just added

    12 hours ago, Anhor said:

    Try this:

      Hide contents
    
    
    "-mod=@vehicles;@DayZ_Epoch;@DayZ_Epoch_Server"

     

     

    What mods you run on the server make sure you have enabled them on your client before connecting to the server ( dayzlauncher does this for you when you try to join )

    Then you need to add the new vehicles from the mod so find the class names for all the new vehicles find the trader file that has the vehicles and add the new class names or add them to your database if you use database traders.

  9. try this small edit

    private ["_bp","_hempqty","_hasMachete","_findHemp","_countHemp","_playerNear"];
    if (dayz_actioninprogress) exitWith {};
    dayz_actioninprogress = true;
    _hempqty = {_x == "ItemKiloHemp"} count magazines player;
    _hasMachete = "ItemMachete" in items player;
    _findHemp = nearestObjects [player,["fiberplant"],5];
    _countHemp = count _findHemp;
    _playerNear = {isPlayer _x} count (player nearEntities ["CAManBase", 10]) > 1;
    player removeAction s_player_Getweed;
    s_player_Getweed = -1;

    if (_playerNear) exitWith { cutText ["Cannot do this while another player is nearby!","PLAIN"]; };

    if (vehicle player != player) exitWith { cutText ["You cannot do this while in a vehicle!", "PLAIN DOWN"];
        dayz_actioninprogress = false;
    };
    if (_hempqty > 9) exitWith { cutText ["WARNING: You have a max amount of weed in your inventory!", "PLAIN DOWN"];
        dayz_actioninprogress = false;
    };
    if (!_hasMachete) exitWith { cutText ["You need a Machete to do this!", "PLAIN DOWN"];
        dayz_actioninprogress = false;
    };
    if (_countHemp > 0) then {    
        r_interrupt = false;
        player playActionNow "PutDown";
        deleteVehicle (_findHemp select 0);
        _bp = unitBackpack player;
        _bp addMagazineCargoGlobal ["ItemKiloHemp",1];
        cutText ["You collected some precious weed!", "PLAIN DOWN"];
        //[format["%1 Gathered WEED.",name player]] call my_scripts_logger;
        uiSleep 3;
        if (round(random(100)) == 1) then { [player,1] call GiveXP; };
    } else {
        cutText ["There is no more Hemp! :'(", "PLAIN DOWN"];
    };
    dayz_actioninprogress = false;

     

  10. It sounds like BEC or something is running the start command twice or the first server running is not closing before the start command runs making a second server window with a different port appear

    I use a batch file server monitor script to launch the server and BEC to run the shutdown command then the monitor script restarts the server

    While i was testing, this is when i noticed if i had the server running already and i relaunched the server by double clicking the bat file it would load a second server window with the next available port im guessing cos the set port is taken by the first server running   

  11. Easy way setup fresh a2 epoch server/s on your new box (download updated arma2 & OA files) install same mods to your new server/s that were on your old server

    When you setup your database/s export your old database/s or just the tables either import your old database or create a new database and import the tables dont forget to setup the events and turn them on

    Once you have this done next part is easy copy over your server.pbo and mission.pbo/folder

    If you were running single gold coin you might need to copy over the .dll files and hive.ext 

     

    Best way to setup multiple servers on one machine is for each server to have its own folder so yes each server will take up about 19gb of space 

     

     

  12. On a windows 2012 r2 server I use WAMP 64-bit very easy to setup and use I have had no issues running wamp server with arma2 servers (even 1 database for multiple a2 servers)

    Quote:    

    WAMP is an acronym that means: Windows, Apache, Mysql, Php.

    1. XAMPP is NOT cross-platform. There is XAMPP for Windows, XAMPP for Linux, for Mac and for Solaris, but each pack contains different pieces of software, runs differently with different performance, etc. (cross-platform means that you take the exact same piece of software and it runs the same way on different platforms ... like Azureus used to be: a jar that you could use the same way)

    2. XAMPP for Windows is bloated, big time. You have mail server, FTP server, accelerator, web-dav, ssl out of the box, etc. Do you really need them all? It's not exactly an entry-level package, but in general it makes installation of everything much easier. Beyond that, any customization requires the same effort as for any other pre-made stack. But if you install on your own box, you probably don't need FTP server, do you?

    3. WAMP is lighter (mostly the basics). Everything that's AMP is there, beyond that you have a couple of tools ,phpMyAdmin, sqlite, xdebug. You need SSL? You have to configure it. You want access to mail server? Must install it yourself. FTP? Ditto.

    4. WAMP (like the name says) runs only on Windows (either 64/32-bit).

    For a local machine on Windows, WAMP is the way to go. Light, smooth and post-install config takes a click. XAMPP for Windows isn't much of a competitor due to issues on 64-bit installation (naturally: more bloatware to install, you need to manage each piece of extra software between 32/64-bit)

  13. This is the old 1.0.5.1 way extra right click change view distance and yes this has been added to deploy anything also well for 1.0.5.1 not sure on 1.0.6

    class Binocular_Vector  {
            class viewdistanceTitle {
                text = "View Distance:";
                script = "systemChat('Change View Distance Locally. Click on one of the distance options');";
            };
            class distance400m {
                text = "400 Meters";
                script = "setViewDistance 400; systemChat('ViewDistance: 400');";
            };
            class distance600m {
                text = "600 Meters";
                script = "setViewDistance 600; systemChat('ViewDistance: 600');";
            };
            class distance800m {
                text = "800 Meters";
                script = "setViewDistance 800; systemChat('ViewDistance: 800');";
            };
            class distance1000m {
                text = "1000 Meters";
                script = "setViewDistance 1000; systemChat('ViewDistance: 1000');";
            };
            class distance1250m {
                text = "1250 Meters";
                script = "setViewDistance 1250; systemChat('ViewDistance: 1250');";
            };
            class distance1500m {
                text = "1500 Meters";
                script = "setViewDistance 1500; systemChat('ViewDistance: 1500');";
            };
            class distance2000m {
                text = "2000 Meters";
                script = "setViewDistance 2000; systemChat('ViewDistance: 2000'); systemChat('Warning: Higher the view distance Lower the FPS');";
            };
            class distance3000m {
                text = "3000 Meters";
                script = "setViewDistance 3000; systemChat('ViewDistance: 3000'); systemChat('Warning: Higher the view distance Lower the FPS');";
            };
            class distance5000m {
                text = "5000 Meters";
                script = "setViewDistance 5000; systemChat('ViewDistance: 5000'); systemChat('Warning: Higher the view distance Lower the FPS');";
            };
        };
        class Binocular {
            class viewdistanceTitle {
                text = "View Distance:";
                script = "systemChat('Change View Distance Locally. Click on one of the distance options');";
            };
            class distance400m {
                text = "400 Meters";
                script = "setViewDistance 400; systemChat('ViewDistance: 400');";
            };
            class distance600m {
                text = "600 Meters";
                script = "setViewDistance 600; systemChat('ViewDistance: 600');";
            };
            class distance800m {
                text = "800 Meters";
                script = "setViewDistance 800; systemChat('ViewDistance: 800');";
            };
            class distance1000m {
                text = "1000 Meters";
                script = "setViewDistance 1000; systemChat('ViewDistance: 1000');";
            };
            class distance1250m {
                text = "1250 Meters";
                script = "setViewDistance 1250; systemChat('ViewDistance: 1250');";
            };
            class distance1500m {
                text = "1500 Meters";
                script = "setViewDistance 1500; systemChat('ViewDistance: 1500');";
            };
            class distance2000m {
                text = "2000 Meters";
                script = "setViewDistance 2000; systemChat('ViewDistance: 2000'); systemChat('Warning: Higher the view distance Lower the FPS');";
            };
            class distance3000m {
                text = "3000 Meters";
                script = "setViewDistance 3000; systemChat('ViewDistance: 3000'); systemChat('Warning: Higher the view distance Lower the FPS');";
            };
            class distance5000m {
                text = "5000 Meters";
                script = "setViewDistance 5000; systemChat('ViewDistance: 5000'); systemChat('Warning: Higher the view distance Lower the FPS');";
            };
        };

  14. You could name your mission folder .pbo (my_mission_name) anything you want as long as you update it here in config.cfg

    class Missions
    {
        class Mission1
        {
            template = "my_mission_name";
            difficulty="veteran";
        };

    };

    This block of code is telling your server to look inside MPMissions for a folder called my_mission_name that easy and if its a pbo just add .pbo to the end

    class Missions
    {
        class Mission1
        {
            template = "my_mission_name.pbo";
            difficulty="veteran";
        };

    };

  15. Looks like your running Overpoch

    Your server.pbo should be located inside @DayZ_Overpoch_Server (This runs on the server)

    Your mission.pbo/folder should be located inside MPMissions (can be either a pbo or a folder depending on GSP hosting system)

    (This is the mission file clients download connecting to your server)

    So anything that runs on the server-side like WAI, DZAI, EMS, epoch events extra buildings things like that you need to add to your server.pbo

    Anything that is run local (People download this when connecting) on the server you need to add to your mission.pbo (should be the name of the map like DayZ_Epoch_11.Chernarus.pbo) A folder if it is a folder then it has already been unpacked and wont need to be repack into a pbo if it is a .pbo file you need to download a pbo manager install it to be able to unpack and re-pack .pbo files kinda like zipping a folder with 7-zip

     

  16. Script from

    And

    I just made it 1 .bat file easy to use all you need to do is edit the Config settings section and the command line.

    Make a new .bat file on your desktop of your windows vps or dedi

    Paste this in it

     

    @echo off


    ::CREDITS::Raklatif's Arma2OA Monitor, f3cuk Database backup, juandayz
    ::CONFIG SETTINGS
    set becPath="C:\Overpoch_Server\Bec"
    set serverPath="C:\Overpoch_Server"
    set DB_USERNAME="Epoch"
    set DB_PASSWORD="1234567890"
    set DB_NAME="epoch_main"
    set PATH_TO_BACKUP_FOLDER="C:\backup"
    set PATH_TO_MYSQL_BIN="C:\wamp64\bin\mysql\mysql5.7.14\bin"
    ::END SETTINGS
    :arma2oaserver
    echo (%time%) Backing up database.
    FOR /F "tokens=1-4 DELIMS=/ " %%F IN ('date /T') DO (set v_date=%%F%%G%%H)
    FOR /F "tokens=1-4 DELIMS=: " %%F IN ('time /T') DO (set v_time=%%F%%G%%H)
    set fname=database_%v_date%_%v_time%.sql
    cd %PATH_TO_MYSQL_BIN%
    mysqldump.exe -e -u%DB_USERNAME% -p%DB_PASSWORD% %DB_NAME% > %PATH_TO_BACKUP_FOLDER%\%fname%
    echo (%time%) DIR %PATH_TO_BACKUP_FOLDER% FILE %fname%
    ping 127.0.0.1 -n 5 >NUL
    echo Watching DayZ Overpoch Main Server For Crashes/Restarts...
    echo If you want to close arma2oaserver and this script, close the arma2oaserver window and type Y depending on your language followed by Enter.
    title PUT YOUR SERVER NAME HERE (so you know what monitor is monitoring what server)!
    cd %becPath%
    echo (%time%) bec started.
    start Bec.exe -f Config.cfg
    cd %serverPath%
    echo (%time%) arma2oaserver started.
    start /wait "arma2" /min "C:\Overpoch_Server\arma2oaserver.exe" -port=2302 -autoInit -noSound -noPause "-config=instance_11_Chernarus\config.cfg" "-cfg=instance_11_Chernarus\basic.cfg" "-profiles=instance_11_Chernarus" -name=instance_11_Chernarus "-mod=@DayzOverwatch;@DayZ_Epoch;@DayZ_Epoch_Server;"
    echo (%time%) WARNING: arma2oaserver closed or crashed, restarting.
    goto arma2oaserver

    If you run multiple servers create a file for each server on your desktop all you have to do is change the command lines and the config settings to suit each server on each file.

    This script will re-run everything from this label :arma2oaserver every time the server cmd box is closed so yes if bec shuts down the server after x amount of hrs the script will backup your sql will re-start Bec & the Server

    If your server cmd box closes for some unknown reason this will terminate connection with Bec and so Bec shuts down but dont worry the script will backup your database then restart bec and your server (dont believe me try it run this script then close your server cmd box while this script is running and watch the magic lol) 

     

×
×
  • Create New...