I transfered my server from one comp to another and it was working fine.
then I added some locations to the Ilshenar travel book gump from Ericaq's Travel Book System. then I started getting this error at bootup.
CODE |
RunUO - [www.runuo.com] Version 2.0, Build 2371.38657 Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...failed (1 errors, 0 warnings) Errors: + Customs/XMLSpawner/XmlSpawner2.cs: CS0029: Line 9224: Cannot implicitly convert type 'System.Collections.Generi c.List<Server.Tile>' to 'System.Collections.ArrayList' Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again.
|
I tried putting the original gump file back in but still recieve this error.
if you would like the original file and the modded copy just ask. not sure why it would cause this error.
Thanks for any help you can give
this is due to changes that were made to the server between RC1 and the current SVN.
If you get the latest beta_20_v313.zip it has a flag that you can set at the beginning of xmlspawner2.cs to compile properly.
You can also just change the code directly. See this thread
http://xmlspawner.15.forumer.com/index.php?showtopic=602
ok thanks just changed
CODE |
ArrayList tiles = map.GetTilesAt( new Point2D( X, Y ), true, true, true ); to: List<Tile> tiles = map.GetTilesAt( new Point2D( X, Y ), true, true, true ); |
around line 9224 in XmlSpawner2.cs
now compiles perfectly