03-23-2014, 23:11 PM
03-23-2014, 23:37 PM
use shortcut ?
03-23-2014, 23:40 PM
03-24-2014, 00:20 AM
He means you put your potion on your skill bar and use for example
Another thing you can do is simply write .recstart custompots, then use potion then .recstop. This way u`ll see the id of the potion
Another thing you can do is simply write .recstart custompots, then use potion then .recstop. This way u`ll see the id of the potion
03-24-2014, 01:03 AM
search there are 99999999 examples of using shortcuts
PS read
Possibly Related Threads...
PS read
Possibly Related Threads...
03-27-2014, 14:43 PM
(03-24-2014 00:20 AM)eustach3 Wrote: [ -> ]He means you put your potion on your skill bar and use for example
Another thing you can do is simply write .recstart custompots, then use potion then .recstop. This way u`ll see the id of the potion
how i can see ???
explain more plz
03-27-2014, 18:03 PM
Well, usually you can see by opening your eyes...
I`ll have to guess then... Well probably you dont know how to "see" what u recorded, so follow these steps:
1. After injecting l2tower and joined the server, type .recstart custom
2. Use custom potion
3. type .recstop
4. go in your l2tower folder then double click L2TowerScript.exe
5. go to file -> open -> select custom.lua
6. You will see UseItem(XXXX) => XXXX is your item id.
I`ll have to guess then... Well probably you dont know how to "see" what u recorded, so follow these steps:
1. After injecting l2tower and joined the server, type .recstart custom
2. Use custom potion
3. type .recstop
4. go in your l2tower folder then double click L2TowerScript.exe
5. go to file -> open -> select custom.lua
6. You will see UseItem(XXXX) => XXXX is your item id.
03-28-2014, 19:41 PM
(03-27-2014 18:03 PM)eustach3 Wrote: [ -> ]Well, usually you can see by opening your eyes...
I`ll have to guess then... Well probably you dont know how to "see" what u recorded, so follow these steps:
1. After injecting l2tower and joined the server, type .recstart custom
2. Use custom potion
3. type .recstop
4. go in your l2tower folder then double click L2TowerScript.exe
5. go to file -> open -> select custom.lua
6. You will see UseItem(XXXX) => XXXX is your item id.
ty
nice explication
ty again
03-28-2014, 20:17 PM
(03-23-2014 23:11 PM)mark1975 Wrote: [ -> ]hello
i can use custom potion with tower ??
i have alot custom potion and i can use ; exist some metod ??
ty
CP
LUA Programming
ShowToClient("POTS","Superior CP pots");
PN = "Superior CP Potion";
function GetItemAmountByName(name)
local invList = GetInventory();
for item in invList.list do
if (item.Name == name) then
PNID = item.displayId;
return item.ItemNum;
end;
end;
return 0;
end;
repeat
I = GetMe();
if(I:GetCpPercent() < 95) and (GetItemAmountByName(PN) > 0) then
UseItem(PNID); -- Superior CP Potion
Sleep(250);
end;
Sleep(200);
until false;
HP
LUA Programming
ShowToClient("POTS","Superior HP pots");
--UseItem(35930); -- Healing Potion of Chaos
PN = "Healing Potion of Chaos";
function GetItemAmountByName(name)
local invList = GetInventory();
for item in invList.list do
if (item.Name == name) then
PNID = item.displayId;
return item.ItemNum;
end;
end;
return 0;
end;
repeat
I = GetMe();
if(I:GetHpPercent() < 100) and (GetItemAmountByName(PN) > 0) then
UseItem(PNID); -- Superior CP Potion
Sleep(250);
end;
Sleep(200);
until false;
03-31-2014, 21:32 PM
(03-28-2014 20:17 PM)TheQQmaster Wrote: [ -> ](03-23-2014 23:11 PM)mark1975 Wrote: [ -> ]hello
i can use custom potion with tower ??
i have alot custom potion and i can use ; exist some metod ??
ty
CP
LUA Programming
ShowToClient("POTS","Superior CP pots"); PN = "Superior CP Potion"; function GetItemAmountByName(name) local invList = GetInventory(); for item in invList.list do if (item.Name == name) then PNID = item.displayId; return item.ItemNum; end; end; return 0; end; repeat I = GetMe(); if(I:GetCpPercent() < 95) and (GetItemAmountByName(PN) > 0) then UseItem(PNID); -- Superior CP Potion Sleep(250); end; Sleep(200); until false;
HP
LUA Programming
ShowToClient("POTS","Superior HP pots"); --UseItem(35930); -- Healing Potion of Chaos PN = "Healing Potion of Chaos"; function GetItemAmountByName(name) local invList = GetInventory(); for item in invList.list do if (item.Name == name) then PNID = item.displayId; return item.ItemNum; end; end; return 0; end; repeat I = GetMe(); if(I:GetHpPercent() < 100) and (GetItemAmountByName(PN) > 0) then UseItem(PNID); -- Superior CP Potion Sleep(250); end; Sleep(200); until false;
ty
i will try to put my potion id and make working for me