Full Version : Error Loading XML 2
xmlspawner >>XMLSpawner - Discussion >>Error Loading XML 2


<< Prev | Next >>

flinn- 08-25-2006
scripts: compliling C# scripts...failed <1 error, 1 warnings>
Warnings:
* Misc/serverlist.cs:
CS0618: line 344: 'system.net.dns.resolve<string>' is obsolete: 'resolve is
obsoleted for this type, please use getHostentry instead, http://go.microsoft.com/fwlink/?linked+14202'
Errors:
* Custom folder/XMLSpawner2_20_v314a_1of3/XMLSpawner2.cs:
CS0029: LINE 9304: cANNOT IMPLICITY CONVERT TYPE 'sytem collections.arraylist' to ' System.Colections.generic.list<Server>Tile>'
Scripts: one or more scripts failed to complie or no scripts files were found
Press return to exit, or R to try again.


this is the error i received, I am running runuo2rc1 on myserver, and i have nerun spawned throughout the world. any help please> I followed step 4 and removed the container.cs and stealing .cs and replaced them with the files in the support folder??


ArteGordon- 08-25-2006
This is due to differences between RC1 and the most recent SVN of the RunUO server.

Since you are running RC1 you just need to uncomment this line at the beginning of xmlspawner2.cs

//#define RUNUO2RC1

so that it looks like

#define RUNUO2RC1

flinn- 08-25-2006
IT WORKED!!!
haha, thank you so much Arte, boy that was painless, thank you!!!!!
wow, That took a load of worry off me smile.gif

Two Thumbs!!!
one question, I tried the staff cloak , but it disappears when i add it to my pack or paperdoll? I am the shard owner?? also i have a staff orb which does the same thing in my pack? could that be the reason?
anyways, thx again
Flinn

ArteGordon- 08-25-2006
QUOTE (flinn @ August 25, 2006 04:38 pm)
IT WORKED!!!
haha, thank you so much Arte, boy that was painless, thank you!!!!!
wow, That took a load of worry off me smile.gif

Two Thumbs!!!
one question, I tried the staff cloak , but it disappears when i add it to my pack or paperdoll? I am the shard owner?? also i have a staff orb which does the same thing in my pack? could that be the reason?
anyways, thx again
Flinn

It is tied to a specific accesslevel which is Administrator by default.

After you create it, you need to immediately set the StaffLevel property to match your staff accesslevel before you try to do anything with it, otherwise it self-destructs to prevent problems.

flinn- 08-25-2006
xmlspawner/checked2.bmp
It worked, thankyou, i should of remembered, smile.gif
also, thx for your quick replys and hard work.
Flinn

Allmight- 08-25-2006
About the staff cloak. Why not make it so it get the same accesslevel as the creator of it. So if a GM creates it, it get's the GM accesslevel.

This is not a biggie, since it is easy to change. But hey, everything that makes it easier cant be bad smile.gif

In fact, i think im gonna make it so on my shard. But would be nice in your distro as well.