If y'all are still looking for an updated version that's on Nexus, check out my updated version here. It's updated to 15.22 and has an ICE compatible version as an optional file.
can you explain why virustotal marks your program as a trojan? (https://www.virustotal.com/gui/file/c4c1414073dcdc49a6de12ea635eed843f30401d5b370a678d0bfc25782f586f/detection)
Well Tuolishu if you took a moment to read further you would see; "This is a result of the 100% success rate feature of the application. It reads the memory of Monster Hunter World if a compatible version is running, and does this without administrator privilege, which, triggers Windows Defender or any other antivirus to detect it as a virus."
First and foremost This Mod is something I do rely on since playing MHWIB for the pass 5 months or so. thank you for making it work. Now they just recently updated MHWIB to another version. I'm just wondering if you are going to update this Mod for the current version of MH> If so then I can be patient and wait for it but if not then it will sadden me and my life will be over... LOL jokes aside will you be updating> just wondering :)
Any idea when this mod will be updated to fit the newest version of mhw? For now the random button presses part works but not the 100% success rate part.
If you have some coding skills and don't feel like waiting for tzuptzup to update it:
Grab the code from the repo they linked in the description
Edit AutoSteamApp/Core/Settings.cs
Change the value of Off_SteamworksCombo to 0x4F859F0
maybe also change the value of SupportedGameVersion
Compile, run, enjoy!
I had to find the updated value because I'm using my own custom overlay to display the key combo and 15.20 changed the absolute address. If you download the CheatEngine table that is linked from the repo description, there's an AOB to find said absolute address. Good luck!
What i did was go and find the bit in SaveData.cs line 59 where it said "if (slotPlayTimes[slotId] != p1Value)" and changed it to "if (slotPlayTimes[slotId] == p1Value)"
which completely broke the reading of the save for the fuel, because it obviously can't read a save file that it didn't grab (but thinks it did), it thinks theres no fuel, so it works once, then says "no more fuel, stopping bot"
but to fix that i went to program.cs and to line 301, and changed "shouldStop = true;" to "shouldStop = false;"
now it no longer works 100% of the time like this, more like a solid 80%, but its better to have one that works 80% of the time than one that doesn't work at all :3
(and yes, i do know i completely butchered the code to do this, but hey, if it sort of works it works)
there should be a bin file inside the AutoSteamApp folder which contains the EXE file and whatnot after running it as a release assuming you're using visual studio.
It works amazingly well. Of course, I only get about 80% chance I am also very happy with this result and thank you
Also, I think I found the reason why there's only an 80% chance of success It seems to be a problem of pressing the button early in situations where there is a delay such as events or conversations
I also noticed this, i don't usually code in C# so that's why the workaround is so janky, if there's a way for the code to take a quick break in between starts, that would probably fix it. (It differs from the setting in the configs for the delay i'm pretty sure, but changing that value is worth a shot).
Ok, so I added Thread.Sleep(500); three times in Program.cs, and it still fails the first one in and out of bonus time, but that's it. It could be fixed to be 100% accuracy again, but it would result in the process being slower, to do this change the value for the Thread.Sleep to a higher number (5000 for instance would be 5 seconds, and that would probably fix the program to work at 100% accuracy again, but be a lot slower).
Changes I made: Added a new line to make line 168 and put Thread.Sleep(500); on it Added a new line to make line 183 and put Thread.Sleep(500); on it Added a new line to make line 304 and put Thread.Sleep(500); on it
Add these three above to get near 100% accuracy. The only ones missed are the first ones out of a cutscene such as the bonus time intro and outro, other than that it should input 100% for the rest of the time.
Changing the Thread.Sleep(500); at line 304 to Thread.Sleep(5000); will guarantee 100% accuracy, even after bonus time cutscenes, but will make the entire process very slow. If there were some way to identify that a cutscene for bonus time is starting, I could probably add in a bit that just delays it when it detects a cutscene starting up, but as I have no clue if there is or is not, this the best I could do for now. <3
I was looking through the mods older updates on GitHub and noticed that the Off_SaveData value also changes when he would update it. Not sure if that would fix the problem if we knew what value to change it to. I don't see why we would have to change the actual functionality of the code to get this to work.
Problem I have is that I don't know where to get that Off_SaveData value, I tried messing around with the cheat tables to find the hex value but have no clue what I'm doing lol.
Yeah I have taken a look as well, have not looked at c# for over 6 years so pretty rusty, but from what I do know, the changes made by the users in this thread does not make much sense besides the address change and version change. What's mind boggling is that it is working (somewhat). We need someone who is c# fluent to just update the program, it is really well maintained and structured so should be a quick process for anyone competent.
Still doesn't work for me after changing the Off_SaveData to 0x5011710. Where do you find this value? Also what are your other Off_ values to get it to work?
I downloaded the code from github and opened the project with Visual Studio. then i opened the file Settings.cs there is a Region with this: #region magic numbers public static string SupportedGameVersion = "421631";
public static ulong Off_Base = 0x140000000; public static ulong Off_SteamworksCombo = 0x4F859F0;
public static ulong Off_SaveData = 0x5011710; public static ulong Off_DiffSlot = 0x27E9F0; // start of each save slot data slotnr * off #endregionwhere i put those numbers in. then i compiled the exe and with the new exe from the debug folder it works
Yeah I've tried running the .exe as Admin, it doesn't seem to be a permission issue. I've used the mod just before the newest update came out for MHW.
Maybe your Off_SaveData value would be different than mine? I have the mod working partially after changing some of the actual functionality of the code, but it won't restart on its own anymore.
I love this community. Kijan, your fix worked for me, thanks a bunch. There was no way I was going to go back to manually button mashing on the steamworks again. Now I just need someone to fix the transmog mod and the permanent shinies mod and I'll have all the must-have QoL mods working again.
Found my issue, for some reason the character slot position matters for the SaveData value. So my character is in the second slot and doesn't work, tried on my old character and it works because it's in the first slot. Appreciate the help, Kijan.
To fix for second character use (in the Settings.cs file):public static ulong Off_DiffSlot = 0x26CC00; // start of each save slot data slotnr * off that fixed it for me. (combine with the code above from Kijan)
These are the steps I took to compile the git repo with the modifications from this amazing thread:
Download Visual Studio 2022 Community Edition installer and install the IDE with the .net development option selected. You don't need the ML capabilities or the code share but it's a big download.
After the startup it'll ask you if you want to clone a repository or start with an empty project. You can clone the Autosteam github repo directly here.
Open the AutoSteamApp solution from Visual Studio
Go to the "Tools" Menu, select "NuGet Package Manager" and then "Package Manager Settings"
On the dialog navigate to "Package Sources" and add with the green "+" button the source:https://api.nuget.org/v3/index.json
Now you can build the project from the Solution menu on the right: right click AutoSteamApp then Build.
Finally you can apply the values from this thread in the Settings.cs: they are in a collapsed region called "magic numbers" and rebuild the binaries.
MoHuanTS If you look at the output (bottom of the screen) after you do the Build. It should tell you the path to the .exe file. Even if you do Start instead of build, the path should still be there. You can also try to check this path to see if the .exe file is there.\AutoSteamApp\bin\Debug Edit: My Complied Exe: Download - MEGA. But yeah don't really recommend using random people's .exe if you can compile it yourself.
@botein Thank you for your kind explanation. But I don't know what to do from step 2. Can I unzip the EXE file? I can't find the file with the bin folder on Github. The important thing to me seems to be modifying the Settings.cs file.
The exe file (I called it the binary) is the result of the step #7 and it's not on GitHub. It's the output of the process of building the sources. At the step 2 you must clone the official gitlab repository that contains the source code of the AutoSteamApp. The url of the repo is https://github.com/AdiBorsos/AutoSteamworks.git You can download the source code as a zip but it's usually "cloned" with the git client. The git support is integrated directly in Visual Studio. Otherwise you can download and unpack the zip with the source code, open it in Visual Studio and follow the other steps.
I tried again. 1. I downloaded the zip file from Github through “CODE >> Download ZIP”. 2. When I opened the solution in the AutoSteamApp folder in Visual Studio, there was no "AutoSteamApp" and there was "AutoSteamApp.csproj". 3. I confirmed that the source (https://api.nuget.org/v3/index.json) provided in 'Package Source' has already been applied. 4. I fixed the "region Magic Number" in Setting.cs after seeing that it had to be edited in a different thread. 5. When built from the solution menu on the right, 51 errors and 2 warnings were called. The build seems to have failed. We really appreciate your help. But I think my work is done. However, the unique experience of using Visual Studio was quite satisfying. I hope someone else can upload the completed zip file. Thank you very much.
762 comments
Windows Defender or any other antivirus to detect it as a virus."
- Grab the code from the repo they linked in the description
- Edit AutoSteamApp/Core/Settings.cs
- Change the value of Off_SteamworksCombo to 0x4F859F0
- maybe also change the value of SupportedGameVersion
- Compile, run, enjoy!
I had to find the updated value because I'm using my own custom overlay to display the key combo and 15.20 changed the absolute address. If you download the CheatEngine table that is linked from the repo description, there's an AOB to find said absolute address.Good luck!
Getting errors:
[Info][17-10-2023 20:49:04]: Awaiting slot number!
[Info][17-10-2023 20:49:05]: Slot Number couldn't be found after 10 seconds!
Any idea how to fix this?
"if (slotPlayTimes[slotId] == p1Value)"
which completely broke the reading of the save for the fuel, because it obviously can't read a save file that it didn't grab (but thinks it did), it thinks theres no fuel, so it works once, then says "no more fuel, stopping bot"
but to fix that i went to program.cs and to line 301, and changed "shouldStop = true;" to "shouldStop = false;"now it no longer works 100% of the time like this, more like a solid 80%, but its better to have one that works 80% of the time than one that doesn't work at all :3
(and yes, i do know i completely butchered the code to do this, but hey, if it sort of works it works)
Can you tell me in more detail?
there should be a bin file inside the AutoSteamApp folder which contains the EXE file and whatnot after running it as a release assuming you're using visual studio.
Of course, I only get about 80% chance
I am also very happy with this result and thank you
Also, I think I found the reason why there's only an 80% chance of success
It seems to be a problem of pressing the button early in situations where there is a delay such as events or conversations
Changes I made:
Added a new line to make line 168 and put Thread.Sleep(500); on it
Added a new line to make line 183 and put Thread.Sleep(500); on it
Added a new line to make line 304 and put Thread.Sleep(500); on it
Add these three above to get near 100% accuracy. The only ones missed are the first ones out of a cutscene such as the bonus time intro and outro, other than that it should input 100% for the rest of the time.
Changing the Thread.Sleep(500); at line 304 to Thread.Sleep(5000); will guarantee 100% accuracy, even after bonus time cutscenes, but will make the entire process very slow. If there were some way to identify that a cutscene for bonus time is starting, I could probably add in a bit that just delays it when it detects a cutscene starting up, but as I have no clue if there is or is not, this the best I could do for now. <3
Problem I have is that I don't know where to get that Off_SaveData value, I tried messing around with the cheat tables to find the hex value but have no clue what I'm doing lol.
fixed link because google drive is a POS :D
if you use
public static ulong Off_SaveData = 0x5011710;
then it should not have the save file issue
EDIT:
also it seems to be 100% again
then i opened the file Settings.cs
there is a Region with this:
#region magic numbers
where i put those numbers in.public static string SupportedGameVersion = "421631";
public static ulong Off_Base = 0x140000000;
public static ulong Off_SteamworksCombo = 0x4F859F0;
public static ulong Off_SaveData = 0x5011710;
public static ulong Off_DiffSlot = 0x27E9F0; // start of each save slot data slotnr * off
#endregion
then i compiled the exe and with the new exe from the debug folder it works
Did you tried as Admin?
Maybe your Off_SaveData value would be different than mine? I have the mod working partially after changing some of the actual functionality of the code, but it won't restart on its own anymore.
https://www.nexusmods.com/monsterhunterworld/mods/5995
It can change the character sort
public static ulong Off_DiffSlot = 0x26CC00; // start of each save slot data slotnr * off
that fixed it for me.(combine with the code above from Kijan)
It worked on the first and second characters.
Thank you very much😀
Can I download the file? I don't program so I don't know what to do.
(I don't know English, so I used Google Translate.)
Thanks a lot!
https://api.nuget.org/v3/index.json
Thank you very much!
You can also try to check this path to see if the .exe file is there.
\AutoSteamApp\bin\Debug
Edit:
My Complied Exe: Download - MEGA. But yeah don't really recommend using random people's .exe if you can compile it yourself.
Thank you for your kind explanation.
But I don't know what to do from step 2.
Can I unzip the EXE file?
I can't find the file with the bin folder on Github.
The important thing to me seems to be modifying the Settings.cs file.
At the step 2 you must clone the official gitlab repository that contains the source code of the AutoSteamApp. The url of the repo is
https://github.com/AdiBorsos/AutoSteamworks.git
You can download the source code as a zip but it's usually "cloned" with the git client. The git support is integrated directly in Visual Studio.
Otherwise you can download and unpack the zip with the source code, open it in Visual Studio and follow the other steps.
1. I downloaded the zip file from Github through “CODE >> Download ZIP”.
2. When I opened the solution in the AutoSteamApp folder in Visual Studio, there was no "AutoSteamApp" and there was "AutoSteamApp.csproj".
3. I confirmed that the source (https://api.nuget.org/v3/index.json) provided in 'Package Source' has already been applied.
4. I fixed the "region Magic Number" in Setting.cs after seeing that it had to be edited in a different thread.
5. When built from the solution menu on the right, 51 errors and 2 warnings were called. The build seems to have failed.
We really appreciate your help. But I think my work is done. However, the unique experience of using Visual Studio was quite satisfying.
I hope someone else can upload the completed zip file.
Thank you very much.
Really thanks to helped us for fix it !
>"nvm fixed it"
>*refuses to elaborate*
>*leaves*
Not sure why people are saying this is not working.
I did exactly what the description said and it just worked.
That's probably because it's not working. At least for current game version. But there's a link to an updated version few comments below.