Last edited by CHandest; 07-27-2013 at 05:19 AM.
Read my ultimate guide on how to AH bot in the guide section here at ownedcore :-)
k posted 46 as stable. hopefully it is!
highlight is the new API. see doc/Api.html . cant believe i spent time "coding" a doc lol... ill probably reuse it for future stuff though.
reminder: your existing scripts should work as always. just remember to keep the first 3 requires in Main.lua.
Did i miss something? The old bot is still 2x faster for me and new still getting stuck after relogin. :confused:
Hope you all switch to new bot so i will have the old faster one.![]()
just tested between 41 and 46 using the same LogSearch in both cases. 41 ran it in 18.4 and 46 at 20.2 sec. note my first priority with this release was stability and maintenance. squeezing out performance in old version led to instabilities which led to mispurchased loot... ill review performance next
plz use the following if you want to help compare your scripts between 41 and 46
Code:local old = haUpTime() -- your stuff haAlert(haUpTime() - old)
Last edited by ChuiChu; 07-28-2013 at 03:11 AM.
Tnx alot master Chui, the Doc are awesome know that the time you spent in there is much appreciated for a noob like me, very clear and easy to read.
Sorry to be me to ruin the party, but v46, xGetGold() report 0.....always, it log in and enter the auction house, but then report 0..if i force a relog, is still 0.
Still testing other stuffs, i need time to adapt the whole script, but i'm very exited, and for now, stability > all, then we will need speed, and that in line with what Chuichu said.
/bow
Thanks for the great job, Chui, everything is written up amazing!!!
I am getting a "Cannot get your payment info (3005) Error)" upon relog right now with the locating of the AH.
After relog, as it tries apparently to select the AH, it gives out this error, maybe it is trying to get the gold, I am not really sureCheers
+ When using xReset, the script stops upon logging in and the icon shows that no script is running - why it is not restarting I dont knowCheers
Last edited by Sehae; 07-28-2013 at 09:39 AM.
actually its intentionally waiting until D3 is ready for the next action. such as a button being ready for clicking or waiting on tooltip for highlight. ill add that "no tooltip" for reading items option next to speed things up btw.
also its really not possible to speed it up any further. in fact it sucks up a lot more CPU to speed it up than to slow it down... mainly because i have to poll every millisecond waiting for D3 to be ready for the next action.
i found the getgold bug. it only occurs if calling getgold from lobby because locate didnt give the AH enough time to load that info (gold is not available in memory at lobby).
i guess i should have just called it B after all lol.
update: i removed a one frame wait today and now performance is the same between 41 and 46. its at the point where i really cant make it faster where 99% of the delay is network latency. hopefully this change doesnt add the same instability of 41.
Last edited by ChuiChu; 07-28-2013 at 04:28 PM.
k posted 47...
@BlizzPaysMyBills let me know if its faster for you. also added the fast parameter you and others requested that skips reading tooltips:
- UPDATE: xGetSearchItem(index, fast): added fast parameter which if true skips reading item tooltip to improve performance.
if you want to apply this to old API edit Core/Old.lua and locate all xGetSearchItem(...) and make it xGetSearchItem(..., true)
@Sehae: were you logging into the RMAH? ive never seen that error. i may have fixed it with xGetGold fix assuming you called that early
@everyone with relogin issue: let me know if its better/fixed now![]()
Hi Chuichu! Thanks a lot for quick update.
I am still having the relogin issue with version 47. After relogging, the bot just stopped at the main screen (with your character standing in the middle and nothing else) and HA icon turned green.
I have tried starting the bot from the login screen and the AH but none worked.
If I call haLogout() directly in my script relogging works perfectly and continues work.
But if it reaches input limit automatically then try relogging, it stucks at the lobby screen. I tried with your sample event but nothing changed.
@RodeoRaider:xSetLogin('[email protected]','mypassword') -- create event function
function xEventLogout()
if xLogin() then
xLocate('auction')
xReset()
end end
if you try to relogging with haLogout() you need to add this line to your Events.lua:
and also you need to add this line to your main.lua like this:-- A logout has occurred
function xEventLogout()
xSetLogin('[email protected]','mypassword')
-- login loop
-- Core
require('Core.Api')
require('Core.Events')
require('Core.Old')
haSetLogin('[email protected]','mypassword')
Then start the bot from the menu. Only this worked for me.
Last edited by Fgura; 07-29-2013 at 04:46 AM.
oh Great work, ChuiChu!! finally new version comes out!!
but... If I have no instability in v41,
is there any reason for upgrade?
cuz... so many things have to change in my scripts....![]()
Tested, new version works fine for me, guess it was the problem with GetGold, which is fixed nowI also have a question about the fast parameter - what does it exactly do when implemented in the iteration.
Cheers, Chui
PS: Works well with multiclient as well![]()
Last edited by Sehae; 07-29-2013 at 09:27 AM.
How much are you guys earning from using this? :P
I get a wierd bug: in v47 when i close happyauction.exe in the bottom right corner of the windows taskbar, it doesnt really close it, i have to end the process in tsk manager to start a new one.
Also this mouse block thing, its good to be able to browse ah when you pause the script, without having to close the bot altogether.