Jump to content

doofmachine1

Member
  • Posts

    19
  • Joined

  • Last visited

Posts posted by doofmachine1

  1. Basicly go into arma2oa press ALT+E, press f10 just press anywhere on the map press f2 -||- press f1 -||- Then press f5 which is named vehicles. And just start placing object wherever u want. Save, Go into ur documents/arma2oa Other profiles/ur profile name/missions/name of what u just saved/mission.sqf Remove anything inbetween the top and first _unit_3 = objNull; it will look something like this

    activateAddons [ 
      "bb_mercenary",
      "map_eu",
      "microairvehicles"
    ];
    
    activateAddons ["bb_mercenary", "map_eu", "microairvehicles"];
    initAmbientLife;
    
    _this = createCenter west;
    _center_0 = _this;
    
    _group_0 = createGroup _center_0;
    And when that is gone go to the bottom and remove runInitScript; finishMissionInit; so theres only processInitCommands; left, i dont know if its necessary, just the way i do it. and when you are done with that go back to the top and add if (isServer) then { And make sure at the bottom of the code theres two }; otherwise the "if (isServer) then" wont load and items wont appear.
  2. +1. With only weapons and ammo as menus it will take quite a while to load 400+ guns. I spent a few hr a day for a couple days adding menus and editing the TIDs in my database to oraganise the guns by variant .

     

    This is my overpoch trader menu if you care to use it and make the edits.

    //Overpoch VENDOR
    menu_gsc_scientist1 = [
    	[["Pistols",950],["ACR Variants",951],["DMR Variants",952],["Stanag Variants",953],["AK Variants",954],["Sniper Rifles",955],["SMGs",956],["LMGs",957],["Other Weapons",900],["Ammo",901]],
    	[],
    	"neutral"
    ]; 

     

     

    Its a fair amount of work but it makes the menus load nearly instantly (Due to large amount of variants, ACRs still take a sec to load). And database traders are very easy to monitor what comes in and out. I like to not only set restocking, but remove overstock as well. Not sure how config traders work as far limiting how many of and how often each item type (weapons, land/air vehicles, boats, bicycles, backpacks, and ammo/items) is restocked, but i know its very easy to do in the database with scheduled events. Change trader skin to yours and the ammo to 801 to match your TID and add ["Overwatch weapons",800], into this as well so as u change the TIDs little by little, all of the weapons are still available and once youre done sorting you can just delete ["Overwatch weapons",800], back out of the sqf to remove the extra menu.

     

    Well, i knew about this but didnt take enough time to sort it out while i was making it.. i definetly will later today. Thank you for the list dude.

     

  3. 	
    
        // DayZ Epoch TRADERS for 11
        serverTraders =["gsc_eco_stalker_mask_camo","RU_Functionary1","RU_Citizen3","Rocker4","Profiteer4","Rita_Ensler_EP1","CIV_EuroMan01_EP1","CIV_EuroMan02_EP1","TK_GUE_Soldier_5_EP1","GUE_Soldier_MG","Worker2","Worker3","Woodlander1","UN_CDF_Soldier_Pilot_EP1","RU_WorkWoman1","Dr_Annie_Baker_EP1","RU_Citizen4","RU_WorkWoman5","RU_Citizen1","RU_Villager3","TK_CIV_Takistani04_EP1","Pilot_EP1","RU_Profiteer4","Woodlander3","Dr_Hladik_EP1","Doctor","HouseWife1","GUE_Woodlander2"];
        //overpoch trader
        menu_gsc_eco_stalker_mask_camo = [
                [["Overwatch weapons",800],["Ammo",801]],
                [],
                "neutral"
        ];
    
    
    

    dont know if it will fix it but you was missing a ]  after 801

     

    if not then post your rpt too

     

     

     

    Well thank you that solved the interaction problems.. but now, all the shops are blank and not showing any items, i can see the tabs but not the items, That is a SQL problem right?

  4. Hello, I have been setting up a server for quiet a while now and have been customizing my own tradercities, and now it looks great and how i want it, but i have gotten a new issue rolling up on me.. i tought it was the admintool or the action menu i installed but it was not, tried to remove em but im still not able to interact with NPC's now after i added the overpoch trader. I have no idea what could messing with me. But imma leave some rows of code that might help.

    Overpoch traders
    http://pastebin.com/E9brUs4m

    server_trader.sqf
    http://pastebin.com/xdPY1698

     

  5. Do someone know what could be interfering with my dialog.hpp?

    I keep getting this errors where it says.

    ARMA 2 OA
    
    File mpmission\DayZ_Overpoch_1.Chernarus\Admintools\dialog.hpp,
    Line 18:. RScTextT: Member already defined.
    

    And i remove the classes where this line is called.
    and i keep getting the same error but on another line. And eventually i get the error

     

    Error: "config : some input after EndOfFile"
    

    Someone got any fix for this?

  6. *FIX*

     

    So, what i did was that i redirected the files into just 


     
    _nil = [] execVM "custommission.sqf";
    

    to keep it simple instead of having to browse throu the server files all the time.

    and then, i went to the original .sqf can be and got all the AI's agan and just copied the bottom line of them 
     

      _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
    

    and pasted it into the custom_mission.sqf so it looked like 

     

    
    _unit_13 = objNull;
    if (true) then
    {
      _this = createAgent ["Profiteer4", [11448.411, 11350.32, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
      _unit_13 = _this;
      _this setDir 34.525925;
      _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
      _this setUnitAbility 0.60000002;
      _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;};
    
    
    

    on everyone of them. 

    and then i looked for centerpoints which were hidden all around the code, just remove em also..

    they look like this:

     

    _this = createCenter west;
    _center_0 = _this;
    
    _group_0 = createGroup _center_0; 

    And also you have to make sure every NPC is called by
      _this = createAgent 
    and not 
    _this = _group_1 createUnit

     

    Well this was a light version of my fix, If you would like i could record a video to be more precise.. this fix was just really straight throu and not so detailed..

  7.  

    By default when you run the MySQL server install it only creates an account named root with the password you put in during the install process. To make a new user first log in to the database using the root account. You can do that on the machine directly with MySQL command line or with any database software like HeidiSQL etc. Run this query:

    DROP DATABASE TEST;

    ^ should always do that on new MySQL installs first for security

     

    Then to make a new account:

    GRANT ALL PRIVILEGES ON dayz_epoch.* TO user@'localhost' IDENTIFIED BY "pw";

    Replace user and pw with the credentials you want. Note the above will only grant permission to the dayz_epoch database for the specified user connecting locally.

     

    If you need to edit the database from an external IP you should set up some sort of encryption. Either HTTPS or connect with SSH first and then use the local login you just created. Or you can make a read only account like so:

    GRANT SELECT ON dayz_epoch.* TO 'user'@'%' IDENTIFIED BY "pw";

    By default MySQL sends all data over the network in plain text including the username and password. That is why you need SSH or similar encryption if you plan to edit the database remotely. For SSH you will have to set up an SSH server first. Then use an SSH client to tunnel. Here is a guide for that:

    http://realprogrammers.com/how_to/set_up_an_ssh_tunnel_with_putty.html

     

    If you have encryption set up using a different method you can create an account that can login from anywhere with edit permissions. This is not recommended. You should limit it to connecting from only your IP:

    GRANT ALL PRIVILEGES ON dayz_epoch.* TO user@'%' IDENTIFIED BY "pw";

    Replace % with your IP address you will be using to connect.

     

    Lastly edit your HiveExt.ini with the new user name and password you made.

     

     

  8. You cannot edit files while they are still inside the PBO, since they won't save properly.  You have to copy and paste them out of the PBO to another location, make your edits, and then copy and paste them back into the PBO.  You could also just leave the edited mission.sqm directly in your mission file and just change the path information in your init.sqf, which is the way most people do it.  That way when you need to make changes you don't have to do all that copy and pasting.

    Yeah, i literally tried that 30 minutes ago. Well all the old buildings dissapeared but no new :/ i have no clue why maybe im not extracting the files in the right folder?

    tried both

    @DayZ_Overpoch_Server Dayz_server

    @DayZ_Epoch_Server Dayz_server

    so now it says in init.sqf 

    	// Add trader citys
    	_nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\custommission.sqf";
    

    and heres the server pbo

    0A7OP6y.png

    from what i can see it should work. but it doesn't.

    and heres the custommission.sqf

    http://pastebin.com/XChVwAVA

  9. Hello, lately i have been working on a server trying to figure out this and that, since im pretty new to the whole "arma 2 server" thing, with my basic knowledge in c# :/ Sometimes it tough but i feel like i understand enough to install mods and such, maybe not write my own script yet. But hopefully eventually when i start to read about it. Sooo, heres my issue that i would like to have some help with. I have been trying to figure out how to change around in the trader cities with both NPC's and the buildings, which i gave up on but then i ran into this code snippet by and accident when i was browsing around in my init.sqf

     

    	// Add trader citys
    	_nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf"
    

    And i got so excited so i grabbed the sqf in pbomanager and got hands on the biedi file also, so i started editing the map. And now after a couple of hours of work im trying to load the new mission so. I went into my documents opens the .sqf in notepad++ grab the important stuff that i have there, fires up my PBOmanager and opens "D:\arma 2 server\Arma 2 Overpoch Server\@DayZ_Overpoch_Server\addons\dayz_server.pbo" (I still run my server on my personal pc for testing before i rent a server to sort everything out)

    And then i open "\missions\DayZ_Epoch_11.Chernarus\mission.sqf" and remove the current code and replaces it with my own, ofcourse i make sure they look the same at the end. 

     

    _vehicle_1352 = objNull;
    if (true) then
    {
      _this = createVehicle ["MAP_R2_Rock1", [13817.806, 11746.111, -27.215347], [], 0, "CAN_COLLIDE"];
      _vehicle_1352 = _this;
      _this setDir 68.549126;
      _this setPos [13817.806, 11746.111, -27.215347];
    };
    
    processInitCommands; // This is what im refering too
    

    And saves, but still it loads the old trader cities that came from the original version of the mission.sqf.. Am i missing something here? Maybe someone could help me out with this issue.

    Well hopefully i explained good enough tried to be as detailed as possible and sorry if some words are spelt wrong or grammar is screwed, english isn't my native language.

    Thanks!


    *FIX IN COMMENTS*

  10. Go to your varibles.sqf you will here it's at the top of the file it will look like this

    disableSerialization;
    
    //-----------------------------------Currency & Banking Configs ---------------------------------//
    CurrencyName = "Cat Coins"; // name of your currency
    DZE_ATM = ["Laptop_EP1"]; // items,objects classnames where u can bank.
    LimitOnBank = false; // false = no limits, true = banks are limited on the value below
    MaxBankMoney = 500000; // limit on bank for normal players
    DonatorListZupa = ["76561198012464696","111111111"]; // bigger bank PUID
    MaxDonatorBankMoney = 1000000; // Bank size donators
    
    //-----------------------------------Currency & Banking Configs END ---------------------------------//

    That i've already done but still manage to show up as any..

    \DayZ_Overpoch_1.Chernarus\init\variable.sqf is the one im in editing

  11. Thank you so much for this! I got the numbers working but it still says any. I figured that is just something i need to change in a .sqf for my preference for the name of the currency. But i havn't figured out where. 
     

    Yeah i got that

    you need to add into your compiles.sqf

    BIS_fnc_numberDigits     = compile preprocessFileLineNumbers "custom\numberDigits.sqf";
    BIS_fnc_numberText     = compile preprocessFileLineNumbers "custom\numberText.sqf";

    It will look like this

    BIS_fnc_numberDigits     = compile preprocessFileLineNumbers "custom\numberDigits.sqf";
    BIS_fnc_numberText     = compile preprocessFileLineNumbers "custom\numberText.sqf";
    
    if (!isDedicated) then {
    
        "filmic" setToneMappingParams [0.07, 0.31, 0.23, 0.37, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";
    
        BIS_Effects_Burn =                 compile preprocessFile "\ca\Data\ParticleEffects\SCRIPTS\destruction\burn.sqf";
  12. Hello, me and a couple of friends are setting up an overpoch server and i was just wondering where i can find the pbo for editing trader citys such as removing current added buildings at the traderzones and then move the traders to my prefered location? Im not an advance scripter so. 

    I might not have been highly detailed about my question but i believe you get it.

    Thanks in advance.

    i have not been able to found a current guide about this but if there is one just pm me the forum post and i'll remove this post.

×
×
  • Create New...