Full Version : SVN 93 issues
xmlspawner >>Troubleshooting >>SVN 93 issues
<< Prev | Next >>
Gembone- 10-11-2006
I have commented out the //#define RUNUO2RC1
and now am getting this error

CODE
RunUO - [www.runuo.com] Version 2.0, Build 2475.19785 Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...failed (1 errors, 2 warnings) Errors: + Custom/XMLSPAWNER/XmlSpawner2.cs:
CS0029: Line 9446: Cannot implicitly convert type 'System.Collections.ArrayL
ist' to 'System.Collections.Generic.List<Server.Tile>'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

here is the section of code

CODE
private static bool HasTileSurface(Map map, int X, int Y, int Z) { if (map == null) return false; #if(RUNUO2RC1) ArrayList tiles = map.GetTilesAt(new Point2D(X, Y), true, true, true);
#else
List<Server.Tile> tiles = map.GetTilesAt(new Point2D(X, Y), true, true, true);
#endif
if (tiles == null) return false;

not sure if I missed something or if this is a 93 issue
EDIT: ok got it fixed. didn't know you didn't comment out the #define RUNUO2RC1 any more