Jump to content
  • 0

drop


fokys
 Share

Question

11 answers to this question

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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!

Link to comment
Share on other sites

  • 0

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>

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

 Share



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock