Jump to content

Question

14 answers to this question

Recommended Posts

  • 0
Posted (edited)

There you go, I had the mood to create a sudo code for you, anyone with some knowledge should be able to implement it.

 

MultiSell, Time=12

RequestMultisellChoose, Item.setDestroyTimeStamp(System.currentTimeMillis() + MultiSell.getTime() * 3600000)

ItemExpireManager.registerItem(Item);

 

ItemExpireManager.registerItem()
{
     HashMap.put(Item, Item.getDestroyTimeStamp());

     Database.store(Item.getObjectId, item.getDestroyTimeStamp());

}

 

ItemExpireManager.checkForExpired()
{
     for each Item in HashMap

     if (timeStamp < System.currentTimeMillis())

     {      Item.destroy()

           Database.remove(Item);

     }

}

 

 

ItemExpireManager()
{
      for each Item by objectId in Database

      if (timeStamp < System.currentTimeMillis())

      {    Item.destroy()

           Database.remove(Item);

      }

      ThreadPoolManager start check routine every X seconds

 }

Edited by xxdem
  • 0
Posted

Make it a shadow item or create a threadpool for specific item and set it expire after 12h and delete it

 

shitty developer shitty solution, not even close

  • 0
Posted (edited)

shitty developer shitty solution, not even close

You try so hard to be wannabe dev everyone know you just a monkey. I said you can do it with threadpool and you made a code with treadpool LOL,, and u say shitty to me when u did the same rofl. xdem  kid

 

Wow a code that store the item object id and the SystemMillisecond of the item and a refresher that check to remove it from the list... NASA developer..

Edited by AccessDenied
  • 0
Posted

You try so hard to be wannabe dev everyone know you just a monkey. I said you can do it with threadpool and you made a code with treadpool LOL,, and u say shitty to me when u did the same rofl. xdem  kid

 

Wow a code that store the item object id and the SystemMillisecond of the item and a refresher that check to remove it from the list... NASA developer..

 

you can't even understand it and the difference between yours, lmao

  • 0
Posted (edited)

you can't even understand it and the difference between yours, lmao

You want me explain you what you did? Yes / no ?

 

You add the item into a list (wow) and then you add its expire time using the System time * some fucked up values and store it also

And then you take a threadpool and do a for in all list every x second and check if current time is bigger than store time to delete it. 

 

WOW PRO

 

how else u could make it with threadpool? make 1 threadpool for each item? No obviously no.. when i said threadpool i meant the same way..

1 threadpool to refresh 1 list. 

 

Or make it shadow item same thing.. but no u have to be pro and tell bullshit.

Edited by AccessDenied
  • 0
Posted

yes, I have the mood to laugh hard. Entertain me clown

I did but you're so dumb you didn't even see it also there is no way i entartain you as much you entartain the whole forum. the video tape i rented lasted more than ur server rofl

  • 0
Posted

Give me some code retard, your good in words and saying shit to correct the bullshit you said, give us some proper working code once or gtfo

  • 0
Posted (edited)

Give me some code retard, your good in words and saying shit to correct the bullshit you said, give us some proper working code once or gtfo

but u already gave idiot...  but sure i can make u 1 

