Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-06-2016, 07:35 PM
mudman1
Sarnak
 
Join Date: Jan 2003
Posts: 61
Default #aggrozone the best toy yet!

Man that is cool using a huge radius the whole dam zone comes a running and love the message, last chance to go invunerable. Great way to stress test. Westernwastes and Dreadlands very cool to do it there. As well as any other place.

Does anyone know a very powerfull AE fear spell? Would be interesting to see npc mass agro in reverse.
Reply With Quote
  #2  
Old 07-07-2016, 12:57 PM
mudman1
Sarnak
 
Join Date: Jan 2003
Posts: 61
Default More

is there a way to aggro zone on a target?
thanks
Reply With Quote
  #3  
Old 07-07-2016, 12:59 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

Yeah, have the target issue the command.
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
Reply With Quote
  #4  
Old 07-09-2016, 11:56 AM
mudman1
Sarnak
 
Join Date: Jan 2003
Posts: 61
Default

Quote:
Originally Posted by N0ctrnl View Post
Yeah, have the target issue the command.
do i do #npcsay #aggrozone?
Reply With Quote
  #5  
Old 07-10-2016, 12:08 AM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

NPCs can't issue commands. So, no, that won't do anything.
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
Reply With Quote
  #6  
Old 07-10-2016, 12:35 PM
mudman1
Sarnak
 
Join Date: Jan 2003
Posts: 61
Default

i dont get how to make the target issue the command you suggested thanks how do i do that?
Reply With Quote
  #7  
Old 07-10-2016, 12:56 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

My assumption was that you meant a player target, in which case my answer was to give them access to the command. You can probably script what you're after, but commands won't work for NPC on NPC action.
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
Reply With Quote
  #8  
Old 07-10-2016, 01:20 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

It'd be simple enough to rewrite the current command to allow you to aggro on your target or write a second command called #aggrotarget or something.
Reply With Quote
  #9  
Old 07-10-2016, 02:27 PM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

Or #aggrozone [optional target] is the way I would do it.
__________________
Maybe I should try making one of these servers...
Reply With Quote
  #10  
Old 07-10-2016, 02:46 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

Quote:
Originally Posted by Scorpious2k View Post
Or #aggrozone [optional target] is the way I would do it.
Yeah, that's kind of what I was implying.
Reply With Quote
  #11  
Old 07-10-2016, 02:54 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

Take note of the changes. This will let you aggro zone on any mob target (NPCs/Clients).
Code:
void command_aggrozone(Client *c, const Seperator *sep) {
    if(!c)
        return;

    Mob *m = c->CastToMob();

    if (!m)
        return;

    uint32 hate = atoi(sep->arg[1]); //should default to 0 if we don't enter anything
    entity_list.AggroZone(m, hate);
    c->Message(0, "Train to you! Last chance to go invulnerable...");
}
Code:
void command_aggrozone(Client *c, const Seperator *sep) {
    if(!c)
        return;

    Mob *m = (c->GetTarget() ? c->GetTarget()->CastToMob() : c->CastToMob());

    if (!m)
        return;

    uint32 hate = atoi(sep->arg[1]); //should default to 0 if we don't enter anything
    entity_list.AggroZone(m, hate);
    if (m->IsClient())
        m->CastToClient()->Message(0, "Train to you! Last chance to go invulnerable...");
}
Reply With Quote
  #12  
Old 07-10-2016, 04:11 PM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

Nice one. That's handy.
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
Reply With Quote
  #13  
Old 07-10-2016, 04:38 PM
mudman1
Sarnak
 
Join Date: Jan 2003
Posts: 61
Default

Quote:
Originally Posted by Kingly_Krab View Post
Take note of the changes. This will let you aggro zone on any mob target (NPCs/Clients).
Code:
void command_aggrozone(Client *c, const Seperator *sep) {
    if(!c)
        return;

    Mob *m = c->CastToMob();

    if (!m)
        return;

    uint32 hate = atoi(sep->arg[1]); //should default to 0 if we don't enter anything
    entity_list.AggroZone(m, hate);
    c->Message(0, "Train to you! Last chance to go invulnerable...");
}
Code:
void command_aggrozone(Client *c, const Seperator *sep) {
    if(!c)
        return;

    Mob *m = (c->GetTarget() ? c->GetTarget()->CastToMob() : c->CastToMob());

    if (!m)
        return;

    uint32 hate = atoi(sep->arg[1]); //should default to 0 if we don't enter anything
    entity_list.AggroZone(m, hate);
    if (m->IsClient())
        m->CastToClient()->Message(0, "Train to you! Last chance to go invulnerable...");
}
should i merge this to my database or will this be in the next eqemu release? if merge what are the steps using hiedi thanks !!
Reply With Quote
  #14  
Old 07-10-2016, 08:39 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,589
Default

That is the C++ behind the #aggrozone and is completely separate from your database. You would have to make a modification to your source code in the zone/command.cpp and recompile in order for this change to be on your server. I don't think I'm going to try to get this merged to the main branch, just because some people would accidentally have a target and aggro the entire zone on the wrong mob.
Reply With Quote
  #15  
Old 07-10-2016, 09:03 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

You could probably script this type of action to some text phrase.


EDIT: (Blaspheme Bertoxxulous openly (in say) in PoH and the whole zone descends upon you!)
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:12 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3