Skip to content
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

Add a whole lot more APIs (including some attrition-specific APIs) #125

Merged
merged 14 commits into from
Oct 6, 2021

Conversation

IncPlusPlus
Copy link
Owner

@IncPlusPlus IncPlusPlus commented Oct 6, 2021

This has no effect on the software as a whole. I've just made more discoveries about how TF|2 works.

These all seem to fit into some sort of table that's consistently in the same place in memory. If I had to guess, the kills, scores, etc. that belong to the current user are determined by some sort of ID the user gets assigned when they enter the server. This is probably the same ID that you get shown if you enter `status` in the console in CS:GO.
Sort them in order of the minion offsets.

Original order (order in which the minion offsets were found)
1. engine.dll+1123D38C
2. engine.dll+1123D398
3. engine.dll+1123D3B0
4. engine.dll+1123D3A8
5. engine.dll+1123D388
6. engine.dll+1123D390
7. engine.dll+1123D3A4
8. engine.dll+1123D39C
9. engine.dll+1123D3AC
10. engine.dll+1123D3A0
11. engine.dll+1123D394
12. engine.dll+1123D384

New order (after sorting by offset)
12. engine.dll+1123D384
5. engine.dll+1123D388
1. engine.dll+1123D38C
6. engine.dll+1123D390
11. engine.dll+1123D394
2. engine.dll+1123D398
8. engine.dll+1123D39C
10. engine.dll+1123D3A0
7. engine.dll+1123D3A4
4. engine.dll+1123D3A8
9. engine.dll+1123D3AC
3. engine.dll+1123D3B0
This offset was calculated by knowing its neighbors
This offset is the proof!!!
Added APIs for some attrition stats as well as a way to grab names
@IncPlusPlus IncPlusPlus self-assigned this Oct 6, 2021
@IncPlusPlus IncPlusPlus changed the title Add a whole lot more APIs Add a whole lot more APIs (including some attrition-specific APIs) Oct 6, 2021
@IncPlusPlus IncPlusPlus added the chore General repository maintenance work label Oct 6, 2021
@IncPlusPlus IncPlusPlus merged commit 8dbae91 into main Oct 6, 2021
@IncPlusPlus IncPlusPlus deleted the experiment/attrition_minion_kills_table branch October 6, 2021 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore General repository maintenance work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant