Jump to content

Recommended Posts

Posted

I am going to begin working on some C5 packet fixes, since Nevyn and I already found out how to fix the protocol revision and connect with a C5 client.

 

I know there is packet errors at the log in screen.  Once those are fixed, we'll have to fix all the rest.  Anyone who can post any information about *changed* packet structures (like 'cddd' to 'cdddS' for example) and packet headers (if the packet header is different, TELL ME!) would be helping a lot.

 

Also, bringing me changed packets from C4->C5 using L2J revisions from before and after is ok too.  I will be using some L2J changes to help me out probably as I go through this process.

 

I hope to see this thread be productive. 

 

Protocol Revision and How to Change it:

 

009BA9A8 aRevision656 db '$Revision: 656 $',0 ; DATA XREF: GetProtocolRevision__+1B

 

The L2Server does String to Int conversion on the numeric part of that ASCII string.  Change 656 to 693 and you will change the Protocol Revision.  Tested with a C5 client already.  Nevyn made a link, he can post it here...I'm too lazy :P

 

Original Source: http://www.postpacific.com/forums/showthread.php?t=5895

 

 

 

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

    • Hello, I add this code here https://maxcheaters.com/topic/248730-agathions-acis-401-does-not-interfere-with-summons-or-pets/.     but i have problem with agathion movement, agathion does not move when the player moves. The player must stop moving for Agathion to come close him.   i think the problem is here at < _followTask = ThreadPool.scheduleAtFixedRate(new Follow(this), 1000, 1000); >>       public void followToOwner()     {                  if (_followTask == null)             _followTask = ThreadPool.scheduleAtFixedRate(new Follow(this), 1000, 1000);                                  int rnd = Rnd.get(-30, +30);         SpawnLocation loc = _owner.getPosition();                          if (!checkIfInRange(1000, this, _owner))             teleport(_owner, 30);                  if (_owner.isMoving())             getAI().tryToFollow(_owner, false);         else         {             if (!checkIfInRange(75, this, _owner))                 getAI().tryToMoveTo(new Location(loc.getX()+rnd, loc.getY()+rnd, loc.getZ()), null);             else if (checkIfInRange(30, this, _owner))                 getAI().tryToIdle();                              if (Config.AGATHION_HEAL_OWNER && !getCast().isCastingNow())             {                 if (_owner.isInOlympiadMode() || _owner.isInDuel() || _owner.getPvpFlag() != 0 || _owner.isInsideZone(ZoneId.PVP) || _owner.getKarma() != 0)                     return;                                  if ((_owner.getStatus().getHpRatio() < Config.AGATHION_PERCENT_TO_HEAL))                     getAI().tryToCast(_owner, 1011, 18);             }             else if (!Config.AGATHION_ONLY_FOLLOW && Config.AGATHION_ALLOW_SOCIAL && !isMoving() && !getCast().isCastingNow())                 broadcastPacket(new SocialAction(this, 1));         }  
    • Price reduction for Google accounts from 6-12 months after registration - only 0.3157$ each. Top up with Gmail accounts with activated 2FA - 0.3507$ each!
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
    • Hello everyone! L2 Imagination High Five - New Seasson is here!       OPEN BETA from 17.03.2025 LIVE START 21.03.2025 GMT+1      Rates: XP/SP 25x, Spoil 15x, Drop 10x, Adena 10x   Server Features: Free Auto-Farm, Castle Instance, Daily Reward Calendar, Adena Boxes VIP Gold Color Chat, Unique Olympiad Extra Points Engine, GvG Event Solo Instance, PvP Solo Rift, Automatic GvG Event, Improved Orfen and Core Areas Lair of Antharas and Dragon Valley alternating PvP and Normal  every hour 6:00PM-0:00AM      Website: https://www.l2imagination.com  Discord: https://discord.com/invite/frCaDM4Bhg
  • Topics

×
×
  • Create New...