hello guys please i want tutorial how to make loading screen bypass or just give me loading screen bypass because i realy need it , i have the source but it's outdate and i dont know how to update it
- Code:
#RequireAdmin
#include <WinAPI.au3>
#include <TrayConstants.au3>
Global $Process = "S4Client.exe"
TrayTip("HS4L", "Waiting for S4League", 0, $TIP_ICONASTERISK)
Global $S4Client
do
Sleep(100)
$S4Client = _MEMORYMODULEGETBASEADDRESS(ProcessExists($Process),$Process)
Until $S4Client > 0
$S4Client = _MEMORYMODULEGETBASEADDRESS(ProcessExists($Process),$Process)
if ($S4Client <> 0) Then MsgBox(0,"HS4L","Module ["&$S4Client&"]",0)
WriteProcessMemory(ProcessExists($Process),$S4Client+0x9CC8F,"0x6A02","byte[2]")
WriteProcessMemory(ProcessExists($Process),$S4Client+0x4A4B7B,"0x6A03","byte[2]")
MsgBox(64,"","Succesfully ¡Thanks alexmen10!",0)
Func WriteProcessMemory($hProcess, $lpBaseAddress, $Value, $Type = 'dword')
$procHwnd = _WinAPI_OpenProcess(0x1F0FFF, False, ProcessExists($hProcess));
$dsBuffer = DllStructCreate($Type)
DllStructSetData($dsBuffer, 1, $Value)
DllCall('kernel32.dll', 'bool', 'WriteProcessMemory', 'handle', $procHwnd, 'ptr', $lpBaseAddress, 'ptr', DllStructGetPtr($dsBuffer), 'int', DllStructGetSize($dsBuffer), 'int', 0)
_WinAPI_CloseHandle($procHwnd)
EndFunc ;==>WriteProcessMemory
FUNC _MEMORYMODULEGETBASEADDRESS($IPID, $SMODULE)
IF NOT PROCESSEXISTS($IPID) THEN RETURN SETERROR(1, 0, 0)
IF NOT ISSTRING($SMODULE) THEN RETURN SETERROR(2, 0, 0)
LOCAL $PSAPI = DLLOPEN("psapi.dll")
LOCAL $HPROCESS
LOCAL $PERMISSION = BITOR(2, 1024, 8, 16, 32)
IF $IPID > 0 THEN
LOCAL $HPROCESS = DLLCALL("kernel32.dll", "ptr", "OpenProcess", "dword", $PERMISSION, "int", 0, "dword", $IPID)
IF $HPROCESS[0] THEN
$HPROCESS = $HPROCESS[0]
ENDIF
ENDIF
LOCAL $MODULES = DLLSTRUCTCREATE("ptr[1024]")
LOCAL $ACALL = DLLCALL($PSAPI, "int", "EnumProcessModules", "ptr", $HPROCESS, "ptr", DLLSTRUCTGETPTR($MODULES), "dword", DLLSTRUCTGETSIZE($MODULES), "dword*", 0)
IF $ACALL[4] > 0 THEN
LOCAL $IMODNUM = $ACALL[4] / 4
LOCAL $ATEMP
FOR $I = 1 TO $IMODNUM
$ATEMP = DLLCALL($PSAPI, "dword", "GetModuleBaseNameW", "ptr", $HPROCESS, "ptr", PTR(DLLSTRUCTGETDATA($MODULES, 1, $I)), "wstr", "", "dword", 260)
IF $ATEMP[3] = $SMODULE THEN
DLLCLOSE($PSAPI)
RETURN PTR(DLLSTRUCTGETDATA($MODULES, 1, $I))
ENDIF
NEXT
ENDIF
DLLCLOSE($PSAPI)
RETURN SETERROR(-1, 0, 0)
ENDFUNC