benbt91
VIP Member
Posts: 694
Joined: Mar 2012
Reputation: 47
Version:
1.4.3.143
|
html ?
hix ! how i can take item is this :
[img] [/img]
this html ?
|
|
02-28-2014 12:50 PM |
|
MtnDew
VIP Member
Posts: 500
Joined: Mar 2012
Reputation: 110
Version:
1.4.2.141
|
RE: html ?
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.
+1 or +2 me if I helped you or you think I'm an ass.
|
|
02-28-2014 13:31 PM |
|
Reputed by : | benbt91(+2) |
benbt91
VIP Member
Posts: 694
Joined: Mar 2012
Reputation: 47
Version:
1.4.3.143
|
RE: html ?
(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
|
|
02-28-2014 15:40 PM |
|