Fireball
Member
Hi,
I am trying to get XML Spawner to work with RunUO but I get an error and two warnings when compiling which seems to indicate that a date variable is the incorrect data type. I have tried this on my live shard and also on a clean 2.4 install. It appears to point at one of the code areas changed in the last update. I'm using the latest XML Spawner 2 from the GitHub. Am I doing something wrong or is this a bug in the latest release? What can I do to make it compile?
Thanks
I am trying to get XML Spawner to work with RunUO but I get an error and two warnings when compiling which seems to indicate that a date variable is the incorrect data type. I have tried this on my live shard and also on a clean 2.4 install. It appears to point at one of the code areas changed in the last update. I'm using the latest XML Spawner 2 from the GitHub. Am I doing something wrong or is this a bug in the latest release? What can I do to make it compile?
Thanks
Code:
RunUO - [www.runuo.com] Version 2.4, Build 5043.26759
Core: Running on .NET Framework Version 4.0.30319
Core: Optimizing for 8 64-bit processors
RandomImpl: CSPRandom (Software)
Scripts: Compiling C# scripts...failed (3 errors, 1 warnings)
Warnings:
+ Misc/Assistants.cs:
CS0162: Line 99: Unreachable code detected
CS0162: Line 155: Unreachable code detected
Errors:
+ Customs/XmlSpawner Core/XmlAttach/XmlAttach.cs:
CS0019: Line 2375: Operator '>=' cannot be applied to operands of type 'Syst
em.DateTime' and 'long'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.