Jump to content

Recommended Posts

Posted

Hi everyone! I got an interlude system folder, and a fileedit for interlude. I want to change some lines at "itemname-e.dat" file. I open the file with my L2 FileEdit for Interlude - it works, I can see everything > I change the line - and when I want to save it, it says " ... don't find the file " ...

I've tryed to save it with another name, or open it from somewhere else, but nothing worked :S I really need to edit this file for my server, so if you guys know what to do, pls post  :-[

Posted

When you save it; try to search the original itemname-e.dat from your patched system, and click it, so the saved file will get exactly the same name, and thus will overwrite it.

 

You could also try different patched system/file edit. These work for sure: http://www.maxcheaters.com/forum/index.php?topic=69451.0

 

I hope this helps.

Posted

Why all those ppls from Client Mod Help section doesn't remember that ?! ::) First patch Your system folder or get whole folder from MxC then mod it !

I misread; I though he mentioned he had a patched system, but he just said 'interlude system'.
Posted

The original *.dat files (from system folder) CAN be opened using L2FileEditor, CAN be changed as well, but CAN'T be saved with changes ! So I thing that You are trying to edit original *.dat files ! You should get PATCHED SYSTEM FOLDER to save the modification !

 

Why all those ppls from Client Mod Help section doesn't remember that ?! ::) First patch Your system folder or get whole folder from MxC then mod it !

LOL.. "Why all those ppls from Client Mod Help section doesn't remember that ?!" well simply coz this is something that u made up! how can u open an UNpatched .dat with file edit ?? coz i sure cant.... it doesnt even make any sense. dont confuse ppl!  :P

Posted

ROFLMFAO!

 

N-O ... Y-O-U... C-A-N-T !!

 

i installed IL and part 2 clients just to make sure that u cant open the .dat files without patching them <.< and im 100% correct.

 

how many times do i have to say that :/

Posted

I have a PATCHED interlude folder, with changed "itemname-e.dat" file... I can open it, but can not save it :S and I know some other ppl, who can do that too :S whats the matter?

The input lines are somehow wrong is a possibility: Have you tried opening it (itemname-e.dat) and directly saving it with File Edit, without editing it?

 

And have you tried yet what I suggested?

Posted

let me know if this is the problem:D u open itemname-e.dat,u add some lines from a mod,but when u save it the program gives u a error and delete the file,right?if yes i am 99% sure that u did copy wrong,what i mean?u must copy the lines correctly and adding them correctly,there must be no space and also try check if the ID that u are using for the mod is already used by another item..let me know if i was right:)

 

Posted

i got the same problem and i am using a "patched" system i can open itemname-e.dat

but then when i put sth and try to save it it just dissapears.

But if i just open it and then try to save it without any change it works :S

any solution? (gracia ct 2.3 client)

Posted

nope. i am not trying to add "dark epic" i am trying to add a weapon called "thunder Bow" :P

So the problem is the "thunder bow".... damn it it was a cool weap  :-\

Anyway thanks for your help...Oh btw i got the same problem with the "Gm Armor"

Posted

0 775581 1 1 15 2 0 LineageWeapons.draconic_bow_m00_wp LightBow.Final 0 0 0 0 0 1 0 0 icon.weapon_draconic_bow_i00 -1 1650 47 1 0 0 1 7 5 1 LineageWeapons.draconic_bow_m00_wp 1 1 LightBow.Final 4 ItemSound.bow_small_2 ItemSound.bow_small_3 ItemSound.bow_small_6 ItemSound.bow_big_2 ItemSound.itemdrop_bow ItemSound.itemequip_bow 5 581 132 6 5 12 -3 0 0 0 293 11 1 1 1000 1 -1 0 LineageEffect.bo_ice_fairy_co 0.00000000 -3.00000000 0.00000000 1.20000005 1.20000005 LineageWeapons.rangesample 1.60000002 1.29999995 1.29999995 0.00000000 0.00000000 0.00000000 8 -1 -1 -1

 

Here you go :)

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • 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     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...