No, since this is a DLL, I just made a dll which accepts some inputs and than compares them and stuff. If you want to use Read Process Memor, heres the basic logic :
Read address 449054,
If 449054 <= 13 {
Winnner == host
}
Else
{Winner == client}
To find out who the client is, and who the server is you need this:
read address 449100
if 449100 == 2 {
local LF2 == host
}
if 449100 == 4 {
local lf2 == client
}
To see if the lf2 that is running is the winner, just do
if winner == local lf2
{you won}
else
{you lost}
I hope that made sense.
Client = the person that connects, a.k.a the person that has to write the I.P address
Host = Person that gets connected to, a.k.a person that presses "waiting for opponent"
Edit: Actually, I think I got what you mean, you didn't mean the actual read process memory API, but actually reading lf2 memory... And yes I did read the process memory.
Read address 449054,
If 449054 <= 13 {
Winnner == host
}
Else
{Winner == client}
To find out who the client is, and who the server is you need this:
read address 449100
if 449100 == 2 {
local LF2 == host
}
if 449100 == 4 {
local lf2 == client
}
To see if the lf2 that is running is the winner, just do
if winner == local lf2
{you won}
else
{you lost}
I hope that made sense.
Client = the person that connects, a.k.a the person that has to write the I.P address
Host = Person that gets connected to, a.k.a person that presses "waiting for opponent"
Edit: Actually, I think I got what you mean, you didn't mean the actual read process memory API, but actually reading lf2 memory... And yes I did read the process memory.
10 ʏᴇᴀʀs sɪɴᴄᴇ ɪʀᴄ ɢᴏᴏᴅ.ɪ ᴡᴀʟᴋ ᴛʜʀᴏᴜɢʜ ᴛʜᴇ ᴇᴍᴘᴛʏ sᴛʀᴇᴇᴛs ᴛʀʏɪɴɢ ᴛᴏ ᴛʜɪɴᴋ ᴏғ sᴏᴍᴇᴛʜɪɴɢ ᴇʟsᴇ ʙᴜᴛ ᴍʏ ᴘᴀᴛʜ ᴀʟᴡᴀʏs ʟᴇᴀᴅs ᴛᴏ ᴛʜᴇ ɪʀᴄ. ɪ sᴛᴀʀᴇ ᴀᴛ ᴛʜᴇ sᴄʀᴇᴇɴ ғᴏʀ ʜᴏᴜʀs ᴀɴᴅ ᴛʀʏ ᴛᴏ sᴜᴍᴍᴏɴ ᴛʜᴇ ɢᴏᴏᴅ ɪʀᴄ. ɪ ᴡᴀᴛᴄʜ ᴏᴛʜᴇʀ ɪʀᴄ ᴄʜᴀɴɴᴇʟs ʙᴜᴛ ɪᴛ ɪs ɴᴏ ɢᴏᴏᴅ. ɪ ᴘᴇsᴛᴇʀ ᴢᴏʀᴛ ᴀɴᴅ ᴛʀʏ ᴛᴏ ʀᴇsɪsᴛ ʜɪs sᴇxɪɴᴇss ʙᴜᴛ ɪᴛ ɪs ᴀʟʟ ᴍᴇᴀɴɪɴɢʟᴇss. ᴛʜᴇ ᴇɴᴅ ɪs ɴᴇᴀʀ.ɪ ᴛʜᴇɴ ᴜsᴜᴀʟʟʏ ʀᴇᴀᴅ sᴏᴍᴇ ᴏʟᴅ ɪʀᴄ ʟᴏɢs ᴀɴᴅ ᴄʀʏ ᴍʏsᴇʟғ ᴛᴏ sʟᴇᴇᴘ.