Jump to content

Twineye

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Twineye's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. You need to increase the AddonMemory. 1) Go to character select screen and then 'Addons'. At top right corner is memory which you need to increase, let's say 150 Mb. 2) Go to WRobot > Settings > General-<char_name>.<server>.xml file. There's <MaxLuaMemoryUsage> that you need to set a bit lower than what you set inside the game, let's say: 145000 Restart the bot. Hopefully it helps
  2. Try using following lua script for bag = 0,4,1 do for slot = 1, GetContainerNumSlots(bag), 1 do local name = GetContainerItemLink(bag,slot); if name and string.find(name,"Healthstone") then local st = GetContainerItemCooldown(bag, slot); if st == 0 then UseContainerItem(bag,slot); break; end; end; end; end
  3. Not sure if it was fixed but I couldn't make it work properly with the lua that Droidz suggested or any other way, so I put one together that works with vanilla API local food, water = 0, 0; for bag = 0,4,1 do for slot = 1, GetContainerNumSlots(bag), 1 do local name = GetContainerItemLink(bag,slot); if name and string.find(name, "Conjured") then local _, count = GetContainerItemInfo(bag,slot); if string.find(name, 'Water') then water = water + count; else food = food + count; end; end; end; end; if food <= 4 then CastSpellByName('Conjure Food') end; if water <= 4 then CastSpellByName('Conjure Water') end
×
×
  • Create New...