BedIntruder319 submitted a new resource:
Customizable Airdrop Hotfix - Provides a temporary airdrop workaround
Read more about this resource...
Customizable Airdrop Hotfix [Abandoned]
Discussion in 'Plugin Support' started by BedIntruder319, Dec 23, 2014.
-
I can confirm this plugin is working and is really nice and customizable! It is the only plugin in the world that can allow airdrops to work in Rust. (As of 22/12/2014)
Last edited by a moderator: Dec 23, 2014 -
when you try to loot the airdrop it says that you are too far and ignores?
cause if it's the case their is a very very easy way to fix that. -
-
not what i was saying.
i was just wondering why you needed that plugin.
is it because it's impossible to loot normally a crate? does it say that you are too far to loot it? -
-
did you try something like:
Code:function PLUGIN:OnPlayerLoot( playerloot, entity ) if(entity:GetComponentInParent(global.SupplyDrop._type)) then playerloot.PositionChecks = false end end
-
There isn't a "no loot" problem. It throws an error sometimes for some reason, and I'm not sure why, that's all.
-
adding this to my server tomorrow for testing. Thanks!
-
Have this error:
Code:3:26 PM [Error] airdrops: A .NET exception occured in user-code at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
Last edited by a moderator: May 10, 2015 -
-
"AirdropSupplies": [
{
"probability": 80,
"name": "Pistol Bullet",
"minAmount": 150,
"maxAmount": 300
},
{
"probability": 100,
"name": "Revolver",
"minAmount": 1,
"maxAmount": 1
},
{
"probability": 25,
"name": "Thompson",
"minAmount": 1,
"maxAmount": 1
},
{
"probability": 90,
"name": "Cooked Human Meat",
"minAmount": 15,
"maxAmount": 30
},
{
"probability": 100,
"name": "Wood",
"minAmount": 10000,
"maxAmount": 25000
},
{
"probability": 100,
"name": "Stone",
"minAmount": 7500,
"maxAmount": 15000
},
{
"probability": 50,
"name": "Metal Fragments",
"minAmount": 100,
"maxAmount": 600
}
],
"PluginSettings": {
"Title": "Airdrops",
"Version": "1.0.0"
},
"Settings": {
"ChatName": "[Drop]",
"MaximumXCoord": 1000,
"MinimumXCoord": -1000,
"MinimumZCoord": -1000,
"SupplyDropDelayInSeconds": 3600,
"MaximumZCoord": 1000
}
} -
-
[Oxide] 9:22 AM [Error] airdrops: [string "airdrops.lua"]:55: attempt to call method 'GetComponentInParent' (a nil value)
-
[DOUBLEPOST=1419351775][/DOUBLEPOST]
I'll be rewriting the "loot" and hit detection checks for efficiency, as well as make sure that weapons can't be used to loot. Push coming soon. -
BedIntruder319 updated Customizable Airdrop Hotfix with a new update entry:
Fixed "shoot to loot"
-
BedIntruder319 updated Customizable Airdrop Hotfix with a new update entry:
Bugs, bugs, and more bugs
-
Code:public void KillMessage() { this.Kill(EntityDestroy.Mode.None, 0, 0f, new Vector3()); }
-
[Oxide] 1:38 PM [Error] airdrops: [string "airdrops.lua"]:60: bad argument #1 to 'pairs' (table expected, got nil)
-