- d303fix
- adv auction house
- adv questbook
- fusion
- Guildpanel
- ingame functions
- Kcombo
- Lootfilter++
- Monstercard Tooltip
- pbInfo
- PetAutoEvent
- PlantCare
- QuickDeleteQuestItem
- Streamline
- UBL
- WCombo
- WowMap
- WowMapInstances
Botje
Of course it'll be '0'. In that 'if' statement it will always be '0'. Doh! Sorry.botje wrote:got 0 as value, all the time.
Code: Select all
-- Check that an edit box in game doesn't have focus
if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
keyboardPress(settings.hotkeys.ESCAPE.key);
end
-- Check if edit box still has focus
if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
error("An edit box in game has focus. Please close it before restarting the bot.",0)
end
Code: Select all
if( deltaTime(getTime(), startWaitTime) > 800 ) then
tryagain = true
break
end;
Code: Select all
if( deltaTime(getTime(), startWaitTime) > 800 ) then
if memoryReadUInt(getProc(), addresses.editBoxHasFocus_address) == 0 then
keyboardPress(settings.hotkeys.ESCAPE.key);
end
tryagain = true
break
end;
I'll change it on my next commit.botje wrote:ok, added that last part you wrote up, and...
all is ok now
no more problems ^^
botje
Users browsing this forum: No registered users and 5 guests