Jump to content

JakeHekesFists

Member
  • Content Count

    14
  • Joined

  • Last visited

  • Medals

Community Reputation

36 Excellent

3 Followers

About JakeHekesFists

  • Rank
    Private First Class

Profile Information

  • Gender
    Male
  • Location
    Melbourne, Australia

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. JakeHekesFists

    Ravage

    very easy to write a script to delete zombies from an area, i use this method in my trader cities on my missions the below just checks if theres any zombies within x radius of the position every 2 seconds and deletes them. // _pos is your mission position // _rad is your deletion radius // just set MISSION_COMPLETE to true in the win/fail/end conditions of your mission script so the loop ends. MISSION_COMPLETE = false; for "_i" from 0 to 1 step 0 do { private _za = _pos nearEntities ["zombie", _rad]; if !(_za isEqualTo []) then { { deleteVehicle _x; } count _za; }; if (MISSION_COMPLETE) exitWith { _i = 2; }; sleep 2; }; canspawnzeds = false; I think the above if executed on a player stops zombies from spawning altogether, but im not sure and unable to test it at the moment. hope it helps.
  2. JakeHekesFists

    Ravage

    The death on first spawn is normal, so you get the spawn select. I have had it freeze a couple of times, I'll have to take another look at the last few things I added. Because the freezing is new Yeah, I think I worked out what was going on. Boatspawner and Heli spawner were very poorly written, I must have been drunk or something when I did that. wtf is wrong with my brain sometimes. oof. I've rewritten them and now it seems ok. i haven't had any lockups from over 20 start/restarts on altis or malden this morning.
  3. JakeHekesFists

    Ravage

    Yes and no. They're actually designed to work mostly for 1p or at most a small group of people. When I'm playing it, I just run it as Multiplayer > host > lan. And then I just run around solo and it works nicely that way. But because a lot of the persistence stuff i wrote relies on getplayeruid, it wont work correctly if you launch as single player. So yeah run as multi, but host on lan or password it. and play solo.
  4. JakeHekesFists

    Ravage

    I was actually thinking about scripting a way around this the other day. 3 ways came to mind. First, a simple add action scroll command. "take all money" to dead bodies. Second way was a little more convoluted. I'm thinking that I could write an EntityKilled eventhandler. So the unit gets killed, a vehicle such as 'Land_Suitcase_F' , 'Land_Money_F' or 'Land_Wallet_01_F' would be created on the ground next to the corpse. get the number of "rvg_money" in the units gear, do a setvariable on the suitcase/cash/wallet object, and remove the money items from the corpse. Then put an addaction on the suitcase and let players take all money that way. probably want to put a grass cutter down too so people can find the money object. Third way would be best, a take all money button added to the gear screen. but I suck at GUIs so I wouldnt even know where to begin with that. ----------------------------------------------------------------------------------------------------------- edit: I just threw together an example of option 2 and it looks functional. so if you put that in your init.sqf you'll get $1 every time you kill a zombie, and if the ai you kill is carrying cash he'll drop a wad of bills with an addaction to pick up all the money. probably much better ways of acheiving the same results // init.sqf if ((isDedicated) || (hasInterface && isServer)) then { addMissionEventHandler ["EntityKilled", { params ["_killed", "_killer", "_instigator"]; if (isNull _instigator) then {_instigator = UAVControl vehicle _killer select 0}; if (isNull _instigator) then {_instigator = _killer}; // earn $1 for zombie kills if (_killed isKindOf "zombie") then { if (isPlayer _killer) then { _killer addItem "rvg_money"; }; }; // victim to drop their money if (_killed isKindOf "Man") then { private _money = {_x isEqualTo "rvg_money"} count magazines _killed; if (_money > 0) then { // remove the cash from gear for "_i" from 0 to (_money)-1 do { _killed removeItem "rvg_money"; }; private _pos = getPos _killed; _pos set [2,0]; // create the wallet item private _wallet = "Land_Money_F" createVehicle _pos; // private _grassCutter = "ClutterCutter_EP1" createVehicle _pos; private _grassCutter = "Land_ClutterCutter_medium_F" createVehicle _pos; // whoops. should use default stuff ay? lol _wallet setVariable ["ravageMoney",_money,true]; // set variable so people can take the money. // add an action to take the money [ _wallet, "<t color='#15a9bf'>TAKE MONEY</t>", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa", "\a3\ui_f\data\IGUI\Cfg\holdactions\holdAction_search_ca.paa", "_this distance _target < 3","_caller distance _target < 3",{},{}, { params ["_target", "_caller", "_actionId", "_arguments"]; private _amount = (_target getVariable["ravageMoney",0]); if (_amount > 0) then { private _storedAmount = _amount; for "_i" from 0 to (_amount)-1 do { if (_caller canAdd "rvg_money") then { _caller addItem "rvg_money"; _storedAmount = _storedAmount - 1; _target setVariable ["ravageMoney",_storedAmount,true]; }; }; if ((_target getVariable["ravageMoney",0]) <= 0) then { _target removeAction _actionID; deleteVehicle _target; }; }; }, {},[],1.5,0,false,false ] remoteExec ["BIS_fnc_holdActionAdd", 0, _wallet]; }; }; }]; };
  5. JakeHekesFists

    Ravage

    Sup fams, Just posting here in case anyones interested. I have made a couple more variants of my previously posted ravage mission. I've kept working on it since then, changing things around, rewriting scripts and functions and just generally trying to make improvements. So theres a couple that have been published to the workshop Altis (vanilla A3) : https://steamcommunity.com/sharedfiles/filedetails/?id=1867070042 Malden (RHS full pack) : https://steamcommunity.com/sharedfiles/filedetails/?id=1866883936 Theres also an Isla Duala RHS version on github that some dude on steam asked me to make for him At the moment I'm just making different presets on different maps, and saving the .pbos to github: https://github.com/jakehekesfists/ravage-dmd-edit-chernarusredux/tree/master/PBOs I'll probably chuck a couple more together next week if/when I get time. Cheers
  6. JakeHekesFists

    Ravage

    I've just copied the @inidi2 folder from the !workshop folder into the arma 3 root. And load it as an extra parameter -serverMod=@inidbi2; and as you can see below, the files have been writing into the db directory as it should.
  7. JakeHekesFists

    Ravage

    You could use profilenamespace in Arma 2 as well. I used it to save things like whether players could get a one off starter vehicle, their connection count, view distance and earplugs preferences were on my dayz epoch servers. I prefer external databases though. In my early pre release version of the mission I used profile namespace and it was very inconsistent to say the least
  8. JakeHekesFists

    Ravage

    I was having problems initially when I had the server scripts and functions called from initserver.sqf, worked well when player hosted, but not on dedi. nfi why. but when I moved everything out of initserver.sqf into serverScripts.sqf and then called it from init.sqf like so. if ((isDedicated) || (hasInterface && isServer)) then { [] execVM "serverScripts.sqf"; }; It now seems to work properly when player hosted and when run as a dedi through TADST. The only other thing I can think of that I'm doing different is I copied the workshop inidbi folder into its own @inidbi2 folder, and i exec it from there so it doesnt get confused with my playerhosted save files. honestly I just hit it repeatedly until it worked. 😂 there were so many failed attempts along the way. and i'm still not confident that its 100% working on dedi. just dont have the means to test it properly anymore.
  9. JakeHekesFists

    Ravage

    No worries mate, https://github.com/jakehekesfists/ravage-dmd-edit-chernarusredux/tree/master/ravage_dmd_edit.chernarusredux In addition to the init files. You'll probably wanna look at the server and client pveh.sqf files, the and the functions in the fn\persistence folder. I'm sorry I'm not great at commenting my code. So I hope it makes sense I handle the player saving two ways, first is a keydown event handler so the player tells the server to save whenever they press escape and aren't in a vehicle. Second is the server doing it on player disconnect. Vehicles save when the player does a claim action on them. After that they update when the gear is accessed or the driver gets out. Base Objects save whenever a player moves them, so that's done by hijacking one of the r3f logi scripts But it's all done with publicvariableserver and PV event handlers. Code34 has really good documentation on how to use inidbi2 https://github.com/code34/inidbi2/blob/master/%40inidbi2/DOCUMENTATION.txt
  10. JakeHekesFists

    Ravage

    I didnt do anything special with my server setup. I just used the same mods as the mission + inidbi2 as a -servermod param As I said before it *seems* to work on a dedi. but bare in mind I am using TADST on a VM to create a dedi, not doing it properly. Dedi rental in Aus is ridic, like $300 a month. I'm not THAT rich. ooof. Just in case it was missed, I'll just say again... anything you see on my github. feel free to use it. I want people to make magic
  11. JakeHekesFists

    Ravage

    Hey fam, I've made some more changes and published them to steam workshop and github. It seems to work (almost perfectly)* on my "dedi", but once again I'd love to see some real-world feedback. * it works, but on first spawn, -or- logging out on dead character. == respawn >> spawn in >> die >> respawn. so minor issue, but still annoying and one i cant figure out just yet. If you can do me a massive favour and try again, on your next test, just run @inidbi2 as a -servermod, and dont run inidbi2 on the client Seems great on VM, but to quote the bloodhound gang, I'd appreciate your input. :D
  12. JakeHekesFists

    Ravage

    thats really good feedback, thanks for that. I figured dedicated would give some problems. i knew the frames were going to pretty woeful from the outset, this combo of mods. on that map. never gonna be great. cant imagine what it would be like to have a large battle down in the revamped cherno or elektro. I'm running a skylake i7 and 1080ti and during some of my early tests with 60+ ai at the first iteration of the invasion missions... my computer was wanting to cry or spontaneously combust i wont have the time this weekend to give it the attention it deserves, but during the week ill look into setting up a windows vm that i can use as a mock dedi and test properly with. I've tried running TADST locally and I didnt have any database issues? I only ran inidbi2 as -servermod though. not on client. player data should delete on death, nothing else. No updates pushed just yet, but i've found a good way to create new mission compositions so i can ditch CUP, and move this across to other maps, I gotta make some new comps during the week next week, push that. and then we'll go from there. Not ditching the project, I would prefer to get it working
  13. JakeHekesFists

    Ravage

    I ran several exile servers in my time, I know it can cause some headaches. One of my old servers was an RHS/CUP militarised exile on tavi a3 before that got pulled from workshop. And surprisingly it actually ran quite well, just never got more than 15-20 people in though. so never got stressed i suppose. Especially not with my 3 hour restart cycles. But this cherno redux mission was just a personal project designed mostly to be single player or just for a small group of players. If you have a look in the config files in github, i've made it pretty customisable, i use a lot of #ifdef statements so mods can be turned on/off in future, I was actually planning, once I'm happy with this mission and I work out a good way to re-do my createbuildingrelative function. Then I can make some new mission compositions that arent full of cup items, to make 2 more variants. At the moment the plan is to do one on malden, one on tanoa. one with just rhs. one completely vanilla. maybe a third one on the new terrain if i stop being cheap and buy the latest dlc.
  14. JakeHekesFists

    Ravage

    Henlo frens, I made a mission for ravage, its on Chernarus Redux - with a LOT of mods. I originally just wanted to make it for myself, and maybe some friends to mess around with. But the project took on a life of its own. And here we are... GITHUB : https://github.com/jakehekesfists/ravage-dmd-edit-chernarusredux STEAM WORKSHOP: https://steamcommunity.com/workshop/filedetails/?id=1854589233 Basically I used to run some dayz epoch, exile and wasteland servers, I stopped this years back, but I kinda missed playing it, and i really missed the scripting side of it tbh, So the premise here was to create a hybrid of DayZ epoch mod, A3 Wasteland and Exile. I like what I've made so far, and wanted to share it with the community I have used and modified some 3rd party scripts, such as r3f logistics, sethduda's advanced towing and @HallyG HALs equipment store. But theres also a lot of custom stuff I've written into this, such as AI mission systems, PUBG style "redzone" artillery strikes, AI city invasions, service station repair, a ground loot spawn system to work in conjunction with the default ravage loot system, trader safe zones, night fog, and all sorts of stuff. but most importantly an inidbi2 persistence system which saves vehicles, players, base parts, bank accounts and the in-game time/date. I do need to warn everyone in advance, I haven't even attempted to run this in a dedicated environment. and that no attention has been paid to antihack/security at all as it has only been ran locally. This mission hasn't been thoroughly tested. But it appears to work as intended when I host from my local machine. There are still some changes I want to make in future. But I hope that some of you can take this and improve upon it. or at the very least have some fun playing what I've made. Cheers
×