Jump to content
  • 0

[HELP] SQL script


Question

10 answers to this question

Recommended Posts

  • 0
Posted

Raidboss dont drop Adena..

i just tell you example...

for example all 61+ raidboss have item 9999 in droplist you can use this command

 

UPDATE droplist SET itemId=(youitemid) WHERE itemId=9999 AND mobId IN (SELECT id FROM npc WHERE level >= 61 AND type='L2Raidboss');

  • 0
Posted

you can't do that because you must use INSERT comand and this command can't indicate only rbs. you can just replace with adena.

 

the rb have the same title "Raid Boss"

  • 0
Posted

mysql> ;UPDATE droplist SET itemId=(5575) WHERE itemId=9999 AND mobId IN (SELECT id FROM npc WHERE level >= 61 AND type='L2Raidboss');

1065 - Query was empty

Query OK, 0 rows affected

Rows matched: 0  Changed: 0  Warnings: 0

 

0 rows affected :/

  • 0
Posted

and what? if you use

INSERT INTO droplist VALUES

you can't indicate only rbs

thats true

 

wasnt there some way to copy the table to a file, so you could edit the file and use it in another sql command?

  • 0
Posted

mysql> ;UPDATE droplist SET itemId=(5575) WHERE itemId=9999 AND mobId IN (SELECT id FROM npc WHERE level >= 61 AND type='L2Raidboss');

1065 - Query was empty

Query OK, 0 rows affected

Rows matched: 0  Changed: 0  Warnings: 0

 

0 rows affected :/

because no rbs upper 61 lvl don't have item 5575 in droplist

  • 0
Posted

Ok i use

 

insert into droplist (mobId, itemid, chance, min, max,category) select id, 57, 1000000, 1, 2, 1 from npc where type='L2Raidboss';
UPDATE droplist SET itemId=(10639) WHERE itemId=57 AND mobId IN (SELECT id FROM npc WHERE level >= 61 AND type='L2Raidboss');

 

And working good. THX Leki.

Guest
This topic is now closed to further replies.


  • Posts

    • LF the following chars / items on chronos   Elf - with class Aeore's Shillen Saint - this is possible if you had done a class change with a ticket in the past. Dwarf - with class Mystic Muse - same as above   Any greater jewels / Radiant Circle Grace or Foresight +5 and above Cloak      
    • First, you need to understand what you're doing and what you want to achieve. You have to choose a server core. After that, decide what you want your server to include, code it, modify the client to fit your server, go public, and drink champagne.   If you know how to code, creating a server is relatively easy — a few months of work and you can make it happen. Modifying the client is a completely different story. There’s a lack of tutorials, tools, and source materials. I’m currently working on the client myself, and I’ve already spent over three weeks just trying to get started due to the lack of information. If you don’t have the knowledge and experience, you’ll need a team and a bag of money — but realistically, it just won’t succeed.
    • The server has been online and stable for over 2 months now, and we’re still going strong! No wipes, no shortcuts ~ just continuous work, daily fixes, events, and improvements to ensure the best possible experience.   Great News! 🔥 CHAPTER II IS COMING — GRACIA FINAL 🔥 On February 16, L2Elixir enters a new era. The server will be officially updated to Gracia Final, opening Chapter II of our journey. Expect new content, improvements, and surprises that will refresh the gameplay while keeping the classic Gracia Final spirit alive.   More challenges, more competition, and more reasons to log in.   📅 Update Date: February 16 ⚔️ Chapter II: Gracia Final This is not a reset. This is evolution.   Prepare yourselves — Chapter II begins soon.   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here 👉https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
  • 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..