[Release] Wareagle920's WarpNPC menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] Wareagle920's WarpNPC

    Updated and all. I know this has been released before - just wanted to release what will be used on ggWoW.

    Info:
    Execute the SQL - Place DLL in your script_bin folder. Restart Server.

    Code:
    INSERT INTO `creature_names` VALUES ('37000', 'Lord GG', 'Teleporter', '', '1', '4', '4', '0', '0', '0', '20306', '20306', '0', '0', '1', '1', '1', '1');
    INSERT INTO `creature_proto` VALUES ('37000', '200', '200', '35', '20000', '20000', '1', '1', '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', '2.5', '8', '14', '0');


    Menu's/Prices:
    Horde Cities - Free
    Alliance Cities - Free
    Neutral Locations - 5 gold

    Credits:
    Wareagle920
    Insanek8123 for helping me updated and compile the dll

    Screenies:
    Soon to Come



    http://filebeam.com/14e17eeebb575895c2c0efa6144e7a09

    ~Please leave your feedback and critisicm/cheerup-comments~
    Last edited by SectorSeven; 02-05-2008 at 12:02 AM.

    [Release] Wareagle920's WarpNPC
  2. #2
    Nazgulhunter's Avatar Member
    Reputation
    2
    Join Date
    Jun 2007
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well done. Now stop MSN'ing me ur post links.

    +rep

  3. #3
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Appreciate it.
    lol "I hate clicking links, they're too much worK"
    ILV naz

  4. #4
    MysterioussouL's Avatar Banned
    Reputation
    339
    Join Date
    Feb 2008
    Posts
    431
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice on Thanks for sharing but atm i need to spread my reps 1st

  5. #5
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Haha its cool
    i was gonna release on your site but then i decided against it

  6. #6
    Nazgulhunter's Avatar Member
    Reputation
    2
    Join Date
    Jun 2007
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're still not getting my cake. Stop Sucking up

  7. #7
    Clain's Avatar Banned
    Reputation
    179
    Join Date
    Jan 2008
    Posts
    1,396
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nazzy I messaged that robot again...


    Good warp npc war

  8. #8
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    May i see the source?
    Life Puzzler WoW - Website | Forums

  9. #9
    Nazgulhunter's Avatar Member
    Reputation
    2
    Join Date
    Jun 2007
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ROFL Clain Nicely done. IMO Ask it to mary you.

    For thoose of you confused add: [email protected] To your MSN list

  10. #10
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sure... heres it is:

    Code:
    
    #include"StdAfx.h"
    #include"Setup.h"
    #ifdef WIN32
    #pragmawarning(disable:4305)// warning C4305: 'argument' : truncation from 'double' to 'float'
    #endif
     
    class SCRIPT_DECL WarpNPC : public GossipScript
    {
    public:
    void Destroy()
    {
    deletethis;
    }
    void GossipHello(Object* pObject, Player * Plr, bool AutoSend)
    {
    GossipMenu *Menu;
    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
    Menu->AddItem(0,"Horde Cities", 1);
    Menu->AddItem(0,"Alliance Cities", 2);
    Menu->AddItem(0,"Neutral Locations", 3);
    if(AutoSend)
    Menu->SendTo(Plr);
    }
    void GossipSelectOption(Object* pObject, Player* Plr, uint32 Id, uint32 IntId, constchar * Code)
    {
    Creature * pCreature = (pObject->GetTypeId()==TYPEID_UNIT)?((Creature*)pObject):NULL;
    if(pCreature==NULL)
    return ;
    GossipMenu *Menu;
    switch(IntId)
    {
    case 1: //Horde Cities
    {
    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
    Menu->AddItem(5,"Orgrimmar",4);
    Menu->AddItem(5,"Undercity",5);
    Menu->AddItem(5,"Thunder Bluff",6);
    Menu->AddItem(5,"Silvermoon",7);
    Menu->SendTo(Plr);
    }break;
    case 2: //Alliance Cities
    {
    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
    Menu->AddItem(5,"The Exodar",8);
    Menu->AddItem(5,"Stormwind",9);
    Menu->AddItem(5,"Darnassus",10);
    Menu->AddItem(5,"Ironforge",11);
    Menu->SendTo(Plr);
    }break;
    case 3: //Neutral Locations
    {
    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
    Menu->AddItem(5,"Ratchet",12);
    Menu->AddItem(5,"Area 52",13);
    Menu->AddItem(5,"Booty Bay",14);
    Menu->AddItem(5,"Shattrath",15);
    Menu->AddItem(5,"Cenarion Hold",16);
    Menu->AddItem(5,"Gadgetzan",17);
    Menu->SendTo(Plr);
    }break;
    case 4: //Orgrimmar
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 1, 1675.256226, -4320.852539, 61.781357);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 5: //Undercity
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 0, 1574.920654, 270.494476, -43.100655);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 6: //Thunder Bluff
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 1, -1284.066528, 133.174835, 131.198471);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 7: //Silvermoon
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 530, 9491.975586, -7267.707031, 14.321875);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 8: //The Exodar
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 530, -3947.677002, -11532.128906, -138.653412);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 9: //Stormwind
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 0, -8840.163086, 343.456055, 120.935112);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 10: //Darnassus
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 1, 9948.172852, 2613.264893, 1316.289307);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 11: //Ironforge
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 0, -4921.870605, -941.203491, 501.577545);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 12: //Ratchet
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 1, -1050.975708, -3665.528809, 23.885082);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 13: //Area 52
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 530, 3056.677734, 3664.183838, 142.853165);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 14: //Booty Bay
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 0, -14298.539063, 438.659821, 31.175819);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 15: //Shattrath
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 530, -1862.487427, 5431.336914, -9.704870);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 16: //Cenarion Hold
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 1, -6819.844238, 819.056763, 49.883137);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    case 17: //Gadgetzan
    {
    //Get the ammount of gold the players
    uint32 currentgold = Plr->GetUInt32Value(PLAYER_FIELD_COINAGE);
    //Check if the player is enought gold.
    if(currentgold>050000)
    {
    //Calculate the new ammount of he should have (his current gold - the price).
    int32 newgold = currentgold - 050000;
    //Set the players gold to the new ammount.
    Plr->SetUInt32Value(PLAYER_FIELD_COINAGE,newgold);
    //Teleport the player.
    Plr->EventTeleport( 1, -7160.678223, -3843.414063, 8.697383);
    }else{
    pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "Sorry, you dont have enought gold.");
    }
    Plr->Gossip_Complete();
    }break;
    }
    }
    };
    void SetupWarpnpc(ScriptMgr * mgr)
    {
    GossipScript *warp = (Warpnpc*) new WarpNPC();
    mgr->register_gossip_script(37000, warp);
    }
    

  11. #11
    Pragma's Avatar Contributor
    Reputation
    261
    Join Date
    Feb 2007
    Posts
    630
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice warpnpc wareagle
    must spread reps


  12. #12
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Although mine is wai better (muahahahhaa, jk)
    Its a fine contribution, +rep
    Life Puzzler WoW - Website | Forums

  13. #13
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks man!
    lol gastric i admit yours is better

  14. #14
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I actuallly needed to see the gold code for my newest work, so thats a plus
    Life Puzzler WoW - Website | Forums

  15. #15
    SectorSeven's Avatar Banned
    Reputation
    444
    Join Date
    Oct 2007
    Posts
    1,948
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright cool - Does anyone have the new MorphNPC base?

Page 1 of 2 12 LastLast

Similar Threads

  1. [Release] WarpNPC (Woltk) For LAtest Hearthstone
    By Algorithm in forum WoW EMU General Releases
    Replies: 4
    Last Post: 01-17-2009, 06:06 PM
  2. [Release]Advanced WarpNPC
    By Hermess in forum WoW EMU General Releases
    Replies: 17
    Last Post: 12-13-2008, 09:00 AM
  3. [Release] New - WarpNPC connected with Database!
    By ~SaiLyn~ in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 06-07-2008, 08:08 AM
  4. [Release] Wareagle920's C++ Source List DL
    By SectorSeven in forum World of Warcraft Emulator Servers
    Replies: 22
    Last Post: 02-09-2008, 01:09 PM
  5. anti-warden Release #1
    By zhPaul in forum World of Warcraft Bots and Programs
    Replies: 40
    Last Post: 10-21-2006, 01:40 AM
All times are GMT -5. The time now is 07:38 PM. 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