Jump to content

Recommended Posts

Posted

kalispera pedes.. exo afto to script gia na vazis oti skill 8es sto weapon s. ala den xero pos an katalavente to pos kante ena post plz :)

Script:

-->

 

  • const
    Name='Mamy'; // ???
    ItemID=6608; // ????
    LifeID=8762; // ????????
    GemsID=2131; // ???????
    GemsAmount=25; //???-?? ?????
    max=100; // ?????????
    var
    LifeBase:array[1..max] of integer;
    ColvoLife,ColvoGems,Life,Item,Gems,SocialID,augid:integer;
    procedure Init;
    var i:integer;
    begin
    buf:=hstr('0F');
    SendToServerEx(Name);
    end;
    procedure Free;
    var i:integer;
    begin
    for i:=1 to max do
    LifeBase:=0;
    end;
    function StrToHex(packet: string):string;
    var
    i:integer;
    tmp:byte;
    function ByteToHex(b: byte): Char;
    begin
    if b<10 then result:=chr(b+$30)
    else result:=chr(b+$37);
    end;
    begin
    result:='';
    for i:=1 to length(packet) do begin
    tmp:=ord(packet) div 16;
    result:=result+ByteToHex(tmp);
    tmp:=ord(packet) - tmp*16;
    result:=result+ByteToHex(tmp)+' ';
    end;
    end;
    function inttohex(n:integer):string;
    var i:integer;
    t:string;
    a:array[0..15] of char;
    begin
    a[0]:='0';
    a[1]:='1';
    a[2]:='2';
    a[3]:='3';
    a[4]:='4';
    a[5]:='5';
    a[6]:='6';
    a[7]:='7';
    a[8]:='8';
    a[9]:='9';
    a[10]:='A';
    a[11]:='B';
    a[12]:='C';
    a[13]:='D';
    a[14]:='E';
    a[15]:='F';
    result:='';
    t:='';
    i:=0;
    while n<>0 do begin
    if (i mod 2=0)and(i>0) then begin
    result:=result+t+' ';
    t:='';
    end;
    t:=a[n mod 16]+t;
    n:=n div 16;
    inc(i);
    end;
    result:=result+t;
    end;
    procedure Say;
    var i:integer;
    s:string;
    begin
    s:='<tr><td>LS='+inttostr(ColvoLife)+' (*'+inttostr(GemsAmount)+'='+inttostr(ColvoLife*GemsAmount)+')</td></tr>';
    s:=s+'<tr><td>Gems='+inttostr(ColvoGems)+' (/'+inttostr(GemsAmount)+'='+inttostr(ColvoGems div GemsAmount)+')</td></tr>';
    s:=s+'<tr><td>---</td></tr>';
    if Item=0 then
    s:=s+'<tr><td>No Weapon</td></tr>'
    else if augid>0 then
    s:=s+'<tr><td>Augmented ('+inttohex(augid)+')</td></tr>'
    else
    s:=s+'<tr><td>Not augmented</td></tr>';
    buf:=hstr('0F 01 00 00 00');
    WriteS('<html><body><br><table width=100%>'+s+'</table><br><br><br><br><br><br>'+
    '"Social Yes" - Cancel Augment(if augmented) and Augment(if you have enough gems and LSs)<br>'+
    '"Social No" - Show this help<br><br>'+
    'Sometimes client dont get packet InventoryUpdate and you see "Not augment" when weapon is augmented.'+
    ' Simply press [Tab] twice or wear weapon.<br><br>'+
    '© raid aka Mamy</body></html>');
    // '© raid aka Mamy<br>'+strtohex(pck)+'</body></html>');
    WriteD(0);
    SendToClientEx(Name);
    end;
    procedure CreateItemBase;
    var i,ss,j,ObjID,ItmID,ListCount,count,aug:integer;
    begin
    Item:=0;
    ss:=1;
    j:=4;
    ListCount:=ReadH(j);
    if ListCount>max then ListCount:=max;
    j:=8;
    for i:=1 to ListCount do begin
    ObjID:=ReadD(j);
    ItmID:=ReadD(j);
    Count:=ReadD(j);
    j:=j+14;
    aug:=ReadD(j);
    case ItmID of
    LifeID: begin
    LifeBase[ss]:=ObjID;
    inc(ss);
    end;
    ItemID: begin
    Item:=ObjID;
    augid:=aug;
    end;
    GemsID: begin
    Gems:=ObjID;
    ColvoGems:=Count;
    end;
    end;
    j:=j+6;
    end;
    ColvoLife:=ss-1;
    Say;
    end;
    procedure UpdateItemBase;
    var i,ii,j,ObjID,ItmID,ListCount,Count,UpdType,aug: integer;
    begin
    ListCount:=ReadH(2);
    j:=4;
    for i:=1 to ListCount do begin
    UpdType:=ReadH(j);
    j:=j+2;
    ObjID:=ReadD(j);
    ItmID:=ReadD(j);
    Count:=ReadD(j);
    j:=j+14;
    aug:=ReadD(j);
    case UpdType of
    1:case ItmID of
    ItemID: begin
    Item:=ObjID;
    augid:=aug;
    end;
    LifeID: begin
    for ii:=1 to max do
    if LifeBase[ii]=0 then begin
    LifeBase[ii]:=ObjID;
    ColvoLife:=ColvoLife+1;
    break;
    end;
    end;
    GemsID: begin
    Gems:=ObjID;
    ColvoGems:=Count;
    end;
    end;
    2:case ItmID of
    ItemID: begin
    Item:=ObjID;
    augid:=aug;
    end;
    GemsID: begin
    Gems:=ObjID;
    ColvoGems:=Count;
    end;
    end;
    3:case ItmID of
    ItemID:
    Item:=0;
    GemsID: begin
    Gems:=ObjID;
    ColvoGems:=Count;
    end;
    LifeID: begin
    for ii:=1 to max do
    if LifeBase[ii]=ObjID then begin
    LifeBase[ii]:=0;
    ColvoLife:=ColvoLife-1;
    end;
    end;
    end;
    end;
    j:=j+6;
    end;
    Say;
    end;
    function GetNextLife: integer;
    var i:integer;
    begin
    Result:=-1;
    for i:=1 to max do begin
    if (LifeBase<>0) then begin
    Result:=LifeBase;
    exit;
    end;
    end;
    end;
    procedure Augment;
    begin
    buf:=hstr('D0 29 00');
    WriteD(Item);
    SendToServerEx(Name);
    delay(100);
    buf:=hstr('D0 2A 00');
    WriteD(Item);
    WriteD(Life);
    SendToServerEx(Name);
    delay(100);
    buf:=hstr('D0 2B 00');
    WriteD(Item);
    WriteD(Life);
    WriteD(Gems);
    WriteD(GemsAmount);
    SendToServerEx(Name);
    delay(100);
    buf:=hstr('D0 2C 00');
    WriteD(Item);
    WriteD(Life);
    WriteD(Gems);
    WriteD(GemsAmount);
    SendToServerEx(Name);
    end;
    procedure DisAugment;
    begin
    buf:=hstr('D0 2D 00');
    WriteD(Item);
    SendToServerEx(Name);
    buf:=hstr('D0 2E 00');
    WriteD(Item);
    SendToServerEx(Name);
    end;
    begin
    if pck='' then exit;
    if FromClient and (ConnectName=Name) and (pck[1]=#$1B) then begin
    SocialID:=ReadD(2);
    pck:='';
    case SocialID of
    7: begin
    buf:=hstr('A7 2A A0 00 00 80 84 1E 00 0A 00 00 00 00 00 00 00 00 00 00 00');
    SendToServerEx(Name);
    buf:=hstr('A7 29 A0 00 00 40 0D 03 00 FA 00 00 00 00 00 00 00 00 00 00');
    SendToServerEx(Name);
     
    exit;
    end;
    6: begin
    if augid>0 then begin
    DisAugment;
    delay(300);
    end;
    Life:=GetNextLife;
    if (Life=-1)or(ColvoGems<GemsAmount)or(ColvoLife<1) then
    exit;
    Augment;
    exit;
    end;
    5: begin
    Say;
    exit;
    end;
    end;
    end;
    if FromServer then
    case pck[1] of
    #$1B: CreateItemBase;
    #$27: UpdateItemBase;
    end;
    end. 
     

  • 11 months later...
Posted

Terastio den einai...?egw akouo proti fora gia ls script...apo pou to vrikes?

Edit.

To dokimasa kai to phx m to vgazei lathos...mallon den einai gia phx i einai fake...mporei na exeis kanei kanena lathos sto c/p

mporeis na m doseis to link apo opou to katevases?

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

    • You think you have good “l2j” files until you try running a low-rate server.   Saying “there’s not a single L2 server out there worth mentioning” just shows you probably only know the first 10 servers on voting sites, the same voting sites that owned by them. You call the forum dead, yet you’re here discussing your next projects… From my perspective, you don’t seem ready to run any L2 server in 2025. Around 70% of players are here for RMT or ask for payment just to bring their clan, and you really think the community cares about Premium or donations or files quality? The other 20% spend their time downloading and deleting servers all day, playing for one day, then quitting for whatever random reason. And finally, the last 10% are the only ones who actually play because they genuinely like your features, your server files, and your overall project. Good luck 🙂
    • I genuinely admire your bravery - in an age where AI can whip up something better in under a minute, you still stubbornly try to sell these "projects" of yours on a forum that’s been clinically dead for years. That’s no longer determination, that’s digital archaeology. I just can’t tell whether you’re actually trying to make money, or simply testing how much we can endure before we ask an AI to generate you some actual talent.   And ofc AI will make it for free, $220 saved.
    • I’m glad I’m not the only one who appreciates Maxthor’s involvement in group gay orgies, he can’t be bothered to reply to messages, but covering the entire forum in gay lights is absolutely no issue for him. As for the project - the forum is packed with feedback from the testers, the lads are spending every spare moment fixing even the tiniest typo in an NPC’s text. I’ll share the links as soon as I get the green light. Edit: I forgot to add that the GM recruitment will begin once the links are released. Three people will be accepted, and they’ll work in a three-shift rotation so that there’s always a GM available online.
    • Added: a brand-new default dashboard template. You can now add multiple game/login server builds. Full support for running both PTS & L2J servers simultaneously, with switching between them. Payment systems: added OmegaPay and Pally (new PayPal-style API). Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account. Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.     Look demo site: demo
    • One of best project i play last few years
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock