Im using the newest ServUO and OWLTR 4.0. only getting one error with the LargeBOD.cd.

Hope i posted on here correct and thank you all for any help.

ServUO - [https://www.servuo.com] Version 0.5, Build 6607.30312 - Release
Core: Optimizing for 8 64-bit processors
Core: Compiled for .NET MONO/CSC/Unknown
RandomImpl: CSPRandom (Software)
Core: Loading config...
Scripts: Compiling C# scripts...Failed with: 1 errors, 0 warnings
Errors:
+ Services/BulkOrders/LargeBODs/LargeBOD.cs:
CS1519: Line 292: Invalid token 'else' in class, struct, or interface member declaration
CS1519: Line 294: Invalid token '(' in class, struct, or interface member declaration
CS1518: Line 298: Expected class, delegate, enum, interface, or struct
CS1518: Line 311: Expected class, delegate, enum, interface, or struct
CS1022: Line 312: Type or namespace definition, or end-of-file expected
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

Attachments

  • LargeBOD.cs
    11.2 KB · Views: 4
Got everything that the one script to work , just hoping to play the High seas stuff with the ore and all .
 
Remove the extra curly brace '}' from line 261

Code:
else if ( m_Material >= BulkMaterialType.OakWood && m_Material <= BulkMaterialType.Petrified && small.Material != m_Material )
{
    from.SendMessage( "Both orders must use the same wood type." ); // Both orders must use the same leather type.
}
//daat99 OWLTR end - custom wood
} // <--- Remove this one
else if (this.m_AmountMax != small.AmountMax)
 
Last edited:
Back