Jump to content

Recommended Posts

Posted

Gia sas re filoi exo ena server kai entaxi then ime kai o poio empiros admin.

An Kapoios xeri pos mporo na kano clean ta account pou then exoun xrisimopiithi gia 3s mines kapoios na mou pi.

Logika then nomiso na to kanis me to xeri :P gt ine pola tspa an kapios xeri iparxi kapoio programa ? pos akribos ginete kai

an then iparxi programa pite mou xeirokinita.

 

Exo MySQL 5.0 Server kai Navicat to poio kainourio..

 

Perimeno apantisi asap gt exo gemisi apo account pano apo 9.000 :/

 

 

-- more than ... days
SET @dt = 60;

DELETE FROM accounts WHERE DATEDIFF( CURRENT_DATE( ) , FROM_UNIXTIME( `lastactive` /1000 ) ) > @dt;

DELETE FROM accounts WHERE login NOT IN (SELECT account_name FROM characters);
DELETE FROM account_data WHERE account_name NOT IN (SELECT login FROM accounts);
DELETE FROM characters WHERE account_name NOT IN (SELECT login FROM accounts);
DELETE FROM character_friends WHERE char_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_hennas WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_macroses WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_quests WHERE char_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_recipebook WHERE char_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_shortcuts WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_skills WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_skills_save WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM clan_data WHERE leader_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM clan_privs WHERE clan_id NOT IN (SELECT clan_id FROM clan_data);
DELETE FROM clan_skills WHERE clan_id NOT IN (SELECT clan_id FROM clan_data);
DELETE FROM pets WHERE item_obj_id NOT IN (SELECT object_id FROM items WHERE owner_id IN (SELECT obj_Id FROM characters));
DELETE FROM items WHERE owner_id NOT IN (SELECT obj_Id FROM characters) AND owner_id NOT IN (SELECT clan_id FROM clan_data);
DELETE FROM seven_signs WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM augmentations WHERE item_id NOT IN (SELECT item_id FROM items);
UPDATE characters SET clanid=0,title="",clan_privs=0 where clanid NOT IN (SELECT clan_id FROM clan_data);
UPDATE clanhall SET ownerID=0,paidUntil=0 where ownerID NOT IN (SELECT clan_id FROM clan_data);

 

Brika Afto alla then xero pos akribos doulebi :/

Posted

Μπες στο navicat, στην database σου...άνοιξε την l2jdb και πάτα Query.40345220ay7.jpg

Μετά πάτα New Query.

Στο παράθυρο που άνοιξε γράψε αυτό:

SET @dt = 90;

DELETE FROM accounts WHERE DATEDIFF( CURRENT_DATE( ) , FROM_UNIXTIME( `lastactive` /1000 ) ) > @dt;

DELETE FROM accounts WHERE login NOT IN (SELECT account_name FROM characters);
DELETE FROM account_data WHERE account_name NOT IN (SELECT login FROM accounts);
DELETE FROM characters WHERE account_name NOT IN (SELECT login FROM accounts);
DELETE FROM character_friends WHERE char_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_hennas WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_macroses WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_quests WHERE char_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_recipebook WHERE char_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_shortcuts WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_skills WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM character_skills_save WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM clan_data WHERE leader_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM clan_privs WHERE clan_id NOT IN (SELECT clan_id FROM clan_data);
DELETE FROM clan_skills WHERE clan_id NOT IN (SELECT clan_id FROM clan_data);
DELETE FROM pets WHERE item_obj_id NOT IN (SELECT object_id FROM items WHERE owner_id IN (SELECT obj_Id FROM characters));
DELETE FROM items WHERE owner_id NOT IN (SELECT obj_Id FROM characters) AND owner_id NOT IN (SELECT clan_id FROM clan_data);
DELETE FROM seven_signs WHERE char_obj_id NOT IN (SELECT obj_Id FROM characters);
DELETE FROM augmentations WHERE item_id NOT IN (SELECT item_id FROM items);
UPDATE characters SET clanid=0,title="",clan_privs=0 where clanid NOT IN (SELECT clan_id FROM clan_data);
UPDATE clanhall SET ownerID=0,paidUntil=0 where ownerID NOT IN (SELECT clan_id FROM clan_data);

Πάτα run.

Posted

kai na se rotiso kati filaraki afto gia poses meres xoris na exoun xrisimopiithi ine ego thelo na to kano na einai  2mines pos ? thx anyway..File molis to kano paste :/ the mou mavrisi to Run...ti na kano plsss :P

Posted

[GR]

SET @dt = 90;

eipes 3 mines

90 meres=3 mines

60 meres=2mines opote kanto 60..

[ENG]Anyway dont speak greek to English Section

and post to correct section...!

Posted

Ok i Find it guys i am thank you but it dont realy delete everything :/ thats it for this who dont know

 

-- more than ... days
SET @dt = 60;

