Yes, both work perfectly.
alcor75: My script still working fine with the HA41 so maybe my script works in another way than your.
EDIT: okay, if you guys say this version works well I have to edit my own script to get compatible with the new HA ...
Yes, both work perfectly.
alcor75: My script still working fine with the HA41 so maybe my script works in another way than your.
EDIT: okay, if you guys say this version works well I have to edit my own script to get compatible with the new HA ...
Last edited by Fgura; 08-07-2013 at 05:52 AM.
I had to tune my script to use it with v49 succesfull, so maybe you need to.. but who know, i might be wrong..
- about v49
GOD DA***** it
you are A GOOOOOOOOOOOOOOOOD !!!!!!!!!!!!!!!!!!!!
five thumbs up!!!!!!
thx master ChuiChu!
finally lol
thx for putting up with last 8 builds guys
NOTE: my goal is to maintain old script compatibility for a long time.
however the ONLY thing need doing now is to include the 3 requires
so plz let me know whatever quirks you find between now and 41![]()
Last edited by ChuiChu; 08-07-2013 at 06:29 AM.
If you try to run this sample script it WILL stuck in the lobby screen after several relogin occurs. Exactly the same happening with my own script. Randomly of course. Tried with /without vsync. Events.Lua and Main.lua DIDN'T modified! Only haSetLogin edited in the Main.lua
EDIT: I already solved my problem with those filters after relog occurs. I forgot to add this ***** line to my own SnipeBuyout.lua. it seems this part of my script finally works.function SnipeBuyout()
xSetBuyout(10000)
xSetLevel(60,60)
local buyout = xGetBuyout()
if buyout <= 0 then
xMessage('Set some filters and a low buyout')
else
while true do
xSetBuyout(buyout, true)
if xSearch() then
xSleep(100, 500)
haLogout()
local item = xGetSearchItem(1)
-- prompt to confirm buyout. this is purely so noobs dont lose $$$. remove otherwise.
if xPrompt('buy "' .. item.name .. '" for ' .. item.buyout .. '?\n\n(CTRL-F12 to stop script)') then
xBuyout(1)
end
end
end
end
end
EDIT2: I added some xSleep() before/after xReset() it seems every function working now. Still testing...
Last edited by Fgura; 08-07-2013 at 09:21 AM.
I must admit i've seen v49 stuck at lobby, randomly, and not moving from there, ha was still running.
testing now some delay.
Beside that is super cool!!!!
seems "haSortTimeLeft()" not working in v49 Im right?
v48 had bugs as guys reported - i didn't report because they had the same bugs as me so i was just waiting for the fix, v49 seems better - no obvious bugs after a few minutes of testing, but need more time to watch ..
speed also seems ok now
problems with relog solved for me by replacing old login and logout commands for the new ones starting with "x"
if i find something not working properly i will report later, so far it seems like good job from ChuiChu![]()
haSortTimeLeft() works correctly here.
I added xSleep(100) everywhere in the Events.lua. The bot works fine.
It stucked once in the menu and once in the lobby but there wasn't xSleep() added.
Hopefully if I add enough xSleep() to Events.lua my problem will be solved.
Last edited by Fgura; 08-07-2013 at 02:26 PM.
Hi Chuichu,
I am now only having a problem with the bot stopping at AH screen after a random number of relogging. The HA icon turned green at the time of error. Does this mean that the bot crashed because of something in my script?
Sad for you. I use OLD api + multiclient and there isn't any login problem..I use new API + multiclient on various systems but no log-in problems![]()
But if I try to set the bot an another computer there is relogin problems with same settings.
I think there is no difference if you use old or new api there is something wrong with HA49.
sad for you, new api ~= old api
though core.old "link" old api to new api, that's not enough.
if you manually convert old scripts to new scripts, you can notice that they are DIFFERENT.
if you have problems v49, recommend ONLY USE NEW API and remove 'require core.old'(optional)
Last edited by DripDropFun; 08-08-2013 at 05:07 AM.
Hi Chuichu and everyone,
Using old or new API does not seem to solve the problem for me. Debugging showed me that the culprit is still xLocate. xLocate sometimes still fails which leads to the failure of xReset(). I used the following piece of code to debug:
function xEventLogout()
if xLogin() then
if xLocate('auction.search.equipment') ~= true then
xMessage("locate failed")
end
xReset()
end
end
Also, I found another error: xGetSearchItem sometimes fails with the 1st item in the search result. I printed out the item index at the time of error and it was 1 (so it's not like I am calling the function with index = 0 or anything).
Last edited by RodeoRaider; 08-08-2013 at 06:13 AM.