daat99's World Teleporter
daat99's World Teleporter (remade by XxSP1DERxX)
changelog v1.1 ==> XxSP1DERxX post #52
04/06/2005: Bug with Tokuno taking you to Trammel locations.
04/06/2005: Optimized the gump code.
changelog v1.0 ==> ReWriten by XxSP1DERxX post #41
02/06/2005: Changed all boolean properties to 1 bitwise flag
02/06/2005: Added a global/local switch (so that admins can set their global settings )
02/06/2005: Optimized the Gump code to use "virtual pages"
02/06/2005: Optimized the Location list generation code
02/06/2005: Optimized the gump response code to use an algorithm
02/06/2005: Added triple redundant validity checks
02/06/2005: Added staff check
02/06/2005: Put Map hueing into a function to allow easy changing
02/06/2005: Created default global settings in the Initialize() function
changelog v0.8 post #26
08/03/2005: fixed a warning.
08/03/2005: Fixed when you disable fel or tram it still showed them in the public moongate.
changelog v0.7 post #25
08/03/2005: Added colors to Ilshenar Malas and Tokuno maps, Thanx Kiara for choosing the colors
07/03/2005: Added more locations to tokuno map.
07/03/2005: Added ilshenar shrines map.
07/03/2005: Added trammel and felucca public moongates.
changelog v0.6 post #24
02/03/2005: Added a [WorldTeleGen command to generate the world teleporter in all the exits. It'll generate the teleporters only on the maps that set to true in the [props and delete all existing unmovable teles.
02/03/2005: Rewrote the teleporter with arrays and hash table to simplify the modifications and to shorten the code. (ThanX A Lot UOT)
changelog v0.5 post #23
27/02/2005: Fixed a bug that resets the settings every time you add a teleporter.
27/02/2005: Added spiders cave to ilshenar map.
changelog v0.4 post #19
24/02/2005: Added a check not to play sounds if hidden staff member use it.
24/02/2005: Added a check to see if you're near the destination you selected (1 tile away) requested by Raider
24/02/2005: A few modifications to the teleporter code.
changelog v0.3 post #16
23/02/2005: Added exodus dungeon, rock dungeon, solen hive and orc cave, thanx to Tark for requesting them
23/02/2005: Moved mook town to custom where it was supposed to be in the first place.
changelog v0.2 post #9
22/02/2005: Fixed some typos, thanx Crepti
changelog v0.1
22/02/2005: Made by daat99.
Credits:
Made by daat99, v1.0 remade by XxSP1DERxX
Special thanks for XxSP1DERxX for rewriting and optimizing the code A LOT
Special thanks for Kiara for the idea (sorry I forgot you before).
Special thanks goes to UOT, Thraxus and Muzrin, thanx for the HUGE help guys.
Also thanx for Crepti (you tried to help me there with the gump hues ).
Many of the locations were copied from Traveling Books script by Broze The Newb.
Thanx to Wolf for adding some locations into the mix.
Description:
A moongate that hold all the locations and can be easily customized in the script.
Added a UseGlobal bool value for each teleporter, when set to false that particular teleporter will have independent settings then the rest.
Admin can turn on\off each map in the teleporter (effect all the teleporters in the world by default) via [props.
Can be set to allow reds in tram\ilsh\malas\tokuno or not via [props (AllowAllMurdr will allow reds in all maps otherwise only in fel).
The teleporter come with example custom map which is turned off by default, enable it with [props and set the locations inside the script.
Use [worldtelegen to generate world teleporters in all the active connections (if trammel is active it'll add teleporters to all the locatios in trammel).
Installation:
1. Drop this file in your custom scripts folder and restart your shard.
2. In game use [WorldTeleGen to add static teleporters to the active maps (use again if you changed the maps.
Enjoy
P.S.
Just when I was about to post this I saw this thread that made me consider not to post this teleporter:
http://www.runuo.com/forum/showthread.php?t=50815
After considering it for a while I decided to post it anyway since this isn't ment to be used as a mobile gate for players but as a stationary teleporter.
daat99's World Teleporter (remade by XxSP1DERxX)
changelog v1.1 ==> XxSP1DERxX post #52
04/06/2005: Bug with Tokuno taking you to Trammel locations.
04/06/2005: Optimized the gump code.
changelog v1.0 ==> ReWriten by XxSP1DERxX post #41
02/06/2005: Changed all boolean properties to 1 bitwise flag
02/06/2005: Added a global/local switch (so that admins can set their global settings )
02/06/2005: Optimized the Gump code to use "virtual pages"
02/06/2005: Optimized the Location list generation code
02/06/2005: Optimized the gump response code to use an algorithm
02/06/2005: Added triple redundant validity checks
02/06/2005: Added staff check
02/06/2005: Put Map hueing into a function to allow easy changing
02/06/2005: Created default global settings in the Initialize() function
changelog v0.8 post #26
08/03/2005: fixed a warning.
08/03/2005: Fixed when you disable fel or tram it still showed them in the public moongate.
changelog v0.7 post #25
08/03/2005: Added colors to Ilshenar Malas and Tokuno maps, Thanx Kiara for choosing the colors
07/03/2005: Added more locations to tokuno map.
07/03/2005: Added ilshenar shrines map.
07/03/2005: Added trammel and felucca public moongates.
changelog v0.6 post #24
02/03/2005: Added a [WorldTeleGen command to generate the world teleporter in all the exits. It'll generate the teleporters only on the maps that set to true in the [props and delete all existing unmovable teles.
02/03/2005: Rewrote the teleporter with arrays and hash table to simplify the modifications and to shorten the code. (ThanX A Lot UOT)
changelog v0.5 post #23
27/02/2005: Fixed a bug that resets the settings every time you add a teleporter.
27/02/2005: Added spiders cave to ilshenar map.
changelog v0.4 post #19
24/02/2005: Added a check not to play sounds if hidden staff member use it.
24/02/2005: Added a check to see if you're near the destination you selected (1 tile away) requested by Raider
24/02/2005: A few modifications to the teleporter code.
changelog v0.3 post #16
23/02/2005: Added exodus dungeon, rock dungeon, solen hive and orc cave, thanx to Tark for requesting them
23/02/2005: Moved mook town to custom where it was supposed to be in the first place.
changelog v0.2 post #9
22/02/2005: Fixed some typos, thanx Crepti
changelog v0.1
22/02/2005: Made by daat99.
Credits:
Made by daat99, v1.0 remade by XxSP1DERxX
Special thanks for XxSP1DERxX for rewriting and optimizing the code A LOT
Special thanks for Kiara for the idea (sorry I forgot you before).
Special thanks goes to UOT, Thraxus and Muzrin, thanx for the HUGE help guys.
Also thanx for Crepti (you tried to help me there with the gump hues ).
Many of the locations were copied from Traveling Books script by Broze The Newb.
Thanx to Wolf for adding some locations into the mix.
Description:
A moongate that hold all the locations and can be easily customized in the script.
Added a UseGlobal bool value for each teleporter, when set to false that particular teleporter will have independent settings then the rest.
Admin can turn on\off each map in the teleporter (effect all the teleporters in the world by default) via [props.
Can be set to allow reds in tram\ilsh\malas\tokuno or not via [props (AllowAllMurdr will allow reds in all maps otherwise only in fel).
The teleporter come with example custom map which is turned off by default, enable it with [props and set the locations inside the script.
Use [worldtelegen to generate world teleporters in all the active connections (if trammel is active it'll add teleporters to all the locatios in trammel).
Installation:
1. Drop this file in your custom scripts folder and restart your shard.
2. In game use [WorldTeleGen to add static teleporters to the active maps (use again if you changed the maps.
Enjoy
P.S.
Just when I was about to post this I saw this thread that made me consider not to post this teleporter:
http://www.runuo.com/forum/showthread.php?t=50815
After considering it for a while I decided to post it anyway since this isn't ment to be used as a mobile gate for players but as a stationary teleporter.