Jump to content

Recommended Posts

Posted

XorString contains the xor values loop

'i-4' because the encryption starts at fourth byte

 

'and 7' because the loop is 8 bytes long... the effect of the 'and' here is to mask the higher bits. This will result in 0-1-2-3-4-5-6-7-0-1.....

 

'+1' because delphi indices start at 1 instead of 0

Ammm, seems easy. But i would have it done in another way. I usually put the loops outside, you put the loop inside(in the index of the string). :)

Posted

Heh, you unhide author first post ^)

 

P.S.

sltbnjr, replace CHR(ORD()) with PInt(). Working faster.

L2 tcp connections aren't time critical

or at least not that much.

Posted

yep I think dmitry is right xD dunno the difference tho but the system messages sometimes start showing only when you click on the walker to be on top :P and sometimes it has trouble logging in, but thats normal right? :P

Posted

god you just have to merge them

 

you're never gonna learn anything if you just keep asking people to do everything for you

var
XorString : string;
Message : string;
gserver : boolean;
i : integer;

Procedure OnCreate;
begin
//gSys.tLA2BFToken:= 'a%S[{&*-94}^#%xx-P]a'+#0;
XorString := HStr('00 00 00 12 18 85 a0 00');
end;

function Crypt(buffer : string): string;
begin
  for i := 4 to length(buffer) do begin
    buffer[i] := Chr(ord(buffer[i]) xor ord(XorString[((i-4) and 7)+1]));
  end;
  Result := Buffer;
end;

begin
  if(not _gfromserv) and (_gAbsNumPkt=3) then begin
     gserver := true;
  end;
  if (not _gFromServ) and (copy(_gBuff,3,1)=#$38) then begin
    ScanPck5(_gBuff,4,'s',Message,null,null,null,null);
    if Message = 'Cat'+#0 then begin
      GSys.EnSendS(crypt(HStr('0C 00 45 EF 03 00 00 00 00 00 00 00')));
      gBlockPacket;
    end;
  end;
  if gserver and (length(_gBuff)>3) then begin
     _gOutBuff:=Crypt(_gBuff);
  end;
end.

  • 2 weeks later...
Posted

sorry to post again, but its not working, maybe some change on server's security? if u can edit and put all the info together you're my hero, tnx!

 

ps: the loginserver ip now is 67.228.134.114 port 2106 and protocol version 685

 

  • 3 weeks later...
Posted

sorry to post again, but its not working, maybe some change on server's security? if u can edit and put all the info together you're my hero, tnx!

 

ps: the loginserver ip now is 67.228.134.114 port 2106 and protocol version 685

 

 

 

mmm they updated to C5 and dont work anymore

Posted

since i didn't try the walker before it was c5, i wanna ask if no1 can run it now? when it's c5?

or there's still people who can connect? thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • Hello! We are Genesis, small team that works on new Lineage 2 project. Our goal with this project is to create a fresh new place to play — built around real community feedback, with no aggressive pay-to-win donations and with carefully thought-out quality-of-life improvements, balance changes etc. We believe that even tho we all love this game, everyone has at least one or two things they would like to change in the game to make it more enjoyable. Thats why we want the comunity feedback to shape our server. Main information about the server: • Interlude Classic version • Rates: EXP x4 SP x2 Loot x2, Spoil x2 (not set in stone, might be changed) • Local & Server-Side Dualbox Protection • Complete, Clear Website with Integrated Account Panel (Game account creation, direct communication with support, bug reporting, voting and reward system) • Launcher – External Game Login System: manage all your accounts inside the launcher, “Play” button logs you directly into the game server Here are list of few changes we already added/decided to add to the server: • Reworked Client to fit interlude Era with upgraded Classic Ui • Custom Antibot system • Custom AntiDualBox System • Offline shops • Offline shop with buffs (available only in towns) • Mass Sweeper added to the game • Newbie buffs available all the way to lvl 76 (nothing crazy, but its free) • Slight balance change to Destroyer damage with Polearm and Cancel spell from SPS • PvP zones on every Epic spawn spot • Overbuffing blocked • And more! Since we put big focus on community feedback and suggestions, we are looking for people for our internal tests, that will discuss whether current changes „fit” into the game and maybe suggest some changes themselves. If what you’ve just read sounds interesting to you, if you want to help creating server fitted for you, join our server Discord. Help us to understand what Lineage 2 players in 2026 actually expect and need — so we can meet those expectations and avoid becoming just another server that dies a natural death.     Even if you’re not interested in playing right now, but you are a long-time Lineage 2 player, feel free to join our community. We would greatly appreciate your experience and feedback to help us improve and develop our project. Join the growing L2Genesis community: https://discord.gg/mcuHsQzNCm Also check our website: https://l2genesis.com/
    • I messaged you privately. If you want me to help, message me privately.  
    • Hello guys I’m new here, also I’m new on those things I  don’t know anything about programming but I need some help about many things …I want to open a faction server  Firstly , I want to make a classic but with interlude staff like skills items level etc ..so is there any project server interlude -classic ..is there any interlude -classic client ?  what other server doing ?  can I go with interlude and add a patch-interface that will work for all people whos gonna join the server,  that will have inventory stats bars etc from classic , lobby create character ..etc and L2Fonts  for title and names also chat letters  like classic ?  I read about Lucera 2 has an interlude -classic client is it correct ? I also read about a multi protocol ..   also I saw that there is a lot of classic chronicles like 2.0 2.5 2.6 2.7 2.9.5 3.0  what are the differences    I know that the 3.0 add kamael which I don’t want    in conclusion.. I want full interlude staff but classic things    what should I do with client , server files  which is the way to go and with what files    if someone can answer me to all  sorry for my bad English 
    • download link is dead can anyone share again please ?
    • Cool, but why? Can't see anybody using that in 2k26
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..