L2JMobius

Free Users => Solved/Invalid Bug Reports => Topic started by: jamesfu1208 on February 19, 2020, 07:43:59 AM

Title: about pledgeClass
Post by: jamesfu1208 on February 19, 2020, 07:43:59 AM
on this version when player join a clan just have two position
1) General member and 2) Elite members and clan leader
But server data still using old-fashioned levels 1-10 (MARQUIS/VISCOUNT/ELDER...etc)
Keeps the player cna't use the cloak of light<player pledgeClass="8" /><!-- Marquis or higher -->
anyone who can teach me how to improve it?
THX !!
Title: Re: about pledgeClass
Post by: Liamxroy on February 20, 2020, 09:56:25 AM
on this version when player join a clan just have two position
1) General member and 2) Elite members and clan leader
But server data still using old-fashioned levels 1-10 (MARQUIS/VISCOUNT/ELDER...etc)
Keeps the player cna't use the cloak of light<player pledgeClass="8" /><!-- Marquis or higher -->
anyone who can teach me how to improve it?
THX !!

replace <player pledgeClass="8" /> with <player pledgeClass="1" />
Title: Re: about pledgeClass
Post by: jamesfu1208 on February 20, 2020, 10:04:15 AM
YEAH I knoe can make to "1"
but ...  it will use on everyone in clan not only use on eilte member
can teach me any other option can i do it

thank a lot
Title: Re: about pledgeClass
Post by: Mobius on February 20, 2020, 01:20:09 PM
// Clan types
public static final int PLEDGE_CLASS_COMMON = 0;
public static final int PLEDGE_CLASS_ELITE = 100;
Title: Re: about pledgeClass
Post by: Liamxroy on February 20, 2020, 01:57:34 PM
<player pledgeClass="100" />
Title: Re: about pledgeClass
Post by: jamesfu1208 on February 20, 2020, 03:33:46 PM
<player pledgeClass="100" />

O...IC    Thank for your help
Title: Re: about pledgeClass
Post by: jamesfu1208 on February 25, 2020, 05:39:49 PM
<player pledgeClass="100" />unsuccessful
Finally found PLEDGE_CLASS_ELITE nothing definition
need do somthing on items.xsd....engines/documentbase.java...and  add new conditionplayeriselite.java
last change <player iselite="true" />
now can work
cheer
Title: Re: about pledgeClass
Post by: Liamxroy on February 25, 2020, 07:17:15 PM
There's no need to create a new condition. There's also a simpler way.
Title: Re: about pledgeClass
Post by: SauloG on February 27, 2020, 02:56:27 AM
on this version when player join a clan just have two position
1) General member and 2) Elite members and clan leader
But server data still using old-fashioned levels 1-10 (MARQUIS/VISCOUNT/ELDER...etc)
Keeps the player cna't use the cloak of light<player pledgeClass="8" /><!-- Marquis or higher -->
anyone who can teach me how to improve it?
THX !!

can you explain this part?
Code: [Select]
Finally found PLEDGE_CLASS_ELITE nothing definition
need do somthing on items.xsd....engines/documentbase.java...and  add new conditionplayeriselite.java
last change <player iselite="true" />
Title: Re: about pledgeClass
Post by: jamesfu1208 on February 27, 2020, 09:04:06 AM
I guess you ask Liamxroy is better
Because my settings are not good