Full Version : Just put the XMLSpawner script in and got this..
xmlspawner >>Troubleshooting >>Just put the XMLSpawner script in and got this..
<< Prev | Next >>
murry- 01-21-2007
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (2 errors, 0 warnings)
Errors:
+ Items/Containers/Container.cs:
CS0101: Line 11: The namespace 'Server.Items' already contains a definition
for 'BaseContainer'
CS0101: Line 140: The namespace 'Server.Items' already contains a definition
for 'StrongBackpack'
CS0101: Line 185: The namespace 'Server.Items' already contains a definition
for 'Backpack'
CS0101: Line 225: The namespace 'Server.Items' already contains a definition
for 'Pouch'
CS0101: Line 252: The namespace 'Server.Items' already contains a definition
for 'BaseBagBall'
CS0101: Line 288: The namespace 'Server.Items' already contains a definition
for 'SmallBagBall'
CS0101: Line 314: The namespace 'Server.Items' already contains a definition
for 'LargeBagBall'
CS0101: Line 340: The namespace 'Server.Items' already contains a definition
for 'Bag'
CS0101: Line 376: The namespace 'Server.Items' already contains a definition
for 'Barrel'
CS0101: Line 406: The namespace 'Server.Items' already contains a definition
for 'Keg'
CS0101: Line 433: The namespace 'Server.Items' already contains a definition
for 'PicnicBasket'
CS0101: Line 460: The namespace 'Server.Items' already contains a definition
for 'Basket'
CS0101: Line 489: The namespace 'Server.Items' already contains a definition
for 'WoodenBox'
CS0101: Line 518: The namespace 'Server.Items' already contains a definition
for 'SmallCrate'
CS0101: Line 550: The namespace 'Server.Items' already contains a definition
for 'MediumCrate'
CS0101: Line 582: The namespace 'Server.Items' already contains a definition
for 'LargeCrate'
CS0101: Line 614: The namespace 'Server.Items' already contains a definition
for 'MetalBox'
CS0101: Line 645: The namespace 'Server.Items' already contains a definition
for 'MetalChest'
CS0101: Line 676: The namespace 'Server.Items' already contains a definition
for 'MetalGoldenChest'
CS0101: Line 707: The namespace 'Server.Items' already contains a definition
for 'WoodenChest'
CS0101: Line 739: The namespace 'Server.Items' already contains a definition
for 'PlainWoodenChest'
CS0101: Line 770: The namespace 'Server.Items' already contains a definition
for 'OrnateWoodenChest'
CS0101: Line 801: The namespace 'Server.Items' already contains a definition
for 'GildedWoodenChest'
CS0101: Line 832: The namespace 'Server.Items' already contains a definition
for 'WoodenFootLocker'
CS0101: Line 863: The namespace 'Server.Items' already contains a definition
for 'FinishedWoodenChest'
+ Skills/Stealing.cs:
CS0101: Line 15: The namespace 'Server.SkillHandlers' already contains a def
inition for 'Stealing'
CS0102: Line 35: The type 'Server.SkillHandlers.Stealing' already contains a
definition for 'StealingTarget'
CS0101: Line 390: The namespace 'Server.SkillHandlers' already contains a de
finition for 'StolenItem'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
Im just now learning how to script so I really don't know much.. so any help would be greatly appretiated!! Thanks!
ArteGordon- 01-21-2007
you have duplicate copies of container.cs and stealing.cs.

QUOTE
STEP 4: (recommended but not required) To take advantage of the stealable rares/artifacts system and the support for eliminating issues of maintained spawner control over items, either replace the default distribution files container.cs (Scripts/Items/Containers/Container.cs) and stealing.cs (Scripts/Skills/Stealing.cs) with the versions found in xmlspawner2-support.zip (always keep backups of the originals), or the simpler way is to just change the extension of the distro files to something other than .cs

murry- 01-21-2007
Ok I replaced the 2 scripts and now I got this error..
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
+ Skills/Stealing.cs:
CS0234: Line 12: The type or namespace name 'XmlSpawner2' does not exist in
the namespace 'Server.Engines' (are you missing an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
ArteGordon- 01-21-2007
you are missing XmlAttach.cs that is in the second .zip file of the xmlspawner installation package. Make sure that you got all of the files and extracted all three zips.
murry- 01-21-2007
hmm
Im really sorry about this.. but now im getting this...
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (1 errors, 0 warnings)
Errors:
+ custom/XML Spawner/XmlSpawner2.cs:
CS0029: Line 9451: 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.
and I thought I actually figured out what was wrong...
ArteGordon- 01-21-2007
take a look at the Latest News at the top of the main xmlspawner release thread.
murry- 01-21-2007
LOL ok I got it thank you and sorry for taking up your time. I read that a million times too.. and because it wasn't that at first I forgot all about it at the end... sorry and thank you!! it loaded up free of errors!
ArteGordon- 01-21-2007
no problem. glad you got it up and running.