Announcing HearthstoneBot, a derivative of Bot of Stone.
HearthstoneBot is open source, the repository can be found at;
*
Pull requests, patches, tickets, ect., are VERY welcome!
Missing a feature? Found a bug? Wanna impact development?
- Head over to the ticket tracker at;
* Vote your favorite ticket, and the development focus will be on that!
HearthstoneBot focuses on AI custom-ability via AI scripts written in Lua.
If you develop a customization to the default AI scripts (or an AI from scratch), please do share it.
This project is controlled via a command line interface, i.e. there is NO GUI.
Also the project relies on mono, however this is distributed with the bot in the zip-file.
The current release can be downloaded here;
*
Changelog:
* v1.0 - Now packed with mono, for easier adaption.
* v1.1 - Fixed 'LoaderCommandline.bat' and removed Helper.lua
* v1.2 - Removed mono dependency
* v1.3 - Minions will now only try to attack, if they're able to.
Run 'LoaderCommandline.exe' from cmd, in order to get the help menu.
Typical usage will be;
* Run "LoaderCommandline.exe --set_hs_path="C:\Program Files (x86)\Hearthstone""
* Open Battlenet
* Run "LoaderCommandline.exe --regen_inject inject"
* Wait for the command to be done indicated by the message; "Ready to launch Hearthstone"
* Launch Hearthstone
* Wait for Heartstone to be booted
* Run "LoaderCommandline.exe startbot"
* Bot should start up automatically, and join a non-ranked player match.
Hey skeen, I tried messing around with the files with the first release and 1.0 (packed with mono), and found out that I had to copy and paste the assembly.dll file from the first release to the current one because Loadercommandline.exe --regen_inject inject gives me an error:
Did everything successfully. The mono cmd says "Ready to launch Hearthstone", I click Play and the Hearthstone window appears but in Black screen and then not responding -> Forced close
Did everything successfully. The mono cmd says "Ready to launch Hearthstone", I click Play and the Hearthstone window appears but in Black screen and then not responding -> Forced close
Can you post the logs you get from this?
Quote:
Originally Posted by orlandofua
Hey skeen, I tried messing around with the files with the first release and 1.0 (packed with mono), and found out that I had to copy and paste the assembly.dll file from the first release to the current one because Loadercommandline.exe --regen_inject inject gives me an error:
Does the logs/injector.log file exist, and if so can you post the contents? - Also this may be a issue related to mono, not being existent where it's expected.
I'm currently working on getting rid of the mono dependency.
Unhandled Exception:
System.ComponentModel.Win32Exception: ApplicationName='mono', CommandLine='Injec
tor.exe', CurrentDirectory='injector', Native error= The system cannot find the
file specified.
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartIn
fo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown
>:0
at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInf
o startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>
:0
at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
at BotOfStone.Program.create_injection_file (System.String hearthstone_path) [
0x00000] in <filename unknown>:0
at BotOfStone.Program.inject (System.String hearthstone_path, System.Collectio
ns.Generic.List`1 args) [0x00000] in <filename unknown>:0
at BotOfStone.Program.Main (System.String[] args) [0x00000] in <filename unkno
wn>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception: Applica
tionName='mono', CommandLine='Injector.exe', CurrentDirectory='injector', Native
error= The system cannot find the file specified.
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartIn
fo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown
>:0
at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInf
o startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>
:0
at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
at BotOfStone.Program.create_injection_file (System.String hearthstone_path) [
0x00000] in <filename unknown>:0
at BotOfStone.Program.inject (System.String hearthstone_path, System.Collectio
ns.Generic.List`1 args) [0x00000] in <filename unknown>:0
at BotOfStone.Program.Main (System.String[] args) [0x00000] in <filename unkno
wn>:0
And everytime I queue for something I get the "playful sprites" error. How do we fix this?
Unhandled Exception:
System.ComponentModel.Win32Exception: ApplicationName='mono', CommandLine='Injec
tor.exe', CurrentDirectory='injector', Native error= The system cannot find the
file specified.
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartIn
fo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown
>:0
at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInf
o startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>
:0
at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
at BotOfStone.Program.create_injection_file (System.String hearthstone_path) [
0x00000] in <filename unknown>:0
at BotOfStone.Program.inject (System.String hearthstone_path, System.Collectio
ns.Generic.List`1 args) [0x00000] in <filename unknown>:0
at BotOfStone.Program.Main (System.String[] args) [0x00000] in <filename unkno
wn>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ComponentModel.Win32Exception: Applica
tionName='mono', CommandLine='Injector.exe', CurrentDirectory='injector', Native
error= The system cannot find the file specified.
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartIn
fo startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown
>:0
at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInf
o startInfo, System.Diagnostics.Process process) [0x00000] in <filename unknown>
:0
at System.Diagnostics.Process.Start () [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
at BotOfStone.Program.create_injection_file (System.String hearthstone_path) [
0x00000] in <filename unknown>:0
at BotOfStone.Program.inject (System.String hearthstone_path, System.Collectio
ns.Generic.List`1 args) [0x00000] in <filename unknown>:0
at BotOfStone.Program.Main (System.String[] args) [0x00000] in <filename unkno
wn>:0
And everytime I queue for something I get the "playful sprites" error. How do we fix this?
Both of these issues were results of the mono dependency, this should be fixed as of v1.2, would you mind testing, that this is the case?
I don't see the logs anywhere, there's only 1 file "Do not erase" in the logs folder. If you're talking about the mono cmd, it says nothing except for "Ready to launch hearthstone".
I don't see the logs anywhere, there's only 1 file "Do not erase" in the logs folder. If you're talking about the mono cmd, it says nothing except for "Ready to launch hearthstone".
Here's the screenshot.
In this case, there should be a log file in %HEARTHSTONEFOLDER%/Logs/API.log
Can you confirm if this file exists?
Quote:
Originally Posted by orlandofua
I just tested it out and I still got the "playful sprites" error.
Yea it's still an issue as of v1.3, deleted everything in hearthstone folder except Data folder and reupdated it to make sure it's not because of the Hearthstone itself.
On a side note, Botofstone injection works fine for me without issues.
Yea it's still an issue as of v1.3, deleted everything in hearthstone folder except Data folder and reupdated it to make sure it's not because of the Hearthstone itself.
On a side note, Botofstone injection works fine for me without issues.
This does seem weird indeed! It seems that the files are injected, however loading them crashes the application. This is most likely a dll related error.
Have you tried to erase the "%HEARTHSTONEPATH%/Hearthstone_Data/Managed" folder, and let the patcher reapply it?
Yea I deleted everything including Managed folder, only left out the Data folder (1gb folder) for it to repatch before trying the bot. I think it's a dll related error. When the new patch just came, the botofstone got into some pink screen errors as well so we had to delete the Assembly-CSharp.orig.dll and path files in the botofstone folder.