Jump to content

Recommended Posts

Posted

Kalispera paideia,Kala Xristougenna k kales giortes

To share p kanw tha voithisei kuriws newbies kai exei ws periexomeno SQL scripts p mporoume na treksoume sto navicat.

Katarxas xreiazomaste Navicat Full edition k oxi Lite.

Oti script dwsw parakatw trexete me ton ekshs tropo Navicat->Localohost(To connection mas tespa)->(Tin database tou server)->Queries kanoume klick ekei p grafei New Query.

 

Scripts Σχετικα Με Items

 

Delete Item apo Invetory:

DELETE FROM `items` WHERE (`object_id`='TO ID TOU CHAR' AND `item_id`='TO ID TOU ITEM' )

 

Update timhs se buylist eykola k grhgora:[/color]

UPDATE `custom_merchant_buylists` SET `price`='Poso se Adena' WHERE (`shop_id`='To id tou shop') AND (`item_id`='To id apo to item')  

-------------------------------------------------------------------------------------------

 

Γενικά Script για την Database

 

Database Clean Up.Credits to:xMayloxOriginal Post:

-- 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);

 

Auto-Restart Script:

INSERT INTO global_tasks(task,type,last_activation,param1,param2,param3) VALUES 
('restart', 'TYPE_GLOBAL_TASK', '2147483647', '1', EDW VAZOUME THN SIGKEKRIMENH WRA P THELOUME NA KANEI RR O SERVER MORFHS(HH:MM:SS', 'EDW PRIN APO POSA SECOND NA IDOPOIEI TOUS PEXTES');

 

 

Custom Character Spawn(nomizw oti einai katanohto):

-- custom spawn location for new characters (just change the 0 with your own cord locations)

SET @x = 0;
SET @y = 0;
SET @z = 0;

UPDATE char_templates SET x = @x, y = @y, z = @z;

 

 

Drop Chance(Nomizw pws einai katanohto):

-- Items Drop Chance will be x1
-- If you like to change it just change the "1"

SET @drop = 1;

UPDATE `droplist` SET `chance` = `chance` * @drop;

 

 

Posted

file wraia douleia ama ebazes kai merikes eikones 8a htane pio wraio..

ti eikones na evaza????tespa...eksigise m ti eikones na valw k tha to kanw//

 

P.S You are welcome guyz!

  • 4 weeks later...
Posted

DELETE FROM `items` WHERE (`object_id`='TO ID TOU CHAR' AND `item_id`='TO ID TOU ITEM' )

Den doulebei ayto file :/

 

DELETE FROM `items` WHERE (`object_id`='TO ID TOU CHAR' AND `item_id`='TO ID TOU ITEM' );

 

prospathise auto

  • 4 months later...

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

    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • Thank you for your feedback. To help me improve the system, please leave your comments or report any bugs. I will try to release weekly updates. 
    • Thank you for your feedback, SkyLord — even the negative kind.   Let me give you some context on who we actually are, since you asked. L2-Scripts has been around for nearly 20 years. Over that time, we've worked with a large number of developers — I've personally seen probably half of every serious (and not-so-serious) developer in this scene. The most significant figure in our studio's history was Bonux. Together with a small team of assistants, he was essentially the backbone of our old codebase, and we were the ones who brought virtually every chronicle to the community — Essence, Classic, Main — all of it came through us.   Back then, we worked at scale. That era is over. Today, L2-Scripts is no longer a studio in the traditional sense. It's more of a developer collective. I work alongside the best developers I've encountered in 20 years. Bonux is still with us on Classic. A new developer named Den has joined — in just 3 years he became one of the top Essence developers in the world. Every one of us works independently, but we're united by long-standing friendships and shared projects.   We no longer chase every chronicle or every client. For the past several years, we've been focused exclusively on specific long-term projects where we're paid a proper salary — and when you focus like that, with 20 years of experience behind you, the quality of what you produce is on a completely different level. Our code is currently running on nearly all top Essence and Classic servers. We're now bringing Main (Last Protocol) up to that same standard.   You mentioned Nexvil. Yes, he worked with us. That was a difficult period — the lead developer at the time was not up to the standard we hold ourselves to. It was a short period, and it's long behind us.   As for the prices — I'd ask you not to judge a product by whether you personally can afford it. That's not a fair measure of value. The people running top-tier servers understand what they're paying for. If our pricing doesn't fit your budget, that's completely fine — but downvoting a service simply because it feels expensive to you doesn't reflect well, and it certainly doesn't make the product worse.   A special thank you to eMommy and Zenith for the honest and fair words — it genuinely means a lot. It's good to know there are people in this community who judge things as they are.
    • Just because someone does professional sales doesn’t mean everything is overpriced. If the products he provides are stable and good quality, then I see nothing wrong with it, and those prices aren’t even bad. Remember, we’re living in 2026, not 10 years in the past. Your mindset is probably stuck on buying the cheapest products because maybe you can’t afford better ones. And of course, there’s always someone who likes blaming others. I think you should mind your own business instead of blaming someone for how they run theirs. If you really think his prices are too expensive, then do better than him.
  • 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..