The bot still don't prefer Taunt minions ,or I need to do smth in the script to make it work ?
The bot still don't prefer Taunt minions ,or I need to do smth in the script to make it work ?
Only problem is the DC... But THANKS!
AI.txt
For whatever reason it wouldn't let me attach a .lua file, so make sure to change it before you use it, but this should work for all non-target hero abilities
"ERROR: Unable to open connection to bot!
Check that Hearthstone is running and injected"
Hearthstone is running and injected .-.
Last edited by Tnickyf; 03-26-2014 at 01:53 PM.
I keep getting an error code when injecting. It says:
Error: Unsuccessfull injecion file creation (error code = 1)!
check the injector log file (log/injector.log)
The log shows
System.TypeInitializationException: The type initializer for 'Mono.Cecil.Metadata.TableHeap' threw an exception. ---> System.ArgumentException: Value does not fall within the expected range.
at System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(Array array, RuntimeFieldHandle fldHandle)
at Mono.Cecil.Metadata.TableHeap..cctor()
--- End of inner exception stack trace ---
at Mono.Cecil.PE.ImageReader.ReadTableHeap()
at Mono.Cecil.PE.ImageReader.ReadImage()
at Mono.Cecil.PE.ImageReader.ReadImageFrom(Stream stream)
at Mono.Cecil.ModuleDefinition.ReadModule(Stream stream, ReaderParameters parameters)
at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
at HearthstoneBot.Program.getHookInMethod()
at HearthstoneBot.Program.Main(String[] args)
Anyone know anything?
Playful sprites problems have come back to haunt after yesterday maintenance. Actually the problem doesn't occur often.
Last edited by tatchan1304; 03-27-2014 at 03:37 AM.
I think I found the solution to the bot not being able to connect to the game. It looks like these issues will occur only if you're running HS from a drive other than C.
I have been using this bot with good results, after changing the script to use non-target hero power with leftover mana (bot keeps trying to use hero power more than once, but eventually the turn ends).
Does anyone know how to make the hero attack with weapons?
I guess you've been busy with your life, but are you still developing this awesome project Skeen?
I've just been having exams, and I'm currently working on my 3D printer, and the CuraEngine 3D slicer, and hence I'm unlikely to put a lot of work into this currently.
I have something to announce however, I've been able to create a minimax based AI for the bot, but the performance currently is horrible (sometimes talking 5 minutes, to evaluate what to do (when the search space is huge)), and hence it's currently only able to play pratice mode (where you don't get the rope). - It does however have a superb win rate! - I'm going to try to implement some cleaver caching schemes, and optimize away a lot of Lua/C# boundary calls (which seems to be the bottleneck). My aim is to get the AI to run in ~10-15seconds calculation.
The general idea of this new AI, is that it actually simulates all possible combinations of moves, and finds the best possible board output configuration, i.e. the board configuration, where you're "winning", each configuration is evaluated via a heuristic, which will eventually be the only thing to tweak to improve the AI. - This is in essence the kind of AI one uses for chess bots that are able to beat chess grandmasters, and with a well tweaked heuristic, it should be able to reach ranked ~5.
That sounds really good Skeen, can't wait for it, since your bot is working just as well as the other going-to-be-pay-to-use ones, or at least, for my deckHowever, if possible, would you mind doing a hot fix that allows the bot to attack without needing the mouse on the screen? It'd really help a lot as no vmware and autoclick will be needed anymore.
Last edited by tatchan1304; 04-06-2014 at 08:08 PM.
Not sure if anyone has mentioned it, but I did find a bug I'm trying to work out into the program now. Basically, if you have a card that's battlecry needs to target something (take elven archer for example), the program refuses to target and will continue to attempt and select a new card. Not sure if this is specific to the card or just a general thing, but is something that would be good to get worked out![]()
Can't really do anything with a warlock deck, it just sits there trying to use a spell that needs a target =/
Hi, how to i modify the bot for use the hero power? with the version compiled? or uncompiledthanks!