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 


Stream between two games

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Antoshick
Advanced Cheater
Reputation: 0

Joined: 02 Nov 2018
Posts: 56

PostPosted: Fri Feb 21, 2020 4:17 am    Post subject: Stream between two games Reply with quote

Hi, can i create realtime streaming between two games or between game and some application with CE?

For example copies values from one game to another at intervals of 30 times per second
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25785
Location: The netherlands

PostPosted: Fri Feb 21, 2020 4:41 am    Post subject: Reply with quote

depending on the amount of data yes

using 2 ce's
ce1 connects to process A (source)
ce2 connects to process B (destination)

each CE calls
Code:

address=allocateSharedMemory('bla',4096)

(make sure the string and size are the same on both)

in CE1: (connected to process A (source))
use a timer of 33 milliseconds or less (or a looping thread) to read out the addresses and write them into the memoryblock that
allocateSharedMemory returned

in CE2: (connected to process B (destination))
use a timer of 33 milliseconds or less (or a looping thread) to read out the addresses from the memoryblock that
allocateSharedMemory returned and write them to the appropriate addresses

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1668

PostPosted: Fri Feb 21, 2020 5:55 am    Post subject: Reply with quote

I also need a sample for CE Lua multithread or mutex/semaphore.
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Antoshick
Advanced Cheater
Reputation: 0

Joined: 02 Nov 2018
Posts: 56

PostPosted: Fri Feb 21, 2020 6:21 am    Post subject: Reply with quote

Dark Byte wrote:
depending on the amount of data yes

using 2 ce's
ce1 connects to process A (source)
ce2 connects to process B (destination)

each CE calls
Code:

address=allocateSharedMemory('bla',4096)

(make sure the string and size are the same on both)

in CE1: (connected to process A (source))
use a timer of 33 milliseconds or less (or a looping thread) to read out the addresses and write them into the memoryblock that
allocateSharedMemory returned

in CE2: (connected to process B (destination))
use a timer of 33 milliseconds or less (or a looping thread) to read out the addresses from the memoryblock that
allocateSharedMemory returned and write them to the appropriate addresses


It is work perfect, great. Thanks.
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