Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Grabbing values out of Unity game.

Hello,
Doing a little fun project on a chance calculator for Governor of Poker 3 where I would like to automatically grab my cards and the cards on the table and calculate the chance of getting combinations.
GOP 3 uses Unity and I was wondering if there is a way to easily grab values that are being used in-game?
Link to the game: https://web-live.gop3.nl/
Thanks in advance.
[Image: jYK9GP1.gif]
Just hack it w/ unity code
if its a standalone modify the assemby-csharp.dll w/ Reflector
(Feb 13, 2017 10:19 AM)w4zt3d Wrote:  Just hack it w/ unity code
if its a standalone modify the assemby-csharp.dll w/ Reflector

Sorry but I dont quite understand what you mean with "Just hack it w/ unity code" could you maybe explain?
[Image: jYK9GP1.gif]
(Feb 12, 2017 11:53 AM)JuicyProgramming Wrote:  Hello,
Doing a little fun project on a chance calculator for Governor of Poker 3 where I would like to automatically grab my cards and the cards on the table and calculate the chance of getting combinations.
GOP 3 uses Unity and I was wondering if there is a way to easily grab values that are being used in-game?
Link to the game: https://web-live.gop3.nl/
Thanks in advance.
You could hook into the games memory using cheat engine and once you find the static addresses and you want to make your own program you would use ReadProcessMemory to read the memory and WriteProcessMemory to write to the memory, if the game is browser based follow this tutorial: https://www.youtube.com/watch?v=kdC1_0ZIM7E
(Feb 13, 2017 01:15 PM)DaftHacker Wrote:  You could hook into the games memory using cheat engine and once you find the static addresses and you want to make your own program you would use ReadProcessMemory to read the memory and WriteProcessMemory to write to the memory, if the game is browser based follow this tutorial: https://www.youtube.com/watch?v=kdC1_0ZIM7E

Thanks alot for your reply. The game works with poker cards. I tried some different ways to find it but I cant seem to find it. Any suggestions?
[Image: jYK9GP1.gif]
(Feb 13, 2017 02:42 PM)JuicyProgramming Wrote:  Thanks alot for your reply. The game works with poker cards. I tried some different ways to find it but I cant seem to find it. Any suggestions?
I would recommend trying the steam/desktop version of the game, trying to hack the browser based version just makes it a bit harder, if you've never used cheat engine i would recommend this playlist: https://www.youtube.com/watch?v=EzZ259ya...7FE8AEA4D2
(Feb 13, 2017 04:32 PM)DaftHacker Wrote:  I would recommend trying the steam/desktop version of the game, trying to hack the browser based version just makes it a bit harder, if you've never used cheat engine i would recommend this playlist: https://www.youtube.com/watch?v=EzZ259ya...7FE8AEA4D2

Thanks! With these tutorials I found the card value (2,3,4,5 etc) :). Is there an easy way to find their types (Hearts, Diamonds, Spades and Clubs)?
[Image: jYK9GP1.gif]
The same way you found the card numbers, they'll most likely be close where you found the value address. They could be using any value to represent HDSC, it could be string, int etc etc so you'd just have to do some digging really.

Also MUFC!

Good luck.
(Feb 14, 2017 01:36 PM)LETMETAKEASELFIE Wrote:  The same way you found the card numbers, they'll most likely be close where you found the value address. They could be using any value to represent HDSC, it could be string, int etc etc so you'd just have to do some digging really.

Also MUFC!

Good luck.

Found it. https://en.wikipedia.org/wiki/Standard_52-card_deck helped me with this. Thanks!
[Image: jYK9GP1.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Source] by HackersNov 19, 2024 01:51 PM 15 684 Nov 19, 2024 01:51 PM
Last Post: Hackers
[Python] by simmerDec 3, 2021 06:39 AM 4 175 Dec 3, 2021 06:39 AM
Last Post: simmer
[.NET] by PoppiecornNov 6, 2021 08:49 AM 1 173 Nov 6, 2021 08:49 AM
Last Post: donthakyou