Champs who are not champs

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Champs who are not champs

Post by Notorious »

Sometimes, if not always, when a champion-mob respawns after its killed, it says it's a champion again, even if it's a normal mob.

Pretty annoying.

How do one go about to fix this?
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Champs who are not champs

Post by janiii »

revisions?

is this problem with normal mobs, or RB or minions?
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Champs who are not champs

Post by Notorious »

Ok, so you mean nobody else has this problem?
Ok, ok, will test on clean install then... Been like this for very long time for me, you see! :(

Get back to you.
dip_bow
Posts: 48
Joined: Wed Feb 18, 2009 11:58 am
Location: Spain

Re: Champs who are not champs

Post by dip_bow »

I think the following is aslo: a normal mob dies; if respawn at the next time champion will be, when he dies , his name is (for example) champion keltir instead of keltir (his name change but dead), then when it respawn is a champion, sorry if I was not clear .
I'm using google translator.
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Champs who are not champs

Post by Notorious »

Clean install:

Core: 3321
DP: 6436

Tested by setting champ-spawnrate to 50%.
Only tested on normal mobs.

I wasn't sure before, but now I am. It goes both ways.
By that I mean that mobs shown as champs are sometimes not champs, and mobs shown as normal are sometimes champs.
The name changes when you hit them the first time, and the correct name is shown.
It's like it's cached and not updated until then...or something...

Seriously, am I the only one who noticed this, or is it a local problem?

If you find that it's my installation that is somehow faulty, even if it's a clean install, have you any idea where to find the problem and fix it?
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Champs who are not champs

Post by janiii »

there was such problem long ago and it was fixed. so, i don't understand that it is again bugged..

http://www.l2jserver.com/trac/changeset/2918
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Champs who are not champs

Post by Notorious »

Don't think it has to do with that actually. My guess is that that patch is working OK, and minions and RB's never becomes champs.
I think the problem is in AbstractNpcInfo.java, somewhere around here or connected to it:

Code: Select all

    public static class NpcInfo extends AbstractNpcInfo    {    	private L2Npc _npc;     	public NpcInfo(L2Npc cha, L2Character attacker)    	{    		super(cha);    		_npc = cha;    		_idTemplate = cha.getTemplate().idTemplate; // On every subclass    		_rhand = cha.getRightHandItem();  // On every subclass    		_lhand = cha.getLeftHandItem(); // On every subclass            _collisionHeight = cha.getCollisionHeight();// On every subclass            _collisionRadius = cha.getCollisionRadius();// On every subclass            _isAttackable = cha.isAutoAttackable(attacker);            if (cha.getTemplate().serverSideName)            	_name = cha.getTemplate().name;// On every subclass             if(Config.L2JMOD_CHAMPION_ENABLE && cha.isChampion())                _title = (Config.L2JMOD_CHAMP_TITLE); // On every subclass            else if (cha.getTemplate().serverSideTitle)        		_title = cha.getTemplate().title; // On every subclass        	else        		_title = cha.getTitle(); // On every subclass             if (Config.SHOW_NPC_LVL && _npc instanceof L2MonsterInstance)    	    {    			String t = "Lv " + cha.getLevel() + (cha.getAggroRange() > 0 ? "*" : "");    			if (_title != null)    				t += " " + _title;     			_title = t;    	    }    	} 
This is where the title is set. (I think! :) )
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Champs who are not champs

Post by janiii »

there was some changeset about it, where setting champ was moved from onSpawn to onDie or the other way, i dont remember anymore.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Champs who are not champs

Post by Notorious »

As I said, it's like it remembers the old name of the mob that was killed before, and uses that when the new spawns, but this is not always the correct name, and the correct name is shown after first hit on mob.
toastgodsupreme
Posts: 750
Joined: Sun Dec 07, 2008 7:01 pm
Location: Poland

Re: Champs who are not champs

Post by toastgodsupreme »

While I don't use titles, I use a different method to tag champ mobs. And this problem is not present.
User avatar
devo
Posts: 798
Joined: Mon Jun 15, 2009 1:19 pm

Re: Champs who are not champs

Post by devo »

True I had same issue. When champion is dead, and monster respawn, he have title "Champion" when I hit them, Champion title disappear and he is normal monster.
A hero of war is that what they see...
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Champs who are not champs

Post by janiii »

toastgodsupreme wrote:While I don't use titles, I use a different method to tag champ mobs. And this problem is not present.
try to think how much helpful is your post..

like a kiddo: nyaah nyaaah, i have no problems, but i won't tell you :P i only tell you i am better :PPPPP
Last edited by janiii on Mon Jul 27, 2009 6:10 pm, edited 1 time in total.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: Champs who are not champs

Post by _DS_ »

Actually answer was given - problem somehow linked with client "remembering" old title.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
toastgodsupreme
Posts: 750
Joined: Sun Dec 07, 2008 7:01 pm
Location: Poland

Re: Champs who are not champs

Post by toastgodsupreme »

janiii wrote:
toastgodsupreme wrote:While I don't use titles, I use a different method to tag champ mobs. And this problem is not present.
try to think how much helpful is your post..

like a kiddo: nyaah nyaaah, i have no problems, but i won't tell you :P i only tell you i am better :PPPPP
lol, not exactly. That's not what I was trying to say. I was explaining that I don't have the issue of my tagging method remaining, despite the fact that I don't use champ titles. But I felt that I should at least explain that I don't use the title system since it was relevant.

Thus if the problem IS present, then it is due directly to the fact that it's a title issue and how that's applied.
User avatar
janiii
L2j Veteran
L2j Veteran
Posts: 4269
Joined: Wed May 28, 2008 3:15 pm
Location: Slovakia

Re: Champs who are not champs

Post by janiii »

sure.. without showing the title, there is no title problem. somehow logical. so still not helpful to solve problem when showing the title.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper
I don't give private support - PM will be ignored!
Post Reply