Edited by AccessDenied
Guest
This topic is now closed to further replies.


  • Posts

    • [WTB / HIRING] High-End Gracia Final Source Code & Custom Pack Bundle [Serious Budget / Paid] Hello MaxCheaters Community, We are launching a new international High-End PvP project and are actively looking to acquire a complete, stable Gracia Final Source Code package OR hire an experienced L2J developer/team for custom module integration. We are looking for a solid foundation with the following specifications: 1. Full Java Source Code (.java) - Absolutely required. We need full access to edit core mechanics, custom items, weapons, and balance. No compiled-only .jar files. 2. Premium Geodata & Pathfinding - 100% complete and fixed Geodata for Gracia Final (no wall-shooting, no falling through map). 3. Modern QoL & Systems - Fully working Auto-Farm engine with clean client UI. - VIP/Premium subscription system (non-P2W rates/features). 4. Custom Content & Balance Ready - Ability to easily inject custom armor sets, weapons with custom glows/auras, and PvP zones. 5. Anti-Bot / Security Integration - Core ready to pair with top protection solutions (Active Anticheat, SmartGuard, or equivalent). 6. Client Tools & System Patch Support - Patch files and editing tools for itemname-e.dat, armorgrp.dat, weapongrp.dat, and custom interfaces. -------------------------------------------------- FORMAT OF COOPERATION: - We can purchase a ready, bug-free Source Code package. - We are also open to hiring a dedicated developer for custom task-based modules. - Fast payment via Crypto / PayPal / Bank Transfer. If you have a working build or offer dev services, PM me here or drop your Telegram/Discord contact below. Thanks!
    • WARFRONT is an Interlude faction PvP server built around one idea: the battlefield should never feel static. Choose your side. Angels vs Demons.   Capture Outposts to move the frontline and your faction's respawns. Fight for the Main Outpost to unlock dynamic events and HQ assaults. Push into enemy territory and destroy their Headquarters to win the battle. But WARFRONT goes far beyond traditional faction PvP.     ▶️ Dynamic Outpost & territory warfare ▶️ Daily Faction Castle Siege ▶️ Weekly Clan Siege ▶️ Grand Boss events ▶️ Kamaloka instanced party content ▶️ Reworked Interlude classes ▶️ Skill & Ability Tree  ▶️ Battlefield Contracts ▶️ Faction & individual rankings ▶️ Long-term character progression ▶️  Battle Pass & cosmetic progression ▶️  30-minute rotating battlefields   We've also reworked classes that are traditionally overlooked in faction PvP. Bishop can enter an offensive Inquisitor role, Daggers have Shadow Step, Prophet has its own combat toolkit, Overlord supports the entire faction, and several other classes have received new mechanics and balance changes. ▶️  SKILL & ABILITY TREE  Skill & Ability Tree system designed to add another layer of character progression and build choice to WARFRONT. Rather than simply increasing stats, the goal is to give players meaningful choices that can change how their character develops and how their class performs on the battlefield. This system is currently being tested, with more information and previews coming soon. The goal isn't to replace Interlude. It's to make Interlude faction PvP exciting again.   ▶️ CLOSED BETA: 03 OCTOBER 2026 Closed Beta will be our opportunity to push the systems, class balance and battlefield mechanics as hard as possible before Grand Opening. We built it. Now we need you to break it. ▶️  Website & Closed Beta Registration https://l2warfront.com ▶️  Discord https://discord.gg/u93YhB5Exy
    • Legends never truly die. They just wait for the right time to return. For over a decade, Vindication (aka Noobwars) held the crown as the longest-running and most legendary Greek private server. We built a home, created unbreakable bonds, and lived through thousands of hours of epic PvP, endless castle sieges, and unforgettable memories. Lately, others have tried to use our name to mimic what we built. But you can't copy soul, and you can't fake history. As the original Administrator, I am proud to tell you that the waiting is finally over. The true architect is back to bring you the ultimate Interlude experience. We are returning to revive that pure, old-school Lineage 2 nostalgia—the way it was always meant to be played. Just the authentic Vindication vibe we all fell in love with. Gather your old comrades, prepare your clans, and get ready to step back into the world of Interlude where it all started.   The original era begins again. Welcome home. GM*absolut*   Server Rates VINDICATION CLASSIC INTERLUDE x4  EXP/SP: x4  Adena: x2  Drop: x3  Spoil: x3  Seal Stones: x2  Raid Boss EXP/SP: x2  Raid Boss Drop: x1  Epic Boss Drop: x1  Manor: x1  Safe Enchant: +3  Max Enchant: +20  Normal Scroll Chance: Retail  Blessed Scroll Chance: Retail   🚀 Nostalgia Meets Next-Gen Technology We are not just bringing back the server you loved; we are upgrading it for the modern era. For the first time ever, we have integrated DLSS 5 into our Interlude client. Experience the classic gameplay you miss with ground-breaking performance     More info @ sites   Website:    http://www.vindication.gr Discord:       https://discord.gg/BVtgYvjyk6 Facebook:  https://www.facebook.com/groups/lineage2gr
  • 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..