Making a .Start command to teleport back to set location menu

Shout-Out

User Tag List

Results 1 to 7 of 7
  1. #1
    scooterboy1's Avatar Member
    Reputation
    1
    Join Date
    Nov 2007
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making a .Start command to teleport back to set location

    I was wondering if someone could help me with a script that would allow any player to type a command string, i.e .st. Which would then teleport that person to the location of my choosing, alive and what not. I think this would help relieve the hassel tremendously of people dying and not being able to rez themselves and GMs having to do it constantly.

    Thanks :]

    Making a .Start command to teleport back to set location
  2. #2
    AngelSandy's Avatar Member
    Reputation
    19
    Join Date
    Jan 2009
    Posts
    330
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would really get an unstucker tool on a website, or whatever. But what you look for would be some C++ I think.

  3. #3
    scooterboy1's Avatar Member
    Reputation
    1
    Join Date
    Nov 2007
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by AngelSandy View Post
    I would really get an unstucker tool on a website, or whatever. But what you look for would be some C++ I think.
    Yeah but no one uses that, and its a hastle. It would be much easier to just teleport ingame.

  4. #4
    AngelSandy's Avatar Member
    Reputation
    19
    Join Date
    Jan 2009
    Posts
    330
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A lot of things would be easier if you could "just" do this and that :b

  5. #5
    Mr.Ice.Cold's Avatar Active Member
    Reputation
    26
    Join Date
    Apr 2007
    Posts
    166
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Something like this could work.


    Code:
    #include "StdAfx.h"
    #include "Setup.h" 
    #ifdef WIN32
    #pragma warning(disable:4305) // warning C4305: 'argument' : truncation from 'double' to 'float'
    #endif
    
    static string start = "#start"; 
    
    void EventChat(Player * pPlayer, uint32 Type, uint32 Lang, const char * Message, const char * Misc)
    {
    if (Message == start)
    {
        pPlayer->EventTeleport(map, x, y, z); // Change this 
    }
    }
    
    void SetupHometeleport(ScriptMgr * mgr)
    {
    mgr->register_hook(SERVER_HOOK_EVENT_ON_CHAT, &EventChat);
    }

  6. #6
    AngelSandy's Avatar Member
    Reputation
    19
    Join Date
    Jan 2009
    Posts
    330
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah that would probably work out for your purpose.

  7. #7
    scooterboy1's Avatar Member
    Reputation
    1
    Join Date
    Nov 2007
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cece1 View Post
    Something like this could work.


    Code:
    #include "StdAfx.h"
    #include "Setup.h" 
    #ifdef WIN32
    #pragma warning(disable:4305) // warning C4305: 'argument' : truncation from 'double' to 'float'
    #endif
    
    static string start = "#start"; 
    
    void EventChat(Player * pPlayer, uint32 Type, uint32 Lang, const char * Message, const char * Misc)
    {
    if (Message == start)
    {
        pPlayer->EventTeleport(map, x, y, z); // Change this 
    }
    }
    
    void SetupHometeleport(ScriptMgr * mgr)
    {
    mgr->register_hook(SERVER_HOOK_EVENT_ON_CHAT, &EventChat);
    }
    You sir are my hero, I am not very good at this programing stuff just yet, but I can make you any banners / sigs you want just hit me up. ^_^

Similar Threads

  1. Question: How to make a weapon appear on my back?
    By Vitalis in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 04-05-2008, 10:50 PM
  2. [Question] How to make players start with gear/money/items?
    By hukabuka in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 02-23-2008, 08:13 PM
  3. Make everyone start with dungeon 1 equiped!
    By Creepfold in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 02-13-2008, 03:36 PM
  4. How to buy skills and teleport back to where you were.
    By eldorien in forum World of Warcraft Exploits
    Replies: 16
    Last Post: 03-08-2007, 08:58 PM
  5. How to earn 5000g/day, to make it easier with an teleport hack
    By Blasted in forum World of Warcraft Bots and Programs
    Replies: 3
    Last Post: 11-18-2006, 12:14 PM
All times are GMT -5. The time now is 10:32 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search