Jump to content

JustANoob

Member
  • Posts

    215
  • Joined

  • Last visited

Everything posted by JustANoob

  1. Did you see what was wrong?
  2. I added two more plugins, maybe they are the problem?
  3. The other one doesn't have config. NoEngineParts.json Convoy.json CarSpawnSettings.cs SpawnModularCar.cs CarSpawnSettings.json SpawnModularCar.json
  4. private void OnServerInitialized() { Subscribe(nameof(OnEntitySpawned)); foreach (var entity in BaseNetworkable.serverEntities) { if (entity is Catapult) return; if (entity is BaseVehicle vehicle) { bool isConvoyVehicle = Convoy != null && (bool)Convoy?.Call("IsConvoyVehicle", vehicle); if (!isConvoyVehicle) { ModifyVehicle(vehicle); } } else if (entity is HotAirBalloon balloon) { ModifyBalloon(balloon); } } } private void Unload() { foreach (var entity in BaseNetworkable.serverEntities) { if (entity is BaseVehicle vehicle) { bool isConvoyVehicle = Convoy != null && (bool?)Convoy.Call("IsConvoyVehicle", vehicle) == true; if (!isConvoyVehicle) { ResetVehicle(vehicle); } } else if (entity is HotAirBalloon balloon) { ResetBalloon(balloon); } } } private void OnEntitySpawned(BaseVehicle vehicle) { if (vehicle is Catapult) return; NextTick(() => { if (vehicle == null || !vehicle.IsValid()) return; bool isConvoyVehicle = Convoy != null && (bool?)Convoy.Call("IsConvoyVehicle", vehicle) == true; if (!isConvoyVehicle) { ModifyVehicle(vehicle); } }); }
  5. I sent you them. SimpleNoVehicleFuel.cs
  6. Here is the complete CS NoEngineParts.cs
  7. private void OnEntityMounted(ModularCarSeat seat) { bool isConvoyVehicle = Convoy != null && (bool)Convoy?.Call("IsConvoyVehicle", seat); var car = seat.associatedSeatingModule?.Vehicle as ModularCar; if (car == null) return; // Only refresh engine loadout if engine cannot be started, else handle in OnEngineStarted if (car.HasDriver() && !car.HasAnyWorkingEngines() && !isConvoyVehicle) RefreshCarEngineLoadouts(car); } private void OnEngineStarted(ModularCar car) { bool isConvoyVehicle = Convoy != null && (bool)Convoy?.Call("IsConvoyVehicle", car); if (!isConvoyVehicle) { RefreshCarEngineLoadouts(car); } }
  8. It was either NoEngineParts.cs or SimpleNoVehicleFuel.cs that was doing it, but it is weird, sometimes they get stuck and sometimes they run just fine around the map. It could be that NoEngineParts.cs was the one that was modified and when the new version came out it broke the Convoy.
  9. Here is my config. Convoy.json
  10. "Order of vehicles": [ "bradley_samsite_nightmare", "modular_npc_long_nightmare", "vendor_turret_nightmare", "vendor_samsite_nightmare", "bradley_samsite_nightmare", "sedan_nightmare", "sedan_nightmare", "bradley_samsite_nightmare", "vendor_samsite_nightmare", "vendor_turret_nightmare", "modular_npc_long_nightmare", "bradley_samsite_nightmare" ], "Order of vehicles": [ "bradley_samsite_nightmare", "vendor_turret_nightmare", "vendor_samsite_nightmare", "bradley_samsite_nightmare", "sedan_nightmare", "sedan_nightmare", "bradley_samsite_nightmare", "vendor_samsite_nightmare", "vendor_turret_nightmare", "bradley_samsite_nightmare" ],
  11. I think you gave me a modified version that fixed it, but when you published the new version, it didn't have the fix in the new CS. I installed the new version and it broke the modular cars again.
  12. Remember your Convoy used to be pushed and not drove by your NPC's. Now that they drive, the modular cars don't go sometimes or get stuck. To get them to move again I either have to ENT KILL them or remove from the config file and then everything is o.k..
  13. "Order of vehicles": [ "sedan_hard", "modular_npc_long_hard", "modular_sniper_hard", "bradley_hard", "vendor_loot_hard", "vendor_samsite_hard", "bradley_hard", "modular_sniper_hard", "modular_npc_long_hard", "sedan_hard" ], "Order of vehicles": [ "sedan_hard", "bradley_hard", "vendor_loot_hard", "vendor_samsite_hard", "bradley_hard", "sedan_hard" ],
  14. I think I forgot to remove the cars, again... Silly me! I'll remove them and I will remember that cars will never work on my server. sad! I will remove them now and not use the cars. Everything else is great, Yay! Keep up the great work!
  15. JustANoob

    latest update broken.

    Failed to call internal hook 'Unload' on plugin 'NpcSpawn v2.8.0' [4006810030] (Collection was modified; enumeration operation may not execute.) at bool System.Collections.Generic.Dictionary<ulong, Oxide.Plugins.NpcSpawn+CustomScientistNpc>+ValueCollection+Enumerator.MoveNext() at void Oxide.Plugins.NpcSpawn.Unload() in /home/container/carbon/plugins/NpcSpawn.cs:line 2204 at object Oxide.Plugins.NpcSpawn.InternalCallHook(uint hook, object[] args) in NpcSpawn.cs/Internal:line 369 Unloaded plugin NpcSpawn v2.8.0 by KpucTaJl
  16. JustANoob

    Getting this in console

    Failed to call internal hook 'OnItemAction' on plugin 'Genie v1.0.6' [3403522973] (Object reference not set to an instance of an object) at object Oxide.Plugins.Genie.OnItemAction(Item item, string action, BasePlayer player) in /home/container/carbon/plugins/Genie.cs:line 764 at object Oxide.Plugins.Genie.InternalCallHook(uint hook, object[] args) in Genie.cs/Internal:line 141 Failed to call internal hook 'OnItemAction' on plugin 'TreasureMaps v2.0.1' [3403522973] (Object reference not set to an instance of an object) at object Oxide.Plugins.TreasureMaps.OnItemAction(Item item, string action, BasePlayer player)+(MapConfiguration c) => { } [0] in /home/container/carbon/plugins/TreasureMaps.cs:line 1252 at MapConfiguration System.Collections.Generic.List<Oxide.Plugins.TreasureMaps+MapConfiguration>.Find(Predicate<MapConfiguration> match) at object Oxide.Plugins.TreasureMaps.OnItemAction(Item item, string action, BasePlayer player) in /home/container/carbon/plugins/TreasureMaps.cs:line 1252 at object Oxide.Plugins.TreasureMaps.InternalCallHook(uint hook, object[] args) in TreasureMaps.cs/Internal:line 496 Failed to call internal hook 'OnItemAction' on plugin 'Genie v1.0.6' [3403522973] (Object reference not set to an instance of an object) at object Oxide.Plugins.Genie.OnItemAction(Item item, string action, BasePlayer player) in /home/container/carbon/plugins/Genie.cs:line 764 at object Oxide.Plugins.Genie.InternalCallHook(uint hook, object[] args) in Genie.cs/Internal:line 141 Failed to call internal hook 'OnItemAction' on plugin 'TreasureMaps v2.0.1' [3403522973] (Object reference not set to an instance of an object) at object Oxide.Plugins.TreasureMaps.OnItemAction(Item item, string action, BasePlayer player)+(MapConfiguration c) => { } [0] in /home/container/carbon/plugins/TreasureMaps.cs:line 1252 at MapConfiguration System.Collections.Generic.List<Oxide.Plugins.TreasureMaps+MapConfiguration>.Find(Predicate<MapConfiguration> match) at object Oxide.Plugins.TreasureMaps.OnItemAction(Item item, string action, BasePlayer player) in /home/container/carbon/plugins/TreasureMaps.cs:line 1252 at object Oxide.Plugins.TreasureMaps.InternalCallHook(uint hook, object[] args) in TreasureMaps.cs/Internal:line 496 Failed to call internal hook 'OnItemAction' on plugin 'Genie v1.0.6' [3403522973] (Object reference not set to an instance of an object) at object Oxide.Plugins.Genie.OnItemAction(Item item, string action, BasePlayer player) in /home/container/carbon/plugins/Genie.cs:line 764 at object Oxide.Plugins.Genie.InternalCallHook(uint hook, object[] args) in Genie.cs/Internal:line 141 Failed to call internal hook 'OnItemAction' on plugin 'TreasureMaps v2.0.1' [3403522973] (Object reference not set to an instance of an object) at object Oxide.Plugins.TreasureMaps.OnItemAction(Item item, string action, BasePlayer player)+(MapConfiguration c) => { } [0] in /home/container/carbon/plugins/TreasureMaps.cs:line 1252 at MapConfiguration System.Collections.Generic.List<Oxide.Plugins.TreasureMaps+MapConfiguration>.Find(Predicate<MapConfiguration> match) at object Oxide.Plugins.TreasureMaps.OnItemAction(Item item, string action, BasePlayer player) in /home/container/carbon/plugins/TreasureMaps.cs:line 1252 at object Oxide.Plugins.TreasureMaps.InternalCallHook(uint hook, object[] args) in TreasureMaps.cs/Internal:line 496
  17. JustANoob

    Error popped up.

    { "Activation Delay (seconds)": 2.0, "Activation Range": 500.0, "Gesture Images": { "Gesture.Clap": "GestureToActivate\\images\\clap.png", "Gesture.Friendly": "GestureToActivate\\images\\surrender.png", "Gesture.Hurry": "GestureToActivate\\images\\hurry.png", "Gesture.Ok": "GestureToActivate\\images\\ok.png", "Gesture.Point": "GestureToActivate\\images\\point.png", "Gesture.Shrug": "GestureToActivate\\images\\shrug.png", "Gesture.ThumbsDown": "GestureToActivate\\images\\thumbsdown.png", "Gesture.ThumbsUp": "GestureToActivate\\images\\thumbsup.png", "Gesture.Victory": "GestureToActivate\\images\\victory.png", "Gesture.Wave": "GestureToActivate\\images\\wave.png" }, "Message Avatar ID": "76561199442694119", "Show Messages": true, "UI Open SFX": "assets/prefabs/locks/keypad/effects/lock.code.unlock.prefab", "UI Updated SFX": "assets/prefabs/locks/keypad/effects/lock.code.updated.prefab" }
  18. JustANoob

    Error popped up.

    Unloaded plugin GestureToActivate v1.0.3 by mr01sam Loaded plugin GestureToActivate v1.0.3 by mr01sam [44ms] Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Clap_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\clap.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Wave_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\wave.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Victory_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\victory.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.ThumbsUp_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\thumbsup.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.ThumbsDown_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\thumbsdown.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Shrug_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\shrug.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Point_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\point.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Ok_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\ok.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Hurry_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\hurry.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Friendly_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\surrender.png [Timed Execute] ran CMD: we lightrain Unloaded plugin GestureToActivate v1.0.3 by mr01sam Loaded plugin GestureToActivate v1.0.3 by mr01sam [45ms] GestureToActivate v1.0.3 by mr01sam hook 'OnServerInitialized' took longer than 100ms [191ms] Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Clap_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\clap.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Wave_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\wave.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Victory_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\victory.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.ThumbsUp_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\thumbsup.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.ThumbsDown_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\thumbsdown.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Shrug_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\shrug.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Point_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\point.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Ok_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\ok.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Hurry_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\hurry.png Image failed to download! Error: Cannot connect to destination host - Image Name: gta2.Gesture.Friendly_0 - Image URL: /home/container/carbon/data\GestureToActivate\images\surrender.png
  19. JustANoob

    Error popped up.

    Failed to call internal hook 'OnEntityDeath' on plugin 'BetterNpcNames v1.2.0' [1779071345] (Object reference not set to an instance of an object) at void Oxide.Plugins.BetterNpcNames.OnEntityDeath(NPCPlayer npc, HitInfo info) in /home/container/carbon/plugins/BetterNpcNames.cs:line 285 at object Oxide.Plugins.BetterNpcNames.InternalCallHook(uint hook, object[] args) in BetterNpcNames.cs/Internal:line 107 Failed to call internal hook 'OnEntityDeath' on plugin 'DeathNotes v6.4.4' [1779071345] (Object reference not set to an instance of an object.) at void Oxide.Plugins.DeathNotes.OnEntityDeath(BaseCombatEntity victimEntity, HitInfo hitInfo) in /home/container/carbon/plugins/DeathNotes.cs:line 312 at object Oxide.Plugins.DeathNotes.InternalCallHook(uint hook, object[] args) in DeathNotes.cs/Internal:line 147 NullReferenceException: Object reference not set to an instance of an object
  20. JustANoob

    No Images (Error 429)

    Thank You!
  21. JustANoob

    No Images (Error 429)

    Same here...
1.7m

Downloads

Total number of downloads.

8k

Customers

Total customers served.

121.1k

Files Sold

Total number of files sold.

2.5m

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.