[QUOTE=DaKakis;20596570]hey guys i just installed a fresh windows 7, i just updated my drivers. i decided to try this demo. but it dosen't work, my computer freezes after i press new game. i have an dx10 card, intel i5 and 4 gig ram. is there anything i need to install? like package or something[/QUOTE] help please
[QUOTE=Dumba$$;20599311]shame, just imagine...
"Grapple lets you pull yourself up onto a chopper. Ultra-grapple lets you pul the chopper down to YOU!"[/QUOTE]
But wouldn't get crushed then? :confused:
[QUOTE=DaKakis;20599389]help please[/QUOTE]
How are we supposed to know
[QUOTE=DaKakis;20599389]help please[/QUOTE]
Have you updated windows, directx, and ALL drivers?
[editline]04:17PM[/editline]
Do you get an error message?
[QUOTE=aydin690;20599432]Have you updated windows, directx, and ALL drivers?
[editline]04:17PM[/editline]
Do you get an error message?[/QUOTE] no error message and yes
Yay, I've done some fun stuff so far.
-hook a plane to a helicopter and fly around with it.
-hook a truck to a helicopter and barely fly around at all
-hook a small car to a helicopter and make it orbit me wildly at insane speeds
too bad you can't make a train of people hooked to a car or something :(. Sometimes grappling some things together seems to be impossible.
[QUOTE=DaKakis;20599556]no error message and yes[/QUOTE]
This might sound stupid but have you restarted your pc yet?
Getting some content up in this bitch...
[img]http://imgkk.com/i/Ykdm93.png[/img]
[img]http://imgkk.com/i/L3ZyFW.png[/img]
[img]http://imgkk.com/i/yb0-PY.png[/img]
[img]http://imgkk.com/i/r9iwlz.png[/img]
[img]http://imgkk.com/i/pCoNDB.png[/img]
[img]http://imgkk.com/i/Sj1uZP.png[/img]
[QUOTE=rieda1589;20599727]
[img]http://imgkk.com/i/r9iwlz.png[/img]
[/QUOTE]
If i don't see a mod that replaces all of rico's lines with the same lines said by a farmer, i will be very dissapoint.
Ed.
441 people reading.. :wtc:
[QUOTE=aydin690;20599709]This might sound stupid but have you restarted your pc yet?[/QUOTE] Yeah, it freezes when i press new game so i have to restart
Everyone out there: the trainer for the unlimited time cheat seems to crash my game whenever I try to hack something or overload something by using the series of button presses.
Tell me if anyone else is getting this.
Heh, with the moving tractor pic, it is nice to see that the motion blur can detect the difference in the speed of the outside of the larger wheel with the outside of the smaller wheel. The smaller wheel's outside has less blur because it isn't moving as fast as the outside of the larger wheel.
[editline]05:46PM[/editline]
[QUOTE=nubscaper;20599833]Everyone out there: the trainer for the unlimited time cheat seems to crash my game whenever I try to hack something or overload something by using the series of button presses.
Tell me if anyone else is getting this.[/QUOTE]
Using the manual Cheat Engine method doesn't cause any problems with the game at all. The one Nioreh83 posted.
[editline]05:48PM[/editline]
[QUOTE=paul simon;20599830]441 people reading.. :wtc:[/QUOTE]
Several people have registered on the forums for the soul purpose of posting in this thread. People are probably finding this thread through Google. I just wish more people who are ALREADY on these forums knew how to use Google.
I swear, if you just played the demo, you wouldnt spend so much time crashing the computer, and more time...well, crashing a helecopter.
Into a petrol station.
Alright fuck this shit. I'll do a fresh install/format and install W7 next week. Have two midterms this week...
[QUOTE=aydin690;20599984]Alright fuck this shit. I'll do a fresh install/format and install W7 next week. Have two midterms this week...[/QUOTE]
Success.
Sorry to ask what everyone has probably been asking, but this thread has gotten 500 more posts since I last visited. What's the situation on unlimited time in the demo?
[QUOTE=clanratc;20599279]Imagine this game with Euphoria physics.[/QUOTE]
Well, if you're falling down the hill due to grenade explosion or something else, you're actually falling similiar as in Euphoria engine. It's not that good, but you see it.
oh nevermind it's on the previous page.
[QUOTE=lettuce_head;20600102]Sorry to ask what everyone has probably been asking, but this thread has gotten 500 more posts since I last visited. What's the situation on unlimited time in the demo?[/QUOTE]
This has already been resolved multiple times earlier in the thread.
[QUOTE=Greendead;20600135]Well, if you're falling down the hill due to grenade explosion or something else, you're actually falling similiar as in Euphoria engine. It's not that good, but you see it.[/QUOTE]
yeah it's the same when your plane explodes or something, rico is halfway between flying around like a ragdoll, and half trying to get into skydiving position.
It's a little silly how you can perpetually fly using parachute and grappling hook, makes vehicles redundant for the most part, except the ball tighteningly fast ones.
[QUOTE=BOLOPatch;20598447]sure, sec[/QUOTE]
This is the version which has the time toggle, and infinite ammo for weapons.
It's better than all of the previous ones.
Use this.
-- TERMINAL CRASH FIXED --
BTW With this version you can disable the time fix. That way, when you're about to use a terminal ingame, alttab to the script, and then uncheck the "inf.time" box.
After using the terminal, you can recheck the box.
[code]
;;================================================================================
;; Includes
;;================================================================================
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#RequireAdmin
#NoTrayIcon
;;================================================================================
;; Globals
;;================================================================================
SetPrivilege("SeDebugPrivilege", 1)
Global $ProcessID = ProcessExists("JustCause2.exe")
If $ProcessID = 0 Then
MsgBox(4096, "Error", "No process found.")
Exit 1
EndIf
Global $MAPPATCH = 0
Global $TIMEPATCH = 1
Global $AMMOPATCH = 2
;;================================================================================
;; GUI
;;================================================================================
GUICreate("BOLOPatch", 149, 66, -1, -1, BitOR($WS_SYSMENU,$WS_CAPTION,$WS_POPUP,$WS_POPUPWINDOW,$WS_BORDER))
GUICtrlCreateLabel("Status:", 0, 0, 37, 17, $SS_CENTER)
GUICtrlCreateLabel("Coding by G&H Productions", 0, 48, 148, 17, BitOR($SS_CENTER,$SS_NOPREFIX), $WS_EX_CLIENTEDGE)
$status = GUICtrlCreateLabel("", 40, 0, 107, 17, $SS_CENTER, $WS_EX_CLIENTEDGE)
$time_box = GUICtrlCreateCheckbox("Inf. Time", 0, 24, 65, 17, -1, $WS_EX_CLIENTEDGE)
$ammo_box = GUICtrlCreateCheckbox("Inf. Ammo", 72, 24, 73, 17, -1, $WS_EX_CLIENTEDGE)
GUISetState()
;;================================================================================
;; Main
;;================================================================================
Patch($MAPPATCH)
CheckPatchStatus()
While 1
$msg = GUIGetMsg()
Switch $msg
Case $GUI_EVENT_CLOSE
Exit
Case $time_box
If GUICtrlRead($time_box) = $GUI_CHECKED Then
Patch($TIMEPATCH)
Else
Patch($TIMEPATCH, 0)
EndIf
Case $ammo_box
If GUICtrlRead($ammo_box) = $GUI_CHECKED Then
Patch($AMMOPATCH)
Else
Patch($AMMOPATCH, 0)
EndIf
EndSwitch
WEnd
;;================================================================================
;; Patch
;;================================================================================
Func Patch($FLAG, $to_patch = 1)
$DLL = _MemoryOpen($ProcessID)
If @Error Then
MsgBox(4096, "Error", "Failed to open memory for process:" & $ProcessID)
Exit 1
EndIf
Switch $FLAG
Case $MAPPATCH
If _MemoryRead(0x007F2C95, $DLL, "byte") == 0x90 Then
GUICtrlSetData($status, "Map already patched!")
Else
_MemoryWrite(0x007F2C95, $DLL, 0x90, "byte");;;
_MemoryWrite(0x007F2C96, $DLL, 0x90, "byte");;;
_MemoryWrite(0x007F2C97, $DLL, 0x90, "byte");;; MAP LIMIT DISABLE
_MemoryWrite(0x007F2C98, $DLL, 0x90, "byte");;;
_MemoryWrite(0x007F2C99, $DLL, 0x90, "byte");;;
GUICtrlSetData($status, "Map limit patched.")
EndIf
Case $TIMEPATCH
Switch $to_patch
Case 1
_MemoryWrite(0x004FE17D, $DLL, 0x29, "byte");;; PATCH TIME
GUICtrlSetData($status, "Time patched.")
Case 0
_MemoryWrite(0x004FE17D, $DLL, 0x01, "byte");;; UNPATCH TIME
GUICtrlSetData($status, "Time unpatched.")
EndSwitch
Case $AMMOPATCH
Switch $to_patch
Case 1
_MemoryWrite(0x0053E831, $DLL, 0x00, "byte");;; PATCH AMMO
GUICtrlSetData($status, "Ammo patched.")
Case 0
_MemoryWrite(0x0053E831, $DLL, 0xff, "byte");;; UNPATCH AMMO
GUICtrlSetData($status, "Ammo unpatched.")
EndSwitch
EndSwitch
_MemoryClose($DLL)
EndFunc
;;================================================================================
;; CheckPatchStatus
;;================================================================================
Func CheckPatchStatus()
$DLL = _MemoryOpen($ProcessID)
If @Error Then
MsgBox(4096, "Error", "Failed to open memory for process:" & $ProcessID)
Exit 1
EndIf
If _MemoryRead(0x004FE17D, $DLL, "byte") == 0x29 Then
GUICtrlSetState($time_box, $GUI_CHECKED)
EndIf
If _MemoryRead(0x0053E831, $DLL, "byte") == 0x00 Then
GUICtrlSetState($ammo_box, $GUI_CHECKED)
EndIf
_MemoryClose($DLL)
EndFunc
;;================================================================================
;; NOMADMEMORY
;;================================================================================
Func _MemoryOpen($iv_Pid, $iv_DesiredAccess = 0x1F0FFF, $iv_InheritHandle = 1)
If Not ProcessExists($iv_Pid) Then
SetError(1)
Return 0
EndIf
Local $ah_Handle[2] = [DllOpen('kernel32.dll')]
If @Error Then
SetError(2)
Return 0
EndIf
Local $av_OpenProcess = DllCall($ah_Handle[0], 'int', 'OpenProcess', 'int', $iv_DesiredAccess, 'int', $iv_InheritHandle, 'int', $iv_Pid)
If @Error Then
DllClose($ah_Handle[0])
SetError(3)
Return 0
EndIf
$ah_Handle[1] = $av_OpenProcess[0]
Return $ah_Handle
EndFunc
Func _MemoryRead($iv_Address, $ah_Handle, $sv_Type = 'dword')
If Not IsArray($ah_Handle) Then
SetError(1)
Return 0
EndIf
Local $v_Buffer = DllStructCreate($sv_Type)
If @Error Then
SetError(@Error + 1)
Return 0
EndIf
DllCall($ah_Handle[0], 'int', 'ReadProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If Not @Error Then
Local $v_Value = DllStructGetData($v_Buffer, 1)
Return $v_Value
Else
SetError(6)
Return 0
EndIf
EndFunc
Func _MemoryWrite($iv_Address, $ah_Handle, $v_Data, $sv_Type = 'dword')
If Not IsArray($ah_Handle) Then
SetError(1)
Return 0
EndIf
Local $v_Buffer = DllStructCreate($sv_Type)
If @Error Then
SetError(@Error + 1)
Return 0
Else
DllStructSetData($v_Buffer, 1, $v_Data)
If @Error Then
SetError(6)
Return 0
EndIf
EndIf
DllCall($ah_Handle[0], 'int', 'WriteProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If Not @Error Then
Return 1
Else
SetError(7)
Return 0
EndIf
EndFunc
Func _MemoryClose($ah_Handle)
If Not IsArray($ah_Handle) Then
SetError(1)
Return 0
EndIf
DllCall($ah_Handle[0], 'int', 'CloseHandle', 'int', $ah_Handle[1])
If Not @Error Then
DllClose($ah_Handle[0])
Return 1
Else
DllClose($ah_Handle[0])
SetError(2)
Return 0
EndIf
EndFunc
Func SetPrivilege( $privilege, $bEnable )
Const $MY_TOKEN_ADJUST_PRIVILEGES = 0x0020
Const $MY_TOKEN_QUERY = 0x0008
Const $MY_SE_PRIVILEGE_ENABLED = 0x0002
Local $hToken, $SP_auxret, $SP_ret, $hCurrProcess, $nTokens, $nTokenIndex, $priv
$nTokens = 1
$LUID = DLLStructCreate("dword;int")
If IsArray($privilege) Then $nTokens = UBound($privilege)
$TOKEN_PRIVILEGES = DLLStructCreate("dword;dword[" & (3 * $nTokens) & "]")
$NEWTOKEN_PRIVILEGES = DLLStructCreate("dword;dword[" & (3 * $nTokens) & "]")
$hCurrProcess = DLLCall("kernel32.dll","hwnd","GetCurrentProcess")
$SP_auxret = DLLCall("advapi32.dll","int","OpenProcessToken","hwnd",$hCurrProcess[0], _
"int",BitOR($MY_TOKEN_ADJUST_PRIVILEGES,$MY_TOKEN_QUERY),"int*",0)
If $SP_auxret[0] Then
$hToken = $SP_auxret[3]
DLLStructSetData($TOKEN_PRIVILEGES,1,1)
$nTokenIndex = 1
While $nTokenIndex <= $nTokens
If IsArray($privilege) Then
$priv = $privilege[$nTokenIndex-1]
Else
$priv = $privilege
EndIf
$ret = DLLCall("advapi32.dll","int","LookupPrivilegeValue","str","","str",$priv, _
"ptr",DLLStructGetPtr($LUID))
If $ret[0] Then
If $bEnable Then
DLLStructSetData($TOKEN_PRIVILEGES,2,$MY_SE_PRIVILEGE_ENABLED,(3 * $nTokenIndex))
Else
DLLStructSetData($TOKEN_PRIVILEGES,2,0,(3 * $nTokenIndex))
EndIf
DLLStructSetData($TOKEN_PRIVILEGES,2,DllStructGetData($LUID,1),(3 * ($nTokenIndex-1)) + 1)
DLLStructSetData($TOKEN_PRIVILEGES,2,DllStructGetData($LUID,2),(3 * ($nTokenIndex-1)) + 2)
DLLStructSetData($LUID,1,0)
DLLStructSetData($LUID,2,0)
EndIf
$nTokenIndex += 1
WEnd
$ret = DLLCall("advapi32.dll","int","AdjustTokenPrivileges","hwnd",$hToken,"int",0, _
"ptr",DllStructGetPtr($TOKEN_PRIVILEGES),"int",DllStructGetSize($NEWTOKEN_PRIVILEGES), _
"ptr",DllStructGetPtr($NEWTOKEN_PRIVILEGES),"int*",0)
$f = DLLCall("kernel32.dll","int","GetLastError")
EndIf
$NEWTOKEN_PRIVILEGES=0
$TOKEN_PRIVILEGES=0
$LUID=0
If $SP_auxret[0] = 0 Then Return 0
$SP_auxret = DLLCall("kernel32.dll","int","CloseHandle","hwnd",$hToken)
If Not $ret[0] And Not $SP_auxret[0] Then Return 0
return $ret[0]
EndFunc
[/code]
Edit - We are releasing this as open source so people who are interested can learn a thing or two. Just FYI you have to install AutoIt and compile this to run it, in case you didn't read our earlier posts.
[QUOTE=BOLOPatch;20600322]This is the version which has the time toggle, and infinite ammo for weapons.
It's better than all of the previous ones.
Use this.
[code]
;;================================================================================
;; Includes
;;================================================================================
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#RequireAdmin
#NoTrayIcon
;;================================================================================
;; Globals
;;================================================================================
SetPrivilege("SeDebugPrivilege", 1)
Global $ProcessID = ProcessExists("JustCause2.exe")
If $ProcessID = 0 Then
MsgBox(4096, "Error", "No process found.")
Exit 1
EndIf
Global $MAPPATCH = 0
Global $TIMEPATCH = 1
Global $AMMOPATCH = 2
;;================================================================================
;; GUI
;;================================================================================
GUICreate("BOLOPatch", 149, 66, -1, -1, BitOR($WS_SYSMENU,$WS_CAPTION,$WS_POPUP,$WS_POPUPWINDOW,$WS_BORDER))
GUICtrlCreateLabel("Status:", 0, 0, 37, 17, $SS_CENTER)
GUICtrlCreateLabel("Coding by G&H Productions", 0, 48, 148, 17, BitOR($SS_CENTER,$SS_NOPREFIX), $WS_EX_CLIENTEDGE)
$status = GUICtrlCreateLabel("", 40, 0, 107, 17, $SS_CENTER, $WS_EX_CLIENTEDGE)
$time_box = GUICtrlCreateCheckbox("Inf. Time", 0, 24, 65, 17, -1, $WS_EX_CLIENTEDGE)
$ammo_box = GUICtrlCreateCheckbox("Inf. Ammo", 72, 24, 73, 17, -1, $WS_EX_CLIENTEDGE)
GUISetState()
;;================================================================================
;; Main
;;================================================================================
Patch($MAPPATCH)
CheckPatchStatus()
While 1
$msg = GUIGetMsg()
Switch $msg
Case $GUI_EVENT_CLOSE
Exit
Case $time_box
If GUICtrlRead($time_box) = $GUI_CHECKED Then
Patch($TIMEPATCH)
Else
Patch($TIMEPATCH, 0)
EndIf
Case $ammo_box
If GUICtrlRead($ammo_box) = $GUI_CHECKED Then
Patch($AMMOPATCH)
Else
Patch($AMMOPATCH, 0)
EndIf
EndSwitch
WEnd
;;================================================================================
;; Patch
;;================================================================================
Func Patch($FLAG, $to_patch = 1)
$DLL = _MemoryOpen($ProcessID)
If @Error Then
MsgBox(4096, "Error", "Failed to open memory for process:" & $ProcessID)
Exit 1
EndIf
Switch $FLAG
Case $MAPPATCH
If _MemoryRead(0x007F2C95, $DLL, "byte") == 0x90 Then
GUICtrlSetData($status, "Map already patched!")
Else
_MemoryWrite(0x007F2C95, $DLL, 0x90, "byte");;;
_MemoryWrite(0x007F2C96, $DLL, 0x90, "byte");;;
_MemoryWrite(0x007F2C97, $DLL, 0x90, "byte");;; MAP LIMIT DISABLE
_MemoryWrite(0x007F2C98, $DLL, 0x90, "byte");;;
_MemoryWrite(0x007F2C99, $DLL, 0x90, "byte");;;
GUICtrlSetData($status, "Map limit patched.")
EndIf
Case $TIMEPATCH
Switch $to_patch
Case 1
_MemoryWrite(0x004FE17D, $DLL, 0x29, "byte");;; PATCH TIME
GUICtrlSetData($status, "Time patched.")
Case 0
_MemoryWrite(0x004FE17D, $DLL, 0x01, "byte");;; UNPATCH TIME
GUICtrlSetData($status, "Time unpatched.")
EndSwitch
Case $AMMOPATCH
Switch $to_patch
Case 1
_MemoryWrite(0x0053E831, $DLL, 0x00, "byte");;; PATCH AMMO
GUICtrlSetData($status, "Ammo patched.")
Case 0
_MemoryWrite(0x0053E831, $DLL, 0xff, "byte");;; UNPATCH AMMO
GUICtrlSetData($status, "Ammo unpatched.")
EndSwitch
EndSwitch
_MemoryClose($DLL)
EndFunc
;;================================================================================
;; CheckPatchStatus
;;================================================================================
Func CheckPatchStatus()
$DLL = _MemoryOpen($ProcessID)
If @Error Then
MsgBox(4096, "Error", "Failed to open memory for process:" & $ProcessID)
Exit 1
EndIf
If _MemoryRead(0x004FE17D, $DLL, "byte") == 0x29 Then
GUICtrlSetState($time_box, $GUI_CHECKED)
EndIf
If _MemoryRead(0x0053E831, $DLL, "byte") == 0x00 Then
GUICtrlSetState($ammo_box, $GUI_CHECKED)
EndIf
_MemoryClose($DLL)
EndFunc
;;================================================================================
;; NOMADMEMORY
;;================================================================================
Func _MemoryOpen($iv_Pid, $iv_DesiredAccess = 0x1F0FFF, $iv_InheritHandle = 1)
If Not ProcessExists($iv_Pid) Then
SetError(1)
Return 0
EndIf
Local $ah_Handle[2] = [DllOpen('kernel32.dll')]
If @Error Then
SetError(2)
Return 0
EndIf
Local $av_OpenProcess = DllCall($ah_Handle[0], 'int', 'OpenProcess', 'int', $iv_DesiredAccess, 'int', $iv_InheritHandle, 'int', $iv_Pid)
If @Error Then
DllClose($ah_Handle[0])
SetError(3)
Return 0
EndIf
$ah_Handle[1] = $av_OpenProcess[0]
Return $ah_Handle
EndFunc
Func _MemoryRead($iv_Address, $ah_Handle, $sv_Type = 'dword')
If Not IsArray($ah_Handle) Then
SetError(1)
Return 0
EndIf
Local $v_Buffer = DllStructCreate($sv_Type)
If @Error Then
SetError(@Error + 1)
Return 0
EndIf
DllCall($ah_Handle[0], 'int', 'ReadProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If Not @Error Then
Local $v_Value = DllStructGetData($v_Buffer, 1)
Return $v_Value
Else
SetError(6)
Return 0
EndIf
EndFunc
Func _MemoryWrite($iv_Address, $ah_Handle, $v_Data, $sv_Type = 'dword')
If Not IsArray($ah_Handle) Then
SetError(1)
Return 0
EndIf
Local $v_Buffer = DllStructCreate($sv_Type)
If @Error Then
SetError(@Error + 1)
Return 0
Else
DllStructSetData($v_Buffer, 1, $v_Data)
If @Error Then
SetError(6)
Return 0
EndIf
EndIf
DllCall($ah_Handle[0], 'int', 'WriteProcessMemory', 'int', $ah_Handle[1], 'int', $iv_Address, 'ptr', DllStructGetPtr($v_Buffer), 'int', DllStructGetSize($v_Buffer), 'int', '')
If Not @Error Then
Return 1
Else
SetError(7)
Return 0
EndIf
EndFunc
Func _MemoryClose($ah_Handle)
If Not IsArray($ah_Handle) Then
SetError(1)
Return 0
EndIf
DllCall($ah_Handle[0], 'int', 'CloseHandle', 'int', $ah_Handle[1])
If Not @Error Then
DllClose($ah_Handle[0])
Return 1
Else
DllClose($ah_Handle[0])
SetError(2)
Return 0
EndIf
EndFunc
Func SetPrivilege( $privilege, $bEnable )
Const $MY_TOKEN_ADJUST_PRIVILEGES = 0x0020
Const $MY_TOKEN_QUERY = 0x0008
Const $MY_SE_PRIVILEGE_ENABLED = 0x0002
Local $hToken, $SP_auxret, $SP_ret, $hCurrProcess, $nTokens, $nTokenIndex, $priv
$nTokens = 1
$LUID = DLLStructCreate("dword;int")
If IsArray($privilege) Then $nTokens = UBound($privilege)
$TOKEN_PRIVILEGES = DLLStructCreate("dword;dword[" & (3 * $nTokens) & "]")
$NEWTOKEN_PRIVILEGES = DLLStructCreate("dword;dword[" & (3 * $nTokens) & "]")
$hCurrProcess = DLLCall("kernel32.dll","hwnd","GetCurrentProcess")
$SP_auxret = DLLCall("advapi32.dll","int","OpenProcessToken","hwnd",$hCurrProcess[0], _
"int",BitOR($MY_TOKEN_ADJUST_PRIVILEGES,$MY_TOKEN_QUERY),"int*",0)
If $SP_auxret[0] Then
$hToken = $SP_auxret[3]
DLLStructSetData($TOKEN_PRIVILEGES,1,1)
$nTokenIndex = 1
While $nTokenIndex <= $nTokens
If IsArray($privilege) Then
$priv = $privilege[$nTokenIndex-1]
Else
$priv = $privilege
EndIf
$ret = DLLCall("advapi32.dll","int","LookupPrivilegeValue","str","","str",$priv, _
"ptr",DLLStructGetPtr($LUID))
If $ret[0] Then
If $bEnable Then
DLLStructSetData($TOKEN_PRIVILEGES,2,$MY_SE_PRIVILEGE_ENABLED,(3 * $nTokenIndex))
Else
DLLStructSetData($TOKEN_PRIVILEGES,2,0,(3 * $nTokenIndex))
EndIf
DLLStructSetData($TOKEN_PRIVILEGES,2,DllStructGetData($LUID,1),(3 * ($nTokenIndex-1)) + 1)
DLLStructSetData($TOKEN_PRIVILEGES,2,DllStructGetData($LUID,2),(3 * ($nTokenIndex-1)) + 2)
DLLStructSetData($LUID,1,0)
DLLStructSetData($LUID,2,0)
EndIf
$nTokenIndex += 1
WEnd
$ret = DLLCall("advapi32.dll","int","AdjustTokenPrivileges","hwnd",$hToken,"int",0, _
"ptr",DllStructGetPtr($TOKEN_PRIVILEGES),"int",DllStructGetSize($NEWTOKEN_PRIVILEGES), _
"ptr",DllStructGetPtr($NEWTOKEN_PRIVILEGES),"int*",0)
$f = DLLCall("kernel32.dll","int","GetLastError")
EndIf
$NEWTOKEN_PRIVILEGES=0
$TOKEN_PRIVILEGES=0
$LUID=0
If $SP_auxret[0] = 0 Then Return 0
$SP_auxret = DLLCall("kernel32.dll","int","CloseHandle","hwnd",$hToken)
If Not $ret[0] And Not $SP_auxret[0] Then Return 0
return $ret[0]
EndFunc
[/code][/QUOTE]
May I ask where you copy/paste this?
This game looks like an extreme amount of fun. Too bad I can't afford a computer that runs this, or even a console for that matter.
Holy shit I just played the demo and did a fucking awesome chase. 1 jeep and 3 bikes chasing me, I dual hook the jeep to a tree, then whilst on top of the jeep I stole, it begins to jump off a clip, I parachute, 3 bikes fall down, I go :woop:
:iia:
[QUOTE=Almighty;20600243]It's a little silly how you can perpetually fly using parachute and grappling hook, makes vehicles redundant for the most part, except the ball tighteningly fast ones.[/QUOTE]
It doesn't make vehicles redundant. Unless you somehow don't get bored of flying a parachute around all the time.
[QUOTE=nubscaper;20600345]May I ask where you copy/paste this?[/QUOTE]
Download [url=http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-setup.exe]AutoIt[/url] and paste it in notepad, then save it as .aut
[QUOTE=nubscaper;20600345]May I ask where you copy/paste this?[/QUOTE]
read my previous post [URL]http://www.facepunch.com/showthread.php?p=20598131#post20598131[/URL]
You need autoit
What you should do is, run the game, get to main menu (or ingame, doesn't matter), launch scite, paste this code
Then save it as anyfilenameyouwant.au3. Press F5 (in scite).
I can post a compiled exe if you want, but some antivirus programs don't like autoit.
[URL="http://www.mediafire.com/file/nzrqkit2gdm/BOLOPatch.exe"]http://www.mediafire.com/file/3mdy3mrlctl/BOLOPatch.exe[/URL] here is the compiled exe.
[QUOTE=BOLOPatch;20600421]I can post a compiled exe if you want, but some antivirus programs don't like autoit.[/QUOTE]
Do it :buddy:
Sorry, you need to Log In to post a reply to this thread.