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

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

    • Added FloodProtector utility to prevent packet flooding for actions like item use and dice rolling. Integrated flood protection checks in relevant client packet handlers and registered/removal hooks in player lifecycle. Updated movement logic in L2PcInstance for improved position synchronization and geodata handling. Minor fixes and refactoring in attack logic, private store handling, and admin NPC editing. Refactored AI classes to enhance movement, attack, and skill usage logic for characters and mobs. Improved distance checks, attack range calculations, and skill casting conditions. Removed unused intention command logic from L2CharacterAI. Updated configuration to enable CellPathFinding. Minor code cleanups and bug fixes for more reliable AI behavior. Enhanced GeoPathFinding with detailed debug and error messages for region loading, including success/failure counts and file checks. Refactored L2AttackableAI and L2CharacterAI to improve attack range tolerance, immediate attack behavior, and added safety checks for missing targets. Updated configuration to disable CellPathFinding by default and added a new ShowRedName option for aggressive mobs. Minor config and log updates included. Applied TCP socket optimizations (e.g., TCP_NODELAY, buffer sizes, keepalive) in ClientThread, Connection, and SelectorThread to reduce latency and improve throughput. Enhanced L2AttackableAI with better random walk, aggro, and attack logic, including silent move checks, quest monster handling, and improved faction/raid/minion behavior. Added silent move support to L2PlayableInstance and quest monster flag to L2NpcTemplate/L2NpcInstance. These changes aim to improve server responsiveness, AI realism, and overall stability.
    • I’ve been using this Escape from Tarkov Hack for about a week now with no issues at all. ESP works great without any lag, and the aimbot is smooth and doesn't feel obvious. Had a quick setup with the loader, and support answered my questions right away. The HWID spoofer also did its job without messing with my system. So far, the cheat's staying undetected on my side.
    • Hello everyone, this is ADENA L2REBORN / LU4 / MASTERWORK We also have items, epics, etc. discord - adver745645 Our prices are reasonable, so have a nice shopping and a nice day.
  • Topics

×
×
  • 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