minions champion
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 458
- Joined: Fri Oct 05, 2007 1:29 am
minions champion
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:2942
L2JDP Revision Number:5986
so i have and 2918 and i have minions champions...
» Find Revision
L2J Revision Number:2942
L2JDP Revision Number:5986
so i have and 2918 and i have minions champions...
You do not have the required permissions to view the files attached to this post.
-
- Posts: 458
- Joined: Fri Oct 05, 2007 1:29 am
Re: minions champion
anyone know why still rb minions spawn at me?:-s
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: minions champion
it's because the property of isMinion is not yet set at the time it is asked and the isChampion is set.
L2MinionInstance calls at first the constructor of it's parent classes where the champion is set and then it sets the mob to minion. but an RB and GB first sets the instance to raid and after this calls the constructor of parent classes, that's why RBs aren't champs and minions are..
L2MinionInstance calls at first the constructor of it's parent classes where the champion is set and then it sets the mob to minion. but an RB and GB first sets the instance to raid and after this calls the constructor of parent classes, that's why RBs aren't champs and minions are..
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: minions champion
test this patch and report pls, thx.
Code: Select all
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2MinionInstance.java===================================================================--- java/net/sf/l2j/gameserver/model/actor/instance/L2MinionInstance.java (revision 2944)+++ java/net/sf/l2j/gameserver/model/actor/instance/L2MinionInstance.java (working copy)@@ -60,13 +60,13 @@ @Override public void onSpawn() {- super.onSpawn();- // Notify Leader that Minion has Spawned- getLeader().notifyMinionSpawned(this); if (getLeader().isRaid()) { setIsRaidMinion(true); }+ super.onSpawn();+ // Notify Leader that Minion has Spawned+ getLeader().notifyMinionSpawned(this); // check the region where this mob is, do not activate the AI if region is inactive. L2WorldRegion region = L2World.getInstance().getRegion(getX(),getY()); if ((region !=null) && (!region.isActive()))
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
-
- Posts: 110
- Joined: Wed Jan 21, 2009 8:22 pm
Re: minions champion
I couldn't get it to get accepted by Eclipse.
This one works though... Same fix, but works with my program. Maybe others has problem too.
Thanks Janiii, will try it out...
Edit: actually, none of the latest patches posted in this forum works on my eclipse! Very strange... What could be wrong?
This one works though... Same fix, but works with my program. Maybe others has problem too.
Thanks Janiii, will try it out...
Code: Select all
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2MinionInstance.java===================================================================--- java/net/sf/l2j/gameserver/model/actor/instance/L2MinionInstance.java (revision 2944)+++ java/net/sf/l2j/gameserver/model/actor/instance/L2MinionInstance.java (working copy)@@ -60,13 +60,13 @@ @Override public void onSpawn() {- super.onSpawn();- // Notify Leader that Minion has Spawned- getLeader().notifyMinionSpawned(this); if (getLeader().isRaid()) { setIsRaidMinion(true); }+ super.onSpawn();+ // Notify Leader that Minion has Spawned+ getLeader().notifyMinionSpawned(this); // check the region where this mob is, do not activate the AI if region is inactive. L2WorldRegion region = L2World.getInstance().getRegion(getX(),getY()); if ((region !=null) && (!region.isActive()))
-
- Posts: 38
- Joined: Sun Dec 21, 2008 8:27 pm
Re: minions champion
Bruteforce wrote:I couldn't get it to get accepted by Eclipse.
This one works though... Same fix, but works with my program. Maybe others has problem too.
Thanks Janiii, will try it out...
Edit: actually, none of the latest patches posted in this forum works on my eclipse! Very strange... What could be wrong?Code: Select all
Index: java/net/sf/l2j/gameserver/model/actor/instance/L2MinionInstance.java===================================================================--- java/net/sf/l2j/gameserver/model/actor/instance/L2MinionInstance.java (revision 2944)+++ java/net/sf/l2j/gameserver/model/actor/instance/L2MinionInstance.java (working copy)@@ -60,13 +60,13 @@ @Override public void onSpawn() {- super.onSpawn();- // Notify Leader that Minion has Spawned- getLeader().notifyMinionSpawned(this); if (getLeader().isRaid()) { setIsRaidMinion(true); }+ super.onSpawn();+ // Notify Leader that Minion has Spawned+ getLeader().notifyMinionSpawned(this); // check the region where this mob is, do not activate the AI if region is inactive. L2WorldRegion region = L2World.getInstance().getRegion(getX(),getY()); if ((region !=null) && (!region.isActive()))
apply the patch manually
-
- Posts: 110
- Joined: Wed Jan 21, 2009 8:22 pm
Re: minions champion
Yes...and that is what I did when I created my version of the patch.
But if all is 'bad', there's something else wrong. Could it be they are created on Final?
But if all is 'bad', there's something else wrong. Could it be they are created on Final?
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: minions champion
nope, they aren't. they are created on trunk. you can see the revision they are created from..Bruteforce wrote:Yes...and that is what I did when I created my version of the patch.
But if all is 'bad', there's something else wrong. Could it be they are created on Final?
i create the patches with tortoise svn 1.6.1
and i apply the patches on eclipse 3.4.1TortoiseSVN 1.6.1, Build 16129 - 32 Bit , 2009/04/10 08:14:05
Subversion 1.6.1,
apr 1.3.3
apr-utils 1.3.4
neon 0.28.4
OpenSSL 0.9.8k 25 Mar 2009
zlib 1.2.3
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
- Braske
- Posts: 29
- Joined: Sat Jul 03, 2010 2:43 am
Re: minions champion
on Freya (7739) some problem. somebody can help me?
-
- Posts: 135
- Joined: Fri Nov 19, 2010 1:38 pm
Re: minions champion
+1 How can I do that minion dont change on champions?
What change in this method?
What change in this method?
Code: Select all
public void onSpawn() { if (!isTeleporting()) { if (getLeader() != null) { setIsNoRndWalk(true); setIsRaidMinion(getLeader().isRaid()); getLeader().getMinionList().onMinionSpawn(this); } // delete spawned minions before dynamic minions spawned by script if (hasMinions()) getMinionList().onMasterSpawn(); startMaintenanceTask(); } // dynamic script-based minions spawned here, after all preparations. super.onSpawn(); }
-
- Posts: 65
- Joined: Mon May 11, 2009 11:38 am
Re: minions champion
Testing a fix now, if it works, i will share.