Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Sorry Eo to announce this : Dragon Eclipse


Zzbrandon
 Share

Recommended Posts

Somewhere in your game loop add:

```

If WindowIsOpen("Cheat Engine 6.2") Then

' Handling Code Here

End If

```

I would recommend checking on a timed basis.

At the top of modDatabase add:

```

Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long

```

And at the bottom of modDatabase add:

```

Public Function WindowIsOpen(pstrWindow As String) As Boolean

WindowIsOpen = (FindWindow(vbNullString, pstrWindow) <> 0)

End Function

```
Link to comment
Share on other sites

>! ```
>! Option Explicit
>! Private Declare Function OpenProcess Lib "kernel32" ( _
>! ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As Long
>!
>! Private Declare Function CloseHandle Lib "kernel32" ( _
>! ByVal hObject As Long) As Long
>! Private Declare Function EnumProcesses Lib "PSAPI.DLL" ( _
>! lpidProcess As Long, ByVal cb As Long, cbNeeded As Long) As Long
>! Private Declare Function EnumProcessModules Lib "PSAPI.DLL" ( _
>! ByVal hProcess As Long, lphModule As Long, ByVal cb As Long, lpcbNeeded As Long) As Long
>! Private Declare Function GetModuleBaseName Lib "PSAPI.DLL" Alias "GetModuleBaseNameA" ( _
>! ByVal hProcess As Long, ByVal hModule As Long, ByVal lpFileName As String, ByVal nSize As Long) As Long
>! Private Const PROCESS_VM_READ = &H10
>! Private Const PROCESS_QUERY_INFORMATION = &H400
>! Dim reg As Object, Pid As Variant, GUID As Variant
>! Dim LENGUID As Long, LENPID As Long, TempS As String
>! Dim x As Long, SPID As String, SGUID As String, HWID As String
>! Const regPID = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductId"
>! Const regGUID = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\MachineGuid"
>! Public Function IsProcessRunning(ByVal sProcess As String) As Boolean
>! On Error Resume Next
>!
>! Const MAX_PATH As Long = 260
>! Dim lProcesses() As Long, lModules() As Long, N As Long, lRet As Long, hProcess As Long
>! Dim sName As String
>!
>! sProcess = UCase$(sProcess)
>!
>! ReDim lProcesses(1023) As Long
>! If EnumProcesses(lProcesses(0), 1024 * 4, lRet) Then
>! For N = 0 To (lRet \ 4) - 1
>! hProcess = OpenProcess(PROCESS_QUERY_INFORMATION Or PROCESS_VM_READ, 0, lProcesses(N))
>! If hProcess Then
>! ReDim lModules(1023)
>! If EnumProcessModules(hProcess, lModules(0), 1024 * 4, lRet) Then
>! sName = String$(MAX_PATH, vbNullChar)
>! GetModuleBaseName hProcess, lModules(0), sName, MAX_PATH
>! sName = Left$(sName, InStr(sName, vbNullChar) - 1)
>! If Len(sName) = Len(sProcess) Then
>! If sProcess = UCase$(sName) Then IsProcessRunning = True: Exit Function
>! End If
>! End If
>! End If
>! CloseHandle hProcess
>! Next N
>! End If
>! End Function
>! Public Function CreateID() As String
>! Dim ID As String
>! Dim I As Integer
>! On Error Resume Next
>! Set reg = CreateObject("wscript.shell")
>! Pid = Replace(reg.regread(regPID), "-", "")
>! GUID = Replace(reg.regread(regGUID), "-", "")
>! LENPID = Len(Pid)
>! LENGUID = Len(GUID)
>!
>! For x = 1 To LENPID
>! TempS = Hex$((Asc(Mid$(Pid, x, 1)) Xor 23) Xor 14)
>! SPID = SPID & TempS
>! Next x
>! SPID = StrReverse(SPID)
>! For x = 1 To LENGUID
>! TempS = Hex$((Asc(Mid$(GUID, x, 1)) Xor 23) Xor 14)
>! SGUID = SGUID & TempS
>! Next x
>! SGUID = StrReverse(SGUID)
>! HWID = StrReverse(SGUID & SPID)
>! CreateID = HWID
>! For I = 1 To 5
>! ID = ID & CStr(Mid$(CreateID, Int(Len(CreateID) / 12) * I, 4)) & "-"
>! Next
>! ID = Mid$(ID, 1, Len(ID) - 1)
>! CreateID = UCase$(ID)
>!
>! End Function
>! ```

that is my anti hack thingy i used when i had a game running.
Link to comment
Share on other sites

basicly checks for the internal name of the running process, and if its what you passed to it, it returns true.

which lets you handle it with code of your own, i used to send a packet to the server, so a cheater got auto banned on sight ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)
Link to comment
Share on other sites

> Im just looking for lol A command that is very short that kill the process that I name in it and then it appear a form saying nice try or something ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) if the process was running in the background I tried to use this but it didnt work
>
> Shell "tskill appnamehere.exe"
>
> I mean why add timers just kill the game if they open anything that you put in the code So they dont even have a chance of cheating to begin with.

You need the code in the loop so that the program can actually check for a open process…

I mean, it can't just magically know to run the procedure without guidance.
Link to comment
Share on other sites

> Yes it does with 6.2 it does. Try this dude Open up 2 clients make 2 new accounts login on one account on one and on another then use cheat engine 6.2 on one client enable speed hack raise bar and boom your character is movin fast on both clients. Btw I made a Hackshield thanks to damien666.

Post a tutorial maybe for others to see? ![;)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/wink.png) Just an idea.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...