kamael soulbreaker sub
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
kamael soulbreaker sub
l2guru says, that a male kamael takes a female soulbreaker as sub. female kamael takes male soulbreaker as sub.
http://www.l2guru.com/forum/showpost.ph ... stcount=88
l2j says: //Check sex, male can't subclass female and vice versa
what is the truth about kamael (soulbreaker) subs?
thx.
http://www.l2guru.com/forum/showpost.ph ... stcount=88
l2j says: //Check sex, male can't subclass female and vice versa
what is the truth about kamael (soulbreaker) subs?
thx.
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: 750
- Joined: Sun Dec 07, 2008 7:01 pm
- Location: Poland
Re: kamael soulbreaker sub
http://www.l2guru.com/forum/showthread.php?t=124756

I was confused about the same issue not too long ago, heh.

I was confused about the same issue not too long ago, heh.
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: kamael soulbreaker sub
thx tgs for info 
l2j bug: male kamael subclasses male soulbreaker, female kamael subclasses female soulbreaker
fix: male kamael subclasses female sb, female kamael subclasses male sb
pls test. thx.
http://www.pastebin.cz/22956

l2j bug: male kamael subclasses male soulbreaker, female kamael subclasses female soulbreaker
fix: male kamael subclasses female sb, female kamael subclasses male sb
pls test. thx.
http://www.pastebin.cz/22956
Code: Select all
Index: java/net/sf/l2j/gameserver/model/base/PlayerClass.java===================================================================--- java/net/sf/l2j/gameserver/model/base/PlayerClass.java (revision 3298)+++ java/net/sf/l2j/gameserver/model/base/PlayerClass.java (working copy)@@ -288,11 +288,11 @@ { subclasses = getSet(Kamael, Third); subclasses.remove(this);- //Check sex, male can't subclass female and vice versa+ //Check sex, male subclasses female and vice versa if (player.getAppearance().getSex())+ subclasses.removeAll(EnumSet.of(femaleSoulbreaker));+ else subclasses.removeAll(EnumSet.of(maleSoulbreaker));- else- subclasses.removeAll(EnumSet.of(femaleSoulbreaker)); if (player.getTotalSubClasses() < 2) subclasses.removeAll(EnumSet.of(inspector)); }
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!
- leanndr
- Posts: 92
- Joined: Fri Dec 04, 2009 1:01 am
Re: kamael soulbreaker sub
hmm, this is the actual code
but when you add a soul breaker with male kamael, the text on the html is "female soulbreaker"
and the base stats, str, dex... are from female
i'm not in the level to fix this xP
well, well, now i've read better janii's post, if youre male, you can get female as sub, and if youre female, male as sub
oO
1 down, now the classmaster judicator :S (can I do it?! dont know)
but when you add a soul breaker with male kamael, the text on the html is "female soulbreaker"
and the base stats, str, dex... are from female
i'm not in the level to fix this xP
well, well, now i've read better janii's post, if youre male, you can get female as sub, and if youre female, male as sub
oO
1 down, now the classmaster judicator :S (can I do it?! dont know)
"Arrogance diminishes wisdom" / "Arrogância diminui a sabedoria"
-
- Posts: 173
- Joined: Fri Nov 06, 2009 6:32 am
- Location: Argentina
Re: kamael soulbreaker sub
A male Soulbreaker can not take the subclass of women Soulbreaker ... For virtually the same class, with some changes in status and skills of first change
Someone once told me: "The easiest way of doing things, making them the hard way" 

- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: kamael soulbreaker sub
don't bump a year old topic...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 173
- Joined: Fri Nov 06, 2009 6:32 am
- Location: Argentina
Re: kamael soulbreaker sub
Damn ... I did not realize <.<
Someone once told me: "The easiest way of doing things, making them the hard way" 

- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: kamael soulbreaker sub
not you, the guy before you...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- leanndr
- Posts: 92
- Joined: Fri Dec 04, 2009 1:01 am
Re: kamael soulbreaker sub
sry for that XD
my fix for inspector/judicator on classmaster:
my fix for inspector/judicator on classmaster:
Code: Select all
### Eclipse Workspace Patch 1.0#P L2_GameServerIndex: java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java===================================================================--- java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java (revision 6)+++ java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java (working copy)@@ -420,7 +420,7 @@ */ private static final boolean validateClassId(ClassId oldCID, ClassId newCID) {- if (newCID == null || newCID.getRace() == null)+ if (newCID == null || newCID.getRace() == null || newCID.getId() == 135) return false; if (oldCID.equals(newCID.getParent()))
"Arrogance diminishes wisdom" / "Arrogância diminui a sabedoria"
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: kamael soulbreaker sub
That should work
Thx

If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: kamael soulbreaker sub
well, class changer is not a subclass manager so there shouldn't be a need for config...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- SolidSnake
- Posts: 865
- Joined: Wed Jan 20, 2010 6:54 pm
- Location: Italy
Re: kamael soulbreaker sub
So if there is a config maybe they commit it_DS_ wrote:Class masters are totally custom and designed for highrate pvp servers. Inspector just another kamael occupation. If you does not want it - correct the code.


- leanndr
- Posts: 92
- Joined: Fri Dec 04, 2009 1:01 am
Re: kamael soulbreaker sub
I think allowing inspector/judicator as main class can bring some bugs, like for olys
"Arrogance diminishes wisdom" / "Arrogância diminui a sabedoria"
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: kamael soulbreaker sub
Gnacik decided to correct it in the new release. Here is a changeset:
Code: Select all
Index: /trunk/L2J_Server_CT2.5/java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java===================================================================--- /trunk/L2J_Server_CT2.5/java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java (revision 5415)+++ /trunk/L2J_Server_CT2.5/java/com/l2jserver/gameserver/model/actor/instance/L2ClassMasterInstance.java (revision 5987)@@ -235,4 +235,6 @@ for (ClassId cid : ClassId.values()) {+ if (cid == ClassId.inspector && player.getTotalSubClasses() < 2)+ continue; if (validateClassId(currentClassId, cid) && cid.level() == level) {@@ -291,4 +293,6 @@ for (ClassId cid : ClassId.values()) {+ if (cid == ClassId.inspector && player.getTotalSubClasses() < 2)+ continue; if (validateClassId(currentClassId, cid)) {Index: /trunk/L2J_DataPack_CT2.5/sql/updates/20101111update.sql===================================================================--- /trunk/L2J_DataPack_CT2.5/sql/updates/20101111update.sql (revision 5987)+++ /trunk/L2J_DataPack_CT2.5/sql/updates/20101111update.sql (revision 5987)@@ -0,0 +1,1 @@+UPDATE `characters` SET `base_class`='126' WHERE `base_class` in (135,136);
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;