Jump to content

Update Won't Compile

Closed 1.10.63

dustyhansen
dustyhansen

Posted

I just installed the latest version and get the following errors in console:

Failed compiling 'IQRecycler.cs':
  1. Type or namespace definition, or end-of-file expected [CS1022]
     (IQRecycler 13 line 1266)
  2. Tuple must contain at least two elements. [CS8124]
     (IQRecycler 37 line 1266)
  3. ) expected [CS1026]
     (IQRecycler 37 line 1266)
  4. A namespace cannot directly contain members such as fields, methods or statements [CS0116]
     (IQRecycler 45 line 1268)
  5. Identifier expected [CS1001]
     (IQRecycler 33 line 1270)
  6. Syntax error, ',' expected [CS1003]
     (IQRecycler 33 line 1270)
  7. Type expected [CS1031]
     (IQRecycler 34 line 1270)
  8. ; expected [CS1002]
     (IQRecycler 90 line 1270)
  9. Top-level statements must precede namespace and type declarations. [CS8803]
     (IQRecycler 13 line 1274)
  10. The modifier 'private' is not valid for this item [CS0106]
     (IQRecycler 9 line 1355)
  11. Elements defined in a namespace cannot be explicitly declared as private, protected, protected internal, or private protected [CS1527]
     (IQRecycler 23 line 2169)
  12. Method must have a return type [CS1520]
     (IQRecycler 17 line 1270)
  13. '<invalid-global-code>.<invalid-global-code>(GetLang, (?, ?), player.UserIDString)' must declare a body because it is not marked abstract, extern, or partial [CS0501]
     (IQRecycler 17 line 1270)
  14. Inconsistent accessibility: field type 'Dictionary<string, ImageUI.ImageData>' is less accessible than field 'ImageUI._images' [CS0052]
     (IQRecycler 60 line 3006)
  15. 'InterfaceBuilder' is inaccessible due to its protection level [CS0122]
     (IQRecycler 27 line 2173)
  16. The type or namespace name 'GetLang' could not be found (are you missing a using directive or an assembly reference?) [CS0246]
     (IQRecycler 26 line 1270)
  17. Program using top-level statements must be an executable. [CS8805]
     (IQRecycler 13 line 1274)
  18. The name 'prefab' does not exist in the current context [CS0103]
     (IQRecycler 32 line 1265)
  19. Cannot use local variable or local function 'DestroyUI' declared in a top-level statement in this context. [CS8801]
     (IQRecycler 21 line 2234)
  20. 'IQRecycler' does not contain a definition for 'IsRare' and no accessible extension method 'IsRare' accepting a first argument of type 'IQRecycler' could be found (are you missing a using directive or an assembly reference?) [CS1061]
     (IQRecycler 40 line 292)
  21. 'IQRecycler.CanBuild(Planner, Construction, Construction.Target)': not all code paths return a value [CS0161]
     (IQRecycler 24 line 1254)
  22. Cannot implicitly convert type 'bool' to 'int' [CS0029]
     (IQRecycler 28 line 1278)
  23. Cannot convert null to 'int' because it is a non-nullable value type [CS0037]
     (IQRecycler 20 line 1301)
  24. Argument 1: cannot convert from 'BasePlayer' to 'ConsoleSystem.Arg' [CS1503]
     (IQRecycler 35 line 1978)
  25. A local variable or function named 'DrawUI_StaticCrafting' is already defined in this scope [CS0128]
     (IQRecycler 22 line 1981)
  26. Keyword 'this' is not valid in a static property, static method, or static field initializer [CS0026]
     (IQRecycler 34 line 2021)

 

Mercury

Posted

On 2/23/2025 at 6:03 PM, dustyhansen said:

I just installed the latest version and get the following errors in console:

Failed compiling 'IQRecycler.cs':
 1. Type or namespace definition, or end-of-file expected [CS1022]
 (IQRecycler 13 line 1266)
 2. Tuple must contain at least two elements. [CS8124]
 (IQRecycler 37 line 1266)
 3. ) expected [CS1026]
 (IQRecycler 37 line 1266)
 4. A namespace cannot directly contain members such as fields, methods or statements [CS0116]
 (IQRecycler 45 line 1268)
 5. Identifier expected [CS1001]
 (IQRecycler 33 line 1270)
 6. Syntax error, ',' expected [CS1003]
 (IQRecycler 33 line 1270)
 7. Type expected [CS1031]
 (IQRecycler 34 line 1270)
 8. ; expected [CS1002]
 (IQRecycler 90 line 1270)
 9. Top-level statements must precede namespace and type declarations. [CS8803]
 (IQRecycler 13 line 1274)
 10. The modifier 'private' is not valid for this item [CS0106]
 (IQRecycler 9 line 1355)
 11. Elements defined in a namespace cannot be explicitly declared as private, protected, protected internal, or private protected [CS1527]
 (IQRecycler 23 line 2169)
 12. Method must have a return type [CS1520]
 (IQRecycler 17 line 1270)
 13. '<invalid-global-code>.<invalid-global-code>(GetLang, (?, ?), player.UserIDString)' must declare a body because it is not marked abstract, extern, or partial [CS0501]
 (IQRecycler 17 line 1270)
 14. Inconsistent accessibility: field type 'Dictionary<string, ImageUI.ImageData>' is less accessible than field 'ImageUI._images' [CS0052]
 (IQRecycler 60 line 3006)
 15. 'InterfaceBuilder' is inaccessible due to its protection level [CS0122]
 (IQRecycler 27 line 2173)
 16. The type or namespace name 'GetLang' could not be found (are you missing a using directive or an assembly reference?) [CS0246]
 (IQRecycler 26 line 1270)
 17. Program using top-level statements must be an executable. [CS8805]
 (IQRecycler 13 line 1274)
 18. The name 'prefab' does not exist in the current context [CS0103]
 (IQRecycler 32 line 1265)
 19. Cannot use local variable or local function 'DestroyUI' declared in a top-level statement in this context. [CS8801]
 (IQRecycler 21 line 2234)
 20. 'IQRecycler' does not contain a definition for 'IsRare' and no accessible extension method 'IsRare' accepting a first argument of type 'IQRecycler' could be found (are you missing a using directive or an assembly reference?) [CS1061]
 (IQRecycler 40 line 292)
 21. 'IQRecycler.CanBuild(Planner, Construction, Construction.Target)': not all code paths return a value [CS0161]
 (IQRecycler 24 line 1254)
 22. Cannot implicitly convert type 'bool' to 'int' [CS0029]
 (IQRecycler 28 line 1278)
 23. Cannot convert null to 'int' because it is a non-nullable value type [CS0037]
 (IQRecycler 20 line 1301)
 24. Argument 1: cannot convert from 'BasePlayer' to 'ConsoleSystem.Arg' [CS1503]
 (IQRecycler 35 line 1978)
 25. A local variable or function named 'DrawUI_StaticCrafting' is already defined in this scope [CS0128]
 (IQRecycler 22 line 1981)
 26. Keyword 'this' is not valid in a static property, static method, or static field initializer [CS0026]
 (IQRecycler 34 line 2021)

 

It's strange, I updated a new file, try installing it. 
 

dustyhansen

Posted

11 hours ago, Mercury said:

It's strange, I updated a new file, try installing it. 
 

This version works, thanks!

  • Love 1
Mercury

Posted

Changed Status from Pending to Closed

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.6k

Files Sold

Total number of files sold.

2.4m

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.