Jump to content

Compile failure

Closed 0.1.0 0.1.1

Papa
Papa

Posted

  1. 'IServer' does not contain a definition for 'SaveInfo' and no accessible extension method 'SaveInfo' accepting a first argument of type 'IServer' could be found (are you missing a using directive or an assembly reference?) [CS1061]
     (ExtendedStats 45 line 195)

  • Like 1
IIIaKa

Posted (edited)

Hi. Could you please provide your config file (without mysql credentionals(replace them with empty values) and 'List of deployed names') and the full error log? The error indicates that IServer does not contain SaveInfo, although it should. Also, are you using the latest version of the server? And which server modification are you using, umod or carbon?

Edited by IIIaKa
Papa

Posted (edited)

Hi - the plugin never actually compiles so it's not generating a config file. I am running Carbon. I am running the latest version of Rust on the server.

 

Failed compiling '/home/container/carbon/plugins/ExtendedStats.cs':
  1. 'IServer' does not contain a definition for 'SaveInfo' and no accessible extension method 'SaveInfo' accepting a first argument of type 'IServer' could be found (are you missing a using directive or an assembly reference?) [CS1061]
     (ExtendedStats 45 line 195)


To confirm, I have tried with the newest plugin version and receive the same error.

Edited by Papa
IIIaKa

Posted

I launched the plugin on Carbon, got the same error. It seems to be related to Carbon. I need to investigate why there is SaveInfo in Oxide but not in Carbon...

Papa

Posted

I spoke to the Owner of Carbon - this is a known issue that will be patched on Feb 1st by Carbon 🙂

  • Like 1
Papa

Posted (edited)

Carbon was updated successfully on 01Feb2024. The plugin now compiles, but generates errors such as:

 

oaded plugin ExtendedStats v0.1.1 by IIIaKa [145ms]
Failed to call internal hook 'OnDispenserGather' on plugin 'ExtendedStats v0.1.1' [1110811472] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.ExtendedStats.UpdateGather(ulong userID, Item item) in /home/container/carbon/plugins/ExtendedStats.cs:line 281
   at void Oxide.Plugins.ExtendedStats.OnDispenserGather(ResourceDispenser dispenser, BasePlayer player, Item item) in /home/container/carbon/plugins/ExtendedStats.cs:line 390
   at object Oxide.Plugins.ExtendedStats.InternalCallHook(uint hook, object[] args) in ExtendedStats.cs/Internal:line 176
Failed to call internal hook 'OnDispenserGather' on plugin 'ExtendedStats v0.1.1' [1110811472] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.ExtendedStats.UpdateGather(ulong userID, Item item) in /home/container/carbon/plugins/ExtendedStats.cs:line 281
   at void Oxide.Plugins.ExtendedStats.OnDispenserGather(ResourceDispenser dispenser, BasePlayer player, Item item) in /home/container/carbon/plugins/ExtendedStats.cs:line 390
   at object Oxide.Plugins.ExtendedStats.InternalCallHook(uint hook, object[] args) in ExtendedStats.cs/Internal:line 176
Failed to call internal hook 'OnDispenserBonus' on plugin 'ExtendedStats v0.1.1' [407286711] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.ExtendedStats.UpdateGather(ulong userID, Item item) in /home/container/carbon/plugins/ExtendedStats.cs:line 281
   at void Oxide.Plugins.ExtendedStats.OnDispenserBonus(ResourceDispenser dispenser, BasePlayer player, Item item) in /home/container/carbon/plugins/ExtendedStats.cs:line 395
   at object Oxide.Plugins.ExtendedStats.InternalCallHook(uint hook, object[] args) in ExtendedStats.cs/Internal:line 164

 

Failed to call internal hook 'OnUserConnected' on plugin 'ExtendedStats v0.1.1' [1971459992] (The given key 'STEAMIDREMOVEDFORSUPPORTPOST' was not present in the dictionary.)
   at PlayerData System.Collections.Generic.Dictionary<ulong, Oxide.Plugins.ExtendedStats+PlayerData>.get_Item(ulong key)
   at void Oxide.Plugins.ExtendedStats.OnUserConnected(IPlayer player) in /home/container/carbon/plugins/ExtendedStats.cs:line 345
   at object Oxide.Plugins.ExtendedStats.InternalCallHook(uint hook, object[] args) in ExtendedStats.cs/Internal:line 478

 

Edited by Papa
Papa

Posted (edited)

After having it loaded for ~20 minutes it caused a massive disconnect and nearly a server crash. We had ~100 pop on at the time. I have it disabled pending an update.

Edited by Papa
IIIaKa

Posted

Hello, please update the plugin.

IIIaKa

Posted

Changed Status from Pending to Closed

Changed Fixed In to 0.1.1

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

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.