Lineage 2 Tower Forum

Full Version: delete d grade items
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Tried about every script on here, and tried editing some of the old proof script's and all of them have line exceptions in the coding.

yea yea, im a VIP user, and my xcfg doesn't read my pickit files, correct, hmmm worth paying for? anyway...

anyone have a script they use to delete the junk drops that overweight ur character's at isle of souls for example..

Getting like 5 manticore drops every 30 mins.. Please Help
This is a basic script, i'm use it at GF to delete proof of survive. You need to be VIP.

Only Add the list of id items to delete.

    LUA Programming
-- L2TOWER:LUA | repeat delete selected items from inventory
ShowToClient("GOD","AutoDel item: Enabled!");
 
 
function DeleteItems(ItemId)
	local invList = GetInventory();
		for item in invList.list do
			if(item.displayId == ItemId) then
				DeleteItem(item.objectId, item.ItemNum);
				ShowToClient("GOD","Item found and delete!")
			end;
		end
end;
 
 
repeat
	DeleteItems(34898); -- Proof of Survival item ID
	Sleep(1000)
	--DeleteItems(xxxx); -- Item ID
	--Sleep(1000)	
	--DeleteItems(xxxx); -- Item ID
	--Sleep(1000)
 
	Sleep(10*1000); -- 10 sec
until false;

Im no longer getting a script error with this, but it seems the item ID's are off for the older stuff? is there anyway to see the ID of items in ur inventory

Thanks a ton for this!
Reference URL's