Jump to content
  • 0

Question

Posted

I'm using this event:

 

http://www.maxcheaters.com/forum/index.php?topic=131287

 

But I'm having a little trouble configuring it. I changed the droplist, but I don't know how to change the quantity. I want the drop from the squash to be max 1 for each item. Where can I change the drop quantity?

 

Edit: Oh, and I need the drop to be auto-loot. I have this enabled in my server but the items still drop on the ground.

4 answers to this question

Recommended Posts

  • 0
Posted

scripts/events/SquashEvent/SquashEvent.java

 

	{ 12774,  1060, 100 },	// Lesser Healing potion
	{ 12774,  1062,  50 },	// Haste potion
	// High Quality Squash
	{ 12775,  1539, 100 },	// Greater Healing potion
	{ 12775,  1375,  70 },	// Greater Swift Attack Potion
	{ 12775,  1459,  50 },	// Crystal c-grade
	// Low Quality Squash
	{ 12776,  1061, 100 },	// Healing potion
	{ 12776,  1062,  70 },	// Haste potion
	{ 12776,  1458,  50 },	// Crystal d-grade

	// Large Young Squash
	{ 12777,  1061, 100 },	// Healing potion
	{ 12777,  1374,  50 },	// Greater Haste potion
	// High Quality Large
	{ 12778,  1539, 100 },	// Greater Healing potion		
	{ 12778,  6036,  70 },	// Greater Magic Haste Potion
	{ 12778,  1459,  40 },	// Crystal c-grade
	// Low Quality Large
	{ 12779,  6035,  70 },	// Magic Haste Potion
	{ 12779,  1458,  50 },	// Crystal d-grade

	// King
	{ 13016,  1540, 100 },	// Quick Healing Potion
	{ 13016,  1460,  40 },	// Crystal b-grade
	{ 13016,  5234,  20 },	// Mystery Potion
	// Emperor
	{ 13017,  1540, 100 },	// Quick Healing Potion
	{ 13017, 20004,  40 },	// Energy Ginseng
	{ 13017,  1461,  20 },	// Crystal a-grade
	{ 13017,  5234,  10 }	// Mystery Potion

 

change drop... delete and leave one item per monster...

 

 

About auto loot:

 

i think need to change these lines

 

if(drop[1] > 20000)
					((L2MonsterInstance)mob).dropItem(player, drop[1], 2);
				else
					((L2MonsterInstance)mob).dropItem(player, drop[1], Rnd.get(2, 6));
				continue;

 

 

from dropItem to addItem, but its only suggest... Wait for some1 skilled in python and he answer you. :)

 

 

 

p.s. Rnd.get(2, 6)); 2 and 6 its drop count, from two to six...

 

p.s.s. delete some1 my first post.... :///

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

    • WTB GRACIA FINAL INTERFACE
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear partners! At the moment we are in great need of the following positions: — Snapchat old and new accounts | With snapscores | Geo: Europe/USA | Full access via email/phone number — Reddit old (brute or hacked origin, self-registered) accounts with post and comment karma from 100 to 100,000+ | Full email access included — LinkedIn old accounts with real connections | Geo: Europe/USA | Full email access + active 2FA password — Instagram old accounts (2010–2023) | Full email access (possibly with active 2FA password) — Facebook old accounts (2010–2023) | Full email access (possibly with active 2FA password) | With friends or without friends | Geo: Europe/USA/Asia — Threads accounts | Full email access (possibly with active 2FA password) — TikTok/Facebook/Google ADS Agency advertising accounts — Email accounts: mail.ru, yahoo.com, gazeta.pl, gmx.ch / gmx.de / gmx.net (BUT NOT gmx.com) — Google ADS Manual Farm accounts (verified via email and phone number) | GEO: USA/Europe, mostly USA. — WhatsApp OLD Accounts — Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! We are also ready to consider other partnership and collaboration options. Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • 冬天是享受优惠、省钱的好时机。 首次下单时使用促销码 SOCNET 即可获得 15% 折扣 ,适用于全场商品! 前往商店(网站) 前往商店(Telegram 机器人)
  • 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