Jump to content

DONT UPDATE - Plugin bricks server

Closed 1.1.0 1.1.3

GamingHQ
GamingHQ

Posted (edited)

Your plugin "update" just made my server crash. GG

 

Test your plugins first before pushing updates that bricks the server.

@Mals We have a code kitty. Disable download.

 

09/11 11:19:28 | Failed to call hook 'OnPlayerMetabolize' on plugin 'CustomStatusFramework v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.CustomStatusFramework+StatusHud.Instance (BasePlayer basePlayer) [0x00000] in <052449106a154cec87b5c858a84ad594>:0
at Oxide.Plugins.CustomStatusFramework.OnPlayerMetabolize (PlayerMetabolism metabolism, BasePlayer basePlayer, System.Single delta) [0x00012] in <052449106a154cec87b5c858a84ad594>:0
at Oxide.Plugins.CustomStatusFramework.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00529] in <052449106a154cec87b5c858a84ad594>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d4a0be71194349e98f7b43231b9cea3b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b974d7a025404888bcdd55b51f29c440>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b974d7a025404888bcdd55b51f29c440>:0

09/11 11:19:28 | Failed to call hook 'OnPlayerMetabolize' on plugin 'CustomStatusFramework v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.CustomStatusFramework+StatusHud.Instance (BasePlayer basePlayer) [0x00000] in <052449106a154cec87b5c858a84ad594>:0
at Oxide.Plugins.CustomStatusFramework.OnPlayerMetabolize (PlayerMetabolism metabolism, BasePlayer basePlayer, System.Single delta) [0x00012] in <052449106a154cec87b5c858a84ad594>:0
at Oxide.Plugins.CustomStatusFramework.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00529] in <052449106a154cec87b5c858a84ad594>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d4a0be71194349e98f7b43231b9cea3b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b974d7a025404888bcdd55b51f29c440>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b974d7a025404888bcdd55b51f29c440>:0

( and 1400 other NRE's within 60 seconds ) 

Edited by GamingHQ
NRE shitshow
  • Moderator
Mals

Posted (edited)

Tested on my dev server and it booted up fine.  It might be config related?

Logged out, saved, restarted, reconnected, no issue. If not config then some other plugins using the same hook?

Edited by Mals
Mr01sam

Posted

Would you mind sharing what your CSF config looks like? Also include a list of plugins that you have that are utilizing CSF.

Mr01sam

Posted

It sounds like you may have been spammed with NREs on the OnPlayerMetabolize hook. I believe this should be addressed with v1.1.1, please try it out and let me know if you are still experiencing this issue.

GamingHQ

Posted

@Mals My server was frozen completely. Players were mass kicked. A simple plugin like this should not be doing much harm... well, i was wrong.

 

@Mr01sam all I use is VIP status. I wish there was just a super simple plugin that allows me to let the player know if they are a member or not with a simple icon on their screen, but I didn't find anything much. Then i found the VIPStatus mod and this one.

Yes, the flood was so hard, it had bricked my server. aproxx 1400 messages a second came in. Even my partners in hosting had sent me a DM about why there was an odd spike on their node. 

  • Moderator
Mals

Posted

There are a few VIP Status plugins out there.  As a moderator, it would not be appropriate to recommend any. 

Mr01sam

Posted

@GamingHQthis plugin may seem simple, but it is not, it unfortunately needs to constantly redraw graphics, which means it's running constantly. If it's just a status you need to be displayed when a player is a VIP I might be able to put together a simple version that interfaces with CSF efficiently (DM me).

Are you still seeing these issues with the latest version I uploaded, v1.1.2? If so, if you remove your VIP status plugins (and reload CSF after) do you still have these issues?

Mr01sam

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.1.3

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.