3:2pm - ...adek/Downloads/rombot/scripts/rom/classes/player.lua:1803: Error in y
our profile: onLeaveCombat error: ...ers/Radek/Downloads/rombot/scripts/rom/func
tions.lua:756: bad argument #1 to 'memoryReadByte' ((null))
<onLeaveCombat><![CDATA[
if player:findNearestNameOrId("Mysterious Bag") and inventory:itemTotalCount(0) ~= 0 then
player:target_Object("Mysterious Bag")
yrest(800)
player:loot()
yrest(900)
elseif inventory:itemTotalCount(0) == 0 then
__WPL:setWaypointIndex(__WPL:findWaypointTag("sell"));
end
]]></onLeaveCombat>
This is some sort of timing issue or pc performance issue. Argument #1 of any memory read command will be "getProc()". That should always return the client process. If it returned null as the error suggests then for a moment the bot couldn't see the client. Maybe you were doing something else with your computer that momentarily used so much of the processing power that the bot wasn't able to communicate with the client so getProc() returned nil. I'm just speculating as I've no way to test this. Maybe you could try increasing the client and bot cpu priority using the task manager. That might work (assuming the problem is as I described).
Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
Ah and i have second question with daily quest on logar.
What do I need to do, to bot received from the Mailbox items only once and then continue doing daily quests? (I have addon from this forum and installed userfunction)