L2JMobius

Salvation about pledgeClass

jamesfu1208 · 10 · 5950

Offline jamesfu1208

  • Heir
  • **
    • Posts: 45
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 !!


Online Liamxroy

  • Grand Duke
  • *****
    • Posts: 760
    • Adenaplease!
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" />


Offline jamesfu1208

  • Heir
  • **
    • Posts: 45
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


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16041
// Clan types
public static final int PLEDGE_CLASS_COMMON = 0;
public static final int PLEDGE_CLASS_ELITE = 100;


Online Liamxroy

  • Grand Duke
  • *****
    • Posts: 760
    • Adenaplease!


Offline jamesfu1208

  • Heir
  • **
    • Posts: 45
<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


Online Liamxroy

  • Grand Duke
  • *****
    • Posts: 760
    • Adenaplease!
There's no need to create a new condition. There's also a simpler way.


Offline SauloG

  • Vassal
  • *
    • Posts: 4
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" />


Offline jamesfu1208

  • Heir
  • **
    • Posts: 45
I guess you ask Liamxroy is better
Because my settings are not good