DontKnow 1 Posted May 19, 2017 Posted May 19, 2017 I need sql script that would delete rb's bellow certain lvl. Does anyone have that? Quote Share this post Link to post Share on other sites
0 jornik 1 Posted May 19, 2017 Posted May 19, 2017 Can you describe in more detail what are you trying to achieve? I suppose you don't want to spawn RBs level < xx, right? Quote Share this post Link to post Share on other sites
0 DontKnow 1 Posted May 19, 2017 Posted May 19, 2017 Can you describe in more detail what are you trying to achieve? I suppose you don't want to spawn RBs level < xx, right? Yes that is correct . I dont want to spawn rb's lvl<xx . I am using l2jfrozen. Quote Share this post Link to post Share on other sites
0 melron 213 Posted May 19, 2017 Posted May 19, 2017 (edited) SELECT id FROM npc WHERE level < x use this to store somewhere all raids and make an exception when spawnlist is loading Edited May 19, 2017 by melron Quote Share this post Link to post Share on other sites
0 DontKnow 1 Posted May 19, 2017 Posted May 19, 2017 SELECT id FROM npc WHERE level < x use this to store somewhere all raids and make an exception when spawnlist is loading I'm sorry i'm a bit noobish at this started learning 4 days ago. I did play l2 for 15 years and decided to make a server. Having 0 developing skills but 100% exp in how to make the most perfect balance that ever existed. Could you explain to me in more detail? What to do ? I know i'm annoying but i would like to learn the proper way. Quote Share this post Link to post Share on other sites
0 eressea 105 Posted May 19, 2017 Posted May 19, 2017 SQL? Is it really l2off? In l2off, just remove appropriate lines from npcpos.txt. In l2j it will be some DELETE FROM some_table_with_npc_spawns WHERE some_column_like_npc_id IN (SELECT id FROM table_with_npcs WHERE level<40); but I really don't know table and column names... Quote Share this post Link to post Share on other sites
0 DontKnow 1 Posted May 19, 2017 Posted May 19, 2017 SQL? Is it really l2off? In l2off, just remove appropriate lines from npcpos.txt. In l2j it will be some DELETE FROM some_table_with_npc_spawns WHERE some_column_like_npc_id IN (SELECT id FROM table_with_npcs WHERE level<40); but I really don't know table and column names... I have used this for monsters. DELETE spawnlist, npc FROM spawnlist, npc WHERE spawnlist.npc_templateid=npc.idTemplate AND npc.level<40 AND npc.type='L2Monster'; and it worked great. Tried to adapt it for raidboss_spawnlist but can't seem to make it work. And i tried to type in npc.type="L2Raidboss" didnt work. Quote Share this post Link to post Share on other sites
0 Tedd Law 0 Posted May 31, 2017 Posted May 31, 2017 man try making it for npc table not raidboss_spawnlist and use L2RaidBoss for npc type! Quote Share this post Link to post Share on other sites
Question
DontKnow 1
I need sql script that would delete rb's bellow certain lvl. Does anyone have that?
Share this post
Link to post
Share on other sites
7 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.