Need Help
can you help me ?
how to show the icon for weeding and premium/VIP icon ?
thx in advance![]()
Need Help
can you help me ?
how to show the icon for weeding and premium/VIP icon ?
thx in advance![]()
build SM_PLAYER_INFO.java
Wedding
PHP Code:playerName += player.getName();
if (player.isGM() && player.isMarried())
{
playerName += ("\uE020" + player.getCommonData().getPartner());
}
else {
if (player.isMarried())
{
playerName += ("\uE020" + player.getCommonData().getPartner());
}
}
VIP Tag
PHP Code:if (MembershipConfig.VIPTAG_DISPLAY) {
if(player.getClientConnection().getAccount().getMembership() > 0) {
//if he's gm = do nothing, else the gmtag wont display
if (player.isGM()) {
} //he's not gm so
else {
if(player.getClientConnection().getAccount().getMembership() == 1)
{
playerName = ("\uE024" + MembershipConfig.VIP_LEVEL1 + " ");
}
else if(player.getClientConnection().getAccount().getMembership() == 2)
{
playerName = ("\uE023" + MembershipConfig.VIP_LEVEL2 + " ");
}
}
}
}
thanks for your help
but i'm kind lost here
when we edit the SM_PLAYER_INFO.java ,(if i correct) where do we put that whole code ? on the body of the script ? on some kind of procedure ?
please can you post me the detail or maybe step by step tutorial? i'm sorry i'm newbie
![]()
Last edited by bedoxx39; 25-04-14 at 08:02 PM.
script Wedding and premium/vip + archon tag for al-reload
build AL-Game\src\com\aionlightning\gameserver\network\aion\serverpackets\SM_PLAYER_INFO
Code:if (player.isMarried()) { Player partner = player.findPartner(); if(partner != null) { String couple = partner.getName(); nameFormat = player.getName() + "\uE020" + couple; } } // Icon Membership & VIP if(player.getClientConnection().getAccount().getMembership() == 1) { nameFormat = "\uE024" + player.getName(); } if(player.getClientConnection().getAccount().getMembership() == 2) { nameFormat = "\uE023" + player.getName(); } if(player.getClientConnection().getAccount().getMembership() == 3) { nameFormat = "\uE01F" + "WARCHON" + "\uE01F" + player.getName(); } if(player.getClientConnection().getAccount().getMembership() == 4) { nameFormat = "\uE01F" + "ARCHON" + "\uE01F" + player.getName(); }
Last edited by Onyen542; 02-05-14 at 11:28 AM.
thanks for you attention Onyen542
but i realy2 confused here where i gonna put that code ? i mean which line in SM_PLAYER_INFO.java that i should put that code ??
if you mind may i ask for you're whole SM_PLAYER_INFO.java code to post in here ?
you know just to make thing easier to understand
hello im use al-reload r200 and anyone here add sm_player_info for vip/premium and wedding tag??thanks for share..