OfficeGlenn Posted March 28, 2015 Report Share Posted March 28, 2015 I think I have figured out the coordinates for Bornholm. I've tested and the supply drop works with the following that figured out all on my own. _posArray = [[9885.76,21958.6,200],[9979.83,238.216,200],[21319.8,8515.21,200],[291.794,8532.42,200]]; // Bornholm Link to comment Share on other sites More sharing options...
Schloti1993 Posted March 28, 2015 Report Share Posted March 28, 2015 i dont know why with this scripts after 1h serveruptime 30ServerFPS, corrently i not use the script and serverfps after 4h any time by 50ServerFPS Link to comment Share on other sites More sharing options...
FlashheartZ# Posted March 29, 2015 Report Share Posted March 29, 2015 to fix, open: /SDROP/scripts/SDROP_Functions.sqf go to line: 148 ..... Thanks. That worked like a charm, Bye, Flashheart... Link to comment Share on other sites More sharing options...
beetlejuice321 Posted March 29, 2015 Report Share Posted March 29, 2015 I am confused on this installation. Were running Epoch 3.0.1 How exaclt do we edit the "epoch.Altis initServer.sqf" or our "epoch.Altis init.sqf"? I see someone mentioned "You should be able to put that in your "epoch.Altis.pbo" (unpacked) init.sqf", but I am not sure how were suppoed to unpack this and repack it for the server? Are there any instructions on this process out there? We don't mind following other instructions if there out there, but we can't seem to find them. " 1. Edit your epoch.Altis initServer.sqf (or add one) Paste in the following line (or add to existing IF SERVER condition): if (isServer) then { [] ExecVM "\SDROP\init.sqf"; }; 2. Edit your epoch.Altis init.sqf (or add one) Paste in the following - this is used for sending messages to all players: //Supply Drop Alert Event "SDROP_Alert" addPublicVariableEventHandler { hint parseText format["%1", _this select 1]; }; 3. Copy the SDROP.pbo to your @EpochHive/addons/ " Link to comment Share on other sites More sharing options...
tdavison Posted March 29, 2015 Author Report Share Posted March 29, 2015 Thanks. That worked like a charm, Bye, Flashheart... Thanks to all who helped get the version up-to-date so it can run with epoch 0.3... I'll get my github files updated soon (need to test before I upload) Link to comment Share on other sites More sharing options...
tdavison Posted March 29, 2015 Author Report Share Posted March 29, 2015 I am confused on this installation. Were running Epoch 3.0.1 How exaclt do we edit the "epoch.Altis initServer.sqf" or our "epoch.Altis init.sqf"? I see someone mentioned "You should be able to put that in your "epoch.Altis.pbo" (unpacked) init.sqf", but I am not sure how were suppoed to unpack this and repack it for the server? Are there any instructions on this process out there? We don't mind following other instructions if there out there, but we can't seem to find them. " 1. Edit your epoch.Altis initServer.sqf (or add one) Paste in the following line (or add to existing IF SERVER condition): if (isServer) then { [] ExecVM "\SDROP\init.sqf"; }; 2. Edit your epoch.Altis init.sqf (or add one) Paste in the following - this is used for sending messages to all players: //Supply Drop Alert Event "SDROP_Alert" addPublicVariableEventHandler { hint parseText format["%1", _this select 1]; }; 3. Copy the SDROP.pbo to your @EpochHive/addons/ " Beetle: I use a program called PBO Manager to un-pack the epoch.Altis.pbo file... from there, you can edit or add new files, then re-pack it into a PBO and upload to your server via TPAdmin or FTP. Please remember to save a backup of your original somewhere. Link to comment Share on other sites More sharing options...
beetlejuice321 Posted March 29, 2015 Report Share Posted March 29, 2015 Thanks so much. I just discovered PBO Manager with much online searching. I took the "epoch.Altix.pbo" file from our server (and made a copy). I didn't see any of these files, so I added them. I will give this a shot. Quick question. We are switching to Bornholm map for Epoch. Do I simply update my "epoch.Bornholm.pbo" instead of my "epoch.Altis.pbo"? Link to comment Share on other sites More sharing options...
tdavison Posted March 30, 2015 Author Report Share Posted March 30, 2015 Thanks so much. I just discovered PBO Manager with much online searching. I took the "epoch.Altix.pbo" file from our server (and made a copy). I didn't see any of these files, so I added them. I will give this a shot. Quick question. We are switching to Bornholm map for Epoch. Do I simply update my "epoch.Bornholm.pbo" instead of my "epoch.Altis.pbo"? Yep. Look above in posts to find safe spawns for helicopter for Bornholm. Link to comment Share on other sites More sharing options...
beetlejuice321 Posted March 30, 2015 Report Share Posted March 30, 2015 Hmm, well I uploaded everything but can't seem to join the server after adding the new for our server. Were using Bornholm map, so we tried editing the epoch.Bornholm, but connections then just lock up. I guess this just works for epoch.Altis, and I am not sure how to edit it for Bornholm. Link to comment Share on other sites More sharing options...
beetlejuice321 Posted March 30, 2015 Report Share Posted March 30, 2015 Awe I see above somone figured out the coordinates for Bornholm. I think I have figured out the coordinates for Bornholm. I've tested and the supply drop works with the following that figured out all on my own. _posArray = [[9885.76,21958.6,200],[9979.83,238.216,200],[21319.8,8515.21,200],[291.794,8532.42,200]]; // Bornholm I updated this in my "SDROP.pbo >missions > SDROP_SupplyDrop.sqf I can now get into the server fine. I also can see the helicopter mission begin and I followed the chopper to watch it drop its cargo. Then it flys back and forth around it. However I don't get this "500-meter radius marker for LZ lets players know where to look". Also there is no AI that comes in either. And no loot in the crate. It is empty. I believe these should all be enabled to some default settings (although I know they can be customized in editing init.sqf). Does anyone know why my Radius marker, AI guards, and loot are not working? Link to comment Share on other sites More sharing options...
XTamiiX Posted March 30, 2015 Report Share Posted March 30, 2015 Is it Chernarus compatible? Link to comment Share on other sites More sharing options...
Richie Posted March 30, 2015 Report Share Posted March 30, 2015 Is it Chernarus compatible? Most of the time yes, even giving it Chernarus coordinates they still spawn off the map 50% of the time. Link to comment Share on other sites More sharing options...
nightmare Posted March 31, 2015 Report Share Posted March 31, 2015 Is it Chernarus compatible? you can try out my reworked version, what i currently use on chernarus https://github.com/n8m4re/A3Epoch_SupplyDropAddon - all needed configuration stuff in the "config.cpp" - the right map positions will be loaded automaticaly from the config ( so you can switch the map without editing the .sqf eachtime ) ( Chernarus, Altis, Bornholm) - fix from the privious page already included XTamiiX 1 Link to comment Share on other sites More sharing options...
Darth_Rogue Posted March 31, 2015 Report Share Posted March 31, 2015 PBO isn't downloadable Link to comment Share on other sites More sharing options...
nightmare Posted March 31, 2015 Report Share Posted March 31, 2015 PBO isn't downloadable !# link edited Darth_Rogue 1 Link to comment Share on other sites More sharing options...
Cubitron Posted April 1, 2015 Report Share Posted April 1, 2015 20:40:26 Error in expression < BIS_fnc_isPosBlacklisted)) then { if ((_pos distance _testPos) >= _minDist) the> 20:40:26 Error position: <_pos distance _testPos) >= _minDist) the> 20:40:26 Error Undefined variable in expression: _pos 20:40:26 File A3\functions_f\misc\fn_findSafePos.sqf, line 98 20:40:26 Error in expression <["_newX", "_newY", "_testPos"]; _newX = _posX + (_maxDist - (random (_maxDist * > 20:40:26 Error position: <_posX + (_maxDist - (random (_maxDist * > 20:40:26 Error Undefined variable in expression: _posx 20:40:26 File A3\functions_f\misc\fn_findSafePos.sqf, line 90 20:40:26 Error in expression <ltPos = _this select 8; }; I get this Error in my rpt, i have a problem with the Coords on Panthera Map. Link to comment Share on other sites More sharing options...
kayzee Posted April 2, 2015 Report Share Posted April 2, 2015 any hel;p at all.. i add this to my init but players never allert on drop //Supply Drop Alert Event "SDROP_Alert" addPublicVariableEventHandler { hint parseText format["%1", _this select 1]; }; Link to comment Share on other sites More sharing options...
smilinglyer Posted April 2, 2015 Report Share Posted April 2, 2015 This mission stopped working for me since epoch version 3 Link to comment Share on other sites More sharing options...
Neka7350 Posted April 3, 2015 Report Share Posted April 3, 2015 Hello, For my part, I made my own edit to make it working with the update 0.3.0.1. The problem is that the crate can't be fill with loots because the script isn't correct with the new update. So I did that myself, I'm not an expert but It works very well for me and I use this method for every mission script. 1) Open the PBO for SDROP 2) Go in script/SDROP_Functions.sqf and open this file 3) Find "SDROPLoadLootFood" inside the file and replace the function by this one. SDROPLoadLootFood = { private["_crate"]; _crate = _this select 0; //empty crate first clearWeaponCargoGlobal _crate; clearMagazineCargoGlobal _crate; clearBackpackCargoGlobal _crate; clearItemCargoGlobal _crate; // This is just and example, create lists like that // _Weapons = ["Classname_Weapon1","Classname_Weapon2"]; _Armes = ["1911_pistol_epoch","hgun_ACPC2_F","hgun_Pistol_heavy_01_F","hgun_Pistol_heavy_02_F","hgun_PDW2000_F","SMG_02_F","SMG_01_F"]; //Fill the crate with what you want _Nombre = ceil(random 3); //Select a random number for how many time he will execute the action if(_Nombre < 1) then { _Nombre = 1 }; //If the number selected before is "0", he will still execute one time the action for [{_Compteur=0}, {_Compteur<_Nombre}, {_Compteur=_Compteur+1}] do { _Objet = _Armes call BIS_fnc_selectRandom; //Change the variable by the same that the list you create before _crate addWeaponCargoGlobal [_Objet, 1]; //He will add the weapon randomly selected in the list and start }; }; 4) Make the same for "SDROPLoadLootSupplies", "SDROPLoadLootWeapons" and "SDROPRandomLoot" Hope this will help and you understood me, I know my english isn't great but I think he's understandable. Greetings, Neka Link to comment Share on other sites More sharing options...
tdavison Posted April 3, 2015 Author Report Share Posted April 3, 2015 This mission stopped working for me since epoch version 3 I think the only issue, besides the hint text not working, was the loot tables for random crates (Nightmare's fix below): In SupplyDrop_Functions.sqf, replace the code starting on line 148 with the following (only replace the portion needed): // Generate Loot { _tmp = (getArray(_x >> 'items')); {SDROPLootList = SDROPLootList + [ ( _x select 0 ) select 0 ];} forEach (_tmp); } forEach ("configName _x != 'Uniforms' && configName _x != 'Headgear'" configClasses (configFile >> "CfgLootTable")); I'll try to get the hint text working again by weekend. cyncrwler 1 Link to comment Share on other sites More sharing options...
Richie Posted April 3, 2015 Report Share Posted April 3, 2015 I'll try to get the hint text working again by weekend. Have a stab at Chernarus as well please :) Nightmare's version still drops them outside the map. Link to comment Share on other sites More sharing options...
tdavison Posted April 3, 2015 Author Report Share Posted April 3, 2015 any hel;p at all.. i add this to my init but players never allert on drop //Supply Drop Alert Event "SDROP_Alert" addPublicVariableEventHandler { hint parseText format["%1", _this select 1]; }; Make sure the init.sqf you edit is in your epoch.Altis.pbo or whatever mission system you have running (you may have to create the init.sqf). I just tested it again today, and my hints are working with the 0.3 update. Link to comment Share on other sites More sharing options...
nightmare Posted April 3, 2015 Report Share Posted April 3, 2015 if you use my version, the code for the hint message (mission side) is ... https://github.com/n8m4re/A3Epoch_SupplyDropAddon/blob/master/SupplyDrop-1.0-Serverside-Addon/client/sdropClient.sqf Link to comment Share on other sites More sharing options...
Aiyo Posted April 3, 2015 Report Share Posted April 3, 2015 Nightmare maybe a little Tutorial how to install your version for newbs? Link to comment Share on other sites More sharing options...
nightmare Posted April 4, 2015 Report Share Posted April 4, 2015 Nightmare maybe a little Tutorial how to install your version for newbs? basicly its the same installation procedure.. 1. add "a3_sdrop.bpo" to "@epochhive/addons" 2. add "sdropClient.sqf" to "mpmissions/epoch.mapname", if you have there a *.pbo instead of a folder, please google for "how to extract .pbo", pbo is an archive like "zip" you need a tool for that. 3. open the "init.sqf" inside of the "mpmissions/epoch.mapname" folder, if not exist then create an new file with an editor like "notepad++" and name it to "init.sqf" example for the "init.sqf" // stop server loading the client script // tutorial: http://killzonekid.com/arma-scripting-tutorials-basic-multiplayer-coding-summary/ if (isDedicated) exitWith {}; // compile the script on mission load // https://community.bistudio.com/wiki/compileFinal sdropClient=compileFinal preprocessFileLineNumbers "sdropClient.sqf"; // wait client is ready // https://community.bistudio.com/wiki/waitUntil // https://community.bistudio.com/wiki/isPlayer // https://community.bistudio.com/wiki/alive waitUntil{(isPlayer player) && (alive player) && !isNil "EPOCH_loadingScreenDone"}; // Starts running the script // https://community.bistudio.com/wiki/spawn [] spawn sdropClient; Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now