Jump to content

Teleporter


viktor971

Recommended Posts

A new one can be made in but a few minutes, or an hour depending on the capacity of teleport locations through SAI and Gossip Menus. Which includes fancy images and colors if they so desire..

 

INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (383870, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 62, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 1440.83, -5017.2, 12.1, 1.68, 'Teleport Player');

 

 

INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`) VALUES (20983, 1, 0, '|cFF0008E8|TInterface\\icons\\inv_misc_largeshard_superior:30|t|rWHYTHISNAME', 1, 3, 0, 0, 0, 0, 'comment here');

 

Information relevant to understand the query;

  • To get the icon information from another website such as www.wowhead.com you can then look up an item, quest, achievement etc... click the one you want to use the icon of, such as; EXAMPLE click the item icon and that will give you the code to replace ( inv_misc_largeshard_superior ) with.
  • In the first SQL for smart scripts, ( 383870 ) should be changed to the entry ID of your teleporter NPC to ensure no errors miss-match the setup.
  • Teleport location co-ordinates should be changed from the 3 co-ordinates from the example ( 1440.83, -5017.2, 12.1, 1.68, )
  • Teleport map location can be changed by changing the value ( 1, ) to the map ID of the new location you want.
  • In the gossip options; ( 20983 ) should be changed to the gossip ID on the creature you've set for your teleporter.
  • In the gossip options; ( 3 ) - the second digit column after the name should be changed to the SAME NPCflag as your teleporter to ensure no errors with your teleport setup.

The bonus of this method is that no restarts or compiles of your server are required.

You can quite simply reload the creature template for that ID, reload smart scripts and reload gossip menu options and you're free to edit, update, release and enjoy it all at once.

Everyone loves a bit of variety and difference. Even in something as simple as a custom teleporter.

 

 

Show off, and do one for them? ;)

Link to comment
Share on other sites

A new one can be made in but a few minutes, or an hour depending on the capacity of teleport locations through SAI and Gossip Menus. Which includes fancy images and colors if they so desire..

 

INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (383870, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 62, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 1440.83, -5017.2, 12.1, 1.68, 'Teleport Player');

 

 

INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`) VALUES (20983, 1, 0, '|cFF0008E8|TInterface\\icons\\inv_misc_largeshard_superior:30|t|rWHYTHISNAME', 1, 3, 0, 0, 0, 0, 'comment here');

 

Information relevant to understand the query;

  • To get the icon information from another website such as www.wowhead.com you can then look up an item, quest, achievement etc... click the one you want to use the icon of, such as; EXAMPLE click the item icon and that will give you the code to replace ( inv_misc_largeshard_superior ) with.
  • In the first SQL for smart scripts, ( 383870 ) should be changed to the entry ID of your teleporter NPC to ensure no errors miss-match the setup.
  • Teleport location co-ordinates should be changed from the 3 co-ordinates from the example ( 1440.83, -5017.2, 12.1, 1.68, )
  • Teleport map location can be changed by changing the value ( 1, ) to the map ID of the new location you want.
  • In the gossip options; ( 20983 ) should be changed to the gossip ID on the creature you've set for your teleporter.
  • In the gossip options; ( 3 ) - the second digit column after the name should be changed to the SAME NPCflag as your teleporter to ensure no errors with your teleport setup.

The bonus of this method is that no restarts or compiles of your server are required.

You can quite simply reload the creature template for that ID, reload smart scripts and reload gossip menu options and you're free to edit, update, release and enjoy it all at once.

Everyone loves a bit of variety and difference. Even in something as simple as a custom teleporter.

 

 

Show off, and do one for them? ;)

 

why your posts are so weird

Link to comment
Share on other sites

  • Developers

Teleporter changes can be applied only after update. Update was planned a 1 week ago, but i think for some reason Zeox/Juster couldn"t apply it on time.

They won't bring the old teleporter back as I know they will just modify the new one

No, Zeox said that he bring the old teleporter back (with pictures and other stuff), but add duel zone from current teleporter.

http://forum.pandawow.ru/showthread.php?t=190902 this is what Viktor talks about but none of the gms do smtng 4 weeks already dumb up.

GMs don't have acces to such things.

Link to comment
Share on other sites

  • Administrators
A new one can be made in but a few minutes, or an hour depending on the capacity of teleport locations through SAI and Gossip Menus. Which includes fancy images and colors if they so desire..

 

INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES (383870, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 62, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 1440.83, -5017.2, 12.1, 1.68, 'Teleport Player');

 

 

INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`) VALUES (20983, 1, 0, '|cFF0008E8|TInterface\\icons\\inv_misc_largeshard_superior:30|t|rWHYTHISNAME', 1, 3, 0, 0, 0, 0, 'comment here');

 

Information relevant to understand the query;

  • To get the icon information from another website such as www.wowhead.com you can then look up an item, quest, achievement etc... click the one you want to use the icon of, such as; EXAMPLE click the item icon and that will give you the code to replace ( inv_misc_largeshard_superior ) with.
  • In the first SQL for smart scripts, ( 383870 ) should be changed to the entry ID of your teleporter NPC to ensure no errors miss-match the setup.
  • Teleport location co-ordinates should be changed from the 3 co-ordinates from the example ( 1440.83, -5017.2, 12.1, 1.68, )
  • Teleport map location can be changed by changing the value ( 1, ) to the map ID of the new location you want.
  • In the gossip options; ( 20983 ) should be changed to the gossip ID on the creature you've set for your teleporter.
  • In the gossip options; ( 3 ) - the second digit column after the name should be changed to the SAME NPCflag as your teleporter to ensure no errors with your teleport setup.

The bonus of this method is that no restarts or compiles of your server are required.

You can quite simply reload the creature template for that ID, reload smart scripts and reload gossip menu options and you're free to edit, update, release and enjoy it all at once.

Everyone loves a bit of variety and difference. Even in something as simple as a custom teleporter.

 

 

Show off, and do one for them? ;)

 

The old one is coded on C++ and it has script in the core.

 

About teleporter , I said Juster to add old one 2 weeks ago, i don't know why he didn't do that. I'm going to ask him.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...