Linking Outdoor Bosses menu

Shout-Out

User Tag List

Results 1 to 2 of 2
  1. #1
    Dridon's Avatar Member
    Reputation
    3
    Join Date
    Jan 2010
    Posts
    16
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Linking Outdoor Bosses

    I'm currently working on a boss script which is some kind of "council", basically there are 3 separate bosses. I've tried looking at some other scripts where the fight has several bosses but I can't really figure out what I need to know.

    So what I got is one script boss_council.cpp which inside of I've initialized the 3 bosses. The basic skeleton for all 3 look like this:
    Code:
    class boss_the_chancellor : public CreatureScript
    {
    public:
    	boss_council_member() : CreatureScript("boss_council_member") { }
    
    	struct boss_council_memberAI : public ScriptedAI
    	{
    		boss_council_memberAI(Creature* creature) : ScriptedAI(creature)
    		{
    		}
    
    		void Reset() override
    		{
    
    		}
    
    		void JustRespawned() override
    		{
    			
    		}
    
    		void EnterCombat(Unit* /*who*/) override
    		{
    			
    		}
    
    		void JustDied(Unit* /*killer*/) override
    		{
    			
    		}
    
    		void UpdateAI(uint32 diff) override
    		{
    			// Return since we have no target
    			if (!UpdateVictim())
    				return;
    
    			_events.Update(diff);
    
    			if (me->HasUnitState(UNIT_STATE_CASTING))
    				return;
    
    			while (uint32 eventId = _events.ExecuteEvent())
    			{
    				std::list<Unit*> targets;
    				switch (eventId)
    				{
    				
    				default:
    					break;
    				}
    			}
    
    			DoMeleeAttackIfReady();
    		}
    
    	private:
    		EventMap _events;
    	};
    
    	CreatureAI* GetAI(Creature* creature) const override
    	{
    		return new boss_council_memberAI(creature);
    	}
    };
    And basically what I'm trying to accomplish is:
    1. Link the bosses so that if you cast a spell on one of the bosses, all 3 will enter combat with you.
    2. Link the bosses so that you can't loot them until all 3 are dead


    For #1 I tried using me->CallAssistance(); in the EnterCombat hook for all 3 bosses, however it doesn't seem to be working so I need another solution.

    Also, like I said before I took a look at some other similar bosses, but they're all instanced ones and I can't figure out how to transfer what I found onto my own bosses, so any help is greatly appreciated.

    Linking Outdoor Bosses
  2. #2
    Dridon's Avatar Member
    Reputation
    3
    Join Date
    Jan 2010
    Posts
    16
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    While I'm here, I might as well post this issue I'm having.

    Basically, for some reason, my TrinityCore Worldserver crashes whenever a creature kills a player (any character except the first I created after creating the database). Very weird, I have absolutely ZERO clue as to why this might be happening. Also no clue what more information you might need to help me solve this, so ask away.
    Last edited by Dridon; 06-12-2016 at 02:27 PM.

Similar Threads

  1. Replies: 81
    Last Post: 02-12-2011, 01:57 AM
  2. [BUG] Solo EVERY outdoor mob/boss without CE/WPE/Whatver
    By drUniversalis in forum WoW EMU Exploits & Bugs
    Replies: 3
    Last Post: 08-12-2009, 05:38 AM
  3. [MELE] Crazy attack speed, Possibly solo outdoor bosses.
    By myojinyahiko in forum World of Warcraft Exploits
    Replies: 48
    Last Post: 08-03-2008, 07:12 PM
  4. Blackwing Lair: Ultimate Boss Guide
    By Matt in forum World of Warcraft Guides
    Replies: 11
    Last Post: 11-02-2006, 05:18 AM
  5. Noxxious Breathe - Outdoor Raid Dragons
    By Matt in forum World of Warcraft Exploits
    Replies: 1
    Last Post: 03-02-2006, 01:58 AM
All times are GMT -5. The time now is 08:50 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