Jump to content

Burning crates

Pending 1.8.12

Caroleenje
Caroleenje

Posted

Hi, 

to lock the crates, I'm using the fire (the code lock often bugged out and couldn't be unlocked) - "Use Fireballs As Chest Lock (...)": true

Then I set each fire to last only 1 second so everyone can loot them immediately: "Loot - Fire Lock Time (in seconds)": 1

Since the wipe, the crates burn just like in vanilla, though, and I noticed this error right after the crates spawn:
 

MissingMethodException: Method 'LockedByEntCrate.SetLockingEnt' not found.
  at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x006e0] in <41d29b352f6a475ab1bf7c6628b82790>:0 
  at UnityEngine.SetupCoroutine.InvokeMember (System.Object behaviour, System.String name, System.Object variable) [0x0001e] in <541bad9922cc471fb776cf62c05b1d38>:0 
UnityEngine.Component:SendMessage_Injected(IntPtr, ManagedSpanWrapper&, Object, SendMessageOptions)
UnityEngine.Component:SendMessage(String, Object, SendMessageOptions)
Oxide.Plugins.RoadBradley:InitializeCustomTankDeath(BradleyAPC, RoadBradleyController)
Oxide.Plugins.RoadBradley:OnEntityDestroy(BradleyAPC)
Oxide.Plugins.RoadBradley:DirectCallHook(String, Object&, Object[])
Oxide.Plugins.CSharpPlugin:InvokeMethod(HookMethod, Object[])
Oxide.Core.Plugins.CSPlugin:OnCallHook(String, Object[])
Oxide.Core.Plugins.Plugin:CallHook(String, Object[])
Oxide.Core.Plugins.PluginManager:CallHook(String, Object[])
Oxide.Core.OxideMod:CallHook(String, Object[])
Oxide.Core.Interface:CallHook(String, Object[])
Oxide.Core.Interface:CallHook(String, Object)
BradleyAPC:OnDied(HitInfo)
BaseCombatEntity:Die(HitInfo)
BaseCombatEntity:Hurt(HitInfo)
BradleyAPC:Hurt(HitInfo)
BaseCombatEntity:OnAttacked(HitInfo)
BradleyAPC:OnAttacked(HitInfo)
DamageUtil:RadiusDamage(BaseEntity, BaseEntity, Vector3, Single, Single, List`1, Int32, Boolean, Boolean, Boolean, Boolean, List`1, Boolean, Boolean, BaseEntity)
TimedExplosive:Explode(Vector3)
TimedExplosive:Explode()
TimedExplosive:ProjectileImpact(RaycastHit, Vector3)
ServerProjectile:ProcessHit(RaycastHit, BaseEntity, Vector3)
ServerProjectile:DoHitDetection(Vector3, Single)
ServerProjectile:DoMovement()
ServerProjectile:FixedUpdate()

 

ThePitereq

Posted (edited)

4 hours ago, Caroleenje said:

Hi, 

to lock the crates, I'm using the fire (the code lock often bugged out and couldn't be unlocked) - "Use Fireballs As Chest Lock (...)": true

Then I set each fire to last only 1 second so everyone can loot them immediately: "Loot - Fire Lock Time (in seconds)": 1

Since the wipe, the crates burn just like in vanilla, though, and I noticed this error right after the crates spawn:
 

MissingMethodException: Method 'LockedByEntCrate.SetLockingEnt' not found.
  at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x006e0] in <41d29b352f6a475ab1bf7c6628b82790>:0 
  at UnityEngine.SetupCoroutine.InvokeMember (System.Object behaviour, System.String name, System.Object variable) [0x0001e] in <541bad9922cc471fb776cf62c05b1d38>:0 
UnityEngine.Component:SendMessage_Injected(IntPtr, ManagedSpanWrapper&, Object, SendMessageOptions)
UnityEngine.Component:SendMessage(String, Object, SendMessageOptions)
Oxide.Plugins.RoadBradley:InitializeCustomTankDeath(BradleyAPC, RoadBradleyController)
Oxide.Plugins.RoadBradley:OnEntityDestroy(BradleyAPC)
Oxide.Plugins.RoadBradley:DirectCallHook(String, Object&, Object[])
Oxide.Plugins.CSharpPlugin:InvokeMethod(HookMethod, Object[])
Oxide.Core.Plugins.CSPlugin:OnCallHook(String, Object[])
Oxide.Core.Plugins.Plugin:CallHook(String, Object[])
Oxide.Core.Plugins.PluginManager:CallHook(String, Object[])
Oxide.Core.OxideMod:CallHook(String, Object[])
Oxide.Core.Interface:CallHook(String, Object[])
Oxide.Core.Interface:CallHook(String, Object)
BradleyAPC:OnDied(HitInfo)
BaseCombatEntity:Die(HitInfo)
BaseCombatEntity:Hurt(HitInfo)
BradleyAPC:Hurt(HitInfo)
BaseCombatEntity:OnAttacked(HitInfo)
BradleyAPC:OnAttacked(HitInfo)
DamageUtil:RadiusDamage(BaseEntity, BaseEntity, Vector3, Single, Single, List`1, Int32, Boolean, Boolean, Boolean, Boolean, List`1, Boolean, Boolean, BaseEntity)
TimedExplosive:Explode(Vector3)
TimedExplosive:Explode()
TimedExplosive:ProjectileImpact(RaycastHit, Vector3)
ServerProjectile:ProcessHit(RaycastHit, BaseEntity, Vector3)
ServerProjectile:DoHitDetection(Vector3, Single)
ServerProjectile:DoMovement()
ServerProjectile:FixedUpdate()

 

Hey! Oh, yeah there were some changes on force that didn't broke the plugin compilation and i didn't saw it.  Should be fixed now.
Sorry for the issues!

Also the codelock might be seen bugged because of the region with building blocked, and it's natural codelock behaviour. Will think about replacement in the future as i've got some reports like that previously.

Edited by ThePitereq

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
3m
Total downloads
Customers
12k
Customers served
Files Sold
170.8k
Total sales
Payments
3.7m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.