Jump to content

Recommended Posts

Posted

Нашел скриптик на харде, кидает в вх две стопки, вдруг кому пригодится еще

 

PHP код:

 

var

beg,id, id2,amount:string;

SocialID, Status: Integer;

 

procedure SendMsg(msg:string);

begin

  buf:=#$4A;

  WriteD(0);

  WriteD(10);

  WriteS('');

  WriteS(msg);

  SendToClient;

end;

 

  begin

  if FromClient and (pck[1]=#$1B) then

    begin

      SocialID:=ReadD(2);

      case ord(pck[2]) of

      $06:begin

        Status:=1;

        SendMsg('ITS ON');

      end;

      $05:begin

        Status:=0;

        SendMsg('ITS OFF');

      end;

      end;

    end;

 

if Status=1 then

begin

if FromClient and (pck[01]=#$31) then

begin

beg:=pck[01] + hstr('02') +pck[03]+pck[04]+pck[05];

id:=pck[06]+pck[07]+pck[08]+pck[09];

amount:=pck[10]+pck[11]+pck[12]+pck[13];

pck:='';

buf:=beg + id + amount + id + hstr('01000000');

SendToServer;

end;

if FromServer and (pck[01]=#$42) then

begin

beg:=hstr('3203000000');

id:=pck[38]+pck[39]+pck[40]+pck[41];

amount:=pck[20]+pck[21]+pck[22]+pck[23];

id2:=pck[78]+pck[79]+pck[80]+pck[81];

buf:=beg + id + amount + id2 + hstr('01000000')+ id2 + hstr('01000000');

SendToServer;

end;

end;

end.

  • 1 year later...
  • 10 months later...
  • 1 month later...

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

    • Introducing my CMS – a Personal Account System for your L2J & PTS servers! Fully Ready-to-Use Features:  Master Account: Registration, password change, password recovery  Game Account: Game account registration, password change, password recovery  Statistics: Top PVP, Top PK, Clans, Alliances, Epic Bosses, Castles  Multilingual Support: Available in English & Russian (other languages can be added)  Payment Systems: Stripe, PayPal, Freekassa, Enot, PrimePayments, BetaTransfer (more coming soon)  Bonus System:  Percentage-based bonus from purchases  Item rewards after purchasing in-game currency  Personal Account System: Login via Master Account, password management  Storage System: Store donation/bonus items and transfer them to the game  Ticket System: Players can submit support tickets; admins respond via the admin panel  Unstuck Feature: Allows players to teleport their character to town  Account Synchronization: Easily migrate from other CMS platforms  Custom Design Integration: We integrate your main page design (HTML, CSS, JS) for free  Modern UI: Comes with a sleek Lineage 2-style account panel  Easy Configuration: All settings managed via a config file for convenience  Installation Assistance: Help with installing the CMS on your hosting, VPS, or VDS Check out all CMS features at:  lin2web.com  Demo site Supported Servers: PTS: Vaganth, Depmax64 (AdvExt)  L2J: Lucera2, L2J-Scripts, aCis, L2J-Eternity, L2JMobius, PWSoft, and others  Price: $250  I’m available on Telegram & Discord – always ready to assist!   Telegram Discord
    • DISCORD : https://discord.com/users/325653525793210378 utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/uthciha-services https://campsite.bio/utchihaamkt  
    • Unfortunately you haven't adapted yet. Unfortunately, you won’t be able to simply transfer it; you’ll have to turn on the debugger and go through the code to make sure everything works as it should.
    • Hello, I have adapt l2jroboto but have a problems for example bots all the time in PvP and never dead I test with admin //kill and nothing, my frozen pack is upgrade to java 21 I have fixed more of bugs    Sorry for my bad English 🥶
  • Topics

×
×
  • Create New...