01-06-2011, 01:29 PM
|
#1 (permalink)
|
|
Banido
Registrado em: Nov 2009
Localização: Fortaleza-ce
Posts: 325
Agradecido 203 Vezes em 82 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Nome Real: Allan Alcântara de Alencar
|
Player Freeze in Subclass
Olá.
Quero partilhar novamente um script simples que é muito útil!
Este script irá corrigir o SA Stuck exploit.
( o l2jserver não tinha algum adequado então foi esse ) ^^
Index: /Server/allanalcantara/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java
===================================================================
--- /Server/allanalcantara/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 63330)
+++ /Server/allanalcantara/java/net/sf/l2j/gameserver/model/actor/instance/L2PcInstance.java (revision 0)
@@ -8425,4 +8425,6 @@
public boolean addSubClass(int classId, int classIndex)
{
if (getTotalSubClasses() == 3 || classIndex == 0)
return false;
@@ -8430,4 +8432,8 @@
if (getSubClasses().containsKey(classIndex))
return false;
+
+ startAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+ setIsParalyzed(true);
+ sendMessage("You are paralized untill your subclass load.");
// Note: Never change _classIndex in any method other than setActiveClass().
@@ -8492,4 +8498,8 @@
if (Config.DEBUG)
_log.info(getName() + " was given " + getAllSkills().length + " skills for their new sub class.");
+
+ setIsParalyzed(false);
+ stopAbnormalEffect(L2Character.ABNORMAL_EFFECT_HOLD_1);
+ sendMessage("You are unparalized.");
return true;
créditos : Desconhecidos.
|
|
|