Apoc's Airdrop Assistance - v1.4 Release

  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #45 posted: Apr 22, 2015, 09:20 AM »
The Strider actually flew in, but the helo definatly had a hard time bringing it to me. It was swaying everywhere due to hard winds. The resupply crate I ordered directly after arrived at the same time ;)
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #46 posted: Apr 22, 2015, 09:28 AM »
There's one flaw in your script I think. Right after the money is taken from the players bankaccount they can alt+f4 and come back to the server. The item gets flown in and they have their bankmoney back.

You will need to add
Code: [Select]
[_player] spawn fn_savePlayerData; somwhere if it's not already there. Well atleast I couldnt find it. Haven't tried the code line yet, but in the service trucks I use the script is called directly from the client and you use it like this:
Code: [Select]
[] spawn fn_savePlayerData;
  • Offline bolox
  • Mercenary
  • *****
  • Posts: 276

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #47 posted: Apr 22, 2015, 09:40 AM »
strange it stopped working.. :(
Our 250 popular player rust server 1rule- Dont be a dick
www.nomercykillers.com

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #48 posted: Apr 22, 2015, 04:12 PM »
strange it stopped working.. :(

Gotta fix those errors, bud.  Disable the script that is throwing the error (comment unit.sqf line) and see if the airdrop works.  One error can break the rest of the mission if it implodes at the wrong time.  ARMA doesn't error handle well, at least if you don't teach it to.

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #49 posted: Apr 22, 2015, 07:04 PM »
ok on my tests i have noticed that its not only my case that are droping 2 adittionals kitbag and removing my carryall without call on the cases, all boxes are doing this, i have no idea how to fix this :(

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #50 posted: Apr 22, 2015, 07:35 PM »
There's one flaw in your script I think. Right after the money is taken from the players bankaccount they can alt+f4 and come back to the server. The item gets flown in and they have their bankmoney back.

You will need to add
Code: [Select]
[_player] spawn fn_savePlayerData; somwhere if it's not already there. Well atleast I couldnt find it. Haven't tried the code line yet, but in the service trucks I use the script is called directly from the client and you use it like this:
Code: [Select]
[] spawn fn_savePlayerData;

Thanks!  I was hoping that it'd be synced immediately by the server, but I hadn't dug to ensure the call was happening.  I'll add that in when I'm back from a work trip this weekend.

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #51 posted: Apr 22, 2015, 08:26 PM »
ok i did another test, i have used the map stratis 1.1b with no editions by me, then i added the airdrop, and tested it without any editions, it seems the bug comes from wasteland map i guess, i did no editions on map and on the mod but the same bug happened, if anyone want to try this by your self here is the map, and if anyone know how to fix this please let me know, this bug is driving my crazy ><
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #52 posted: Apr 22, 2015, 09:21 PM »
Thanks!  I was hoping that it'd be synced immediately by the server, but I hadn't dug to ensure the call was happening.  I'll add that in when I'm back from a work trip this weekend.
It works btw ;)

Here's the fix:
https://github.com/LouDnl/ArmA3_Wasteland.Altis/commit/8141f1ea2b1f9911919d4152292327181a92be47
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #54 posted: Apr 23, 2015, 09:26 AM »
I'm getting errors in my RPT when people use the supply option.
Code: [Select]
2015/04/22, 22:36:56 "SERVER - Apoc's Airdrop Assistance - Player: Magnum, Drop Type: supply, Selection #: 2"
2015/04/22, 22:36:56 "AAA - Heli Spawned at [15000,15000,200]"
2015/04/22, 22:36:56 Error in expression <lass, _quantity];
};
};
};
};
} forEach _items;
>
2015/04/22, 22:36:56   Error position: <_items;
>
2015/04/22, 22:36:56   Error Undefined variable in expression: _items
2015/04/22, 22:36:56 File mpmissions\__cur_mp.Altis\server\functions\processItems.sqf, line 86
2015/04/22, 22:36:56 Error in expression < "bipod_02_F_hex"], 2]
];
};
};

[_box, _boxItems] call processItems;>
2015/04/22, 22:36:56   Error position: <_boxItems] call processItems;>
2015/04/22, 22:36:56   Error Undefined variable in expression: _boxitems
2015/04/22, 22:36:56 File mpmissions\__cur_mp.Altis\server\functions\fn_refillbox.sqf, line 99
2015/04/22, 22:36:56 "Apoc's Airdrop Assistance - Object at [14999.8,15000.3,44.3419]"

As far as I know selection 2 is the A3Snipers option. This hasn't changed though?
I changed this just now and will try tonight if it helps.

https://github.com/LouDnl/ArmA3_Wasteland.Altis/commit/88b38ce7292209d8ebc0f8650aeb17416ef527d1
  • Offline CREAMPIE
  • Armaholic
  • Veteran
  • ******
  • Posts: 1083
  • ^_^;;

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #55 posted: Apr 23, 2015, 09:37 AM »
I'm getting errors in my RPT when people use the supply option.
Code: [Select]
2015/04/22, 22:36:56 "SERVER - Apoc's Airdrop Assistance - Player: Magnum, Drop Type: supply, Selection #: 2"
2015/04/22, 22:36:56 "AAA - Heli Spawned at [15000,15000,200]"
2015/04/22, 22:36:56 Error in expression <lass, _quantity];
};
};
};
};
} forEach _items;
>
2015/04/22, 22:36:56   Error position: <_items;
>
2015/04/22, 22:36:56   Error Undefined variable in expression: _items
2015/04/22, 22:36:56 File mpmissions\__cur_mp.Altis\server\functions\processItems.sqf, line 86
2015/04/22, 22:36:56 Error in expression < "bipod_02_F_hex"], 2]
];
};
};

[_box, _boxItems] call processItems;>
2015/04/22, 22:36:56   Error position: <_boxItems] call processItems;>
2015/04/22, 22:36:56   Error Undefined variable in expression: _boxitems
2015/04/22, 22:36:56 File mpmissions\__cur_mp.Altis\server\functions\fn_refillbox.sqf, line 99
2015/04/22, 22:36:56 "Apoc's Airdrop Assistance - Object at [14999.8,15000.3,44.3419]"

As far as I know selection 2 is the A3Snipers option. This hasn't changed though?
I changed this just now and will try tonight if it helps.

https://github.com/LouDnl/ArmA3_Wasteland.Altis/commit/88b38ce7292209d8ebc0f8650aeb17416ef527d1

I changed my A3Snipers box to a custom sniper box supplied and it worked fine , I suspect there could be some typo or issue with using A3Snipers. Since the change , everything works fine.

- from the grassy knoll -
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #56 posted: Apr 23, 2015, 11:16 AM »
I think I found the error. My guess is that the crate name is case sensitive.

https://github.com/LouDnl/ArmA3_Wasteland.Altis/commit/41aac831cd2b7d431f20d054252d3d86740aa403

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #57 posted: Apr 23, 2015, 12:12 PM »
Yup!  Crate name is case sensitive.  That was fixed in the later rev of the airdrop.
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #58 posted: Apr 23, 2015, 12:18 PM »
Ahh I see that i'm missing some commits. Strange as I pulled the latest one of your Git. Oh well :)
  • Offline JoSchaap
  • Developer
  • Mercenary
  • ******
  • Posts: 483
  • Had a life.. Got a modem.. (~1996)

Re: Apoc's Airdrop Assistance - v1 Release

« Reply #59 posted: Apr 23, 2015, 12:25 PM »
4 pages inn.. still no video?  :o



Haven't got time for arma but i am curious :)