Jump to content

bualdoot

Member
  • Posts

    77
  • Joined

  • Last visited

Reputation Activity

  1. Like
    bualdoot reacted to Zupa in [Release] Advanced Trading 2.1 !UPDATED!   
    continuing development this weekend : ) a heads up!
  2. Like
    bualdoot got a reaction from SmokeyBR in [Release v1.0.5] Precise Base Building - Persistent bases after restart! (Updated 22/09/15)   
    I can also confirm that Private Hive Tools no longer gets vehicle and object locations after installing this addon. So, if you use Private Hive Tools map, just know that the only thing it will show is player location. Not sure what it is about this addon that screws it up, but it certainly is something with this mod that does it.
  3. Like
    bualdoot reacted to Zupa in [Release] Advanced Trading 2.1 !UPDATED!   
    Waw, it's nitrado's pack, prob my code then :p
  4. Like
    bualdoot reacted to RimBlock in Elevator Script for Players and Vehicles [WIP/Prototype]   
    Should be pretty easy.
     
    For fuel, call update_object.sqf -> update position to save the objects fuel (via a PV).  Amend Server_monitor.sqf to read data from the fuel field on object load and if the object is of a particular class.  Just make sure the DB field is the correct Type for the data that needs to be stored.
     
    I did the same in A Plot for Life when saving the owners PlayerUID in the worldpace field of the buildable objects.
     
    Feel free to take a look at the code if it would be of any help.
  5. Like
    bualdoot reacted to Axe Cop in Elevator Script for Players and Vehicles [WIP/Prototype]   
    @bualdoot actually that is not a bad idea, but I have no idea if you can manipulate the fuel column that easily on buildings, it might not work.
    With a custom HiveExt.dll you would have all the freedom you need and can save whatever you like obviously, but for this script I wanted to keep it simple as I know there are many complications with a custom DLL, also many admins don't have that much experience, I use a custom DLL for one of my other scripts and get many questions about it and people don't know how to use it etc.. you know :)
  6. Like
    bualdoot reacted to OtterNas3 in [RELEASE] Vehicle Key Changer - For making Masterkey - V 1.4 (Updated 06/15/2014)   
    Just finished it and thought someone could like it...
    You have many, many (many, ...) Vehicles? You have many, many (many, ...) different Keys? Already need to attach a list with Key = Vehicle to your Monitor to keep track of em? Need 30 minutes to start driving because you dont have such a list? Frustrated? ALL OVER!
     
    This little script allows you and the Players on your Server to copy Vehicles, that you got the Key for, to another Key that's in your Inventory!
     
    Example:
    Car 1: Red Skoda - Red Key (1234)
    Car 2: Green Skoda - Green Key (4321)
     
    You need a Keymakers Kit!
    Put both keys in your Inventory, look at the Car 1 and select "Change Vehicle Key" from the action menu.
     
    You get a list with all Keys in your Inventory, to select from a menu. In this case the list would just be one: Green Key (4321)
    Not in the list is the Key for Car 1, so no Red Key (1234)
     
    Select the new Key you want to put the car on and: voila!
     
    You can throw away the unneeded Red Key (1234)
    The Old vehicle Key gets added to your Backpack
    Car 1 & Car 2 are both now on the Green Key (4321)
     
    You can allow players to "Claim" Vehicles that are dynamic spawned on the Map and does not yet need a Key.
    This is a option you can turn On/Off!
    You can set a price for claiming vehicles also.
     
    THIS DOES NOT HOWEVER INCLUDE MISSIONVEHICLES THAT ARE NOT SPAWNED CORRECTLY!
    IF YOU WANT TO BE ABLE TO CLAIM MISSIONVEHICLES, TELL THE MISSION DEVELOPER TO SETUP HIS SPAWNCODE FOR VEHICLES TO A CORRECT WAY!
     
    Changelog 1.4
    I changed some functions and implemented some small fixes mentioned by other users in this Thread.
    Specially for just bought vehicles and the "get not saved after driving" thing.
    This should also fix the duping for some of you, i never had it yet and cant reproduce. just made the call a bit different now.
     
     
    If it doesnt work as it should, gimme a shout.
     
    And for people that think this Mod is a total mess. Dont use it?
    It works on my Server for a loooooooooooooong time now without any errors!
     
     
     
    Demo Video
    http://www.youtube.com/watch?v=bEUmLrje_5o
     
     
    Like?
     
    DOWNLOAD:
    https://www.dropbox.com/s/mq0dvpzawtwmam8/VehicleKeyChanger_v1.4.zip
     
     Install Instructions:
    1. Download and unzip VehicleKeyChanger_v1.4.zip
    2. unpbo MPMissions\YOURMISSIONNAME.pbo
    3. copy the custom folder from the unziped VehicleKeyChanger_v1.4.zip to MPMissions\YOURMISSIONNAME\
    4. open MPMissions\YOURMISSIONNAME\init.sqf
     
    Find this block:
    if (!isDedicated) then { 0 fadeSound 0; waitUntil {!isNil "dayz_loadScreenMsg"}; dayz_loadScreenMsg = (localize "STR_AUTHENTICATING"); _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}]; }; And insert this line above the closing bracket };
    _nil = [] execVM "custom\VehicleKeyChanger\VehicleKeyChanger_init.sqf"; 5.
    Configuration:
    Edit custom\VehicleKeyChanger\VehicleKeyChanger_init.sqf
     
    Edit this block to your likings!

    ///////////////////////////////////////////////// ///////////////////////////////////////////////// // Edit these settings to fit your needs/likes // ///////////////////////////////////////////////// ///////////////////////////////////////////////// /// Claim Vehicles that does not yet need Key /// ///////// 0 = Not allowed | 1 = Allowed ///////// vkc_claiming = 0; ///////////////////////////////////////////////// //////// Claim Vehicles costs this Item ///////// /// Any Item can be used here, some examples: /// //// ItemTinBar, ItemSilverBar, ItemGoldBar, //// ////// ItemSilverBar10oz, ItemGoldBar10oz, ////// ///// ItemBriefcase20oz, ItemBriefcase100oz ///// //////// set to "0" to disable the costs //////// vkc_claimingPrice = "ItemGoldBar10oz"; ///////////////////////////////////////////////// ////////// Change Key costs this Item /////////// ////////////// see above examples /////////////// //////// set to "0" to disable the costs //////// vkc_Price = "ItemSilverBar"; ///////////////////////////////////////////////// /////// Need KeyKit to use this function //////// ////////// 0 = Not needed | 1 = Needed ////////// vkc_needKeykit = 1; ///////////////////////////////////////////////// ///////////////////////////////////////////////// /////////////// DONT EDIT BELOW ! /////////////// ///////////////////////////////////////////////// 5. repbo MPMissions\YOURMISSIONNAME\
    - upload it to your server -
     
    6. unpbo @DayZ_Epoch_Server\addons\dayz_server.pbo
     
    7 copy server_updateObject.sqf from your unziped VehicleKeyChanger_v1.4.zip to @DayZ_Epoch_Server\addons\dayz_server\compile\  and overwrite the existing one. (This just adds a function for this mod nothing else changed)
    If you already have a custom server_updateObjects.sqf you need to compare my file with yours and make the changes yourself!
     
    8. repbo @DayZ_Epoch_Server\addons\dayz_server\
    - upload it to your server -
     
    9 copy this file to your Servers BattlEye filters folder:
    publicvariableval.txt
     
    FYI: INFISTAR AdminCheat, ummm sorry meant AntiCheat, users!
    Cause he uses his own BE filter files should not copy paste this file over your existing one, else you will get kicked for all the cool nice admin functions that comes with your Infistar! You need to do the change yourself if you get kicked for anything regarding this script.
    I dont had and will not have a look at Infistar's BE files to sort things out!
     
    10. Restart your server
    11. Enjoy it and cleanup your vaults!
     
    12. DONT LOOSE YOUR MASTERKEY! :rolleyes:
     
     
    -- Additional Information ---
     
    For InfiStar AdminCheat (ummm sorry meant AntiCheat...) users:

     
     
    Have fun with it!
     
    - If you like it - Like it - So I can count Downloads - I like that
     
    #####################################
    #                      Support my work                      #
    #                                    &                                #
    #                                Donate                           #
    #####################################

  7. Like
    bualdoot got a reaction from DangerRuss in [Release] Advanced Trading 2.1 !UPDATED!   
    Yet another duplicate question. Read the posts. If it still doesn't work, then you can ask for help and tell us what you did. Gets annoying answering the same questions over and over. Doesn't take that long to browse the pages. If I recall correctly, it was one of DangerRuss posts with that problem. Probably anti hack problem. Check his post out. Otherwise, more info is needed anyway.
  8. Like
    bualdoot reacted to DangerRuss in [Release] Advanced Trading 2.1 !UPDATED!   
    I just didnt go back far enough to read what you were talking about and saw the post about riding a rabbit and I thought you might be on drugs :)  

    No worries I understand where you're coming from now, although Im not totally convinced that you aren't on drugs because you ride a rabbit haha
  9. Like
    bualdoot got a reaction from Davep122 in [Release] Advanced Trading 2.1 !UPDATED!   
    I would say you are using the wrong variable name. You appear to be using the global banking single currency, which uses headshots or sometimes humanity variable, as mentioned previously. So in Advanced trading init, try changing the money variable to the right thing. From the single currency you posted, I'd say change cashMoney to headShots. If that doesn't work, I'm not really sure what to tell ya right now, because I've already spent hours trying to figure out why Plot Management is screwing up all my self actions, or when self actions work, vehicle inventory and location doesn't update in database. So, I'm going to bed :)
     
    If you still have problems with it, post again.
  10. Like
    bualdoot got a reaction from Zupa in [Release] Advanced Trading 2.1 !UPDATED!   
    If not all traders have the menu, make sure they are all in the server traders list. I'd have to double check the code, but I'm pretty sure it checks that list to make sure that skin is supposed to be a trader. (Check your Mission folder, server_traders.sqf serverTraders = )
  11. Like
    bualdoot reacted to FTFOCrossy in [Release] Advanced Trading 2.1 !UPDATED!   
    Sorry for another nooby question but is this only setup for the cherno traders? as only one of the traders on my tavi server has the advanced trade option
  12. Like
    bualdoot reacted to ToejaM in [How To] [CPC] Indestructible Bases   
    Patch 1.0.3 Information
    I would just like to point out that my script is working entirely flawlessly however the line numbers are wrong in some cases in the tutorials below but they are easy enough to see where it goes instead by searching for the correct words. All the information you need is in this post.
     
    At present I do not have time to write the tutorial on pulling the maintain_area.sqf from the DayZ code files, however you will need to do this as Axe Cop's script is now part of Epoch as standard.
     
    When I get time I will add this if someone hasn't done it already, its very quick and easy to do but I want to make sure I write it as perfectly as possible to avoid confusion. Its as simple as finding it in the file structure, placing it in your mission folder and then changing the path inside the self actions file.
     
    If you do not pull the maintain_area.sqf from the code and add my fix to it, when you maintain your base using the area function on the plot pole it will make your base vulnerable to attack until the restart.
     
    [CPC] Indestructible Bases - PART1: On Server Restart
     
    What it does:
     
    Anything you define inside the _cpcimmune tag will respawn on server restart entirely indestructible and will also not be able to be knocked down. You can add anything you like to the list. the list currently only comprises of the new modular base buildables.
     
    How to:
     
    Step 1)
     
    Unpack your dayz_server.pbo
     
    Step 2)
     
    Find \system\server_monitor.sqf add copy this at around line 6
    _script = getText(missionConfigFile >> "onPauseScript"); // ### [CPC] Indestructible Buildables Fix _cpcimmune =[ "WoodFloor_DZ", "WoodFloorHalf_DZ", "WoodFloorQuarter_DZ", "Land_DZE_LargeWoodDoorLocked", "WoodLargeWallDoor_DZ", "WoodLargeWallWin_DZ", "WoodLargeWall_DZ", "Land_DZE_WoodDoorLocked", "WoodSmallWallDoor_DZ", "WoodSmallWallWin_DZ", "Land_DZE_GarageWoodDoor", "Land_DZE_GarageWoodDoorLocked", "WoodLadder_DZ", "WoodStairsSans_DZ", "WoodStairs_DZ", "WoodSmallWall_DZ", "WoodSmallWallThird_DZ", "CinderWallHalf_DZ", "CinderWall_DZ", "CinderWallDoorway_DZ", "Land_DZE_LargeWoodDoor", "MetalFloor_DZ", "CinderWallDoorSmallLocked_DZ", "CinderWallSmallDoorway_DZ", "CinderWallDoor_DZ" ]; // ### [CPC] Indestructible Buildables Fix if ((count playableUnits == 0) and !isDedicated) then { Step 3)
     
    Scroll down to around line 180 and copy this
    _object setdir _dir; _object setpos _pos; _object setDamage _damage; // ### [CPC] Indestructible Buildables Fix if (typeOf(_object) in _cpcimmune) then { _object addEventHandler ["HandleDamage", {false}]; _object enableSimulation false; }; // ### [CPC] Indestructible Buildables Fix Step 4)
     
    Repack your dayz_server.pbo
     
    Notes:
     
    You're done, its as simple as that. This has been tested on my server for well over a few weeks and is entirely stable. We don't have buildables destructible until a server restart to allow players to remove them by force themselves if neccesary to reduce admin intervention.
     
    If you wish to contribute and add your a tutorial for spawning items indestructible without need for a server restart then send me a PM and I'll update this post.
     
    [CPC] Indestructible Base Fix - PART2: On Object Creation
     
    What it does
     
    This is how to make your base objects spawn immediately indestructible without the need for a restart - Credit to Snowmobil for the player_build.sqf coding.
     
    If you already have a custom compiles.sqf you can skip the first 3 steps
     
    Create a custom compiles.sqf in your mission file.
    Creating a custom compiles.sqf
     
    Step 1)
    Unpack your dayz_code.pbo in Dayz_Epoch\addons\
     
    Step 2)
    Pull out the compiles.sqf from dayz_code\init\ and place into your root mission folder (where mission.sqm is)
     
    Step 3)
     
    Edit your init.sqf inside your mission file around line 58 to look like this
    call compile preprocessFileLineNumbers "compiles.sqf"; //Compile regular functions Step 4)
     
    If not already done due to step 1, unpack your dayz_code.pbo in DayZ_Epoch\addons\
     
    Step 5)
     
    Find your player_build.sqf in your dayz_code\actions\
     
    Step 6)
     
    Around line 231 copy to look like this
    // Start Build _tmpbuilt = createVehicle [_classname, _location, [], 0, "CAN_COLLIDE"]; // ### [CPC] Indestructible Base Fix _tmpbuilt addEventHandler ["HandleDamage", {false}]; _tmpbuilt enableSimulation false; // ### [CPC] Indestructible Base Fix Save the file in its current location if not already made a copy elsewhere.
     
    Step 7)
    In your mission folder create a folder called "fixes" and place the player_build.sqf in there.
     
    Step 8)
     
    Edit your compiles.sqf around line 95
    player_build = compile preprocessFileLineNumbers "fixes\player_build.sqf"; Notes:
    You're now done. You don't need to repack your dayz_code folder as the fix overwrites the original file due to where its called from, you also don't need to save the player_buid.sqf in the folder you copied it from, you can copy it elsewhere if you wish to keep an original version incase you need to revert for what ever reason.
     
    This does not need the buildable array that the first part of this tutorial needs, however you will need the first part that edits the server side files for a restart to keep these buildables indestructible.
     
    Locations of files are optional, the compiles.sqf does not have to be in the root folder if you wish to have it in your fixes folder just amend the file path. This also means you do not need to name the folder where player_build.sqf goes to "fixes" it can be called anything you like, I just happen to use "fixes" for my custom files.
     
    If you use this fix or think its a good idea, please hit the like button on this post. It doesn't do anything for me but shows interest in having indestructible bases. Thanks.
     
    [CPC] Indestructible Base Fix - PART3: Prevent Maintenance Exploit
     
     
    Currently you can "maintain" an object and it becomes destructible. This stops players from "maintaining" your buildables and then destroying them, as the server swaps them out to destructible types. There are several ways to implement this fix. If someone wishes to modify the server_dayzswap file so that the swapped buildables are also indestructible I will update this post. This however is suitable for my servers needs and helps players to register their base.   If you have a custom fn_selfActions file you can skip to step 3.   Step 1)   Unpack your dayz_code.pbo in your @DayZ_Epoch client folder   Step 2)   Put the \addons\dayz_code\compile\fn_selfActions.sqf inside your fixes folder.   Step 3)   Modify your fn_selfActions.sqf this around line 501 and save   if (s_player_maint_build < 0) then { s_player_lastTarget set [1,_cursorTarget]; // ### [CPC] Maintenance Fix s_player_maint_build = player addAction [format["Maintain %1",_text], "fixes\cpcmaintfix.sqf",_cursorTarget, -2, false, true, "",""]; // ### [CPC] Maintenance Fix }; } else { Step 4)
     
    Create a new .sqf file, either by copying an existing one or renaming the file extension of a newly created .txt document. Name this file cpcmaintfix.sqf, place this in your fixes folder and put this code inside the newly created .sqf
    cutText [format["Maintenance is disabled on this server as it is not required. Please see our website on how to ensure your base is not deleted."], "PLAIN DOWN"]; Optionally customize the message to what you like, we run a base registration system so that we can delete old bases due to there being no viable cleanup system thanks to indestructible buildables and believing that maintenance as it stands, its too much work for base owners.
    Step 5)
    Modify your compiles.sqf (see above on this post on how to create one, you should have already done it by now if you're this far though) around line 17
    fnc_usec_selfActions = compile preprocessFileLineNumbers "fixes\fn_selfActions.sqf"; //Checks which actions for self Notes:
     
    None
     
    [CPC] Indestructible Base Fix - PART4: Swap Objects Fix
     
    When you maintain an object either through Axe Cop's areal maintenance script or by doing it individually on each object, it swaps out the object for a new one. You don't see a change but it does happen. This spawns it in using server_swapObject.sqf which does not have the indestructible code inside. You don't have to do this as a restart will make your objects indestructible again however, if you maintain many objects they will be vulnerable to normal attacks until a restart, so it is advised that you do this.
     
    Part 4a: Normal DayZ Epoch maintenance system
     
    Step 1)
     
    Decompile dayz_server.pbo
     
    Step 2)
     
    Goto: @DayZ_Epoch_Server\addons\dayz_server\compile\ and find server_swapObject.sqf
     
    Step 3)
     
    Around line 44 change this:
    _object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}]; // Test disabling simulation server side on buildables only. _object enableSimulation false; to this:
    _object addMPEventHandler ["MPKilled",{_this call object_handleServerKilled;}]; // Test disabling simulation server side on buildables only. _object enableSimulation false; // ### CPC Swap Object Fix _object addEventHandler ["HandleDamage", {false}]; // ### CPC Swap Object Fix Step 4)
     
    Recompile your dayz_server.pbo and you're now done.
     
    Notes:
     
    None
     
    Part 4b: Axe Cop's Maintain Area Script
     
    Step 1)
     
    In your mission file, or where ever you have stored the script, open the file
     
    e.g mine: D:\Gameservers\testserver\MPMissions\DayZ_Epoch_11.Chernarus\fixes\maintain_area.sqf
     
    If neccesary you might need to unpack your mission.pbo
     
    Step 2)
     
    Go to around line 104
    // Set location _object setPosATL _location; PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,_objectID,_objectUID]; publicVariableServer "PVDZE_obj_Swap"; player reveal _object; } forEach _objects; and change to this
    // Set location _object setPosATL _location; // ### CPC Swap Object Fix _object enableSimulation false; _object addEventHandler ["HandleDamage", {false}]; // ### CPC Swap Object Fix PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,_objectID,_objectUID]; publicVariableServer "PVDZE_obj_Swap"; player reveal _object; } forEach _objects; Step 3)
     
    Save your file and if necessary, repack your mission.pbo and you're done.
     
    Notes:
     
    None
  13. Like
    bualdoot reacted to Zupa in [Alpha Release] Single Currency 3.0 & Storage DEFAULT HIVE ( No global banking).   
    People just don't know they have a client rpt on there pc which explains what u did wrong.
  14. Like
    bualdoot got a reaction from Muffin Man in BEC autorestarts not working properly, think its a bad command in my scheduler   
    My server restarter incase some one wants one with rotate also.


  15. Like
    bualdoot reacted to ElDubya in [Outdated] [release] 1.0.6 - Deploy Anything 2.8.2 - Now with Epoch building! | Customizable: DB saving | Plot | Vehicles/Buildings | Packing   
    ["ItemRadio","Group Management","execVM 'dzgm\loadGroupManagement.sqf';","true"], Put that after the top line (GPS, map marker line). If you choose to put it as the last item in the click actions array, make sure to remove the comma (,) at the end.
     
    Mudzerelli, STILL waiting on a fix for the bike. IE : Sometimes people can get on it and it won't move. I noticed with this latest version I have installed that you changed it so you can't get on the bike "before it's built" anymore and get teleported out into the ocean which is good. 
     
    If anyone has a right click toolbox > unpack AND REPACK bike script that they would be willing to share, please do :)
  16. Like
    bualdoot reacted to mgm in Cant connect with any Rcon tool   
    It's probably the default encoding setting leading to rejected config files (which looks perfect to human eye).
  17. Like
    bualdoot reacted to Brick in Custom debug monitor   
    Good eye, thanks that was it.  Didnt even think to look for that.  
×
×
  • Create New...