Jump to content

Magnumk

Creator
  • Posts

    101
  • Joined

  • Last visited

Everything posted by Magnumk

  1. I get this when I try to start by chat or console: Failed to call hook 'ChatStartEvent' on plugin 'SupermarketEvent v1.0.7' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.SupermarketEvent.AlertToAllPlayers (System.String langKey, System.Object[] args) [0x000e0] in <878e68af07da4684b869b039534a360a>:0 at Oxide.Plugins.SupermarketEvent.Start (BasePlayer player) [0x000bb] in <878e68af07da4684b869b039534a360a>:0 at Oxide.Plugins.SupermarketEvent.ChatStartEvent (BasePlayer player) [0x00010] in <878e68af07da4684b869b039534a360a>:0 at Oxide.Plugins.SupermarketEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01433] in <878e68af07da4684b869b039534a360a>: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. Magnumk

    Raidable Bases

    @nivex Are you planning to include the IQDronePatrol parameter for each raid profile?
  3. @Iftebinjan I had to comment out this row to get it to compile: //using System.Text.Json;
  4. @Flint MonkeyNot quite sure what you mean? But I add players to VIP group with TimedPermissions command when they have played like 100h
  5. @Flint Monkey yeah, get errors when using 0.1 My intention was to add new players to a specific group at a early stage.
  6. @Iftebinjan Is it possible to specifi say like 10 min?
  7. @CupsOhJoe I thought that the "isNewPlayer": true, only affect players when they connect to the server for the first time but it seems like I misunderstood and it will affect every one that connect for the first time every wipe?
  8. These messages, I want to reduce the global chat messages to not spam the chat for people that isn’t participating. "JoinAnnounce": "{0} joined the event [<color=#ffb6> "SAJointAnnounceMsg_1": "<color=#00fff7>{0}</color>> "SAJointAnnounceMsg_2": "<color=#00fff7>{0}</color>> "SAJointAnnounceMsg_3": "Oh no, <color=#00fff7>{0}<> Maybe you can take a look at these as well: "SurvivalArenaStartingBeginIn": "Game will start in> "Cancelled": "Survival Arena has been cancelled due> "AnnounceWinner": "{0} has won the event!",
  9. @imthenewguy in English, I will test to enable and then disable again (I don’t think I’ve done that) So I need to disable in both EventHelper and Arena? So there is a parameter that I can set so that manually started event by voting have a pre configured Hiehgmod?
  10. I've set "Announce in chat when a player joins an event?": false, in EventHelper and "Announce when a player joins the event?": false, in SurvivalArena but I still gets messages in chat, have I missed something?
  11. Is there a way to set default heightmod for the default settings?
  12. Magnumk

    Raidable Bases

    Hey @nivex is there a way to limit the amount of turrets the player is allowed to build inside the raid?
  13. I have the same error
  14. Magnumk

    Convoy Reforged

    Can I specify so that the plugin uses defined Alphaloot tables?
  15. Magnumk

    RPC Error

    I get the following error when Toastify is isntalled and when I pusch some of the buttons in TCLevels GUI. No error when: Toastify is uninstalled Notify installed or uninstalled Running Carbon Player gets disconnected with this error: disconnecting: RPC Error in AddUI: Object reference not set to an instance of an object. at JSON.Object.GetString (System.String key, System.String strDEFAULT) [0x00000] in <00000000000000000000000000000000>:0 at CommunityEntity.CreateComponents (UnityEngine.GameObject go, JSON.Object obj, System.Boolean allowUpdate) [0x00000] in <00000000000000000000000000000000>:0 at CommunityEntity.AddUI (BaseEntity+RPCMessage msg) [0x00000] in <00000000000000000000000000000000>:0 at CommunityEntity.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) [0x00000] in <00000000000000000000000000000000>:0 at BaseEntity.CL_RPCMessage (System.UInt32 nameID, System.UInt64 sourceConnection, Network.Message message) [0x00000] in <00000000000000000000000000000000>:0 at Client.OnRPCMessage (Network.Message packet) [0x00000] in <00000000000000000000000000000000>:0 at Client.OnNetworkMessage (Network.Message packet) [0x00000] in <00000000000000000000000000000000>:0 at Facepunch.Network.Raknet.Client.ProcessRead (Network.NetRead read) [0x00000] in <00000000000000000000000000000000>:0 at Network.BaseNetwork.Cycle () [0x00000] in <00000000000000000000000000000000>:0 at Client.Update () [0x00000] in <00000000000000000000000000000000>:0
  16. Magnumk

    Favorites

    Copied the interface section, got it to work. Thanks!
  17. Magnumk

    Favorites

    I unloaded the plugin, "installed" the new version 1.3.1 Still same problem. Do I need to remove/change something else?
  18. Magnumk

    Favorites

    When there is a description on an item the favorite option is not visible
  19. Magnumk

    OnPlayerConnected

    That fixed the problem, sorry for the trouble!
  20. Magnumk

    OnPlayerConnected

    It appears when players connect to the server I can't use the /wear command I tried to reload it but I get another error: (16:14:17) | UnderwearSelection was compiled successfully in 1465ms (16:14:17) | Unloaded plugin Underwear Selection v1.0.2 by Marat (16:14:18) | Shutting down compiler because no more jobs (16:14:18) | ExType: JsonSerializationException (16:14:18) | Failed to call hook 'OnServerInitialized' on plugin 'UnderwearSelection v1.0.2' (ArgumentException: Could not cast or convert from System.Int64 to Oxide.Plugins.UnderwearSelection+Data.) at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00062] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00031] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0008d] in <271c58b7a8684db5a2c92be17a81f252>:0 (16:14:18) | Loaded plugin Underwear Selection v1.0.2 by Marat
  21. Magnumk

    OnPlayerConnected

    (09:52:34) | Failed to run a 1.00 timer in 'UnderwearSelection v1.0.2' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.UnderwearSelection.OnPlayerConnected (BasePlayer player) [0x00078] in <532aafe1a522480c8590768ef29d989c>:0 at Oxide.Plugins.UnderwearSelection+<>c__DisplayClass6_0.<OnPlayerConnected>b__0 () [0x00000] in <532aafe1a522480c8590768ef29d989c>:0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <b76ec77c47d1449e92b2baab8603843d>:0
  22. Magnumk

    Explosive Chest

    I needed to change the command section to be able to sell this item from shop. #region Commands [ConsoleCommand("give.echest")] void GiveExplosiveChest(ConsoleSystem.Arg arg) { if (arg.Args == null || arg.Args.Length < 1) { Puts("Usage: give.echest <SteamID>"); return; } ulong steamId; if (!ulong.TryParse(arg.Args[0], out steamId)) { Puts("Invalid SteamID provided."); return; } BasePlayer targetPlayer = BasePlayer.FindByID(steamId); if (targetPlayer == null) { Puts($"No player found with SteamID {steamId}."); return; } BasePlayer commandExecutor = arg.Player(); // Check if the command is executed from the server console if (commandExecutor == null) { targetPlayer.inventory.GiveItem(ItemManager.Create(ItemManager.FindItemDefinition("box.wooden"), 1, config.SkinId)); return; } // If executed by an in-game player, check for permissions if (commandExecutor.IsAdmin || commandExecutor.IPlayer.HasPermission("explosivechest.give")) targetPlayer.inventory.GiveItem(ItemManager.Create(ItemManager.FindItemDefinition("box.wooden"), 1, config.SkinId)); else Puts("You don't have permission to execute this command."); } [ConsoleCommand("give.echest.large")] void GiveExplosiveChestLarge(ConsoleSystem.Arg arg) { if (arg.Args == null || arg.Args.Length < 1) { Puts("Usage: give.echest.large <SteamID>"); return; } ulong steamId; if (!ulong.TryParse(arg.Args[0], out steamId)) { Puts("Invalid SteamID provided."); return; } BasePlayer targetPlayer = BasePlayer.FindByID(steamId); if (targetPlayer == null) { Puts($"No player found with SteamID {steamId}."); return; } BasePlayer commandExecutor = arg.Player(); // Check if the command is executed from the server console if (commandExecutor == null) { targetPlayer.inventory.GiveItem(ItemManager.Create(ItemManager.FindItemDefinition("box.wooden.large"), 1, config.SkinId)); return; } // If executed by an in-game player, check for permissions if (commandExecutor.IsAdmin || commandExecutor.IPlayer.HasPermission("explosivechest.give")) targetPlayer.inventory.GiveItem(ItemManager.Create(ItemManager.FindItemDefinition("box.wooden.large"), 1, config.SkinId)); else Puts("You don't have permission to execute this command."); } #endregion
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

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.