Lineage 2 Tower Forum

Full Version: need mana script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi i need help i try to post in help section but i cant post there i got l2tower v1.4.1.112 but if i put item on he dont use is so someone maybe have a script for me so that the walker can use mp pots Big Grin

greeting

its for es-l2.com and how can you find out the item id from the server??


greeting
Code:
function OnLTick1s()
if GetMe():GetMpPercent() < 55 then
UseItem(XXXX);
end;
Replace XXXX with id of your mana potion. If you dont know it, you may wanna go to your tower folder then config folder, then the folder with your l2.exe path then items.txt. Use search and find it, then relace XXXX with that id
not work
(11-10-2014 05:53 AM)jackoline Wrote: [ -> ]not work
u are so pro, all for u dont work, for others works turn on brains...
but he is right, that plugin can't work.
to make it working need to change UseItem to UseItemRaw and use objectId instead of diplayId.
consider it as a hint Smile
(11-10-2014 10:43 AM)kerberos464 Wrote: [ -> ]but he is right, that plugin can't work.
to make it working need to change UseItem to UseItemRaw and use objectId instead of diplayId.
consider it as a hint Smile

here my post http://forum.l2tower.eu/thread-use-custo...9#pid62599

and in same topic he told that thoose scripts dont work too, but for me works, how that can be ?


btw reply http://forum.l2tower.eu/thread-use-custo...7#pid79937
you say about script (of course, using UseItem is possible in scripts).
i say about plugin by eustach3 in second post of this topic (using UseItem is impossible in plugins).
Yeh,I know that UseItemRaw is for plugin, but im using that plugin (wich i posted) from the beginning of my l2T experience and it`s going just fine
Reference URL's