-
Notifications
You must be signed in to change notification settings - Fork 45
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
Update ClearCrimes.cpp #82
Conversation
Test - working on bounty/crime removal/
Do you have cmake and msvc installed on ur pc? also you should probably make this a draft pr |
@Deadlineem do you have |
No but i will install git when i get home from work and get back to you on this asap @Yimura. |
I got it to compile, but the game had a small update and now it crashes :( -- Updated the pointers on mine and its working again. Now i can finally build/test these on my own. I had to reinstall visual studio based off of yims docs. |
BOUNTY::_BOUNTY_REQUEST_PAY_OFF_BOUNTY(guid); -- Pays the bounty price from your wallet, fairly legit // Does not remove currently active police PLAYER::SET_WANTED_LEVEL_MULTIPLIER(0.0); 0 disables the wanted level system, 1 is default. |
Changed this to Pay Bounties and reflected the code to pay off all bounties for the player.
Added "Never Wanted" toggle, instantly and effectively removes and disables your wanted level (does not pay bounties)
Added "Never Wanted" toggle to self submenu
Updated this severely, first crack at something in C++ by myself, the commit now changes ClearCrimes.cpp to pay off bounties from your wallet balance (instead of doing nothing like before) Adds NeverWanted.cpp which sets the wanted mode to 0 or 1 (disabled/enabled) Adds the Never Wanted toggle to the Self tab. |
_BOUNTY_REQUEST_SERVED_FULL_JAIL_SENTENCE seemed to work fine, why change it? It removes your bounty for the current region you're in, unless this was changed in this last update. Have you tried _BOUNTY_REQUEST_SELF_REPORT_KILLED_BY_BOUNTY_HUNTER or _SET_BOUNTY_HUNTER_PURSUIT_CLEARED? |
I used it right before the recent update, it didnt seem to work at all for me. However, having pay bounties is a more "legit" way of doing it, and also having "Never Wanted" helps alot. |
Download the artifacts for this pull request: |
Test - working on bounty/crime removal, found some natives that could possibly fix this, i just cant figure out how to compile this sooo
This may also be of use
PLAYER::CLEAR_PLAYER_WANTED_LEVEL(guid);