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

Thread Closed 
 
Thread Rating:
  • 11 Vote(s) - 1.36 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use other items from inventory?
Author Message
ursuhack2 Offline
Amber Basilisk
*

Posts: 39
Joined: Dec 2011
Reputation: 0
Version: 1.4.1.73
Post: #11
RE: How to use other items from inventory?

    LUA Programming
repeat
	if(GetMe():GetBuffsCount()  < 4) then
		ShowToClient("Buffs:","DOWN time to use scrol");
		UseItem(34006);
		Sleep(1000);
		UseItem(34007);
		Sleep(1000);
		UseItem(34008);
		Sleep(1000);
		UseItem(34009);
		Sleep(1000);
		UseItem(34010);
		Sleep(1000);
		UseItem(34011);
		Sleep(1000);
	end;
	Sleep(1000);
until false;


this should be what you guys wanted
01-24-2012 14:21 PM
Find all posts by this user
Hebdzik Offline
Tester

Posts: 1,235
Joined: Aug 2011
Reputation: 265
Version: 1.4.3.143
Post: #12
RE: How to use other items from inventory?

its still not. They need time checker not buffs like i made for them

    LUA Programming
repeat
	ShowToClient("Buffs:","DOWN time to use scrol");
	UseItem(34006);
	Sleep(1000);
	UseItem(34007);
	Sleep(1000);
	UseItem(34008);
	Sleep(1000);
	UseItem(34009);
	Sleep(1000);
	UseItem(34010);
	Sleep(1000);
	UseItem(34011);
	Sleep(29*60*1000); --min*sec*ms 29*60*1000 = 29min
until false;


but its simple version. Personaly i will also add to this cheaker, does item that you want use is in your inventory, if not it will step it if exist it will use it every 29min.
(This post was last modified: 01-24-2012 14:28 PM by Hebdzik.)
01-24-2012 14:27 PM
Find all posts by this user
ursuhack2 Offline
Amber Basilisk
*

Posts: 39
Joined: Dec 2011
Reputation: 0
Version: 1.4.1.73
Post: #13
RE: How to use other items from inventory?

(01-24-2012 14:27 PM)wppw Wrote:  its still not. They need time checker not buffs like i made for them

but its simple version. Personaly i will also add to this cheaker, does item that you want use is in your inventory, if not it will step it if exist it will use it every 29min.

yep, that would be a nice adition too, i just saw that it would be need it.
01-24-2012 14:31 PM
Find all posts by this user
mehipsta19 Offline
Goblin Grave Robber
*

Posts: 11
Joined: Jan 2012
Reputation: 0
Version: 1.4.1.89
Post: #14
RE: How to use other items from inventory?

(01-24-2012 14:31 PM)ursuhack2 Wrote:  
(01-24-2012 14:27 PM)wppw Wrote:  its still not. They need time checker not buffs like i made for them

but its simple version. Personaly i will also add to this cheaker, does item that you want use is in your inventory, if not it will step it if exist it will use it every 29min.

yep, that would be a nice adition too, i just saw that it would be need it.

How can i find the items ID's? For example Drum Melody Scroll (event) and Elixir of Blessing Event (R grade)?
01-27-2012 14:20 PM
Find all posts by this user
Hebdzik Offline
Tester

Posts: 1,235
Joined: Aug 2011
Reputation: 265
Version: 1.4.3.143
Post: #15
RE: How to use other items from inventory?

go to L2Tower Floder->config -> game path -> items.txt
01-27-2012 14:28 PM
Find all posts by this user
mehipsta19 Offline
Goblin Grave Robber
*

Posts: 11
Joined: Jan 2012
Reputation: 0
Version: 1.4.1.89
Post: #16
RE: How to use other items from inventory?

(01-27-2012 14:28 PM)wppw Wrote:  go to L2Tower Floder->config -> game path -> items.txt

i made a script in 'script' file in l2tower named it Items.lua. I wrote this inside to try it.Its Elixir of Event Tersi event.

repeat
ShowToClient("Buffs:","DOWN time to use scrol");
UseItem(34015);
Sleep(1000);
Sleep(2*60*1000);
until false;

When i activate the script i can see on chat 'Buffs:","DOWN time to use scrol' but it doesnt seem to work...
01-27-2012 16:32 PM
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Information Dark items CP lf HEAL / ISS !! FreeXi 6 4,721 03-20-2015 21:37 PM
Last Post: FreeXi
  Open Inventory tuxevil 1 3,015 09-25-2014 21:55 PM
Last Post: kerberos464
Information Careful new wave of invisible items tuxevil 6 4,650 08-03-2014 22:48 PM
Last Post: inouext
  Favor about invisible items/mobs james21 0 2,116 03-16-2014 20:27 PM
Last Post: james21
  Meshless items - official Forsakendeamon 3 3,342 01-28-2013 16:01 PM
Last Post: amiroooo
  Use items- CP erawind 0 2,152 11-28-2012 23:33 PM
Last Post: erawind
  Invisible Items Scabies 3 3,950 04-09-2012 16:11 PM
Last Post: Scabies
  No skills no spoil no buff no items use(with dump file) Kretsman 9 6,585 03-14-2012 17:50 PM
Last Post: Kretsman
  Ignore Pickup Items (Filter) spygr 15 19,330 01-24-2012 22:21 PM
Last Post: Hebdzik



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