Lineage 2 Tower Forum

Full Version: html ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hix ! how i can take item is this :
[img][/img]
Sad this html ?
no, its build in window
    LUA Programming
moveDistance = 30;
 
TargetNpc("Valfar", 32146);
MoveTo(-118110, 255197, -1328, moveDistance);
Talk();
GetNormalNPCExchangeManager():Clear();
while(not GetNormalNPCExchangeManager():GetStatus()) do
Click("menu_select?ask=717&reply=717", "Use the Certificate of Courage");
Sleep(1000)
GetNPCExchangeManager():RequestMultiSell( 11701, 1 ); -- Crossbow
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
GetNPCExchangeManager():RequestMultiSell( 12074, 1 ); -- Leather top
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
GetNPCExchangeManager():RequestMultiSell( 12075, 1 ); -- Leather Boots
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
GetNPCExchangeManager():RequestMultiSell( 12079, 1 ); -- Helm
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
GetNPCExchangeManager():RequestMultiSell( 12076, 1 ); -- Gauntlets
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
GetNPCExchangeManager():RequestMultiSell( 1463, 10 ); -- Soulshots
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
Sleep(100);
GetNormalNPCExchangeManager():RequestShopUIClose();
ClearTargets();
Sleep(5000)
Sleep(100);
UseItem(11701); -- Common Item - Arm Breaker
Sleep(100);
UseItem(12074); --Common Item Salamander Skin Mail
Sleep(100);
UseItem(12075); --Common Item - Salamander Skin Boots
Sleep(100);
UseItem(12079); -- Common Item - Plate Helmet
Sleep(100);
UseItem(12076); -- Common Item - Ogre Power Gauntlets
Sleep(100);
UseItem(112); 
Sleep(100);
UseItem(112);
Sleep(100);
ActivateSoulShot(1463, true); -- Soulshot D Grade
Sleep(100);
end;


Modify item names and NPC for your own needs.
(02-28-2014 13:07 PM)ClockMan Wrote: [ -> ]no, its build in window

Thnks ClockMan !

(02-28-2014 13:31 PM)MtnDew Wrote: [ -> ]
    LUA Programming
moveDistance = 30;
 
TargetNpc("Valfar", 32146);
MoveTo(-118110, 255197, -1328, moveDistance);
Talk();
GetNormalNPCExchangeManager():Clear();
while(not GetNormalNPCExchangeManager():GetStatus()) do
Click("menu_select?ask=717&reply=717", "Use the Certificate of Courage");
Sleep(1000)
GetNPCExchangeManager():RequestMultiSell( 11701, 1 ); -- Crossbow
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
GetNPCExchangeManager():RequestMultiSell( 12074, 1 ); -- Leather top
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
GetNPCExchangeManager():RequestMultiSell( 12075, 1 ); -- Leather Boots
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
GetNPCExchangeManager():RequestMultiSell( 12079, 1 ); -- Helm
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
GetNPCExchangeManager():RequestMultiSell( 12076, 1 ); -- Gauntlets
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
GetNPCExchangeManager():RequestMultiSell( 1463, 10 ); -- Soulshots
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(1000);
Sleep(100);
GetNormalNPCExchangeManager():RequestShopUIClose();
ClearTargets();
Sleep(5000)
Sleep(100);
UseItem(11701); -- Common Item - Arm Breaker
Sleep(100);
UseItem(12074); --Common Item Salamander Skin Mail
Sleep(100);
UseItem(12075); --Common Item - Salamander Skin Boots
Sleep(100);
UseItem(12079); -- Common Item - Plate Helmet
Sleep(100);
UseItem(12076); -- Common Item - Ogre Power Gauntlets
Sleep(100);
UseItem(112); 
Sleep(100);
UseItem(112);
Sleep(100);
ActivateSoulShot(1463, true); -- Soulshot D Grade
Sleep(100);
end;


Modify item names and NPC for your own needs.

Thnks MtnDew
Big Grin
Reference URL's