[Python] NDT files decryptor

12/31/2012 04:38 neuronet#46
The file encryption is same in ALL ao versions
12/31/2012 04:50 sofiantagilo#47
how can make a txt file could be NDT ???
12/31/2012 04:53 neuronet#48
depends on client version.. old versions you just need to rename to .ndt and if will work... new clients like KAO expect them to be encrypted again.
12/31/2012 04:56 sofiantagilo#49
I've tried changing the file extension but failed, it seems need to compile from txt NDT, can you help me??
12/31/2012 05:02 neuronet#50
it's simple XOR encryption for the 1.1 encryption.

here's some old delphi code i used for encrypting text back to ndt/ntd:

Code:
procedure TForm1.Encrypt;
var
  key: Byte;
  c, new_size: integer;
  size: string;
  myfile: file;
  inp_file: string;
  directory: string;
  size_2: integer;
begin
  Memo1.Lines.SaveToFile(ExePath + '3.txt', Tencoding.Unicode);
  inp_file := ExePath + '3.txt';
  // Set Key to 51
  key := $51;
  SetLength(Source, 0);
  // Select file to Crypt
  // Read File
  ReadBytesFromFile(inp_file);
  // Encrypt
  new_size := length(Source);
  for c := new_size - 2 downto 0 do
    Source[c] := (Source[c] xor Source[c + 1]) + key;
  SetLength(Dest, new_size + 24);
  move(Source[0], Dest[24], new_size);
  Dest[$0] := $4E;
  Dest[$1] := $43;
  Dest[$2] := $52;
  Dest[$3] := $00;
  Dest[$4] := $01;
  Dest[$5] := $00;
  Dest[$6] := $01;
  Dest[$7] := $00;
  size := IntToHex(new_size, 8);
  Dest[$8] := strtoint('$' + copy(size, 7, 2));
  Dest[$9] := strtoint('$' + copy(size, 5, 2));
  Dest[$A] := strtoint('$' + copy(size, 3, 2));
  Dest[$B] := strtoint('$' + copy(size, 1, 2));
  Dest[$C] := key;
  Dest[$D] := $00;
  Dest[$E] := $00;
  Dest[$F] := $00;
  Dest[$10] := $00;
  Dest[$11] := $00;
  Dest[$12] := $00;
  Dest[$13] := $00;
  Dest[$14] := $00;
  Dest[$16] := $00;
  Dest[$17] := $00;
  // Write to file
  directory := IniFile.ReadString('Directories', 'File_2', '');
  AssignFile(myfile, directory + Label2.Caption);
  size_2 := length(Dest);
  ReWrite(myfile, size_2);
  BlockWrite(myfile, Dest[0], 1);
  CloseFile(myfile);
end;
if you want can make you tomorrow a small gui program for encryption.
12/31/2012 05:05 sofiantagilo#51
Ok, i want small gui program, I will wait ... tx

how to find the file that contains the string healtpoint NDT in the game atlantica online
12/31/2012 17:43 neuronet#52
??? what string ???
12/31/2012 17:47 sofiantagilo#53
String of healthpoint or what the name of file to edit health point in atlantica online
12/31/2012 17:50 neuronet#54
editing healthpoint? there is no file to edit them... even if you do it with cheatengine it won't help you cause all is serverside
12/31/2012 17:57 sofiantagilo#55
how to do that can be written on the server side ???
12/31/2012 18:00 neuronet#56
a) HACK nexon server
b) IF i would know how.. do you think i would tell?
12/31/2012 18:06 sofiantagilo#57
LOL .. ok tx taht the info .. because the server Game Atlantica Online Indonesia is not a good, my equipt lost after maintenance, so I'm annoyed ....
12/31/2012 18:08 neuronet#58
  1. Server for IndoAO is same as for all other
  2. Gear for sure not lost only for ONE person after a maint
  3. write a support ticket if you're sure that it's a bug due to maintenance
12/31/2012 18:12 sofiantagilo#59
Where should I report it?? Costumer Atlantica Online were never respon any complaints from gamer
12/31/2012 18:19 neuronet#60
i can tell you they answer... i have contact to a GM and FM and i get responses... write a support ticket or make a post in official forum


-----------------------

btw.. here is your encryptor:

[Only registered and activated users can see links. Click Here To Register...]