L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
delete d grade items
Author Message
dekinfrost Offline
Expired VIP Member
**

Posts: 6
Joined: Oct 2015
Reputation: 0
Version: 1.4.3.143
Post: #1
delete d grade items

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
11-10-2015 06:06 AM
Find all posts by this user Quote this message in a reply
rORUMI Offline
Expired VIP Member
**

Posts: 278
Joined: May 2014
Reputation: 50
Version: 1.4.2.142
Post: #2
RE: delete d grade items

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;

11-10-2015 06:52 AM
Find all posts by this user Quote this message in a reply
dekinfrost Offline
Expired VIP Member
**

Posts: 6
Joined: Oct 2015
Reputation: 0
Version: 1.4.3.143
Post: #3
RE: delete d grade items

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!
11-10-2015 06:57 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Steel Coins Items Dwarf 7 4,043 03-06-2015 14:45 PM
Last Post: Dwarf
  items.txt modnar 0 1,810 03-11-2014 02:38 AM
Last Post: modnar



User(s) browsing this thread: 1 Guest(s)