I see - can you verify that your ingame calendar is showing darkmoon faire like on the screenshot?not today sorry...changed but you are fast![]()
Can you try this please?calendar same like your sc.
darkmoon faire active is red in my config. on kalimdor is green and jeremy, christoph green too.
Lua.DoString(@"local _,_,day=CalendarGetDate()
local eventCount=CalendarGetNumDayEvents(0,day)
print('Event Icons:')
for i=1,eventCount do
local _,_,_,_,_,_,icon=CalendarGetDayEvent(0, day, i)
print(icon)
end
print('No more icons')");
Event Icons:
calendar_darkmoonfaireterokkar
No more icons
okay.. that's seriously weird..Event Icons:
calendar_darkmoonfaireterokkar
No more icons
Log(Lua.GetReturnVal<int>(@"local _,_,day=CalendarGetDate()
local eventCount=CalendarGetNumDayEvents(0,day)
for i=1,eventCount do
local _,_,_,_,_,_,icon=CalendarGetDayEvent(0, day, i)
if icon==""calendar_darkmoonfaireterokkar"" then
return 1
end
end
return 0", 0) == 1);
cheersLook again![]()
Look againHey,
Glad to see that you have been working on some of the bugs, but I can't see the card for HBRelog support, am I blind?
Thanks
ok well i think i have the solution about the "Running not in combat behavior" endless.
I notice it happen when you don't have any pet to level up.
Could you do something about it ?
I have over 750 pets, so I never ran into that issue myselfI agree.
I got the " Running not in combat behavior" error as soon as my last pet hit level 25.
Then I got a new level 1 pet....and the error stopped....until he hit level 25...then the bot broke again.
Btw....amazing bot. Thanks for all the hard work. I never would have had a full stable of level 25 pets without it!
Hm. So we more or less tested that the lua should return the correct value. But HB grabs the wrong one. When I get to my pc, I will write up a few more tests. Could you (for the sake of locating the problem) try it on a fresh HB install and disable all plugins?Hi!
Try what you wrote.
The Result: False
Hm. So we more or less tested that the lua should return the correct value. But HB grabs the wrong one. When I get to my pc, I will write up a few more tests. Could you (for the sake of locating the problem) try it on a fresh HB install and disable all plugins?
I tried it with an older version HB, and all plugin off. Same problem.
Try this in HB ConsoleI tried it with an older version HB, and all plugin off. Same problem.
Log(Lua.GetReturnVal<int>(@"local _,_,day=CalendarGetDate()
local eventCount=CalendarGetNumDayEvents(0,day)
for i=1,eventCount do
local _,_,_,_,_,_,icon=CalendarGetDayEvent(0, day, i)
if icon==""calendar_darkmoonfaireterokkar"" then
print('DMF is active!')
return 1
end
end
print('DMF is not active')
return 0", 0) == 1);
Log(Lua.GetReturnVal<int>("return 1", 0) == 1);
Try this in HB Console
Code:Log(Lua.GetReturnVal<int>(@"local _,_,day=CalendarGetDate() local eventCount=CalendarGetNumDayEvents(0,day) for i=1,eventCount do local _,_,_,_,_,_,icon=CalendarGetDayEvent(0, day, i) if icon==""calendar_darkmoonfaireterokkar"" then print('DMF is active!') return 1 end end print('DMF is not active') return 0", 0) == 1); Log(Lua.GetReturnVal<int>("return 1", 0) == 1);
Let me know what it says in game chat frame and in Results in the console
And in game chat frame?I'm getting:
False
True
And in game chat frame?
I think I am closing in on a cause, and I have implemented a solution. I am not sure it will get out in time for this DMF.DMF is not active