Full Version : Version 3.12 XMLSpawner2 does not exist
xmlspawner >>Troubleshooting >>Version 3.12 XMLSpawner2 does not exist
<< Prev | Next >>
sirbum69- 07-03-2006
hello all, i installed XMLspawner 2 on a fresh install of 2.0 SVN 64 and when i tried to start the shard i got the error
XMLSpawner2 does not exist in the namespace. It said that the error was on line 23...which is the following code

CODE
using Server.Engines.XmlSpawner2;

it says it doesnt exist in the Namespace Server.Engines
also i get another error in the XMLSpawnerSkillcheck.cs and that error is
the exact same error that xmlspawner2 does not exist in Server.Engines
anyone know what might cause this
ArteGordon- 07-03-2006
it sounds like you missed part of the xmlspawner installation. Make sure that you extracted all of the files from all 3 of the required zip files.
I think you missed xmlspawner2-xxxxx-2of3.zip
sirbum69- 07-03-2006

QUOTE (ArteGordon @ July 04, 2006 12:38 am)
it sounds like you missed part of the xmlspawner installation. Make sure that you extracted all of the files from all 3 of the required zip files. I think you missed xmlspawner2-xxxxx-2of3.zip

Ok you were right...I have no idea how i missed unzipping it...thought i had done all three but its got rid of that error now...
But now i have a new error
system.collections.generic.list says it cant convert it to system.collections.arraylist
on line 9224 of xmlspawner2.cs
have no idea what that is lol
ArteGordon- 07-03-2006
take a look here
http://xmlspawner.15.forumer.com/index.php?showtopic=575
Ankat- 08-31-2006
I am getting a similar error. It appears I am getting the direct opposite of sirbum69. During compiling I am getting the following:
Errors:
Custom/XmlSpawner2.cs:
CS0029: Line 3976: Cannot implicitly convert type 'System.Collections.ArrayList' to 'System.Collections.Generic.List<Server.Tile>'
The above error is directed to the else statement in the following code:

CODE
#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

I thought it odd as I am running RunUO2 RC1 so I did not think it would make it to the else statment.
I checked out the link by ArteGordon but making that change did not help.
Sorry for being such a noob and not knowing C# well enough to troubleshoot on my own. Any ideas?
ArteGordon- 08-31-2006
take a look at the Latest News in the main XmlSpawner2 RunUO 2.0 release thread.
You are running RC1 and so need to uncomment the #RUNUO2RC1 define at the beginning of xmlspawner2.cs
Ankat- 09-01-2006
Wow!! I will admit I am new to C# but I have done lots of other programming/design. Where I was getting confused is I made the change you mention in the previouos post about uncommenting but...... It seems to work better when you properly save the file before running RunUO again. After reveiwing my file this morning I noticed that line was commented again. DOH!!
I will fix this afternoon and try again.
Thanks for the quick response!!! Program looks great with many helpful tools!!