Lineage 2 Tower Forum

Full Version: 1.4.1.84
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
  • L2Toxic antibot fix
  • Small fix in NPC shop
  • Small fix in "PacketManager"
  • GetNormalNPCExchangeManager():AddBuyByIndex removed
    LUA Programming
Command("/target Holly");
Talk();
GetNormalNPCExchangeManager():Clear();
while(not GetNormalNPCExchangeManager():GetStatus()) do
	Click("menu_select?ask=-1&reply=0", "Buy items and minerals.");
	Sleep(1000);
end;
GetNormalNPCExchangeManager():AddBuyByID(3031,11);
GetNormalNPCExchangeManager():RequestBuyItems();
Sleep(100);
GetNormalNPCExchangeManager():RequestShopUIClose();


this supposed to buy 11 Spirit ore from Aden Grocery but its still doesnt.(Tauti NCwest)
Edit: For Tauti you can downgrade to .83 until Sakaszli will fix it.
it's works lololo

    LUA Programming
Talk();
GetNormalNPCExchangeManager():Clear();
while(not GetNormalNPCExchangeManager():GetStatus()) do
	Click("menu_select?ask=-1&reply=0", "Buy/Sell/Refund.");
	Sleep(1000);
end;
ShowToClient("",tostring(GetNormalNPCExchangeManager():AddBuyByID(3031,11)));
ShowToClient("",tostring(GetNormalNPCExchangeManager():RequestBuyItems()));
Sleep(100);
GetNormalNPCExchangeManager():RequestShopUIClose();

yes i just noticed with ShowToclient it works but without it it doesnt work unless I add Sleep(100) like this
GetNormalNPCExchangeManager():AddBuyByID(3031,11);
Sleep(100);
GetNormalNPCExchangeManager():RequestBuyItems();
Reference URL's