Jump to content

compile error

Fixed 1.7.4b5 1.7.4

r0gi
r0gi

Posted

Failed to compile 'MonumentOwner': (Input string was not in a correct format.)
at void Number.ThrowOverflowOrFormatException(bool overflow, string overflowResourceKey)
at int Number.ParseInt32(ReadOnlySpan<char> value, NumberStyles styles, NumberFormatInfo info)
at int int.Parse(string s)
at new Oxide.Core.VersionNumber(string version) in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.SDK/src/Oxide/Version.cs:line 33
at new InfoAttribute(string Title, string Author, string Version) in /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.SDK/src/Plugins/Attribute.cs:line 19
at object[] MonoCustomAttrs.GetCustomAttributesBase(ICustomAttributeProvider obj, Type attributeType, bool inheritedOnly)
at object[] MonoCustomAttrs.GetCustomAttributes(ICustomAttributeProvider obj, Type attributeType, bool inherit)
at object[] RuntimeType.GetCustomAttributes(Type attributeType, bool inherit)
at Attribute[] Attribute.GetCustomAttributes(MemberInfo element, Type type, bool inherit)
at Attribute Attribute.GetCustomAttribute(MemberInfo element, Type attributeType, bool inherit)
at Attribute System.Reflection.CustomAttributeExtensions.GetCustomAttribute(MemberInfo element, Type attributeType, bool inherit)
at IEnumerator Carbon.Managers.ScriptLoader.Compile()+MoveNext() in /__w/Carbon/Carbon/Carbon.Core/Carbon/src/Loaders/ScriptLoader.cs:line 478

09/22 16:50:14 | Invalid plugin format in 'MonumentOwner.cs'. Namespace must be Carbon|Oxide.Plugins and inherited class must be Carbon|Rust|CovalencePlugin.

SiCkNeSs

Posted

just modify the version number at the top to 1.7.4 or 1.7.5 (the b5 in the version number is whats causing it)

 

[Info("MonumentOwner", "jtedal", "1.7.4b5")]

Change to

[Info("MonumentOwner", "jtedal", "1.7.4")]

 

r0gi

Posted

ah ok...it works.

Thanks

jtedal

Posted

16 hours ago, SiCkNeSs said:

just modify the version number at the top to 1.7.4 or 1.7.5 (the b5 in the version number is whats causing it)

 

[Info("MonumentOwner", "jtedal", "1.7.4b5")]

Change to

[Info("MonumentOwner", "jtedal", "1.7.4")]

 

thx for the help

  • Like 1
jtedal

Posted

Changed Status from Pending to Fixed

Changed Fixed In to Next Version

  • Like 1
2m

Downloads

Total number of downloads.

9.3k

Customers

Total customers served.

136.1k

Files Sold

Total number of files sold.

2.9m

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.