item Teleport [completed and functional] menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    venom9122's Avatar Member
    Reputation
    20
    Join Date
    Nov 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    item Teleport [completed and functional]

    hey, a while back somebody asked for a item that can port you.... and I did it!

    to get this bad boy working, go ahead and paste this code into your guardgossip.cpp file:

    Code:
    class SCRIPT_DECL Warper : public GossipScript
    {
    public:
        void GossipHello(Object* pObject, Player * Plr, bool AutoSend)
        {
            GossipMenu *Menu;
            objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
            Menu->AddItem(0, "Stormwind", 0); 
            Menu->AddItem(0, "Ironforge", 1); 
            Menu->AddItem(0, "Exodar", 2); 
            Menu->AddItem(0, "Darnassus", 3);  
            Menu->AddItem(0, "Orgrimar", 4);
            Menu->AddItem(0, "Thunder Bluff", 5);
            Menu->AddItem(0, "Silvermoon City", 6);
            Menu->AddItem(0, "Undercity", 7);
               if(AutoSend)
                Menu->SendTo(Plr);
        }
    
    
    
    void GossipSelectOption(Object* pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code)
        {
            GossipMenu * Menu;
            switch(IntId)
            {
                 case 0:
                 {
                     Plr->SafeTeleport(0, 0, -8831.61, 622.666, 93.7787, 0);
                     Plr->Gossip_Complete();
                 }break;
    
             case 1:
                 {
                     Plr->SafeTeleport(0, 0, -4804.45, -1101.14, 498.807, 0);
                     Plr->Gossip_Complete();
                 }break;
    
             case 2:
                 {
                     Plr->SafeTeleport(530, 0, -3796.24, -11710.9, -105.45, 0);
                     Plr->Gossip_Complete();
                 }break;
    
             case 3:
                 {
                     Plr->SafeTeleport(1, 0, 9952.07, 2278.46, 1341.39, 0);
                     Plr->Gossip_Complete();
                 }break;
    
             case 4:
                 {
                     Plr->SafeTeleport(1, 0, 1499.55, -4406.91, 23.1642, 0);
                     Plr->Gossip_Complete();
                 }break;
    
             case 5:
                 {
                     Plr->SafeTeleport(1, 0, -1195.88, -56.5582, 160.034, 0);
                     Plr->Gossip_Complete();
                 }break;
    
             case 6:
                 {
                     Plr->SafeTeleport(530, 0, 9492.45, -7279.12, 14.3036, 0);
                     Plr->Gossip_Complete();
                 }break;
    
             case 7:
                 {
                     Plr->SafeTeleport(0, 0, 1615.1, 239.786, -62.0774, 0);
                     Plr->Gossip_Complete();
                 }break;
    
    }
    }
    };
    all right before
    Code:
    void SetupGuardGossip(ScriptMgr * mgr)
    then after the above code (the manager part) post these two lines and compile:
    Code:
    GossipScript * gs = (GossipScript*) new Warper();
    GossipScript * gs = (GossipScript*) new Warper();
    now finish up by running this in ur SQLyog:
    Code:
    INSERT INTO `items` VALUES ('8000004', '0', '0', '-1', 'Warper', 'Warper', 'Warper', 'Warper', '0', '0', '0', '0', '0', '0', '-1', '-1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '0', '33208', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0','0','0');
    this was compiled under the latest ascent rev, and it ports to all major cities, doesn't check for faction, yet, and feel free to improve on it!
    Last edited by venom9122; 11-29-2007 at 10:16 PM.
    Don't worry, this won't bring up a BSOD......... well not this time.

    item Teleport [completed and functional]
  2. #2
    jokerjokes's Avatar Active Member
    Reputation
    75
    Join Date
    Apr 2007
    Posts
    902
    Thanks G/R
    3/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    very nice +rep buddy.
    Edit:must wait....

  3. #3
    jonnd's Avatar Member
    Reputation
    8
    Join Date
    Aug 2007
    Posts
    65
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    Im Not Very Good with C++ skills could you make a quick guide please sorry to be a pain lol +rep dude

  4. #4
    venom9122's Avatar Member
    Reputation
    20
    Join Date
    Nov 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    Revised guide:
    Step 1: Download Patch from Filebeam - Free Fast File Hosting
    Step 2:extract (duh) and apply patch using tortoise svn by rightclicking the folder u've got the source for ascent in, selecting under the svn options "apply patch" and navigate to the patch.
    Step 3: Recompile the scripts using visual studio and copy em into ur sources_bin folder.
    Step 4: pull up SQLyog and paste this command into the window:
    Code:
    INSERT INTO `items` VALUES ('8000004', '0', '0', '-1', 'Warper', 'Warper', 'Warper', 'Warper', '0', '0', '0', '0', '0', '0', '-1', '-1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '0', '33208', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0','0','0');
    and then hit the arrow to run query.
    Step 5: Inside WoW either add this item to one of your custom vendors, or hand it out as a prize using .additem 8000004 and your set!
    Don't worry, this won't bring up a BSOD......... well not this time.

  5. #5
    toxic11b's Avatar Active Member
    Reputation
    21
    Join Date
    Nov 2007
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    Ok I guess im a even bigger n00b. Im using AS-Web and didnt compile anything. Just next for it to install. I dont understand what you mean by where the src folder is. I tryed to click every folder in hopes that it would go lol . Could you tell me where the src folder would be ? If there is one at all for AC-Web

  6. #6
    venom9122's Avatar Member
    Reputation
    20
    Join Date
    Nov 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    ok, for all you
    n00bs
    out there, i just made a prepack on the latest revision, as of yesterday, containing the item... stuff
    Filebeam - Free Fast File Hosting
    if you can't open it, download 7zip for free from 7-zip.org its a 15 sec install on a SLOW computer, like 3 sec on a fast one. oh and as for the item you might've not figured that out, just create an item of class 0 entry number 8000004 and then make it have spelleffect1 as 33208 trigger 0 no req... your choice on display id (it doesn't matter) or run this as a query in SQLyog:
    Code:
    INSERT INTO `items` VALUES ('8000004', '0', '0', '-1', 'Warper', 'Warper', 'Warper', 'Warper', '0', '0', '0', '0', '0', '0', '-1', '-1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '0', '33208', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0','0','0');
    edit: then follow step 5 of the old guide and enjoy please tell me how it works for you, or if you have any custom requests for the item, like if you want to buy stuff from it... or whatever, i'm willing to take it on!!!!!
    edit2: yeah this is only a core compile, and you can just ignore the config files, i just highlighted everything in my ascnet top dir, and forgot to unhighlight the configs.
    Last edited by venom9122; 11-30-2007 at 09:45 AM.
    Don't worry, this won't bring up a BSOD......... well not this time.

  7. #7
    toxic11b's Avatar Active Member
    Reputation
    21
    Join Date
    Nov 2007
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    I appreciate the work on the donwload. Could you still tell me how on my question. Im sorry but I really want to know so I can learn how to do this myself =)

  8. #8
    venom9122's Avatar Member
    Reputation
    20
    Join Date
    Nov 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    sorry what was the question? let me know if u get on
    Don't worry, this won't bring up a BSOD......... well not this time.

  9. #9
    toxic11b's Avatar Active Member
    Reputation
    21
    Join Date
    Nov 2007
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    Originally Posted by venom9122 View Post
    sorry what was the question? let me know if u get on

    I didnt compile anything for myself on ascent. Im using a repack all I did was install. But I want to learn how to do this myself but cant seem to get no one to teach / show me. When you say compile with with the src from ascent what do you mean by that ? Where do I get it from ? Im sure I can figure out the compile part with all the guides out there.

  10. #10
    venom9122's Avatar Member
    Reputation
    20
    Join Date
    Nov 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    lol yeah, ok so go to AscentEmu.com - Ascent Emulator and follow the link to their wiki. Now you follow the instructions on checking out the source code, and well, there you go you have your source. Now for more detailed items, just find somebody else's portal npc and instead of doing mgr->register_gossip_script(whatever) do mgr->register_item_gossip_script(whatever) in addition to replacing all the pCreature from the code with pObject and same for reg creature, if you see it it'll all make sense. then you might have to mess with some other stuff. just tweak around with it till u can compile w/ no errors. oh thats right, u need visual studio c++ 2008 express for compile... um, other instructions on ascentemu site.... and thats about it, just repost for more help i guess
    Don't worry, this won't bring up a BSOD......... well not this time.

  11. #11
    toxic11b's Avatar Active Member
    Reputation
    21
    Join Date
    Nov 2007
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    Cool thanks. I will look into this. Its a pain though I have been trying to make my own teleport NPC but with tele's to DM Arena and Guru Arena but cant never seem to get it right =*( but anyways ty for the scripts it really nice.

  12. #12
    venom9122's Avatar Member
    Reputation
    20
    Join Date
    Nov 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    heres the coordinates for guru arena:
    Code:
    Plr->EventTeleport(0, -13271.959961, 149.105515, 34.464458);
    Don't worry, this won't bring up a BSOD......... well not this time.

  13. #13
    toxic11b's Avatar Active Member
    Reputation
    21
    Join Date
    Nov 2007
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    Ahh getting the cords isnt the issue. The issue is getting it to compile.

  14. #14
    venom9122's Avatar Member
    Reputation
    20
    Join Date
    Nov 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    post ur source, in a new thread i want more rep!
    Don't worry, this won't bring up a BSOD......... well not this time.

  15. #15
    Illidan1's Avatar Banned
    Reputation
    244
    Join Date
    Jul 2007
    Posts
    2,251
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: item Teleport [completed and functional]

    Looks Really Nice Venom, nice C++ skill

Page 1 of 2 12 LastLast

Similar Threads

  1. make items cost honor and marks?
    By Denelly in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 05-17-2008, 12:45 PM
  2. [Release] Item Teleporter Core
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 12-29-2007, 09:32 PM
  3. PICTURE Tutorial: Extract a list of all NPCS/ITEMS with ID and Display ID!
    By selulancie in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 09-26-2007, 08:26 AM
  4. Easy way to make quick money, completely and utterly unbannable
    By m0rbidang3l in forum World of Warcraft Exploits
    Replies: 30
    Last Post: 05-08-2007, 11:51 PM
  5. Transfer gold and items between horde and alliance
    By Coolness in forum World of Warcraft Exploits
    Replies: 6
    Last Post: 11-04-2006, 03:46 PM
All times are GMT -5. The time now is 02:53 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