Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


I'm looking for a programmer to help me

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
homerorf
How do I cheat?
Reputation: 0

Joined: 24 Oct 2019
Posts: 4

PostPosted: Thu Oct 24, 2019 2:13 pm    Post subject: I'm looking for a programmer to help me Reply with quote

Hi,

I'm Python programmer and I'm doing a study where I collect some information in FIFA 19/20 screenshot like:

- players positions at screen.
- ball position at screen.
- score.
- command used (which commands was sent by me and my adversary)

Then I try to understand if my last move was successful.

By "successful" I mean:

- if have any goal.
- if my team still with the ball.
- if my team take the ball.

But it's have been very difficult since Python doesn't have good libraries to do that.

My main goal here is to compare these information with a real information, in a real game to see how accurate is FIFA.

Do you guys think this is more easy to do that using cheat engine?

If so, I would like to pay someone to help me on that. At least help me to find the memory address where can I find these information.

Please let me know if you are interested.

Thank you!
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Oct 24, 2019 11:35 pm    Post subject: Reply with quote

Is it possible with CE? Sure, but no it will be more work than using an actual programming language vs. using CE or CE's Lua engine. You'll have better luck doing this in Python.

OCR libraries exist for all languages, you just need to find one that suits your needs. Otherwise, you need to make your own image recognition set up to look for specifics of the image. Python has full access to Win32 API which offers several methods of reading screen data, reading pixel information, dumping/screenshotting the entire screen etc.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
homerorf
How do I cheat?
Reputation: 0

Joined: 24 Oct 2019
Posts: 4

PostPosted: Fri Oct 25, 2019 7:41 am    Post subject: Reply with quote

Thank you for your reply atom0s!

Actually has been very difficult.

First because OCR is not very good to extract FIFA pixels. Also its more difficult to get control/keyboard commands and other information.

While using CE, if I understood corretly, its just pick up the right memory address for the right information.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Fri Oct 25, 2019 5:12 pm    Post subject: Reply with quote

If you wish to ditch the image scanning part yes, you can just rely solely on memory-based information.

You can pull the position of players on the field, ball location, ball ownership based on how the game assumes whos in control of it and so on. Then do any needed work on the collected data. You can do this in Python as well as Python can access another process's memory via Win32 API.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
homerorf
How do I cheat?
Reputation: 0

Joined: 24 Oct 2019
Posts: 4

PostPosted: Sun Oct 27, 2019 6:40 am    Post subject: Reply with quote

Yes, its seems easy to do ball and players position using CE.

The most difficult part it seems to be reading controller/keyboard commands. Mostly if I am playing against machine instead a human.

Do you have any idea how to do that using CE?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Oct 27, 2019 11:10 pm    Post subject: Reply with quote

That would depend on how the game is handling input. There are a lot of ways to handle input in a game, so the approach differs for each one.

Some methods you can look into:
- DirectInput
- Raw Input
- Window Messages (WM_CHAR, WM_KEYDOWN, WM_KEYUP, etc.)
- Third-party libraries. (XInput, DirectInput, etc.)

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
homerorf
How do I cheat?
Reputation: 0

Joined: 24 Oct 2019
Posts: 4

PostPosted: Mon Oct 28, 2019 8:03 am    Post subject: Reply with quote

Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites