Jump to content

[Share][TRICK]Bigger casting speed.. [L2J]+[L2OFF] INTERLUDE.


Recommended Posts

Posted

No only the casting..  :o

 

###############################################

<skill id="4551" levels="10" name="Hot Springs Rheumatism">

[glow=red,2,300]<!-- TODO

Infected with Hot Springs Rheumatism. Temporarily,

the success rate of critical attack is increased and P. Def.

is decreased. Effect 1-10-->[/glow]

  <set name="mpConsume" val="69"/>

  <set name="target" val="TARGET_NONE"/>

  <set name="skillType" val="NOTDONE"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="isMagic" val="true"/>

  <set name="castRange" val="600"/>

  <for>

  </for>

</skill>

<skill id="4552" levels="10" name="Hot Springs Cholera">

[glow=red,2,300]<!-- TODO

Infected with Hot Springs Cholera. Temporarily,

Accuracy is increased and Evasion is decreased. Effect 1-10-->[/glow]

  <set name="mpConsume" val="69"/>

  <set name="target" val="TARGET_NONE"/>

  <set name="skillType" val="NOTDONE"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="isMagic" val="true"/>

  <set name="castRange" val="600"/>

  <for>

  </for>

</skill>

<skill id="4553" levels="10" name="Hot Springs Flu">

[glow=red,2,300]<!-- TODO

Infected with Hot Springs Flu. Temporarily, Atk. Spd.

is increased and P. Atk. is decreased. Effect 1-10-->[/glow]

  <set name="mpConsume" val="69"/>

  <set name="target" val="TARGET_NONE"/>

  <set name="skillType" val="NOTDONE"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="isMagic" val="true"/>

  <set name="castRange" val="600"/>

  <for>

  </for>

</skill>

<skill id="4554" levels="10" name="Hot Springs Malaria">

[glow=red,2,300]<!-- TODO

Infected with Hot Springs Malaria. Temporarily, Casting Spd.

is increased and MP consumption is decreased. Effect 1-10-->[/glow]

  <set name="mpConsume" val="69"/>

  <set name="target" val="TARGET_NONE"/>

  <set name="skillType" val="NOTDONE"/>

  <set name="operateType" val="OP_ACTIVE"/>

  <set name="isMagic" val="true"/>

  <set name="castRange" val="600"/>

  <for>

  </for>

</skill>

###############################################

Posted

1 more think

 

when ur malaria reach 5 or more lvl ur c. speed will decrease up to normal but ur mp consumption will decrease.

 

so if u go to pvp u need c. speed = malaria 4lvl

if u want to exp take malaria 10 lvl. it will dramaticly decrease mp usage.

Guest
This topic is now closed to further replies.



  • Posts

    • I open the l2j server and see 1. XOR->NewCrypt.encXORPass(raw, offset, size, Rnd.nextInt()); ---> xor everything is clear 2. _staticCrypt.crypt(raw, offset, size); -----> private void encryptBlock(byte[] src, int srcIndex, byte[] dst, int dstIndex) { int xl = bytesTo32bits(src, srcIndex); int xr = bytesTo32bits(src, srcIndex + 4); xl ^= P[0]; for (int i = 1; i < ROUNDS; i += 2) { xr ^= func(xl) ^ P[i]; xl ^= func(xr) ^ P[i + 1]; } xr ^= P[ROUNDS + 1]; bits32ToBytes(xr, dst, dstIndex); bits32ToBytes(xl, dst, dstIndex + 4); }   I scroll down the code and see this code   ----->>> /**      * Decrypt the given input starting at the given offset and place the result in the provided buffer starting at the given offset. The input will be an exact multiple of our blocksize.      * @param src      * @param srcIndex      * @param dst      * @param dstIndex      */     private void decryptBlock(byte[] src, int srcIndex, byte[] dst, int dstIndex)     {         int xl = bytesTo32bits(src, srcIndex);         int xr = bytesTo32bits(src, srcIndex + 4);         xl ^= P[ROUNDS + 1];         for (int i = ROUNDS; i > 0; i -= 2)         {             xr ^= func(xl) ^ P[i];             xl ^= func(xr) ^ P[i - 1];         }         xr ^= P[0];         bits32ToBytes(xr, dst, dstIndex);         bits32ToBytes(xl, dst, dstIndex + 4);     }   ===================================================   I'm transferring this code to C# private void decryptBlock(byte[] src, uint srcIndex, byte[] dst, uint dstIndex)    {        uint xl = BytesTo32bits(src, srcIndex);        uint xr = BytesTo32bits(src, srcIndex + 4);        xl ^= P[ROUNDS + 1];        for (int i = ROUNDS; i > 0; i -= 2)        {            xr ^= F(xl) ^ P[i];            xl ^= F(xr) ^ P[i - 1];        }        xr ^= P[0];        Bits32ToBytes(xr, dst, dstIndex);        Bits32ToBytes(xl, dst, dstIndex + 4);    }   And in c# I first do decryptBlock and then XOR and everything works, I get the package and the first 2 bytes have already been removed as far as I remember   This only works for the login server for the game server, I think it’s not much different  
    • Ask him what you know, and what I know hahaha.
    • https://prnt.sc/2G_hOHfUIGLM   not sure what you mean Teddy boi  
    • Hello first of all thank you for your prompt response and the time you are taking to read this and answer, I am aware that not everyone takes the time and for that I thank you. On the other hand the specific problem is when decrypting this package and being able to parse it,  In some places it says that it is only encrypted with xor, in others that only a static blowfish is used and in others that both are used in the order of xor and then blowfish, this is the problem in spite of being able to see the encryption mechanisms of the servers, I can not put together the function that reverses this encryption to obtain the keys sent by the init packet.   Thanks for your time, hopefully the rest can contribute something because it is a super useful module to extend any functionality to the client and I will publish it in an opensource way when it is finished.
  • Topics

×
×
  • Create New...