a little bug fix to hopefully stop duping

This commit is contained in:
happydayz 2016-09-17 14:31:48 +10:00
parent 43e01f1616
commit da42e19d94
4 changed files with 10 additions and 12 deletions

Binary file not shown.

View File

@ -100,8 +100,10 @@ if (!local _requestingPlayer) then
[_requestingPlayer] joinSilent ExileServerGraveyardGroup;
_money = _requestingPlayer getVariable ["ExileMoney", 0];
// Remove all items from dead body
_clear = {
_clear =
{
_this = _object;
removeAllActions _object;
removeAllAssignedItems _object;
@ -120,6 +122,12 @@ if (!local _requestingPlayer) then
_moneyHolder setVariable ["ExileMoney", _money, true];
};
//remove money from the dead body
_requestingPlayer setVariable ["ExileMoney", 0];
//move deadplayer far far away!
_requestingPlayer setpos [0,0,0];
_accountData = format["getAccountStats:%1", _requestingPlayerUID] call ExileServer_system_database_query_selectSingle;
_group = createGroup independent;

View File

@ -2,17 +2,8 @@
Exile Revive System
changelog
13/01/16 -- prevent duping of gear by revived player.
14/01/16 -- prevent accessing gear on player being revived (stops duping).
15/01/16 -- hotfix to enable access to corpse inventory after a failed revive.
17/01/16 -- updated animations for revive, place defib on ground as part of revive process.
02/02/16 -- added support for GR8 Humanity Script, hopefully fixed any God mode issues against AI.
03/03/16 -- updated to support Exile 0.9.6
------------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------HOW TO INSTALL ENIGMA EXILE REVIVE V0.65---------------------------------------------------------
-----------------------------------------------------HOW TO INSTALL ENIGMA EXILE REVIVE V0.80---------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------
@ -26,7 +17,6 @@ DMS_ai_offload_Only_DMS_AI = true;
The AI that was being spawned are being taken over by DMS and this will NOT WORK IF YOU HAVE IT SET TO FALSE!!!!! (which it is by default!)
First add the startup paramaters @Enigma to your server!
Copy the @Enigma Folder to your Server Root!