[Exploit] Aggro occurs but the npc does not chase [Resolved]
-
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]
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
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.
- 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
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?
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
the prophet and once sickly big bad boy himself, mr trakanon
- 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
Sleepy dragon is Xygoz.
-
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
isnt xygoz a sarnak?!
- 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
Thats Xalgoz, the Vampire Sarnak in Karnors 
- 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
That's him!! Doesn't he have little Z's coming up from his snout too? Or maybe I was dreaming thatZexisStryfe wrote:Sleepy dragon is Xygoz.
- 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
They are Zzzz's but in the Draconic font.

- 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
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
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()?
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
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
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
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?
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
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.
Who is online
Users browsing this forum: No registered users and 1 guest


