Page 2 of 3

Re: Aggressive monsters problem..:?:

Posted: Thu Aug 12, 2010 7:52 pm
by kotkot90
Hehe :), thx Stake, it works like a charm, but I don't understand.
In this occasion, activeChar is the monster right?

So,

Code: Select all

 if (object instanceof L2PcInstance //it checks if the object that is coming is a player     && getActiveChar().hasAI() //removed     && getActiveChar().getAI().getIntention() == CtrlIntention.AI_INTENTION_IDLE) // <-- here, some monsters have no intention at all. I mean there are some monsters that are not even IDLE. How all the monsters pass this check and become active? getActiveChar().getAI().setIntention(CtrlIntention.AI_INTENTION_ACTIVE, null); //sets the monster active 

Re: Aggressive monsters problem..:?:

Posted: Thu Aug 12, 2010 9:21 pm
by Stake
kotkot90 wrote:Hehe :), thx Stake, it works like a charm, but I don't understand.
In this occasion, activeChar is the monster right?
Yep, that is the monster, "object" is the other object that is to be registered in the knownlist. In this case it's considered as a player (L2PcInstance). The script doesn't even get through the idle check, because the monster has no AI, it stops and skips at that point.

You'd better remove the detachAI() from the core, but if you don't know at how many places it occurs, and what is for what, then do nothing more.

This detachAI thing would be useful, if we used it, but until none of the mobs change their AI controller class, it's useless.

Re: Aggressive monsters problem..:?:

Posted: Thu Nov 04, 2010 7:09 pm
by citruz
Will it be fixed on next revision?

Or... "it's not a bug, it's a feature"?

Re: Aggressive monsters problem..:?:

Posted: Thu Nov 04, 2010 11:43 pm
by _DS_
Fixed in the next release (in slightly different way).

Re: Aggressive monsters problem..:?:

Posted: Fri Nov 05, 2010 2:03 am
by citruz
Oh, that's just great! :)

Thank you.

By the way, the "temp fix" from Stake works perfectly.

Bye =D

Re: Aggressive monsters problem..:?:

Posted: Wed Nov 24, 2010 4:57 pm
by Zumba
_DS_ wrote:Fixed in the next release (in slightly different way).
NOT fixed

you used Stake "Temp fix" but you messed elsewhere.

mobs now get AI_ACTIVE, but in 90% of time don't turn to ATTACK

Re: Aggressive monsters problem..:?:

Posted: Wed Nov 24, 2010 5:07 pm
by _DS_
lolwhat ? worksforme.
And remember what knownlist is not immediately fully updated after region activation. Topic closed.

Re: Aggressive monsters problem..:?:

Posted: Wed Nov 24, 2010 5:09 pm
by Zumba
_DS_ wrote:lolwhat ? worksforme.
And remember what knownlist is not immediately fully updated after region activation. Topic closed.
why mobs INSTANTLY turn ACTIVE (all at once) when char appears, but NEVER turn ATTACK then?

works for you? maybe, but I use fresh files which you uploaded and don't mess with them :P

Re: Aggressive monsters problem..:?:

Posted: Wed Nov 24, 2010 5:10 pm
by _DS_
What exactly word you does not understand ?

Re: Aggressive monsters problem..:?:

Posted: Wed Nov 24, 2010 5:16 pm
by Zumba
_DS_ wrote:What exactly word you does not understand ?
that's question for you

I left char near "aggro" mob (group of mobs actually) with AI_ACTIVE for about 40 min and nothing happen, they still AI_ACTIVE (not AI_ATTACK or AI_IDLE), and my char is alive.

so, something is wrong, if you don't want ppl to report such things - close the forum

Re: Aggressive monsters problem..:?:

Posted: Wed Nov 24, 2010 5:18 pm
by _DS_
Just tested - ported to the Ant Nest on the home test server (only one my character online) and immediately attacked by guard ants.

Remember to test with non-GM character.

Re: Aggressive monsters problem..:?:

Posted: Wed Nov 24, 2010 5:43 pm
by Zumba
_DS_ wrote:Just tested - ported to the Ant Nest on the home test server (only one my character online) and immediately attacked by guard ants.

Remember to test with non-GM character.
well, I do test with non-GM (acc access o, char acces o), I just ported to Queen Ant and mobs instantly attacked me.

dunno what to say, you must of hacked me through eclipse and updated something, now all working :lol:

sorry for bother, but I was annoyed all day with it, and I use this server for personal (neighbor) usage only.

good thing is that all working now, ty for time and effort, sorry for trouble again :oops:

Re: Aggressive monsters problem..:?:

Posted: Sat Jan 15, 2011 5:28 pm
by galagard
what the problem with GM-Character an aggro mobs? these don't attack a GM or Admin?

Re: Aggressive monsters problem..:?:

Posted: Sat Jan 15, 2011 10:21 pm
by goncafa
galagard wrote:what the problem with GM-Character an aggro mobs? these don't attack a GM or Admin?
if you are in invulnerable mode mobs not attack you.

Re: Aggressive monsters problem..:?:

Posted: Sun Jan 16, 2011 4:57 am
by galagard
sure, but in "mortal" mode mob don't attack me anymore... aggro 600, 1200, 12000 nothing happens (in monastery, not tested any other place)