Jump to content

Plugin stopped working with the new rust update

Pending 1.1.16

BjarkeH

Posted

Plugin stopped working with the new rust update

Chicken Dinner

Posted (edited)

1 hour ago, BjarkeH said:

Plugin stopped working with the new rust update

Yes, I'm having same issue. Here are just a couple logs. Great plugin by the way. Thanks for making it free. 

 

28. 'OfflineRaidProtection' does not contain a constructor that takes 4 arguments [CS1729]

(OfflineRaidProtection 118 line 365)

29. 'object' does not contain a definition for 'LoadConfig' [CS0117]

(OfflineRaidProtection 18 line 597)

30. 'OfflineRaidProtection' does not contain a definition for 'cmdStatus' and no accessible extension method 'cmdStatus' accepting a first argument of type 'OfflineRaidProtection' could be found (are you missing a using directive or an assembly reference?) [CS1061]

(OfflineRaidProtection 82 line 214)

31. There is no argument given that corresponds to the required formal parameter 'commands' of 'OfflineRaidProtection.ConfigData.CommandOptions.RegisterChatCommands(string[], Plugin, Action<BasePlayer, string, string[]>, string)' [CS7036]

(OfflineRaidProtection 21 line 215)

32. Keyword 'this' is not valid in a static property, static method, or static field initializer [CS0026]

(OfflineRaidProtection 26 line 755)

33. The first operand of an 'is' or 'as' operator may not be a lambda expression, anonymous method, or method group. [CS0837]

(OfflineRaidProtection 34 line 1026)

(OfflineRaidProtection 45 line 1084)

35. Cannot assign to 'Scale' because it is a 'method group' [CS1656]

(OfflineRaidProtection 17 line 1094)

36. A local variable or function named 'GetOfflineMember' is already defined in this scope [CS0128]

Edited by Chicken Dinner
XM1337

Posted

same here...

Carbon 2.0.189.0/linux/2025.06.05.0 [production] [production_build] on Rust 859/2590.268.1 (06/05/2025 10:41:25)

Quote

 

(10:20:24) | Failed compiling 'OfflineRaidProtection.cs':

(10:20:24) | 1. Invalid expression term '[' [CS1525]

(OfflineRaidProtection 57 line 32)

(10:20:24) | 2. Syntax error; value expected [CS0443]

(OfflineRaidProtection 58 line 32)

(10:20:24) | 3. ) expected [CS1026]

(OfflineRaidProtection 42 line 215)

(10:20:24) | 4. ; expected [CS1002]

(OfflineRaidProtection 55 line 215)

(10:20:24) | 5. } expected [CS1513]

(OfflineRaidProtection 55 line 215)

