-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keeps showing this error about base tag address. #136
Comments
Clear your settings. This is usually 90% of issues, the data the program needs to find the tags is probably outdated. |
Sorry, which settings? As i said i deleted the settings that are created on %appdata%, are you reffering to those? because, to make matters worse, i created a vm and installed just infinite (the cracked one so no settings or stuff from that which could be saved onto the could or something being from steam, and the latest IRTV version, all directx and .net stuff and the exact same thing. :( |
Your issue may be related to the fact you are using a different version of the game which could be interfering with how the pointer works. However, it should scan for the address and find it if the pointer doesn't work. Its hard to say what the issue is exactly. Make sure you are in an actual game, it may not find the tags if you are not. |
Is there a way i can find this "pointer" by my self? because, i have tried with both versions, both with a new copy of infinite and irtv, and the one that throws my theories out the window is not even on the vm with all new files of everything works... i saw this "pointer" referenced somewhere else, here to be exact and they talk about the "offset" so, i guess i should find that "HaloInfinite.exe+0x495B060" last characters after the + sign somewhere somehow and that could fix it for me. Where can i find this or what does it do i have no idea, but that is what i reckon i need, and why this is not working for me "automatically" as it does for everyone else, that is what is bugging me so much now. EDIT: Just aditional info, what is on mine by default is this "HaloInfinite.exe+0x5" and i think some times at least with the steam version when clicking Options > Process Selector the drop-down menu does not open or do anything. And i might add i am trying to do this soley for campaign no multiplayer at all if that matters. |
Try setting the pointer to HaloInfinite.exe+0x4357FD8 |
I will, thank you, but, i would actually like a small dumbed-down explaination on what this is and why it may not be able to retrieve it by itself, this feels like a bandaid and if it works i will be so gratefull but i like to understand things too. :3 If it's not too much to ask for. |
Update, nope, no dice, with both the cracked and steam versions. When I click on upset pointer, I paste the given one, and if I select OK and close that and come back it still has it, but if I click "load" and if fails, if i come back to the "pointer" setting it is back again in "Haloinfinite.exe+0x5" in either case. And i have set the exe location to either the steam or cracked versions depending on which i am trying and selecting the infinite process manualy. |
Ok so finally got around to this. The pointer for the current update is HaloInfinite.exe+0x481F6C8 For some reason, the scan to find the tags in memory is failing for you. I was able to easily find the tags list upon use of the current update and got that exact value for the pointer with it working pretty much flawlessly for me. That pointer should work until the game updates again at which point it should scan for and should be finding the value automatically. Its hard to say why it can't find it for you, but there may be some strange way that specific code is setup that makes it not work for you. Unless you can provide any further insight on your specific issue or the way you have the game setup and running I have no way of knowing why the backup scan fails to locate the tags. For all intents and purposes, that failsafe should find the tags list 100% of the time and has done so for pretty much everyone up until this point as far as I know. |
even though they vaguely state they've tried on the latest version of infinite, they also state that
contradicting the first statement (probably unknowingly) |
Ok, so, i think i have provided most of what i can think of to show why i am so confused by this, so, in general:
Other maybe usefull info is:
I really can't think of much else that could be the same between my main, a vm and a laptop other than the same account of steam is used and the same cracked game files too, altho the cracked is an installer so no info should be saved on the original cracked files than what is actually installed on my pc. If there is anything else you would like me to share or do to crack this weird case please tell me, if you can, please tell me how i find the address you've been giving me after "Haloinfinite.exe+0x" to provide you with the one i have from the cracked and steam versions if that helps. Thank you guys. |
The vm to me sounds like it could very well be the culprit for the scan not working. If the memory can't be accessed properly it won't find the data it needs. There is a third party dependency used to scan for the info it needs if the game updated. Of all the things you mentioned, that is one thing that may restrict some things as virtualizing the OS in any respect can have unintended consequences for reading memory and can be unpredictable. If it still doesn't run without a vm just on basic hardware/ non-virtualized, the issue could lie elsewhere. The firewall/antivirus has nothing to do with it, file permissions also have nothing to do with it. IRTV doesn't touch your files in any respect. It only cares about the game memory and nothing else. Try loading the tags in other places as well such as in an actual campaign mission or in multiplayer. I am unable to replicate your issue on my end at the moment, as it still works just fine for me even in just the campaign menu. |
Yeah I knew It probably was not something caused by the permissions or all that, but it is all i could think off that was different from most computers, and the vm thing, well, the issue is that it happens in or out the vm so.. i mentioned it because all the files and configs that could have something to do with the issue are just not there when using it in a vm, as far as the game and IRTV knows, it is a completley different pc, except for the hardware, which brings back my question, could a ram hardware issue, cause this problem? I will be trying on my laptop today to see if anything changes, in the menu, in MP, campaign etc. By targets you mean the +0x stuff or just clocking on "load" on IRTV? |
Update, I just tried with the laptop, with 3 different versions of the game, the steam (my main), the windows store version and the cracked version. The same result with each, even tried on each to load on the main screen, the menu and in gameplay. The first one i tried was the cracked version as the saves and settings and all that is in a diferent place than for the windows store or steam version, so, it should be completley isolate of any weird corrupt files that could be passed on over a diferent copy of the game, then the other 2, the same thing. My main PC has W10, this laptop w11, everything to the absolute most recent update, drivers, windows, bios, everything. Since i have the 3 versions, i tried on multiplayer (i just don't want to get banned but i guess my copy on the WStore will have to take the fall since it is with gamepass and i never use it...) but i used the "HaloInfinite.exe+0x481F6C8" provided above, and at least on the MStore it finally hooked the f-ing process! BUT; changing the game to campaign and pointing to the same thing it fails again, so, it is quite obvios that it is not being able to retrieve the "Haloinfinite.exe+0x..." thing on it's own for campaign, i guess everyone just plays MP and no one has noticed this issue before or what.. Have you been testing and saying you can't replicate my issue only on the MP menu? Can you try on campaign? And please, for the love of god, can you tell me or help me on your end get the pointer for the campaign? it would be much more useful to have the pointer to the cracked version of the campaign because i really like it more, loads faster, still has the fun stuff like coil jump and skipping some campaign missions with glitchs, so having the most updated pointer is quite useless to me since i don't ever play MP, please, PLEASE explain to me what would i have to do to get the pointer for whatever version, if it is a trade secret that keeps this mod alive, whatever, please help me get it for this version of the game: V6.10020.17952.0 |
Trying to rule out the release build being the issue. Try this version of IRTV Mine works just fine in campaign menu and in campaign itself. Also try HaloInfinite.exe+0x3ED5F08 for campaign if that doesn't work. I am still unable to reproduce the issue. For some reason the scan is failing for you. I honestly would not know why it doesn't work for you. Even running Halo Infinite as admin won't affect that. There must be some memory that it isn't accessing properly? |
the error code you're getting is directly related to the Array-Of-Byte scan for the string 'tag instances' in the games runtime memory idk if cheat engine works for the older version of the game that you have (if not, i could append my busted version), but you could search that string and get the tags list address to verify that something entirely unexplainable isn't happening from my understanding theres really two possibilities here,
if you're willing to install visual studio (with dot c#/net-development or whatever it is) then you should beable to just test whether increasing the bounds would work (best test might be replacing the first value with 0x0 and the second with 0x00007FFFFFFEFFFF, similar to how the other scans work, although this could have adverse effects that were avoided by having the stricter range) or, as mentioned before you could also run a tool used for memory scanning to find the memory address of the tag instances string just to check whether that address does fall within the AOB scan bounds |
OK... so, bit by bit...
Now, at this point i could just say thank you and play. BUT. Next update i would have the same issue again and i don't know how to even go about obtaining the pointer my self to "fix" or patch this every time, and I would LOVE to know why am I having this issue, what make my PC and Laptop so f-ing special that both have the same issue.
Well, unlikeley but possible, but for two completley different computers?
Yeah that has been my whole point this time. HOW can this be a problem just for me but between 2 diferent machines? IMO there is no way it is just chance and it has to have a very stupid but logical explaination we are just not seeing, I just don't want to believe that having 32 gb which MANY people have is the issue. Maybe you don't but MANY people do and would have had this issue waaay back.
Of course I am willing to, I would install a virus if that would help me understand this... I will do that overnight. The only problem is, I have a VERY basic understanding of what you just said after all that so.. all i know (partly thanks to gpt) is that cheatengine can do what you sad about the memory scans, it mentioned another one but since I only knew CE i went with that, I have NO idea how to even begin doing what you just told me, but even without fully understanding, sounds logical and could shed a big light or even fix this, but, i can't just do it because i don't know what I would be doing and since we are trying to solve a problem, me doing this would cause more than it would solve. Can you be more specific, or point to a tutorial on what I need to do, I know this is too much to ask for, like, it seems NO ONE but me has this issue and you have devoted so much of your time helping me but I feel we are on the final stretch of solving this and i am just a big blockade before the finish line.. and if even ONE more person has this issue and this helps him solve it too, i think this would have been worth it. I hate being the dude with ONE specific problem and no answers anywhere to help me :( Thankfully both of you have been here but since you can't replicate my issue, I have to be involved in the solution and don't know much about code in general or the deeps of software, I am more on the wardware side on my day-to-day stuff :( Sorry and THANKS A LOT! Edit: After clicking on "the bounds" link, i think I get a much better idea of what you want, lets see if i got it: You need me to download visual studio, then copy the code of the program from there, change the first value (these?) I gathered that much, the break points, the adverse effects and the other stuff after that I did not get completely. |
The RAM isn't the issue. I have 48GB of RAM and I assure you I still found everything. I created a pull request to log some stuff with other improvements to the UI. It should log any exceptions and other useful info. Hopefully that tells us where it fails. More people likely have e this issue, just haven't opened an issue about it. |
Yeah, i guess it doesn't matter really but at this point I am grasping at straws.. about the pull request, I don't understand much about it either, but I guess it means wanting to modify something to add changes to the base code, this means asking the developer for it? or you wanting to do it yourself and asking for permission or something to upload the code with the changes on the main post? |
some general notes: the ram itself definitely wouldn't be the issue, or else your computer probably wouldn't even run haha when i wrote that comment, as far as i could tell that line of code i linked was the source of failure for cheat engine, im pretty sure you cant use cheat engine while infinite is running, or else the game will intentionally crash, and i think uploading modified versions that circumvent 343's detection in a public discussion may not be the best idea so that realistically takes that option off the list for how to find the address that IRTV uses, we actually have this ancient & probably still accurate note here, although without a functioning cheat engine this would be pretty hard to follow along with while i was writing this, i did happen to come up with a new possible fault, but its a significantly more far stretched then the two prior im not entirely sure how C# works, as i've never had the need to investigate the binary data, but it would make sense (but not much at all) if C# had to promote the string to some other format (more bytes per character?) to support a different language, and then maybe memory.dll fails to locate the string as its looking for entirely different data? as for setting up the project in visual studio for debugging: when you open visual studio, it should give you a page like this, just hit clone and then it'll just ask you for details of the project you're about to clone once your visual studio workspace is setup, you should have this panel on the right side(?) once in that file, navigate to line 1125 (ctrl+g and enter '1125')
yeah thats pretty much spot on, change those two values and then run the program and see if you get any different results this time to compile and run the program, you just click the green arrow at the top middle of the visual studio window (i just tested and it'll prompt you to restart in admin before you can do that, to beable to run memory.dll) as for breakpoints, these aren't completely necessary but if you do manage to fix the problem (maybe from changing the scan range bounds values) you can use them to pause the program to inspect values during operation of the program, you can enable breakpoints by clicking to the very left of the line of code you want to debug you could put one on line 1143, which would allow you to hover over the text 'aobScan' to show the address of the "tag instances" string, but that breakpoint would only ever happen if you do find any results if your windows defender happens to warn you about memory.dll, then you might beable to unquarantine the file, or you could try removing and re-adding the memory.dll NuGet package (if you have trouble there you should beable to find steps to do that online, just search 'removing nuget packages visual studio' or something along those lines) |
from the cheat engine screenshots, the address you were looking for does fall outside the scan bounds
in screenshot 1, it looks like you're doing it correct in screenshot 2, theres sometimes 2 different results, the one thats more likely to be correct is always the one that ends with "0000" im not sure whats going on in screenshot 3, that shows that the tag_instances pointer has changed? thats strange "cant find haloinfinite.exe" implies that something in the code breaks and throws an exception im really not sure what the error could be though, nor does the programmed error message itself help, as it doesn't fail to find halo infinite, or else it wouldn't be running a scan i dont have the capabilities to test any changes on my end at the moment, so i shouldn't just push any fixes to github, but if you double check that decreasing the min address (originally 0x0000010000000000) to 0 or some other smaller value doesn't break anything else & you fix whatever issue it is that you're currently having, then i could probably just push the change |
just as an example of what the addresses should look like in cheat engine: "sequence contains no elements" is supposedly a linq error, from what i can find from a brief online search, and the only linq related thing we have in that function is the line 1149 did you also change the first value of the otherwise whatever is causing that discrepancy is way beyond my deduction abilities this link might work better for sopitives branch https://github.com/Sopitive/Infinite-runtime-tagviewer
i meant as in IRTV's user settings, which seems not to be the cause according to that exception that you provided
its just a optimization note to let you know that your code doesn't use it, but the intention was purely so you could read it yourself
i think thats how the memory scanning works, it caches a buncha junk so it can do it relatively quickly, although im not entirely sure on that |
im pretty sure that means you found the address that you're looking for, you should beable to just put that into the IRTV base address thing, and it should work perfectly fine
its kinda a hard thing to explain when i cant think of the words to use (im writing this just before going to sleep haha) cheat engine uses these relative addresses to effectively calculate where your address should be, between multiple restarts of the game or whatever, as the data we're looking for will always be a constant offset from the start of the halo infinite exe in ram i cant quite remember off the top of my head how to calculate the relative addresses, but if you try to add a new address in cheat engine, you could put in HaloInfinite.exe+0x0 (you might need to play around with the capitalization to get it correct, refer to the capitalization of working base addresses that you would put into IRTV's base address thing)
i believe to the same folder as the IRTV exe file is? look for a "log.txt" file in the irtv folder, if not then maybe to shoots out to the irtv settings folder which is in appdata somewhere
implicitly, the error was that it finds addresses, but also doesn't find any at the same time, i think, i have absolutely no clue on how that happens though
well you wouldn't think so, but i have no clue haha, i think all the file saving stuff was added after i lost interest in this project i originally meant that it maybe ever so slightly could've been the issue, but file saving would never give the type of error you got from those screenshots
technically IRTV, im assuming from the screenshots that you've provided, when it gives you the "cant find halo infinite exe" error, it essentially creates a list of valid addresses that it found, like cheat engine does when you search for the tag instances string, but instead of actually giving you any of those results, it doesn't give you any but still gives you the now empty list anyway, opposed to disposing the list and just telling us that its got nothing for us wheres IRTV assumes if it was given a list, then it was given some valid addresses to work with but at this point i just dont have anymore even remotely valid explanations for the issue, you'll probably have to have a play around with all of it and see if you can shed some more light on whats going wrong there |
But if input this it wont work as irtv needs the +0x0 format and this is not it. As you said, I need to do SOMETHING with it to turn it into that... The value I got was just Haloinfinite.exe+3E952A0 I kind of got your explanation tho... lets see if i did,.
It assumes i have a 0xSOMETHING but i don't, all i have managed to get are these things:
Yeah i looked for it on the folder it makes when cloning the repo, but it is not there and only user.config on the appdata folders The thing here is, WHY me, why ALL my computers, there is something we are missing that is shared between them that is breaking this only for me. That is what makes this very annoying to solve and deal with since you can't replicate it, but i do appreciate a lot the effort and walking me through stuff so i/we can figure this out cause in the end it seems only me will benefit from it since no one else seems to have this problem :( |
Ping me on the Halo Mods discord, it would be easier to try to debug this in a discord chat or vc and if a solution is found we can post it here and close the issue. It's better than trying to resolve it over multiple posts here. Same name on discord. I am interested to know what could cause the scan to fail. |
The halo mods discord, is there a psrticular one? like, linked in the github of IRTV or something? i reckon there are many halo mods discords out there, but sure, with an invite or something i can, name there is spartanrinzler |
0x is merely to denote that number is hexadecimal (containing letters a,b,c,d,e,f, with a numeric base of 16)
that explanation was for if cheat engine DOESN'T give you the relative address already, which you already have, so its not too relevant
cloned repo folder -> bin -> debug (or release, whichever one is present) -> net5.0-windows -> and then the log file should be in there
"Halo Mods", i believe you can use this link http://discord.halomods.com/ |
Well, that pointer did not work :( with or without the 0x Well, that log file is really empty and sad :( i don't know if any of that is usefull. And teah, I thought that was the correct discord but it does not show more options further than halo 4, no infinite, but whatever, i sent a message (was not delivered and sent a friend request by spartanrinzler to you @Sopitive , do you want to continue there too @Connor-jt ? |
well that answers that question of why the game would always default to 0x5, because thats the first relative address of the value 0 i think, so when it fails to find the tag instances address, it defaults to 0, so it then scans for i assume the first address that points to 0 (8 consecutive 00 bytes), which i guess happens to be haloinfinite.exe+0x5 however that doesn't bring us any closer to understanding your issue here
yeah the halo mods people really do not like halo 5 & infinite, and anyone who did has since moved on from halo modding
no can do, im sure sopitive and you will beable to figure it out |
@Sopitive you there man? I DM'd you on discord but no answer altho you accepted the friend invite, name there is spartanrinzler |
did you guys end up resolving this issue? |
@Connor-jt not yet, sopitive has not had the time to keep at it, we are close but I feel like I am the bottleneck in this process since they can't replicate my issue I have to do the testing and I don't know much. I feel like we have made progress and MAYBE a discord call could end this faster but you know, time. |
So, when infinite came out i used this flawlessly, but after many years I tried again and i can't because of this error, i did the same as every video i could find and as i did when this tool came out.
Start the game
On the menu screen open IRTV
Click on load
Tags and stuff should show up now, so.. i check the settings:
Click on "set game exe" click on either my updated infinite from steam or on my backup old crkd copy of the game the way it was many years ago before they removed the coil jump and speedrun stuff.
Click on load again, same thing.
Downloaded the .NET 5 SDK, reboot, same thing.
Deleted the settings on %appdata%
This is now, but i remember at one point i tried on a completly new install of windows, same thing. WTF is going on?
EDIT: Also forgot to mention, after clicking load when it failed it gives "Offset failed, scanning..." and then the other thing.
The text was updated successfully, but these errors were encountered: