Jump to content
  • 0

drop


Question

11 answers to this question

Recommended Posts

  • 0
Posted

Is there any good way to add custom drop(coins) from every mob?

Lets say drop Mouse Coin with 3% chance from every mob!

Thanks!

Seach is good man try it :)

  • 0
Posted

I mean what do i have to do to make this happen,i know in mysql table there is section custom drop,but that would mean i have to enter ID of each mob 1 by 1,i was looking for faster way!

What should i edit in my database?

  • 0
Posted

Pls do not spam here about searching ethics,if you can help then post something if not then dont!

Its allways good to update infos!

btw try to do search with ADD DROP and you will see what comes up!

  • 0
Posted

I mean what do i have to do to make this happen,i know in mysql table there is section custom drop,but that would mean i have to enter ID of each mob 1 by 1,i was looking for faster way!

What should i edit in my database?

 

go to : gameserver/data/script

and chek there if you have any rar files just open and edit that will make everyone monster in map to drop what item you want

 

for example : i have already Valentines Script

 

edit that and restart server

 

<Event ID="Valentines Event" Active="01 Jan 2010-20 Feb 2020">

<AllDrop Items="6392"

Count="15,50"

Chance="75%">

</AllDrop>

 

<Event ID="Valentines Event" Active="01 Jan 2010-20 Feb 2020">
<Droplist>
	<AllDrop Items="6392"
		Count="15,50"
		Chance="75%">
	</AllDrop>
</Droplist>
<Message 
	Type="OnJoin"
	Msg="Event :All Monster in All Zone have chance drop Event - Medal , Rate now is: 80%">
</Message>
<Npc ID="12371">
	<Condition>
		<Inventory Items="4209-4217" Count="1" Operation=">="></Inventory>
	</Condition>
	<Take>
		<Item Items="4209-4217" Count="1" Type="OfEach"></Item>
	</Take>
	<Give>
		<Item ItemID="4625" Count="1"></Item>
		<Item ItemID="1540" Count="10"></Item>
		<Item ItemID="728" Count="10"></Item>
	</Give>
	<SystemMessage
		Msg="Congratulations. Receive your item.">
	</SystemMessage>
</Npc>
<EventEnd>
	<Take From="AllPlayers">
		<Item ItemID="4209-4217"></Item>
	</Take>
</EventEnd>
</Event>

  • 0
Posted

or you can use this

 

make  .sql files with this command

 

and just change id

 

insert into droplist (mobId, itemid, chance, min, max,category) select id, 4037, 1000000, 1, 1, 52 from npc where type='L2Monster';

  • 0
Posted

or you can use this

 

make  .sql files with this command

 

and just change id

insert into droplist (mobId, itemid, chance, min, max,category) select id, 4037, 1000000, 1, 1, 52 from npc where type='L2Monster';

gg

  • 0
Posted

I was also thinking about category ID,what does it indicate?

Btw using l2j datapack i was trying to add custom drop from mobs using admin panel in game but it did not work!

  • 0
Posted

I was also thinking about category ID,what does it indicate?

Btw using l2j datapack i was trying to add custom drop from mobs using admin panel in game but it did not work!

 

i dont know what/how you try from admin panel but that code who i post you before is better to add drop on all monster

 

insert into droplist (mobId, itemid, chance, min, max,category) select id, 4037, 1000000, 1, 2, 52 from npc where type='L2Monster';

 

just you need change that :

 

select id, 4037, 1000000, 1, 1, 52

 

 

select id, - dont change

4037 - Item ID

1000000 - chance

1 minimum drop

2 max drop

52category (from 1 to 100 recommend)

 

so when you edit that code just make new txt files and post code there

after that save files with name :  1.sql

and import in your database with navicat

  • 0
Posted

i dont know what/how you try from admin panel but that code who i post you before is better to add drop on all monster

 

insert into droplist (mobId, itemid, chance, min, max,category) select id, 4037, 1000000, 1, 2, 52 from npc where type='L2Monster';

 

just you need change that :

 

select id, 4037, 1000000, 1, 1, 52

 

 

select id, - dont change

4037 - Item ID

1000000 - chance

1 minimum drop

2 max drop

52category (from 1 to 100 recommend)

 

so when you edit that code just make new txt files and post code there

after that save files with name :  1.sql

and import in your database with navicat

 

One question: what are the differences in categories?

I allways use 0.. :O

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...