Jump to content

Craft

Creator
  • Posts

    436
  • Joined

  • Last visited

Everything posted by Craft

  1. Craft

    Errors that occur after updates

    Failed to call hook 'RoadBradleyCommand' on plugin 'RoadBradley v1.6.12' (InvalidCastException: Null object cannot be converted to a value type.) at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00019] in <467a840a914a47078e4ae9b0b1e8779e>:0 at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00007] in <467a840a914a47078e4ae9b0b1e8779e>:0 at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <beb2b64691c64e2b95b99491bd85442c>:0 at Oxide.Plugins.RoadBradley.HaveRequiredItem (BasePlayer player, System.String shortname, System.UInt64 skin, System.Int32 amount) [0x00041] in <57a59a14219a47789e7ead1c4320872a>:0 at Oxide.Plugins.RoadBradley.UpdateDisplayedTankUi (BasePlayer player, System.Text.StringBuilder sb, Oxide.Ext.CarbonAliases.CUI cui, Oxide.Ext.CarbonAliases.CUI+Handler+UpdatePool elements) [0x008a6] in <57a59a14219a47789e7ead1c4320872a>:0 at Oxide.Plugins.RoadBradley.OpenRoadBradleyUI (BasePlayer player) [0x003a3] in <57a59a14219a47789e7ead1c4320872a>:0 at Oxide.Plugins.RoadBradley.RoadBradleyCommand (BasePlayer player) [0x00000] in <57a59a14219a47789e7ead1c4320872a>:0 at Oxide.Plugins.RoadBradley.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00b14] in <57a59a14219a47789e7ead1c4320872a>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0 (14:52:14) | Failed to call hook 'RoadBradleyCommand' on plugin 'RoadBradley v1.6.12' (InvalidCastException: Null object cannot be converted to a value type.) at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00019] in <467a840a914a47078e4ae9b0b1e8779e>:0 at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00007] in <467a840a914a47078e4ae9b0b1e8779e>:0 at Oxide.Core.Plugins.Plugin.Call[T] (System.String hook, System.Object[] args) [0x00008] in <beb2b64691c64e2b95b99491bd85442c>:0 at Oxide.Plugins.RoadBradley.HaveRequiredItem (BasePlayer player, System.String shortname, System.UInt64 skin, System.Int32 amount) [0x00041] in <57a59a14219a47789e7ead1c4320872a>:0 at Oxide.Plugins.RoadBradley.UpdateDisplayedTankUi (BasePlayer player, System.Text.StringBuilder sb, Oxide.Ext.CarbonAliases.CUI cui, Oxide.Ext.CarbonAliases.CUI+Handler+UpdatePool elements) [0x008a6] in <57a59a14219a47789e7ead1c4320872a>:0 at Oxide.Plugins.RoadBradley.OpenRoadBradleyUI (BasePlayer player) [0x003a3] in <57a59a14219a47789e7ead1c4320872a>:0 at Oxide.Plugins.RoadBradley.RoadBradleyCommand (BasePlayer player) [0x00000] in <57a59a14219a47789e7ead1c4320872a>:0 at Oxide.Plugins.RoadBradley.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00b14] in <57a59a14219a47789e7ead1c4320872a>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0
  2. Craft

    SkinID

    The above issue has been resolved Can an F15 launch more rockets?
  3. Craft

    SkinID

    Add configuration to the signal to support self modifying its name
  4. Craft

    SkinID

    Edited
  5. Craft

    SkinID

    if (playersList.Contains(player) && entity.name == grenadeSupplySignalPrefab) { if (!CanUseF15(player)) { player.ChatMessage(Configuration.prohibitionMessage); entity.Kill(); GiveItemToPlayer(player, 1); return; } Your if (! CanUseF15 (player)) sequence is incorrect, which will affect other signal bounce skins private void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info) { if (info.WeaponPrefab != null && info.WeaponPrefab.PrefabName == rocketPrefab && info.damageTypes.Get(Rust.DamageType.Hunger) > 0) { info.damageTypes.ScaleAll(Configuration.damageScale); if (!Configuration.damageBuildings && entity is DecayEntity decayEntity) { if (decayEntity.OwnerID != 0) { info.damageTypes.ScaleAll(0); } } } } Detect unowned entities to support raid bases
  6. Craft

    SkinID

    Please only control the skin ID of the air raid signal flare, do not control other skin IDs!! In addition: Assault base, names of signal flares that can be set up
  7. Craft

    Raidable base support ?

    Urgent need for this
  8. Craft

    New version error

    (14:11:12) | [RoadBradley] Road Bradley purchased by 3DDDDD (76561198152599371) of profile '10' has spawned at (633.22, 21.66, 1703.07)! (14:11:24) | [RoadBradley] Bradley purchased by '76561198152599371' (10) has been destroyed at (652.27, 21.79, 1704.15)! (14:11:24) | Failed to call hook 'OnEntityDestroy' on plugin 'RoadBradley v1.6.11' (TargetException: Object does not match target type.) at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00024] in <b11ba2a8fbf24f219f7cc98532a11304>:0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <b11ba2a8fbf24f219f7cc98532a11304>:0 at Oxide.Plugins.RoadBradley.InitializeCustomTankDeath (BradleyAPC apc, Oxide.Plugins.RoadBradley+RoadBradleyController controller) [0x0001c] in <11e9c0063ab645c7ace985a7855babd8>:0 at Oxide.Plugins.RoadBradley.OnEntityDestroy (BradleyAPC apc) [0x00929] in <11e9c0063ab645c7ace985a7855babd8>:0 at Oxide.Plugins.RoadBradley.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0049a] in <11e9c0063ab645c7ace985a7855babd8>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0 This error occurs. After destroying Bradley, there will be fire and no custom loot will be filled
  9. Craft

    Chat Command

    If this code is used in OnEntityKill, it can be compatible with lockonsockets
  10. Craft

    Cargo ship

  11. Craft

    Cargo ship

    This is too regrettable. I hope you can add damage settings
  12. Craft

    Cargo ship

    I only see health Where is the damage multiplier set?
  13. Craft

    Cargo ship

    I want to modify the damage, health, etc. of the NPC on the cargo ship, but it seems that NPCKIT cannot do this?
  14. Craft

    Cargo ship

    When can we add NPCs on the cargo ship?
  15. Craft

    Large oil rig

    Sorry, please ignore
      • 1
      • Like
  16. Craft

    Tank that erases events

    the UI is not properly closed and players can call Bradley infinitely The UI shutdown will be affected by the network. It is recommended to check the number of calls again when calling the tank
  17. Craft

    Tank that erases events

    In the latest version, the UI is not properly closed and players can call Bradley infinitely
  18. Craft

    Chat Command

    https://chaoscode.io/resources/lock-on-rockets.5/
  19. Craft

    Chat Command

    LockOnRocket A plugin, haven't you heard of it? Should be used in OnEntityKill Instance.NextTick(()=> Instance.ProcessRewards(heliId, ownerId, heliProfile));
  20. Craft

    Update Required

    NullReferenceException at (wrapper managed-to-native) UnityEngine.Component.get_transform(UnityEngine.Component) at BaseEntity.WorldSpaceBounds () [0x00000] in <ce7a1930c3b44c4887e7e266e9133c14>:0 at BaseEntity.ClosestPoint (UnityEngine.Vector3 position) [0x00000] in <ce7a1930c3b44c4887e7e266e9133c14>:0 at Oxide.Plugins.TactiToolsPluginCore+__RadiusDamagePatch.RadiusDamage (BaseEntity attackingPlayer, BaseEntity weaponPrefab, UnityEngine.Vector3 pos, System.Single minradius, System.Single radius, System.Collections.Generic.List`1[T] damage, System.Int32 layers, System.Boolean useLineOfSight) [0x000a0] in <c759deccb0b34441b616b768eb0b61fb>:0 at Oxide.Plugins.TactiToolsPluginCore+__RadiusDamagePatch.Prefix (BaseEntity attackingPlayer, BaseEntity weaponPrefab, UnityEngine.Vector3 pos, System.Single minradius, System.Single radius, System.Collections.Generic.List`1[T] damage, System.Int32 layers, System.Boolean useLineOfSight) [0x00000] in <c759deccb0b34441b616b768eb0b61fb>:0 at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.DamageUtil.RadiusDamage_Patch1(BaseEntity,BaseEntity,UnityEngine.Vector3,single,single,System.Collections.Generic.List`1<Rust.DamageTypeEntry>,int,bool,bool,bool) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.TimedExplosive.Explode_Patch2(TimedExplosive,UnityEngine.Vector3) at TimedExplosive.Explode () [0x00007] in <ce7a1930c3b44c4887e7e266e9133c14>:0 at TimedExplosive.ProjectileImpact (UnityEngine.RaycastHit info, UnityEngine.Vector3 rayOrigin) [0x00000] in <ce7a1930c3b44c4887e7e266e9133c14>:0 at ServerProjectile.DoMovement () [0x0021a] in <ce7a1930c3b44c4887e7e266e9133c14>:0 at ServerProjectile.FixedUpdate () [0x0001b] in <ce7a1930c3b44c4887e7e266e9133c14>:0
  21. Craft

    Event Owner

    I am only one person and cannot test. My players encounter this problem every day
  22. Craft

    Tank that erases events

    I have already tested that the Bradley called by the player will become Rust own Bradley Anyone can attack Bradley, and health is controlled by the plugin. Fire, loot, and fire are not controlled by the plugin
  23. Craft

    Event Owner

    "PVE Mode Setting": { "Use the PVE mode of the plugin? [true/false]": true, "Show the displayName of the event owner on a marker on the map? [true/false]": true, "The amount of damage that the player has to do to become the Event Owner": 10.0, "Damage coefficients for calculate to become the Event Owner.": { "Npc": 1.0, "Bradley": 2.0, "Helicopter": 2.0, "Turret": 2.0 }, "Can the non-owner of the event loot the crates? [true/false]": false, "Can the non-owner of the event hack locked crates? [true/false]": false, "Can the non-owner of the event loot NPC corpses? [true/false]": false, "Can an Npc attack a non-owner of the event? [true/false]": false, "Can Bradley attack a non-owner of the event? [true/false]": false, "Can Helicopter attack a non-owner of the event? [true/false]": false, "Can Turret attack a non-owner of the event? [true/false]": false, "Can the non-owner of the event deal damage to the NPC? [true/false]": false, "Can the non-owner of the event do damage to Helicopter? [true/false]": false, "Can the non-owner of the event do damage to Bradley? [true/false]": false, "Can the non-owner of the event do damage to Turret? [true/false]": false, "Allow the non-owner of the event to enter the event zone? [true/false]": false, "Allow a player who has an active cooldown of the Event Owner to enter the event zone? [true/false]": false, "The time that the Event Owner may not be inside the event zone [sec.]": 300, "The time until the end of Event Owner status when it is necessary to warn the player [sec.]": 60, "Prevent the actions of the RestoreUponDeath plugin in the event zone? [true/false]": false, "The time that the player can`t become the Event Owner, after the end of the event and the player was its owner [sec.]": 604800.0, "Darkening the dome (0 - disables the dome)": 12 }, The problem comes from multiple player reports, and I cannot ask them to record videos. There were no issues during my own testing. The reason for the problem is that if player A has time to cool down and attacks the event, then player B cannot become the event owner without cooling down I will delete the configuration files of two plugins and reconfigure them
  24. Craft

    Event Owner

    Also, players can use various vehicles to bypass the cooldown time check and forcibly enter the dome. This way, players with cooldown time can take the spoils of each event without becoming the event owner. Solution: If the player is checked again as the event owner when taking the loot
1.8m

Downloads

Total number of downloads.

8.5k

Customers

Total customers served.

128.5k

Files Sold

Total number of files sold.

2.7m

Payments Processed

Total payments processed.

×
×
  • 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.