fwiffo
Sorceror
Most of us, at least the ones that try to use the xmlspawner with most of it's functionality, have faced the truth when they found that there isn't any way to set a long string with slashes and special chars without getting into trouble, not counting that maybe you need to continue to set other properties (spawning a lever that does many actions, a custom text, a spawner that spawns a spawner that spawns a spawner...well the last is kinda absurd...but anyway...).
The XmlSpawner included is against original XmlSpawner found in those forums, is updated to support runuo 2.2 and has a fix against Xmlfind (a null reference exception, that could happen if the xmlfind is used incorrectly)
The Literal terminator is defined in BaseXmlSpawner.cs via a static char, and is the char '§', you can change it to whatever you want.
Example of literal termination:
in spawner book:
simplelever/target1property/@this/is/a/long/string/with/slashes§target2property/simplestring
remember not to put a / right after the §, there is no need for that!
The XmlSpawner included is against original XmlSpawner found in those forums, is updated to support runuo 2.2 and has a fix against Xmlfind (a null reference exception, that could happen if the xmlfind is used incorrectly)
The Literal terminator is defined in BaseXmlSpawner.cs via a static char, and is the char '§', you can change it to whatever you want.
Example of literal termination:
in spawner book:
simplelever/target1property/@this/is/a/long/string/with/slashes§target2property/simplestring
remember not to put a / right after the §, there is no need for that!