Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 4 of 4
  1. #1
    Beginner

    Join Date
    May 2010
    Posts
    2
    Post Thanks / Like
    Rep Power
    15
    Reputation
    1

    C++ Teleporter problem


    Register to remove this ad
    Hello guys i have problem with C++ Teleporter...On windows in Visual C++ 2008

    Problem is -->
    1>..\scripts\custom\bludisteteleporter.cpp(41) : error C2065: 'GossipSelect_Bludiste' : undeclared identifier
    Code of Teleport
    Code:
    
    //Author gLararaN
    //Revision = [16]
    #include"precompiled.h"
    //==============================================================================
    //==================================MENU========================================
    //==============================================================================
    bool GossipHello_bludiste(Player *player, Creature *_Creature)
    {
    
    player->ADD_GOSSIP_ITEM( 7, "Teleportovat do Bludiste" , GOSSIP_SENDER_MAIN, 10020);
    player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE,_Creature->GetGUID());
    
    returntrue;
    }
    void SendDefaultMenu_bludiste(Player *player, Creature *_Creature, uint32 action )
    {
    switch(action)
    {
    //==============================================================================
    //==================================TELEPORT====================================
    //==============================================================================
    case 10020: //bludiste
    player->CLOSE_GOSSIP_MENU();
    player->TeleportTo(0, -7653.692871f, 1042.606323f, 131.407410f, 5.524533f);
    break;
    }
    }
    //==============================================================================
    //==================================Script======================================
    //==============================================================================
    void AddSC_bludiste()
    {
    Script *newscript;
    newscript = new Script;
    newscript->Name="bludiste";
    newscript->pGossipHello = &GossipHello_bludiste;
    newscript->pGossipSelect = &GossipSelect_bludiste;
    newscript->pItemHello = NULL;
    newscript->pGOHello = NULL;
    newscript->pAreaTrigger = NULL;
    newscript->pItemQuestAccept = NULL;
    newscript->pGOQuestAccept = NULL;
    newscript->pGOChooseReward = NULL;
    newscript->RegisterSelf();
    }
    





    › See More: C++ Teleporter problem



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Contributor
    Cocain's Avatar
    Join Date
    Mar 2010
    Posts
    208
    Post Thanks / Like
    Rep Power
    16
    Reputation
    92
    You didn't include it's name, try doing that.
    Code:
    newscript->Name="bludiste";

    Aswell, please pay attention to the section you're posting your problems in.

  4. #3
    Scout

    Join Date
    Dec 2009
    Posts
    27
    Post Thanks / Like
    Rep Power
    15
    Reputation
    6
    u dont even have a gossipselect_bludiste option so I think u can comment out like so

    //newscript->pGossipSelect = &GossipSelect_bludiste;

  5. #4
    Contributor
    Bing's Avatar
    Join Date
    Jul 2010
    Posts
    103
    Post Thanks / Like
    Rep Power
    15
    Reputation
    103

    Register to remove this ad
    Oh i had this same problem just other day. But, yes, Cocain is correct!
    Leecher - 01/07/10!
    Active Member - 05/07/10!
    Moderator - 14/08/10!
    Contributor - 15/09/10!

 

 

Visitors found this page by searching for:

C Teleporter

SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 03:42 PM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org