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

Profile Changer #2503

Closed
wants to merge 10 commits into from
Closed

Profile Changer #2503

wants to merge 10 commits into from

Conversation

caiocinel
Copy link
Contributor

@caiocinel caiocinel commented Jan 20, 2021

Warning: This is a Pull Request without any merge interest, it only serves as a basis for someone who wants to add a ProfileChanger to their build.

The hook method is vfunc, it needs adaptation for the new libraries.

The added files already have full capacity for adding an InventoryChanger / MedalChanger, but I didn't have the patience for that.

If you know how to optimize or extend, feel free to share, that I will try to do the best (or make a pull request on the fork).

In short: it has what it takes to function and nothing else.

(se você for Brasileiro: Isso é uma pura gambiarra).

Credits: a set of several leaked sources that I found in corsair.wtf;

caiocinel and others added 8 commits January 13, 2021 21:51
Triste

Co-Authored-By: TarwzDev <41245747+TarwzDev@users.noreply.github.com>
Co-Authored-By: Lucas Hoffman <56567933+Lukeenho@users.noreply.github.com>
Co-Authored-By: Gustavo Meatto <46137871+WaterDeveloper@users.noreply.github.com>
@caiocinel caiocinel mentioned this pull request Jan 20, 2021
Osiris/Changer/valve_parser.h Outdated Show resolved Hide resolved
@Scui1
Copy link

Scui1 commented Jan 21, 2021

can't change ranks on wingman and dangerzone, nice paste 😂

@caiocinel
Copy link
Contributor Author

caiocinel commented Jan 21, 2021 via email

@doggobot-owner
Copy link

this should be developed more and added medal and inventory changer, ngl
also add config system
goodluck

@thisisnotagithub
Copy link

works as it should thank you for your contribution. i will continue to try and develop this project and add a medal changer, i would appreciate it if other people tried as well

@ghost
Copy link

ghost commented Jan 24, 2021

Hi and thank you @caiocinel for this awesome pull. Can anyone make medal changer that other people be able to see medals on my profile in lobby (not in the match only when they join my lobby)?
Sorry about my ENGLISH

@linuxer9 linuxer9 mentioned this pull request Feb 11, 2021
@linuxer9
Copy link

I'm working on the inventory changer, I finally managed to make it work but I have "a stupid" issue, I can't get steam account ID
uint32_t steamid = memory->SteamUser->GetSteamID().GetAccountID();
I tried adding this code to memory.cpp
ISteamUser* SteamUser = SteamClient->GetISteamUser((void*)1, (void*)1, "SteamUser019");
but the game is crashing..
I manually hardcoded my steam ID and it works fine,
@caiocinel

@caiocinel
Copy link
Contributor Author

I'm working on the inventory changer, I finally managed to make it work but I have "a stupid" issue, I can't get steam account ID
I manually hardcoded my steam ID and it works fine,
@caiocinel

Take a look at how Daniel does it on GOESP:

https://github.com/danielkrupinski/GOESP/search?q=steamid

@linuxer9
Copy link

Take a look at how Daniel does it on GOESP:

https://github.com/danielkrupinski/GOESP/search?q=steamid

Thanks a took a look at it before and it's not what I want, It grabs steam IDs of entities during the game, so it's not helpful if the user is in the main menu (i.e. LocalPlayer doesn't exist)

@linuxer9
Copy link

I feel dumb, I set the steam id to 0 and it still works

void Inventory::ApplyMedals(ProtoWriter& object)
{
	uint32_t MedalIndex = 970;// config->medalChanger.medals;
	uint64_t steamid = 0;
...

do you think this might have side effects?

@Scui1
Copy link

Scui1 commented Feb 12, 2021

I'm working on the inventory changer, I finally managed to make it work but I have "a stupid" issue, I can't get steam account ID
uint32_t steamid = memory->SteamUser->GetSteamID().GetAccountID();
I tried adding this code to memory.cpp
ISteamUser* SteamUser = SteamClient->GetISteamUser((void*)1, (void*)1, "SteamUser019");
but the game is crashing..
I manually hardcoded my steam ID and it works fine,
@caiocinel

wtf are you doing? Why are you passing 1 as values for handles? maybe read the documentation

@ghost
Copy link

ghost commented Feb 13, 2021

I'm noob but maybe :
"ISteamUser* SteamUser;" in the "memory.h"
"SteamUser = (ISteamUser*)SteamClient->GetISteamUser((void*)1, (void*)1, "SteamUser019");" in the "memory.cpp"

you did not cast it to (ISteamUser*)

Test an tell me :D

@caiocinel
Copy link
Contributor Author

caiocinel commented Feb 13, 2021 via email

@linuxer9
Copy link

wtf are you doing? Why are you passing 1 as values for handles? maybe read the documentation

I have no idea of I what I'm doing, actually but I looked at "GetISteamGenericInterface" it's the function and he passed 1 for both hSteamUser and hSteamPipe, so I did the same. I appreciate your tip :)

I finally solved it, thanks to @MirzaGorgAli and @caiocinel, your both solutions did actually work :) 👍

@zioloprime
Copy link

How to make usage of this/?

@FlameProfi
Copy link

autoupdate skins don't work, please fix

@caiocinel
Copy link
Contributor Author

autoupdate skins don't work, please fix

See what causes the problem and do a review, with that I can fix the problem.

This project is an example, it is far from ideal.

@linuxer9
Copy link

autoupdate skins don't work, please fix

changing local inventory doesn't change your the server side inventory.
the game still gets your items from GC server.
so in order to make inventory changer work in game, you have two options:

  • either force fallback paintkit on weapons according to the equipped weapon slot.
  • or, dynamically get the item ID of equipped slot and set your current weapon item id to that id from local inventory.
    you still need to change models, fix animations of knives and make gloves, just like the current skin changer.

@caiocinel
Copy link
Contributor Author

I'm working on a better ProfileChanger, allowing me to change Wingman and DZ as well.

@caiocinel caiocinel closed this Mar 28, 2021
@SquidmarcHD
Copy link

hey can i get your discord by any chance?

@caiocinel
Copy link
Contributor Author

caiocinel commented May 24, 2021 via email

@SquidmarcHD
Copy link

would be cool if you also accept it 👍

@caiocinel
Copy link
Contributor Author

caiocinel commented May 25, 2021 via email

@Shuvi-Moro Shuvi-Moro mentioned this pull request Aug 2, 2021
@Nep-Timeline Nep-Timeline mentioned this pull request Sep 26, 2021
@alerion921
Copy link

Will this be updated?

@caiocinel
Copy link
Contributor Author

caiocinel commented Jul 13, 2022 via email

@buttonzero
Copy link

does this work still, been lookin for a profile changer for a while cant seem to find one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants