Online Game anti-Variable Speed Gear plug-in

Source: Internet
Author: User

I believe that every game has encountered the problem described in the title. The general practice is to search for the plug-in process to kill, or find that there are plug-ins that do not allow the game to run, or to prevent plug-ins on the server, or others. Of course, this cannot be said to be a solution. It can solve some problems.

 

Today, I have a new method here, that is, to check the security of the Program on the client and prevent modifications by external plug-ins (no matter the package here). This can solve those security checks on the server, people who are worried about server pressure.

 

The principle is simple: if someone else can change your game memory, you can recover the game memory yourself.

Yes. That's just two sentences.

 

Paste the C ++ code:

Extern void ResumeGameSpeed () <br/>{< br/> WORD * byte_pos = (WORD *): timeGetTime; <br/> if (* byte_pos = 0x3D83) // cmp [83, 3D] command <br/> return; </p> <p> HANDLE hMyHandle =: OpenProcess (PROCESS_VM_OPERATION | PROCESS_VM_WRITE, FALSE ,:: getCurrentProcessId (); <br/> if (hMyHandle) <br/>{< br/> BYTE cmp _ [7] = {0x83, 0x3D, 0x14, 0x00, 0xB3, 0x76, 0x00 }; <br/>: WriteProcessMemory (hMyHandle, (BYTE *) byte_pos, cmp _, 7, 0 ); <br/>: CloseHandle (hMyHandle); <br/>}< br/>}

 

The above code can block different versions of the Variable Speed Genie and different versions of the variable speed gear.

 

When I made these code, I tested the above two transmissions. The gearbox cannot control the console program, and the gears can control all visible processes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.