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

07-06-2016, 07:35 PM
|
Sarnak
|
|
Join Date: Jan 2003
Posts: 64
|
|
#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.
|

07-07-2016, 12:57 PM
|
Sarnak
|
|
Join Date: Jan 2003
Posts: 64
|
|
More
is there a way to aggro zone on a target?
thanks
|

07-07-2016, 12:59 PM
|
 |
Discordant
|
|
Join Date: Jan 2007
Posts: 443
|
|
Yeah, have the target issue the command.
|

07-09-2016, 11:56 AM
|
Sarnak
|
|
Join Date: Jan 2003
Posts: 64
|
|
Quote:
Originally Posted by N0ctrnl
Yeah, have the target issue the command.
|
do i do #npcsay #aggrozone?
|

07-10-2016, 12:08 AM
|
 |
Discordant
|
|
Join Date: Jan 2007
Posts: 443
|
|
NPCs can't issue commands. So, no, that won't do anything.
|

07-10-2016, 12:35 PM
|
Sarnak
|
|
Join Date: Jan 2003
Posts: 64
|
|
i dont get how to make the target issue the command you suggested thanks how do i do that?
|

07-10-2016, 12:56 PM
|
 |
Discordant
|
|
Join Date: Jan 2007
Posts: 443
|
|
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.
|

07-10-2016, 01:20 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,603
|
|
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.
|

07-10-2016, 02:27 PM
|
 |
Demi-God
|
|
Join Date: Mar 2003
Location: USA
Posts: 1,067
|
|
Or #aggrozone [optional target] is the way I would do it.
__________________
Maybe I should try making one of these servers...
|

07-10-2016, 02:46 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,603
|
|
Quote:
Originally Posted by Scorpious2k
Or #aggrozone [optional target] is the way I would do it.
|
Yeah, that's kind of what I was implying.
|

07-10-2016, 02:54 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,603
|
|
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...");
}
|

07-10-2016, 04:11 PM
|
 |
Discordant
|
|
Join Date: Jan 2007
Posts: 443
|
|
Nice one. That's handy.
|
 |
|
 |

07-10-2016, 04:38 PM
|
Sarnak
|
|
Join Date: Jan 2003
Posts: 64
|
|
Quote:
Originally Posted by Kingly_Krab
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 !!
|
 |
|
 |

07-10-2016, 08:39 PM
|
Administrator
|
|
Join Date: May 2013
Location: United States
Posts: 1,603
|
|
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.
|

07-10-2016, 09:03 PM
|
 |
Developer
|
|
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
|
|
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
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 05:44 PM.
|
|
 |
|
 |
|
|
|
 |
|
 |
|
 |