(10:20:24) | 6. { expected [CS1514]

(OfflineRaidProtection 44 line 290)

(10:20:24) | 7. Type expected [CS1031]

(OfflineRaidProtection 45 line 290)

(10:20:24) | 8. Tuple must contain at least two elements. [CS8124]

(OfflineRaidProtection 45 line 290)

(10:20:24) | 9. Invalid token 'in' in class, record, struct, or interface member declaration [CS1519]

(OfflineRaidProtection 45 line 290)

(10:20:24) | 10. Identifier expected [CS1001]

(OfflineRaidProtection 62 line 290)

(10:20:24) | 11. Syntax error, ',' expected [CS1003]

(OfflineRaidProtection 62 line 290)

(10:20:24) | 12. Type or namespace definition, or end-of-file expected [CS1022]

(OfflineRaidProtection 48 line 541)

(10:20:24) | 13. Top-level statements must precede namespace and type declarations. [CS8803]

(OfflineRaidProtection 9 line 566)

(10:20:24) | 14. The modifier 'private' is not valid for this item [CS0106]

(OfflineRaidProtection 9 line 566)

(10:20:24) | 15. 'else' cannot start a statement. [CS8641]

(OfflineRaidProtection 93 line 1964)

(10:20:24) | 16. Elements defined in a namespace cannot be explicitly declared as private, protected, protected internal, or private protected [CS1527]

(OfflineRaidProtection 30 line 392)

(10:20:24) | 17. A namespace cannot directly contain members such as fields, methods or statements [CS0116]

(OfflineRaidProtection 38 line 543)

(10:20:24) | 18. The type '<invalid-global-code>' already contains a definition for '' [CS0102]

(OfflineRaidProtection 119 line 541)

(10:20:24) | 19. Method must have a return type [CS1520]

(OfflineRaidProtection 20 line 365)

(10:20:24) | 20. 'PlayerScaleCache' is inaccessible due to its protection level [CS0122]

(OfflineRaidProtection 44 line 27)

(10:20:24) | 21. '<invalid-global-code>.LoadDefaultConfig()': no suitable method found to override [CS0115]

(OfflineRaidProtection 33 line 591)

(10:20:24) | 22. The type or namespace name 'LastOnlineData' could not be found (are you missing a using directive or an assembly reference?) [CS0246]

(OfflineRaidProtection 17 line 1178)

(10:20:24) | 23. Program using top-level statements must be an executable. [CS8805]

(OfflineRaidProtection 9 line 566)

(10:20:24) | 24. The name 'buildingPrivlidge' does not exist in the current context [CS0103]

(OfflineRaidProtection 17 line 547)

(10:20:24) | 25. Argument 2: cannot convert from 'Carbon.Plugins.PlayerScaleCache [/home/main1/serverfiles/carbon/plugins/OfflineRaidProtection.cs(392)]' to 'Carbon.Plugins.PlayerScaleCache [Script.OfflineRaidProtection.cs.66d4895a81594572a47507df4f566ce1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null]' [CS1503]

(OfflineRaidProtection 97 line 476)

(10:20:24) | 26. A field initializer cannot reference the non-static field, method, or property 'OfflineRaidProtection.userid' [CS0236]

(OfflineRaidProtection 17 line 299)

(10:20:24) | 27. 'OfflineRaidProtection' does not contain a constructor that takes 4 arguments [CS1729]

(OfflineRaidProtection 118 line 365)

(10:20:24) | 28. 'OfflineRaidProtection' does not contain a definition for 'cmdStatus' and no accessible extension method 'cmdStatus' accepting a first argument of type 'OfflineRaidProtection' could be found (are you missing a using directive or an assembly reference?) [CS1061]

(OfflineRaidProtection 82 line 214)

(10:20:24) | 29. There is no argument given that corresponds to the required formal parameter 'commands' of 'OfflineRaidProtection.ConfigData.CommandOptions.RegisterChatCommands(string[], Plugin, Action<BasePlayer, string, string[]>, string)' [CS7036]

(OfflineRaidProtection 21 line 215)

(10:20:24) | 30. Cannot use local variable or local function 'GetBaseConfig' declared in a top-level statement in this context. [CS8801]

(OfflineRaidProtection 72 line 591)

(10:20:24) | 31. 'object' does not contain a definition for 'LoadConfig' [CS0117]

(OfflineRaidProtection 18 line 597)

(10:20:24) | 32. Keyword 'this' is not valid in a static property, static method, or static field initializer [CS0026]

(OfflineRaidProtection 26 line 755)

(10:20:24) | 33. The first operand of an 'is' or 'as' operator may not be a lambda expression, anonymous method, or method group. [CS0837]

(OfflineRaidProtection 34 line 1026)

(10:20:24) | 34. 'Extensions.Value<U>(IEnumerable<JToken>)' is a method, which is not valid in the given context [CS0119]

(OfflineRaidProtection 45 line 1084)

(10:20:24) | 35. Cannot assign to 'Scale' because it is a 'method group' [CS1656]

(OfflineRaidProtection 17 line 1094)

(10:20:24) | 36. A local variable or function named 'GetOfflineMember' is already defined in this scope [CS0128]

(OfflineRaidProtection 23 line 1768)

 

 

Kaooa

Posted

18 hours ago, XM1337 said:

plugin works. suddenly 🤷🏻‍♂️

are you using windows or linix?

1.8m

Downloads

Total number of downloads.

8.3k

Customers

Total customers served.

125.9k

Files Sold

Total number of files sold.

2.6m

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.