L2JMobius

C4 Offline traders in real time fix

L2Hanesfor · 2 · 1822

Offline L2Hanesfor

  • Heir
  • **
    • Posts: 19
Hi sir, i am coming with the fix of i promise you in the last posts  :)

I explain you how i maked it:

1. Add new variable configuration in (Offline.ini) the (StoreOfflineTradeInRealtime = True)

2. Add filter for use only one feature at same time (Its implementation are in (./java/org/l2jmobius/gameserver/Shutdown.java) line 408

3. Add in the new feature (removeStoreOffliner) for force of remove the offline trader in database (Not is perfect but... it works)

4. The file (./java/org/l2jmobius/gameserver/data/sql/OfflineTraderTable.java) has been modified for work more optimal, the conditions of offline trader has come from the (./java/org/l2jmobius/gameserver/network/GameClient.java) Library, and other fixs how like breaks in the switchs of counts items (it dont had utility)

https://drive.google.com/file/d/1trpPsoj5r9S6rVOaoNjeLdcU4vnO3xBS/view?usp=share_link

Have Fun for all :)