FingersMcSteal
Sorceror
[RunUO 2.0 SVN 199] Stargate Travel System v3.0
Description
The new version of my old Stargate Travel System, pretty much a total re-write of the entire system to include several new features from previous suggestions and comments made on the last version... this is now v3.0.
Anyone who looked at the older version will know what it is, pretty much a small system which allows players to dial an address in order to travel to another destination. The v3.0 system now allows the easy creation of new stargate locations anywhere in a server without the need of the laborious task of script changes, un-like the older versions. Now you can add stargates while your shards running, any new addresses added to the system are automatically saved at every world save.
As well as this feature, the new version now holds all shards stargate locations in a XML file format which allows shard owners to now be able to swap data between shards with no script edits, just drop someone elses stargate XML file into the correct folder and your shards will automatically load the information in and build the stargates at server startup.
The system also comes with 3 pre-built stargate platform addons with it, each in East & South facing directions. As well as this, shard administrators have the option to generate a HTML file from the admin panel listing all stargate locations and view in a web browser which stargate addresses are avaliable to them when creating new locations for stargates in there shards.
The new gump design also incorporates an address entry listing with it, much the same way the address stones worked in previous versions, but all in the same gump which makes things better for players to view & find the address and dial codes there looking for. There are one or two addition bits of information displayed in this main dialing gump to help players out, mainly counters to show how many gates a facet has & how many are listed or hidden. Theres also a help option avaliable to players from this gump to explain the basics of using the system.
It also comes with an administration gump which is used when you need to add a new location to your shard, this shows the code as well as a preview of the symbols that will finally be placed into your game world on the platform. This also has an information gump to aid shard administrators with some additional info in there too about the system.
The biggest change with this version is the actual travel part, the old system used a straight forward teleport system, this v3.0 system opens an actual gate (not a moongate) for a period of time, so if one player opens the gate several can use it.
Installing
Save the attached ZIP file to your PC and un-zip into the script folder of your shard, you should then have an extra folder in scripts called 'Stargate system v3.0'.
If so you should be ok to start your server, the system when 1st run will create it's working directory inside the 'Data' folder of your RunUO install, you should end up with an extra folder there called 'Stargate Data', all of the files this system creates are held there.
Commands
This system does come with commands but the main ones are handeled by the administrators gump, the main command being...
[sgadmin (this opens the main admin gump).
[sginfo (broadcasts the number of stargates your server currently has)
[sgdelete (*** Use with caution ***, see below)
[sgdelete...
This command will remove ALL parts of this system from your game world but... if you do not remove the stargates in the correct manner (described in the information gump off the admin panel) your XML file still exists UNTIL your shard does a world save, at which point when it re-writes the file because you've just deleted all gates it will create an empty XML file with NO WAY to return your data. Remember to make a backup copy of the 'SGData.xml' file just incase.
To delete individual gates from your server you must do it from the actual control crystal at the stargate location your removing, the system must be disabled to do this. When a gate is removed from the system provided the world has not saved, you can force a XML file re-load and recover the change's, if the world save has happened then your out of luck, sorry.
The system's setup to only allow Admin or above access levels to access the admin panel and only the shard admin or above can disable the system, the systems default (which is changable in the core) at server restart enables the system (i.e gates are working to players).
GM's or above can delete individual gate locations but only if the admin has disabled the system 1st.
Screenshots
These are the 3 pre-built addon platforms...
Admin panel...
Control gump players use (players do not get admin options)...
And GM and above delete panel...
Additional Info
When a player uses a control crystal it locks other players out from dialing out, other players can still dial in to the platform. If a player does not use an open gump after 2 minutes the gump will auto close freeing it to allow other players to use it, this is the same situation if a player lost connection during dialing, it will auto release the crystal to other players to use.
The first person to use a crystal if it's a hidden location will be recorded on that crystal and displayed in the gump each time it's opened, this also reveals the address in the facet list if other players are using the system elsewhere on your shard.
Reserved For Updates
Update 31st Oct 2007
Issue fixed with 5 digit dialing sending energy fields to the wrong map.
Update 2nd Nov 2007
Issue fixed vortex directions on different facets.
Update 3rd Nov 2007
Issue fixed, my mistakes
Update 28th May 2008
Version 3.1 release, please download from further down the thread, this zip files guffed i think.
* Update 2nd April 2009 *
Some minor updates to 4 files. The 4 attached .CS files are v3.1 updates.
Gate address sorting added, all gate names are now sorted into alphabetical order after a world save.
*** Info Update 10th May 2009 ***
Just to let people know this... The original thread title says SVN 199 for v3.0 of this release, the updated v3.1 which will / should work on SVN 300 files is all contained within this single thread. The updates included 1 way gates (hidden dialling devices) as well as gate address's being sorted into alphabetical orders as well as a couple of other changes, i've put this in since some people have been asking about it.
Description
The new version of my old Stargate Travel System, pretty much a total re-write of the entire system to include several new features from previous suggestions and comments made on the last version... this is now v3.0.
Anyone who looked at the older version will know what it is, pretty much a small system which allows players to dial an address in order to travel to another destination. The v3.0 system now allows the easy creation of new stargate locations anywhere in a server without the need of the laborious task of script changes, un-like the older versions. Now you can add stargates while your shards running, any new addresses added to the system are automatically saved at every world save.
As well as this feature, the new version now holds all shards stargate locations in a XML file format which allows shard owners to now be able to swap data between shards with no script edits, just drop someone elses stargate XML file into the correct folder and your shards will automatically load the information in and build the stargates at server startup.
The system also comes with 3 pre-built stargate platform addons with it, each in East & South facing directions. As well as this, shard administrators have the option to generate a HTML file from the admin panel listing all stargate locations and view in a web browser which stargate addresses are avaliable to them when creating new locations for stargates in there shards.
The new gump design also incorporates an address entry listing with it, much the same way the address stones worked in previous versions, but all in the same gump which makes things better for players to view & find the address and dial codes there looking for. There are one or two addition bits of information displayed in this main dialing gump to help players out, mainly counters to show how many gates a facet has & how many are listed or hidden. Theres also a help option avaliable to players from this gump to explain the basics of using the system.
It also comes with an administration gump which is used when you need to add a new location to your shard, this shows the code as well as a preview of the symbols that will finally be placed into your game world on the platform. This also has an information gump to aid shard administrators with some additional info in there too about the system.
The biggest change with this version is the actual travel part, the old system used a straight forward teleport system, this v3.0 system opens an actual gate (not a moongate) for a period of time, so if one player opens the gate several can use it.
Installing
Save the attached ZIP file to your PC and un-zip into the script folder of your shard, you should then have an extra folder in scripts called 'Stargate system v3.0'.
If so you should be ok to start your server, the system when 1st run will create it's working directory inside the 'Data' folder of your RunUO install, you should end up with an extra folder there called 'Stargate Data', all of the files this system creates are held there.
Commands
This system does come with commands but the main ones are handeled by the administrators gump, the main command being...
[sgadmin (this opens the main admin gump).
[sginfo (broadcasts the number of stargates your server currently has)
[sgdelete (*** Use with caution ***, see below)
[sgdelete...
This command will remove ALL parts of this system from your game world but... if you do not remove the stargates in the correct manner (described in the information gump off the admin panel) your XML file still exists UNTIL your shard does a world save, at which point when it re-writes the file because you've just deleted all gates it will create an empty XML file with NO WAY to return your data. Remember to make a backup copy of the 'SGData.xml' file just incase.
To delete individual gates from your server you must do it from the actual control crystal at the stargate location your removing, the system must be disabled to do this. When a gate is removed from the system provided the world has not saved, you can force a XML file re-load and recover the change's, if the world save has happened then your out of luck, sorry.
The system's setup to only allow Admin or above access levels to access the admin panel and only the shard admin or above can disable the system, the systems default (which is changable in the core) at server restart enables the system (i.e gates are working to players).
GM's or above can delete individual gate locations but only if the admin has disabled the system 1st.
Screenshots
These are the 3 pre-built addon platforms...
Admin panel...
Control gump players use (players do not get admin options)...
And GM and above delete panel...
Additional Info
When a player uses a control crystal it locks other players out from dialing out, other players can still dial in to the platform. If a player does not use an open gump after 2 minutes the gump will auto close freeing it to allow other players to use it, this is the same situation if a player lost connection during dialing, it will auto release the crystal to other players to use.
The first person to use a crystal if it's a hidden location will be recorded on that crystal and displayed in the gump each time it's opened, this also reveals the address in the facet list if other players are using the system elsewhere on your shard.
Reserved For Updates
Update 31st Oct 2007
Issue fixed with 5 digit dialing sending energy fields to the wrong map.
Update 2nd Nov 2007
Issue fixed vortex directions on different facets.
Update 3rd Nov 2007
Issue fixed, my mistakes
Update 28th May 2008
Version 3.1 release, please download from further down the thread, this zip files guffed i think.
* Update 2nd April 2009 *
Some minor updates to 4 files. The 4 attached .CS files are v3.1 updates.
Gate address sorting added, all gate names are now sorted into alphabetical order after a world save.
*** Info Update 10th May 2009 ***
Just to let people know this... The original thread title says SVN 199 for v3.0 of this release, the updated v3.1 which will / should work on SVN 300 files is all contained within this single thread. The updates included 1 way gates (hidden dialling devices) as well as gate address's being sorted into alphabetical orders as well as a couple of other changes, i've put this in since some people have been asking about it.