-
Posts
101 -
Joined
-
Last visited
Content Type
Profiles
Downloads
Forums
Store
Support
DOWNLOADS EXTRA
Services
Everything posted by Magnumk
-
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
-
- 655 comments
-
- #shop
- #shop ui
-
(and 25 more)
Tagged with:
- #shop
- #shop ui
- #store
- #market
- #server rewards
- #gui shop
- #custom items
- #rust shop
- #mevent
- #market system
- #marketplace
- #buy
- #sell
- #in game
- #economics
- #humannpc
- #market and magazine
- #gui
- #money exchange
- #rust shop plugin
- #shop system
- #best shop
- #best rust shop
- #shop items
- #shop mevent
- #shop in menu
- #shop gui
-
- 655 comments
-
- #shop
- #shop ui
-
(and 25 more)
Tagged with:
- #shop
- #shop ui
- #store
- #market
- #server rewards
- #gui shop
- #custom items
- #rust shop
- #mevent
- #market system
- #marketplace
- #buy
- #sell
- #in game
- #economics
- #humannpc
- #market and magazine
- #gui
- #money exchange
- #rust shop plugin
- #shop system
- #best shop
- #best rust shop
- #shop items
- #shop mevent
- #shop in menu
- #shop gui
-
-
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!",
- 197 comments
-
- 197 comments
-
- 197 comments
-
- 197 comments
-
I have the same 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
-
That fixed the problem, sorry for the trouble!
-
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
-
(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
-
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
- 2 comments