Jump to content

tekkeryole

Members
  • Posts

    4
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by tekkeryole

  1.         case GAMEOBJECT_TYPE_MEETINGSTONE:                  //23
           {
               GameObjectInfo const* info = GetGOInfo();
    
               if(user->GetTypeId()!=TYPEID_PLAYER)
                   return;
    
               Player* player = (Player*)user;
    
               Player* targetPlayer = ObjectAccessor::FindPlayer(player->GetSelection());
    
               // accept only use by player from same group for caster except caster itself
               if(!targetPlayer || targetPlayer == player || !targetPlayer->IsInSameGroupWith(player))
                   return;
    
               /*
              //required lvl checks!
               uint8 level = player->getLevel();
               if (level < info->meetingstone.minLevel || level > info->meetingstone.maxLevel)
                   return;
               level = targetPlayer->getLevel();
               if (level < info->meetingstone.minLevel || level > info->meetingstone.maxLevel)
                   return;
           */
    
               spellId = 23598;
    
               break;
           }

    just comment it out here

  2. Not sure you mean. Do you mean a command or piece of code?

    If you mean a command, then you can use .announce.

    If you mean a piece of code, then you can look at the command .announce and see that it looks as follows:

    // global announce
    bool ChatHandler::HandleAnnounceCommand(const char* args)
    {
       if(!*args)
           return false;
    
       sWorld.SendWorldText(LANG_SYSTEMMESSAGE,args);
       return true;
    }
    

    I guess I should have clarified this, but pretty much, I'm used to ascent based emulators - arcemu/aspire/ascent and what they normally use is BroadcastMessage which sends the message to just the player. Well the last few days, i looked everything over and it seems it is SystemMessage - is this right? If I use SendWorldText it announces to the world.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use