Full Version : How do I load xml files for spawning?
xmlspawner >>The Coffee Table >>How do I load xml files for spawning?
<< Prev | Next >>
Packer898- 06-30-2006
I found the command [xmlspawnerload <xml file name> <prefix> but what the hell is the prefix thing? If the file name is Dungeons.xml how would I write this out?
Also how would I load from a .map file. I see that is supported but I cant figure out the commands.
Erica- 06-30-2006
[xmlimportmap Data/Monsters <---- thats the command to spawn the dungeons towns just the way i wrote it ect ect .
Packer898- 06-30-2006
Ok so I used Spawn Editor to convert my old .map files from neruns then I used the [xmlspawnerload data/xmlspawns but all i get was the error message...
Resolving spawner self referances 0 spawner(s) created from file Data/XMLSpawns\osispawns.xml [felucca=0, trammel=0 blah blah].
Any ideas?
ArteGordon- 07-01-2006

QUOTE (Packer898 @ June 30, 2006 10:31 pm)
I found the command [xmlspawnerload <xml file name> <prefix> but what the hell is the prefix thing? If the file name is Dungeons.xml how would I write this out? Also how would I load from a .map file. I see that is supported but I cant figure out the commands.

here are descriptions of the commands and their arguments
http://xmlspawner.15.forumer.com/index.php?showtopic=29
ArteGordon- 07-01-2006

QUOTE (Packer898 @ June 30, 2006 11:32 pm)
Ok so I used Spawn Editor to convert my old .map files from neruns then I used the [xmlspawnerload data/xmlspawns but all i get was the error message... Resolving spawner self referances 0 spawner(s) created from file Data/XMLSpawns\osispawns.xml [felucca=0, trammel=0 blah blah].
Any ideas?

is the osispawns.xml file empty?
Packer898- 07-01-2006

QUOTE (ArteGordon @ July 01, 2006 10:28 am)

QUOTE (Packer898 @ June 30, 2006 11:32 pm)
Ok so I used Spawn Editor to convert my old .map files from neruns then I used the [xmlspawnerload data/xmlspawns but all i get was the error message... Resolving spawner self referances 0 spawner(s) created from file Data/XMLSpawns\osispawns.xml [felucca=0, trammel=0 blah blah].
Any ideas?

is the osispawns.xml file empty?
Nope its full... also I understand the arguments but what is the [SpawnerPrefixFilter] I dont get what it is wanting there... What is that a character or argument or string what is it...
ArteGordon- 07-01-2006
it is an optional string argument. Like
[xmlload spawns.xml Dungeon
will load all of the spawners from the file spawns.xml that have names beginning with the string "Dungeon".
If you post the xml file I can take a look at it.
Also, if it is just one file, you might try giving it the full path to the file.
[xmlload c:\blah\blah\blah.xml
Packer898- 07-01-2006
Ahh gotcha now. Here is one of the xml files I am trying to load. Others are too big for the forums apparently.
ArteGordon- 07-01-2006
the file is truncated. You will probably have to zip it up and attach it.
Packer898- 07-01-2006
try this...
ArteGordon- 07-01-2006
I just tried it. It loaded up fine.
Try putting the file in the main RunUO directory and then just load it with
[xmlload orccaves.xml
I think that the problems you were having before must have been path issues.
Packer898- 07-01-2006
Worked great when i put the file in my runuo directory... interesting lol thanks for the help arte