[Request] Warp NPC menu

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 32
  1. #16
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm.. i try to compile it but it doesn't quite work.
    Here I'll send you the log:


    Code:
     1>------ Build started: Project: GlobalNPC2003, Configuration: Debug Win32 ------
    1>Compiling...
    1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
    1>GlobalNPC.cpp
    1>Compiling manifest to resources...
    1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
    1>Copyright (C) Microsoft Corporation.  All rights reserved.
    1>Linking...
    1>LINK : fatal error LNK1104: cannot open file 'ascent.lib'
    1>Build log was saved at "file://d:Spitfirecompilessrcscriptsprojects2003_int_debug_GlobalNPCBuildLog.htm"
    1>GlobalNPC2003 - 1 error(s), 1 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    [Request] Warp NPC
  2. #17
    Steph's Avatar Member
    Reputation
    166
    Join Date
    Dec 2007
    Posts
    695
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Compile ascent first ya nub :P

    Code:
     1>------ Build started: Project: GlobalNPC2003, Configuration: Debug Win32 ------
    1>Compiling...
    1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
    1>GlobalNPC.cpp
    1>Compiling manifest to resources...
    1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
    1>Copyright (C) Microsoft Corporation.  All rights reserved.
    1>Linking...
    1>LINK : fatal error LNK1104: cannot open file 'ascent.lib'
    1>Build log was saved at "file://d:Spitfirecompilessrcscriptsprojects2003_int_debug_GlobalNPCBuildLog.htm"
    1>GlobalNPC2003 - 1 error(s), 1 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Basically the line in red is saying that the DLL you are compiling cant reference 'ascent.lib'. 'ascent.lib' is created when you first compile ascent.

    When compiling these NPCs, they need to reference the libraries made when you compile ascent, so logically you need to have ascent compiled first (and in the right directory structure) so you can build the scripts.

    Hope you get it working, Im shattered and going to bed now lol.

    Gluck.
    Last edited by Steph; 01-05-2008 at 05:07 PM. Reason: Added more detail

  3. #18
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh lol..

    haha thanks XD

  4. #19
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That works Thanks a dozen seph !

  5. #20
    Steph's Avatar Member
    Reputation
    166
    Join Date
    Dec 2007
    Posts
    695
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My pleasure

  6. #21
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah compiling successful and all that but when i use my NPC Ascent crashes..

    Steph could you maybe help me out on this one ?

    All i did different was that i edited the GlobalNPC file in the GlobalNPC folder.
    This is what i did:

    Was put a new line in the Gossip Menu

    Normal Menu:

    Code:
             GossipMenu *Menu;
            objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
            if(Plr->getRace()== 10||Plr->getRace()== 2||Plr->getRace()== 6||Plr->getRace()== 8||Plr->getRace()== 5)
            {Menu->AddItem(0, "Horde Cities", 1);}else{Menu->AddItem(1, "Alliance Cities", 2);}
            Menu->AddItem(2, "Global Locations", 80);                
            Menu->AddItem(3, "Azeroth Instances", 30);
            Menu->AddItem(4, "Outland Instances", 50);
            Menu->AddItem(5, "Shattrath", 20);
            Menu->AddItem(6, "Gurubashi Arena", 21);
            Menu->AddItem(8, "Buff me up, baby!", 96);
        /*    Menu->AddItem(7, "Make This Place Your Home", 95);        */
            Menu->AddItem(9, "Remove Resurrection Sickness", 97);
    My modified menu:
    Code:
            GossipMenu *Menu;
            objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
            if(Plr->getRace()== 10||Plr->getRace()== 2||Plr->getRace()== 6||Plr->getRace()== 8||Plr->getRace()== 5)
            {Menu->AddItem(0, "Horde Cities", 1);}else{Menu->AddItem(1, "Alliance Cities", 2);}
            Menu->AddItem(2, "Global Locations", 80);                
            Menu->AddItem(3, "Azeroth Instances", 30);
            Menu->AddItem(4, "Outland Instances", 50);
            Menu->AddItem(5, "Shattrath", 20);
            Menu->AddItem(6, "Gurubashi Arena", 21);
            Menu->AddItem(10, "Shopping Zones", 130);
            Menu->AddItem(8, "Buff me up, baby!", 96);
        /*    Menu->AddItem(7, "Make This Place Your Home", 95);        */
            Menu->AddItem(9, "Remove Resurrection Sickness", 97);
    Then i added 3 new cases so it would actually teleport me somewhere:

    Added Cases:

    Code:
                    case 128:     // Shopping Zones
                    {
                    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
                    Menu->AddItem(5, "General Shopping Mall", 129);
                    Menu->AddItem(5, "Custom Shopping Mall", 130);
    
                    Menu->SendTo(Plr);
                    }
                    break;
    
                    case 129: // General Shopping Mall
                    {
                        Plr->EventTeleport( 0, -8616, -513, 146);
                    }break;
    
                    case 130: // Custom Shopping Mall
                    {
                        Plr->EventTeleport( 30, 20, -300, 14);
                    }break;
    Is there something I'm doing wrong here ?

  7. #22
    Steph's Avatar Member
    Reputation
    166
    Join Date
    Dec 2007
    Posts
    695
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pass, I really dont know.

    Im assuming you have just copied a new set of cases from the layout of the previous ones, and just incremented and changed the data to get you to your new places.

    Let me look into it and Ill try your changes.

  8. #23
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright thanks
    I can upload my GlobalNPC.cpp too if you want

    here:
    Filebeam - Free Fast File Hosting
    Last edited by Wheeze201; 01-05-2008 at 05:59 PM.

  9. #24
    Steph's Avatar Member
    Reputation
    166
    Join Date
    Dec 2007
    Posts
    695
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It looks like one of your shopping zones is based inside an instance.

    The reason why you are getting a crash is because that instance hasnt been initiated.

    I dont get a crash, I just get the message, 'Transfer abored: Instance not found'

  10. #25
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Even though i remove the instance port i still crash

  11. #26
    Steph's Avatar Member
    Reputation
    166
    Join Date
    Dec 2007
    Posts
    695
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here's my compile of your code. See if it crashes your game too.

    Filebeam - Free Fast File Hosting

  12. #27
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It does not crash my server but the "Shopping Zones" directs me straight to AV ( where it's suppose to be )

    not a list of 2 locations that i can teleport to

  13. #28
    MysticViper's Avatar Active Member
    Reputation
    15
    Join Date
    Jan 2007
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'm kind of confused what problems your having so could you clarify whats going on :P
    Last edited by MysticViper; 01-05-2008 at 11:03 PM.

  14. #29
    freezer1012's Avatar Member
    Reputation
    34
    Join Date
    Apr 2007
    Posts
    98
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i know what it was. your cases are wrong. the menu with your shopping malls has to be "case 130". and u gotta fix the cases to the other to to match a the ones on the menu. but u cant have second one have 130. it would take u no where but the menu again.


  15. #30
    Wheeze201's Avatar Active Member
    Reputation
    51
    Join Date
    Apr 2007
    Posts
    660
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Alright Freezer, i will try your solution and see if it works

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. [Request] Warp NPC
    By lilbdiablo12 in forum WoW EMU Questions & Requests
    Replies: 8
    Last Post: 10-27-2008, 09:59 AM
  2. [Guide] Teleporter/Warp Npc
    By Cursed in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 03-15-2008, 03:18 PM
  3. [Request] Teleporter NPC
    By Performer in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 12-23-2007, 12:45 PM
  4. [Help] Warp Npc
    By kanqaz in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 12-08-2007, 09:06 AM
  5. [REQUEST] Tauren npcs > undead
    By Gorge in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 09-04-2007, 10:42 AM
All times are GMT -5. The time now is 05:36 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