- 0
-
Quem Está Navegando
- Nenhum usuário registrado visualizando esta página.
-
Posts
-
Olá, seu tópico se encontra com um ou mais links offline. Caso ainda possua o conteúdo, favor postar aqui mesmo no tópico ou mandar MP para algum staff que estaremos normalizando o tópico. Grato pela atenção!
-
Olá, é possível obter o arquivo para esses ícones? Olá, é possível obter o arquivo para esses ícones?
-
Voce usar a conta de admin q vc tem no server, vai em accounts e define o acess_level la. e vc entra auto. Eu tenho uma versão desse votesystem q tentei atualizar e com tutorial so acessar o link na minha assinatura em baixo.
-
Por Heverton Molina · Postado
Gente eu instalei aqui no meu servidor porem não sei qual e a senha pra entrar eu crio o login de admin mas e a senha onde eu coloco? -
Por juniinxt007 · Postado
Todos os Links dele Estao OFF -
Por JefersonFelisbino · Postado
Boa ! O icone dos agathions esta fora do ar "/ estou precisando -
Por juniinxt007 · Postado
Alguem pela misericordia teria o link dos Set S PVP e de todas as armas S coloridas PVP? @AllInOne -
Por L2BloodyWar · Postado
eu tava com um projeto acis 398 mais o java era 11 ai nao sei atualizar e desistir fui olhar essa lucera, mal tem arquivos sobre ele entao eo projeto mais atual ? se alguem tiver uma sourve/rev ja compilada boa fico a dispor no chat! meu intuito e aprender e tbm por online mais bem la na frente ai a 398 era limpa mais falaram que estava muito desatualizada e eu ia ter problema pra add qualquer coisa -
rev lucera só é lenta em pc lerdo, minha dream v3 que é base na source da lucera 3, leva 18 segundos pra ligar no meu notebook, 11s no meu desktop... a Lucera original do russo leva 25 segundos....
-
Pergunta
lFox - L2JFury
boa tarde eu peguei um mod de vip skill , aquele que da uma skill quando ativa o vip e a perde quando acaba ... peguei um mod aqui o forum mas da erro no arquivo l2pcinstance.java segue a imagem e o mod que usei
[spoiler]+++++++++++++++++++++++++L2JFrozen/config/head/other.properties
AllowVipMulXpSp = True
VipMulXp = 2
VipMulSp = 2
+ EnableVipSystem = True
+ # List of Vip Skills
+ # Format : skillid,skilllvl;skillid2,skilllvl2;....skillidn,skilllvln
+ VipSkills = 395,1
+++++++++++++++++++++++++com/l2jfrozen/Config.java
public static int VIP_XP;
public static int VIP_SP;
+ public static boolean ENABLE_VIP_SYSTEM;
+ public static Map VIP_SKILLS;
public static boolean ANNOUNCE_CASTLE_LORDS;
VIP_XP = Integer.parseInt(otherSettings.getProperty("VipMulXp", "2"));
VIP_SP = Integer.parseInt(otherSettings.getProperty("VipMulSp", "2"));
+ ENABLE_VIP_SYSTEM = Boolean.parseBoolean(otherSettings.getProperty("EnableVipSystem", "True"));
ANNOUNCE_CASTLE_LORDS = Boolean.parseBoolean(otherSettings.getProperty("AnnounceCastleLords", "False"));
System.out.println("[Aio System]: invalid config property in "+OTHER+" -> AioSkills \"" + skillSplit[0] + "\"" + skillSplit[1]);
}
}
}
}
}
+ //if(ENABLE_VIP_SYSTEM) //create map if system is enabled
+ {
+ String[] VipSkillsSplit = otherSettings.getProperty("VipSkills", "").split(";");
+ VIP_SKILLS = new FastMap(VipSkillsSplit.length);
+ for (String skill : VipSkillsSplit)
+ {
+ String[] skillSplit = skill.split(",");
+ if (skillSplit.length != 2)
+ {
+ System.out.println("[Vip System]: invalid config property in other.properties -> VipSkills \"" + skill + "\"");
+ }
+ else
+ {
+ try
+ {
+ VIP_SKILLS.put(Integer.parseInt(skillSplit[0]), Integer.parseInt(skillSplit[1]));
+ }
+ catch (NumberFormatException nfe)
+ {
+ if (!skill.equals(""))
+ {
+ System.out.println("[Vip System]: invalid config property in other.properties -> VipSkills \"" + skillSplit[0] + "\"" + skillSplit[1]);
+ }
+ }
+ }
+ }
+ }
STARTING_ADENA = Integer.parseInt(otherSettings.getProperty("StartingAdena", "100"));
STARTING_AA = Integer.parseInt(otherSettings.getProperty("StartingAncientAdena", "0"));
+++++++++++++++++++++++++com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminVip.java
public void doVip(L2PcInstance activeChar, L2PcInstance _player, String _playername, String _time)
+ _player.rewardVipSkills();
_player.broadcastUserInfo();
_player.sendPacket(new EtcStatusUpdate(_player));
+ _player.sendSkillList();
public void removeVip(L2PcInstance activeChar, L2PcInstance _player, String _playername)
+ _player.lostVipSkills();
_player.broadcastUserInfo();
_player.sendPacket(new EtcStatusUpdate(_player));
+ _player.sendSkillList();
+++++++++++++++++++++++++com/l2jfrozen/gameserver/model/actors/instance/L2PcInstance.java
public void setVip(boolean val)
{
_isVip = val;
-
+
}
-
+
+ public void rewardVipSkills()
+ {
+ L2Skill skill;
+ for(Integer skillid : Config.VIP_SKILLS.keySet())
+ {
+ int skilllvl = Config.VIP_SKILLS.get(skillid);
+ skill = SkillTable.getInstance().getInfo(skillid,skilllvl);
+ if(skill != null)
+ {
+ addSkill(skill, true);
+ }
+ }
+ sendMessage("GM give to you Vip's skills");
+ }
+
+ public void lostVipSkills()
+ {
+ L2Skill skill;
+ for(Integer skillid : Config.VIP_SKILLS.keySet())
+ {
+ int skilllvl = Config.VIP_SKILLS.get(skillid);
+ skill = SkillTable.getInstance().getInfo(skillid,skilllvl);
+ removeSkill(skill);
+ }
+ }
+[/spoiler]
Link para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts recomendados
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.