ArteGordon
Wanderer
Spawn Editor 2 v1.18
Spawn Editor 2
v1.18
RunUO 1.0 version
updated 6/26/06
ArteGordon
Summary:
A standalone visual spawn editing program that works with the XmlSpawner2 system for online and offline creation and editing of xmlspawners and their spawn files as well as some online player, object, and spawner tracking capabilities.
Supports spawning of standard or custom maps.
This is the updated version of the original Spawn Editor written by bobsmart.
Here are some screen shots of the editor in action
Displaying spawns and live server items
Displaying mobiles on a live server
Downloading spawners from a selected area on a live server
Creating a new spawner
Recent Updates:
New to version 1.18
updated 10/5/05
- selection/spawn regions can now be dragged out in any direction instead of having to start from the upper left (thanks to Khaz for the suggestion).
- resolved an issue with custom muls that were placed in custom folders instead of in the default UO client directory not being used (thanks to tindo for pointing this out). Now if you change the client path in the Setup window to point to the location of your custom muls, they will be correctly used. This involves a change in the UOMap.ocx tool in the SpawnEditor2-support.rar archive, so replace the previous version and run Setup.bat again.
Features:
- Full support of all XmlSpawner2 properties and features.
- Can read any current or previous version of xmlspawner .xml file, even original xmlspawner .xmls.
- Can import all .map and .msf files
- Drag-and-drop spawner placement and spawner region sizing.
- Synchronization of spawner locations with online clients to allow for coordinated online/offline editing.
- Online player position tracking and synchronization.
- Spawn density and speed displays on the map.
- Works with default or custom maps.
- With the Transfer Server installed, real-time mobile, item, and player distributions from a live server can be displayed on the map along with spawn information.
- Load spawners into the editor directly from a live server.
- Send spawners directly from the editor to a live server.
Installation:
This system requires the latest installation of the XmlSpawner2 package (at least version 2.89) if you want to use the client Go/Tracking/Synchronization features.
If you are running RunUO 1.0 ,you need this version of XmlSpawner2 XmlSpawner2
Everything in SpawnEditor2-vxxx.rar and SpawnEditor2-support.rar go into their own folder separate from your RunUO folder. A reasonable place would be in 'Program Files/Spawn Editor' for example.
Just make the folder, unzip the contents of those two rars into it and run Setup.bat.
Then launch the SpawnEditor2.exe executable.
If you are running RunUO 1.0 then you need the .NET 1.1 Framework redistributable package installed.
This is the same thing required for the RunUO server, so if you are running that on the same machine you are fine.
For the client synchronization features just have your client running at the same time. I havent tested this with the 3d client yet.
See the Readme.htm file in the package for more details.
Transfer Server Installation:
(this is an optional addition. You dont have to install it if you dont want to, you just wont have access to the Transfer Server features of the editor. To use all of the spawner download features, you must have the latest version of XmlSpawner2 installed (at least v2.94)
1) download the TransferServer-vxxx.rar package.
2) Copy the scripts in the Transfer Server folder into your custom scripts area.
3) Place a copy of the transferserver.dll file in your main RunUO installation folder. If you dont already have a copy of zlib.dll in that folder, then add that as well.
4) Add the following lines to your RunUO Data/Assemblies.cfg file
System.Runtime.Remoting.dll
TransferServer.dll
When you restart your server, the Transfer Server will be started by default and you will see a message on the console. You can disable automatic startup by changing the default value of the 'Enabled' property in TransferServer.cs (you can then start it manually with the '[xts start' command).
By default, the Transfer Server will use port 8030 for communication. This can be changed in TransferServer.cs
To start and stop the Transfer Server at any time use the
[xts start
[xts stop
commands.
Transfer Server Authentication:
Communication between Spawn Editor and the Transfer Server is handled via a limited lifetime session ticket system. These tickets can only be obtained by users that are already logged into an account on the RunUO server with the appropriate access level (admin by default).
Each request to the server is authenticated using this unique ticket (32 byte Guid) that allows a given Spawn Editor session to communicate with the server.
To receive a session ticket, you must be connected to the RunUO server via a UO client and be logged in with the appropriate access level.
Note, neither the Transfer Server nor Spawn Editor 2 ever use, send, or access any sensitive account information.
To specify the Transfer Server address and port, open the Transfer Server Settings window from the Tools menu.
Press the 'Renew Session Authentication' button in the Transfer Server window. This will send a request for session authentication via the client. The ticket will remain valid for a limited period of time (default 30 minutes). Also, if you restart Spawn Editor, you will need to get a new ticket.
Once you have a session ticket, you are no longer required to be logged in to your RunUO account for the duration of the ticket lifetime.
Using the Transfer Server with Spawn Editor 2:
Once you have established an authenticated session, you can load information regarding item and mobile locations from the Transfer Server window that can be opened from the Tools menu.
Select the appropriate tab in that window to specify type filters that can be used when retrieving information from the server, as well as control the display of retrieved objects.
For example, to get the location of all houses on your server, just specify 'basehouse' in the item type field, then press the 'Get Items' button.
You can get anything from corpses, to statics, to boats, to xmlspawners. Just use the type name of the object you are interested in.
For mobiles, just enter the type information in the Type field in the 'Creatures' panel of the Transfer Server window.
To see the distribution of orcs on your server, just specify 'orc' in the item type field, then press the 'Get Creatures' button in the Creatures panel of the Transfer Server window.
Players will be displayed as yellow squares, Mobiles as blue crosses, and Items as green crosses.
Note that only items that are placed directly in the world will be retrieved. Items in containers or carried on mobiles will be ignored unless you enable it by checking the appropriate setting.
Troubleshooting:
Problem: SpawnEditor2.exe wont start up.
If you are having trouble starting up SpawnEditor2.exe or you receive error messages when you run Setup.bat, you may be missing some needed system dlls. To fix this problem follow these steps:
1) To find out what required system dlls you might be missing, run the dll dependency walker program 'depends.exe' that can be downloaded at http://www.dependencywalker.com/ and open up the UOMap.ocx from the File menu.
2) Note any missing required dlls that it reports (shown in red).
3) Get the missing dlls and install them in the windows System32 folder. You can probably find the dll that you need at this site http://www.dll-files.com/dllindex/
(Dont worry about missing Java dlls since Java support is not required).
4) Run Setup.bat again to install the UOMap.ocx tool.
Problem: I am running the Transfer Server and can Renew Authentication, but I have trouble sending or receiving information.
1) Check to make sure that the Address setting in the Transfer Server Settings window is correct.
2) Try changing the Port setting in TransferServer.cs (you will need to restart the server) and in the SpawnEditor2 Transfer Server Settings from the default of 8030. You may have a conflict between the use of port 8030 and some existing service such as the http server.
3) Set the path to the server .EXE in the Setup window. If if was already set, try setting it again.
Problem: How do I get the editor to display my custom muls?
1) Go into the Setup menu (Tools->Setup) and in the setting for 'Ultima Client' browse (button to the right) to your custom mul directory and select any file there (it does not have to be a .exe file).
2) press 'Ok' to close the Setup configuration window.
3) exit and restart the editor.
Spawn Editor 2
v1.18
RunUO 1.0 version
updated 6/26/06
ArteGordon
Summary:
A standalone visual spawn editing program that works with the XmlSpawner2 system for online and offline creation and editing of xmlspawners and their spawn files as well as some online player, object, and spawner tracking capabilities.
Supports spawning of standard or custom maps.
This is the updated version of the original Spawn Editor written by bobsmart.
Here are some screen shots of the editor in action
Displaying spawns and live server items
Displaying mobiles on a live server
Downloading spawners from a selected area on a live server
Creating a new spawner
Recent Updates:
New to version 1.18
updated 10/5/05
- selection/spawn regions can now be dragged out in any direction instead of having to start from the upper left (thanks to Khaz for the suggestion).
- resolved an issue with custom muls that were placed in custom folders instead of in the default UO client directory not being used (thanks to tindo for pointing this out). Now if you change the client path in the Setup window to point to the location of your custom muls, they will be correctly used. This involves a change in the UOMap.ocx tool in the SpawnEditor2-support.rar archive, so replace the previous version and run Setup.bat again.
Features:
- Full support of all XmlSpawner2 properties and features.
- Can read any current or previous version of xmlspawner .xml file, even original xmlspawner .xmls.
- Can import all .map and .msf files
- Drag-and-drop spawner placement and spawner region sizing.
- Synchronization of spawner locations with online clients to allow for coordinated online/offline editing.
- Online player position tracking and synchronization.
- Spawn density and speed displays on the map.
- Works with default or custom maps.
- With the Transfer Server installed, real-time mobile, item, and player distributions from a live server can be displayed on the map along with spawn information.
- Load spawners into the editor directly from a live server.
- Send spawners directly from the editor to a live server.
Installation:
This system requires the latest installation of the XmlSpawner2 package (at least version 2.89) if you want to use the client Go/Tracking/Synchronization features.
If you are running RunUO 1.0 ,you need this version of XmlSpawner2 XmlSpawner2
Everything in SpawnEditor2-vxxx.rar and SpawnEditor2-support.rar go into their own folder separate from your RunUO folder. A reasonable place would be in 'Program Files/Spawn Editor' for example.
Just make the folder, unzip the contents of those two rars into it and run Setup.bat.
Then launch the SpawnEditor2.exe executable.
If you are running RunUO 1.0 then you need the .NET 1.1 Framework redistributable package installed.
This is the same thing required for the RunUO server, so if you are running that on the same machine you are fine.
For the client synchronization features just have your client running at the same time. I havent tested this with the 3d client yet.
See the Readme.htm file in the package for more details.
Transfer Server Installation:
(this is an optional addition. You dont have to install it if you dont want to, you just wont have access to the Transfer Server features of the editor. To use all of the spawner download features, you must have the latest version of XmlSpawner2 installed (at least v2.94)
1) download the TransferServer-vxxx.rar package.
2) Copy the scripts in the Transfer Server folder into your custom scripts area.
3) Place a copy of the transferserver.dll file in your main RunUO installation folder. If you dont already have a copy of zlib.dll in that folder, then add that as well.
4) Add the following lines to your RunUO Data/Assemblies.cfg file
System.Runtime.Remoting.dll
TransferServer.dll
When you restart your server, the Transfer Server will be started by default and you will see a message on the console. You can disable automatic startup by changing the default value of the 'Enabled' property in TransferServer.cs (you can then start it manually with the '[xts start' command).
By default, the Transfer Server will use port 8030 for communication. This can be changed in TransferServer.cs
To start and stop the Transfer Server at any time use the
[xts start
[xts stop
commands.
Transfer Server Authentication:
Communication between Spawn Editor and the Transfer Server is handled via a limited lifetime session ticket system. These tickets can only be obtained by users that are already logged into an account on the RunUO server with the appropriate access level (admin by default).
Each request to the server is authenticated using this unique ticket (32 byte Guid) that allows a given Spawn Editor session to communicate with the server.
To receive a session ticket, you must be connected to the RunUO server via a UO client and be logged in with the appropriate access level.
Note, neither the Transfer Server nor Spawn Editor 2 ever use, send, or access any sensitive account information.
To specify the Transfer Server address and port, open the Transfer Server Settings window from the Tools menu.
Press the 'Renew Session Authentication' button in the Transfer Server window. This will send a request for session authentication via the client. The ticket will remain valid for a limited period of time (default 30 minutes). Also, if you restart Spawn Editor, you will need to get a new ticket.
Once you have a session ticket, you are no longer required to be logged in to your RunUO account for the duration of the ticket lifetime.
Using the Transfer Server with Spawn Editor 2:
Once you have established an authenticated session, you can load information regarding item and mobile locations from the Transfer Server window that can be opened from the Tools menu.
Select the appropriate tab in that window to specify type filters that can be used when retrieving information from the server, as well as control the display of retrieved objects.
For example, to get the location of all houses on your server, just specify 'basehouse' in the item type field, then press the 'Get Items' button.
You can get anything from corpses, to statics, to boats, to xmlspawners. Just use the type name of the object you are interested in.
For mobiles, just enter the type information in the Type field in the 'Creatures' panel of the Transfer Server window.
To see the distribution of orcs on your server, just specify 'orc' in the item type field, then press the 'Get Creatures' button in the Creatures panel of the Transfer Server window.
Players will be displayed as yellow squares, Mobiles as blue crosses, and Items as green crosses.
Note that only items that are placed directly in the world will be retrieved. Items in containers or carried on mobiles will be ignored unless you enable it by checking the appropriate setting.
Troubleshooting:
Problem: SpawnEditor2.exe wont start up.
If you are having trouble starting up SpawnEditor2.exe or you receive error messages when you run Setup.bat, you may be missing some needed system dlls. To fix this problem follow these steps:
1) To find out what required system dlls you might be missing, run the dll dependency walker program 'depends.exe' that can be downloaded at http://www.dependencywalker.com/ and open up the UOMap.ocx from the File menu.
2) Note any missing required dlls that it reports (shown in red).
3) Get the missing dlls and install them in the windows System32 folder. You can probably find the dll that you need at this site http://www.dll-files.com/dllindex/
(Dont worry about missing Java dlls since Java support is not required).
4) Run Setup.bat again to install the UOMap.ocx tool.
Problem: I am running the Transfer Server and can Renew Authentication, but I have trouble sending or receiving information.
1) Check to make sure that the Address setting in the Transfer Server Settings window is correct.
2) Try changing the Port setting in TransferServer.cs (you will need to restart the server) and in the SpawnEditor2 Transfer Server Settings from the default of 8030. You may have a conflict between the use of port 8030 and some existing service such as the http server.
3) Set the path to the server .EXE in the Setup window. If if was already set, try setting it again.
Problem: How do I get the editor to display my custom muls?
1) Go into the Setup menu (Tools->Setup) and in the setting for 'Ultima Client' browse (button to the right) to your custom mul directory and select any file there (it does not have to be a .exe file).
2) press 'Ok' to close the Setup configuration window.
3) exit and restart the editor.