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 


get CPUID

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
.lua
Expert Cheater
Reputation: 1

Joined: 13 Sep 2018
Posts: 189

PostPosted: Sun May 12, 2019 1:43 am    Post subject: get CPUID Reply with quote

Help me, please. I want to know some simple ways to get CPUID

It doesn't seem to be a real CPUID
Code:
local ID=cpuid(EAX,ECX)
for k,v in pairs(ID) do
   print(v)
end
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sun May 12, 2019 2:35 am    Post subject: Reply with quote

perhaps this makes it more clear
Code:

local ID=cpuid(EAX,ECX)
for k,v in pairs(ID) do
   print(string.format("%s = %x", k,v))
end


or
Code:

local z=cpuid(0)
print(byteTableToString(dwordToByteTable(z.EBX))..byteTableToString(dwordToByteTable(z.EDX))..byteTableToString(dwordToByteTable(z.ECX)))

_________________
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
.lua
Expert Cheater
Reputation: 1

Joined: 13 Sep 2018
Posts: 189

PostPosted: Sun May 12, 2019 9:51 am    Post subject: Reply with quote

I print it out as Genuine Intel in the following way.
But it seems that all computers have it, not the only one.
How to get a unique identifier.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 199

Joined: 25 Jan 2006
Posts: 8518
Location: 127.0.0.1

PostPosted: Mon May 13, 2019 9:50 pm    Post subject: Reply with quote

@.lua - I deleted the report you made of DB's post, I think it was done by accident since your report text was your post you made here last. If there was an issue feel free to report again and make sure to put the correct text in the report. (I think you did it by accident though, so no big deal just letting you know.)
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
.lua
Expert Cheater
Reputation: 1

Joined: 13 Sep 2018
Posts: 189

PostPosted: Mon May 13, 2019 11:05 pm    Post subject: Reply with quote

@atomOs: don't quite understand what you mean
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 Lua Scripting 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