Golf With Your Friends [Needed help!]

Add topics here with methods, analysis, code snippets, mods etc. for a certain game that normally won't make it in the Tables or Requests sections.
Post Reply
SojerManLan
What is cheating?
What is cheating?
Posts: 4
Joined: Sun Oct 11, 2020 5:57 pm
Reputation: 0

Golf With Your Friends [Needed help!]

Post by SojerManLan »

Hello, I have been lurking on this site and using many of the trainers here (which I thank infinitely for). Today I tried to make a table for Golf With Your Friends (Windows Store version) which would freeze/decreast the count of shots made (in offline games, of course). After about 10 minutes of making shots I found the address responsible for that, but changing the value does nothing, as after making a shot it shows the legitimate amount. This is what writes to this address: [Link]. Any help will be appreciated!

User avatar
Rhark
Fearless Donors
Fearless Donors
Posts: 458
Joined: Tue Apr 16, 2019 1:27 am
Reputation: 141

Re: Golf With Your Friends [Needed help!]

Post by Rhark »

Sounds like you found the visual address

User avatar
silver001
Noobzor
Noobzor
Posts: 11
Joined: Tue Sep 01, 2020 4:59 pm
Reputation: 2

Re: Golf With Your Friends [Needed help!]

Post by silver001 »

Hey SojerManLan,

When I did a search for my putts, I eventually whittled it down to 3 values.
In my case, changing the top one changed them all. Play around by locking one value at a time.
You picked at easy game to experiment with !

Be careful not to mess around when you play online !
I tested in Offline Practice mode.

Silver001

SojerManLan
What is cheating?
What is cheating?
Posts: 4
Joined: Sun Oct 11, 2020 5:57 pm
Reputation: 0

Re: Golf With Your Friends [Needed help!]

Post by SojerManLan »

silver001 wrote:
Mon Oct 12, 2020 3:34 am
Hey SojerManLan,

When I did a search for my putts, I eventually whittled it down to 3 values.
In my case, changing the top one changed them all. Play around by locking one value at a time.
You picked at easy game to experiment with !

Be careful not to mess around when you play online !
I tested in Offline Practice mode.

Silver001
Mind if I ask you: Did you use the Steam version or the Windows Store version?

User avatar
silver001
Noobzor
Noobzor
Posts: 11
Joined: Tue Sep 01, 2020 4:59 pm
Reputation: 2

Re: Golf With Your Friends [Needed help!]

Post by silver001 »

I have the Steam version. And it was already installed, so I was able to respond quickly.

Keep searching, you just about have it !
In practice mode, you can take up to 50 strokes.
More than enough to close in on your search.

I think I found the same bytes as you :
mov [r12+00000080],eax
jmp return
It was a simple 4 byte exact value search.

SojerManLan
What is cheating?
What is cheating?
Posts: 4
Joined: Sun Oct 11, 2020 5:57 pm
Reputation: 0

Re: Golf With Your Friends [Needed help!]

Post by SojerManLan »

silver001 wrote:
Mon Oct 12, 2020 8:16 pm
I have the Steam version. And it was already installed, so I was able to respond quickly.

Keep searching, you just about have it !
In practice mode, you can take up to 50 strokes.
More than enough to close in on your search.

I think I found the same bytes as you :
mov [r12+00000080],eax
jmp return
It was a simple 4 byte exact value search.
I was able to pin it down and lock the value, but it only changed the number of shots on the counter. At the end of the hole, it shows like "Albatross", "Eagle" or "Birdie", but the actual strokes are still registered legitimately.

User avatar
silver001
Noobzor
Noobzor
Posts: 11
Joined: Tue Sep 01, 2020 4:59 pm
Reputation: 2

Re: Golf With Your Friends [Needed help!]

Post by silver001 »

In practice mode, modifying the number doesn't accomplish much.

I tired it in Offline Forest Classic.
When I got up to 5 or 6 strokes, I changed it to 2.
I put the next stroke in and I got a Birdie on a par 4.
I seem to recall scoring +2 for the course, which reflects my cheating ways.
I should have had around 70 on the scorecard, the way I was knocking the ball out of bounds all the time !
I will try this again in the near future and keep track of the scorecard after it tells me birdie or par or whatever.

I'm not willing to experiment in Online mode.
I think the other offline play modes would work as well, but I haven't tried them yet.

Enjoy the game !
Explore the workshop courses.

User avatar
silver001
Noobzor
Noobzor
Posts: 11
Joined: Tue Sep 01, 2020 4:59 pm
Reputation: 2

Re: Golf With Your Friends [Needed help!]

Post by silver001 »

So I had a chance to play around with this some more. ( Offline only, of course ! )
Maybe the counting of strokes doesn't work the way you think...

Every hole starts with zero strokes and counts upwards until you hole out.
Then your strokes are added to the scorecard.
Your strokes are reset to zero when you start the next hole.

What you see on the Leaderboard doesn't actively get updated.
I changed my score on a couple of previous holes ( that must have surely been recorded incorrectly ).
Hitting TAB for the Leaderboard screen, the displayed scorecard did not reflect my changes.
( it showed the same information as at the end of the last hole )
It wasn't updated until the end of the current hole.
The scorecard is displayed and the finished hole score was posted.
The updated Total also was correct for me.

So does this help you understand what you see happening in your case ?

By the way, there's some other nice entities to play around with, like FreeCam time and hole-time.
But there was also some anti-cheating code.

The game looks easy and well-done. I'm going to enjoy playing it for a while.

I hope this helps you out !

This info was for the Steam version. Offline play had the data stored locally.
Maybe the Windows Store version is different and everything is held server-side ?



Silver001

Post Reply

Who is online

Users browsing this forum: No registered users