[Exploit] Aggro occurs but the npc does not chase [Resolved]

Old bugs stored here for reference.
Locked
bolly
Retired
Posts: 389
Joined: Mon Sep 21, 2009 3:03 pm
Location: Leeds, UK

[Exploit] Aggro occurs but the npc does not chase [Resolved]

Post by bolly » Sun Dec 06, 2009 9:39 am

If you cast a long distance spell on a target the npc will aggro the player but will not run to them until they get close to them.

Perhaps something to do with aggro radius i'm not sure, hate is definately being added as their animation changes to combat mode
Last edited by bolly on Sun Dec 13, 2009 8:19 am, edited 1 time in total.

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: [Exploit] Aggro occurs but the npc does not chase

Post by John Adams » Sun Dec 06, 2009 7:05 pm

There was actually a bug about this reported long ago when Alfa and I went into VP and tried to piss off some big dragon. He was so huge, we could stand next to him and aggro but his "center" would never arrive before he turned and went and laid back down.

Who was that sleepy dragon?

bolly
Retired
Posts: 389
Joined: Mon Sep 21, 2009 3:03 pm
Location: Leeds, UK

Re: [Exploit] Aggro occurs but the npc does not chase

Post by bolly » Sun Dec 06, 2009 7:41 pm

the prophet and once sickly big bad boy himself, mr trakanon

User avatar
ZexisStryfe
Posts: 1026
Joined: Thu Jul 26, 2007 6:39 am
EQ2Emu Server: Sytherian Legends
Location: Connecticut
Contact:

Re: [Exploit] Aggro occurs but the npc does not chase

Post by ZexisStryfe » Sun Dec 06, 2009 7:58 pm

Sleepy dragon is Xygoz.
~ EQ2 Emulator Project Manager

Image
Image
Image
"Zexis, from this day forth, you shall be known as... '3 of 6'" - John Adams

bolly
Retired
Posts: 389
Joined: Mon Sep 21, 2009 3:03 pm
Location: Leeds, UK

Re: [Exploit] Aggro occurs but the npc does not chase

Post by bolly » Sun Dec 06, 2009 8:13 pm

isnt xygoz a sarnak?!

User avatar
ZexisStryfe
Posts: 1026
Joined: Thu Jul 26, 2007 6:39 am
EQ2Emu Server: Sytherian Legends
Location: Connecticut
Contact:

Re: [Exploit] Aggro occurs but the npc does not chase

Post by ZexisStryfe » Sun Dec 06, 2009 9:23 pm

Thats Xalgoz, the Vampire Sarnak in Karnors :P
~ EQ2 Emulator Project Manager

Image
Image
Image
"Zexis, from this day forth, you shall be known as... '3 of 6'" - John Adams

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: [Exploit] Aggro occurs but the npc does not chase

Post by John Adams » Mon Dec 07, 2009 6:31 am

ZexisStryfe wrote:Sleepy dragon is Xygoz.
That's him!! Doesn't he have little Z's coming up from his snout too? Or maybe I was dreaming that ;)

User avatar
ZexisStryfe
Posts: 1026
Joined: Thu Jul 26, 2007 6:39 am
EQ2Emu Server: Sytherian Legends
Location: Connecticut
Contact:

Re: [Exploit] Aggro occurs but the npc does not chase

Post by ZexisStryfe » Mon Dec 07, 2009 11:02 am

They are Zzzz's but in the Draconic font.

Image
~ EQ2 Emulator Project Manager

Image
Image
Image
"Zexis, from this day forth, you shall be known as... '3 of 6'" - John Adams

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: [Exploit] Aggro occurs but the npc does not chase

Post by John Adams » Mon Dec 07, 2009 4:48 pm

I love that guy. Narcoleptic dragon.

bolly
Retired
Posts: 389
Joined: Mon Sep 21, 2009 3:03 pm
Location: Leeds, UK

Re: [Exploit] Aggro occurs but the npc does not chase

Post by bolly » Sun Dec 13, 2009 6:56 am

I think i might be right but maybe not

in function: NPC_AI::MoveCloser

npc->AddRunningLocation(target->GetX(), target->GetY(), target->GetZ(), target->GetSpeed(), distance);

Should that be npc->GetSpeed()?

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: [Exploit] Aggro occurs but the npc does not chase

Post by LethalEncounter » Sun Dec 13, 2009 7:01 am

bolly wrote:I think i might be right but maybe not

in function: NPC_AI::MoveCloser

npc->AddRunningLocation(target->GetX(), target->GetY(), target->GetZ(), target->GetSpeed(), distance);

Should that be npc->GetSpeed()?

Lol, yes it should be.

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: [Exploit] Aggro occurs but the npc does not chase

Post by LethalEncounter » Sun Dec 13, 2009 7:02 am

I'm checking the change into public svn (along with the /spawn details problem) and a crash fix in the next 5 minutes. Could you check it out and see if it has been fixed?

bolly
Retired
Posts: 389
Joined: Mon Sep 21, 2009 3:03 pm
Location: Leeds, UK

Re: [Exploit] Aggro occurs but the npc does not chase

Post by bolly » Sun Dec 13, 2009 8:17 am

looking good for both, cheers bro :-)

can you take that printf("The ID of this thread is: %u\n", (unsigned int)pthread_self()); out of net.cpp?

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: [Exploit] Aggro occurs but the npc does not chase

Post by LethalEncounter » Sun Dec 13, 2009 2:46 pm

bolly wrote:looking good for both, cheers bro :-)

can you take that printf("The ID of this thread is: %u\n", (unsigned int)pthread_self()); out of net.cpp?

Oops, that shouldn't have been checked in.

Locked

Who is online

Users browsing this forum: No registered users and 0 guests