Cheating in online games is a huge issue these days — just ask anyone playing PUBG. Cheaters aren’t difficult for players to spot but vendors oftentimes don’t do enough to punish these villains. Krafton recently announced they would start banning cheaters by hardware ID, which got me thinking about how you can get a user’s hardware ID.
There’s no definitive “hardware ID” provided by a machine, but you can create your own based on how specific you want to get. The hardware ID you create can be created from multiple pieces of hardware. Let’s discover how to get important IDs of different hardware components:
# Get information about the motherboard wmic baseboard get serialnumber #> 0JU9387_84S397K # Get information about the hard drive wmic diskdrive get serialnumber #> 1234-5678-9012-3456 # Get information about the CPU wmic cpu get processorid #> J8S4332SKJ93
Which hardware elements of the computer to build the hardware ID is up to the developer. I prefer to use maximum punishment by checking any of the components for a banned ID. A cheater could sell one component to another player but the chances are pretty low. Regardless, take action to track users by hardware if you foresee problems!
Being a Dev Dad
I get asked loads of questions every day but I’m always surprised that they’re rarely questions about code or even tech — many of the questions I get are more about non-dev stuff like what my office is like, what software I use, and oftentimes…
Facebook Open Graph META Tags
It’s no secret that Facebook has become a major traffic driver for all types of websites. Nowadays even large corporations steer consumers toward their Facebook pages instead of the corporate websites directly. And of course there are Facebook “Like” and “Recommend” widgets on every website. One…
Introducing LazyLoad 2.0
While improvements in browsers means more cool APIs for us to play with, it also means we need to maintain existing code. With Firefox 4’s release came news that my MooTools LazyLoad plugin was not intercepting image loading — the images were loading regardless of…
CSS Rounded Corners
The ability to create rounded corners with CSS opens the possibility of subtle design improvements without the need to include images. CSS rounded corners thus save us time in creating images and requests to the server. Today, rounded corners with CSS are supported by all of…
Source link