DELETE FROM accounts WHERE DATEDIFF( CURRENT_DATE( ) , FROM_UNIXTIME( `lastactive` /1000 ) ) > @dt;
DELETE FROM accounts WHERE login NOT IN (SELECT account_name FROM characters);
DELETE FROM account_data WHERE account_name NOT IN (SELECT login FROM accounts);
DELETE FROM characters WHERE account_name NOT IN (SELECT login FROM accounts);
DELETE FROM clan_privs WHERE clan_id NOT IN (SELECT clan_id FROM clan_data);
DELETE FROM clan_skills WHERE clan_id NOT IN (SELECT clan_id FROM clan_data);
UPDATE characters SET clanid=0,title="",clan_privs=0 where clanid NOT IN (SELECT clan_id FROM clan_data);
UPDATE clanhall SET ownerID=0,paidUntil=0 where ownerID NOT IN (SELECT clan_id FROM clan_data);

 

 

SET @dt = 60;  <--  This is how much weeks/days you want to delete inactive accounts.

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

    • We provide DDoS protection for Perfect World, Jade Dynasty, and other game servers. Your server connects through a dedicated DDoS-protected IP address. Traffic is filtered and forwarded to your game server over a secure connection. What we offer: Protection against L3/L4 DDoS attacks; Protection for TCP and UDP game servers; Filtering of malicious and abnormal traffic; Protection against game port overload; Hiding your game server’s real IP address; Preserving players’ real IP addresses; Protection configured specifically for your gaming project; A stable connection with minimal impact on latency; Bandwidth tailored to your requirements. Free 3-day DDoS protection trial for everyone. You can connect your existing server and test latency, connection stability, and protection performance under real traffic loads. Pricing is calculated individually for each client, based on the project, required bandwidth, and protection configuration. Setup and support: Telegram: @alex_protection Products: Alex DDoS-Guard | Reliable Protection for Your Services and Game Servers
    • That sounds great, but the download link is dead for me too. Could you re-upload it or send it directly? Thanks for sharing the event
    • October 30th is the grand opening.
    • 🔥 L2FOREVER — FRESH START IS LIVE! 🔥 INTERLUDE x25 JOIN THE ADVENTURE! Tired of the same old Lineage 2 servers? Looking for something that combines the legendary Interlude experience with fresh progression systems, meaningful PvP, and rewarding PvE? Our fresh start launched on September 11, 2026, giving everyone a new beginning. Whether you're a solo adventurer, a competitive PvP player, or a dedicated clan leader, there's a place for you.      SERVER INFORMATION Chronicle : Interlude EXP/SP: x25 Adena: x12 Drop chance: x10 Spoil chance: x15 Quest drop chance: x10 Box limit: 1+1  UNIQUE SERVER FEATURES  TALENT TREE & REBIRTH SYSTEM   Take character progression beyond level 80! Earn talent points while leveling. Unlock powerful Combat, Defense and Utility talents.Rebirth up to 7 times. Customize your character with unique builds. Keep your equipment and enchanted skills through rebirths.    BOUNTY HUNT SYSTEM   Complete hunting objectives, progress through bounty ranks, collect Bounty Coins and earn valuable rewards.    DAILY PvP ARENA   Prove your skills against other players! Daily Arena battles. Event equipment available to participants. Earn Arena points and Medals. Compete on the weekly leaderboard.   RAID BOSSES & PvE CONTENT   Challenge powerful Raid Bosses, collect rewards, participate in Solo Trials and discover additional progression opportunities.    CHAMPION MONSTERS   Encounter stronger monsters with increased rewards! Champion monsters with boosted XP and loot. Rare Super Champions offering even greater challenges. Exciting encounters throughout your leveling journey.    COMPANION SYSTEM   Choose a companion that supports your playstyle: Tank Healer Damage Dealer   ADDITIONAL FEATURES   Auto-Farm system with a daily time allowance. Free first class transfer at level 20. Subclass and Noblesse trials. Custom Potions & Alchemy. Custom UI options. Offline trading. Weekly Castle Sieges. Olympiad competitions. Free convenience features for everyone.    NO DIRECT GEAR SALES L2Forever focuses on meaningful character progression. No gear, enchant scrolls or enchanted equipment sold in the shop. Build your character, earn your equipment and enjoy the adventure.  SOLO PLAYERS & CLANS WELCOME! Explore the world at your own pace, develop your character, challenge Raid Bosses, join PvP battles and fight alongside your clan. Your journey. Your build. Your legacy.  YOUR NEXT LINEAGE II ADVENTURE STARTS HERE!  WEBSITE: https://l2forever.eu  SERVER FEATURES & DOCUMENTATION: https://l2forever.eu/docs  L2FOREVER — INTERLUDE x25 CREATE YOUR CHARACTER. BUILD YOUR LEGEND. FIGHT FOREVER.  
  • 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..