hab ne version mit nem overlay versucht. klappen tut eigentlich alles - aber uach nur "eigentlich".
Ich ahb das ganze mit der WinApi gemacht. Nu flackert alles :S
Code:
#include <WinAPI.au3>
#include <WindowsConstants.au3>
#include <FontConstants.au3>
#include <Misc.au3>
Global $tRECT, $hFont, $hOldFont, $hDC, $width=@DesktopWidth
Global $redtimer=0, $bluetimer=0, $dragontimer=0, $nashortimer=0
$tRECT = DllStructCreate($tagRect)
DllStructSetData($tRECT, "Left", $width - 400)
DllStructSetData($tRECT, "Top", 5)
DllStructSetData($tRECT, "Right", $width)
DllStructSetData($tRECT, "Bottom", 25)
HotKeySet("{ESC}", "_exit")
$hDC = _WinAPI_GetDC("League of Legends (TM) Client")
$hFont = _WinAPI_CreateFont(20, 0, 0, 0, 500, False, False, False, $DEFAULT_CHARSET, _
$OUT_DEFAULT_PRECIS, $CLIP_DEFAULT_PRECIS, $DEFAULT_QUALITY, 0, 'Arial')
$hOldFont = _WinAPI_SelectObject($hDC, $hFont)
_WinAPI_SetTextColor($hDC, 0x0000FF)
_WinAPI_SetBkColor($hDC, 0x000000)
_WinAPI_SetBkMode($hDC, $TRANSPARENT)
_SendMsg("LoL.BuffHelper activated",1000)
sleep(2000)
AdlibRegister("_buffUpdate",1)
While 1
IF $redtimer > 0 then $redtimer -=0.025
IF $bluetimer > 0 then $bluetimer -=0.025
IF $dragontimer > 0 then $dragontimer -=0.025
IF $nashortimer > 0 then $nashortimer -=0.025
_SendMsg("red:"&round($redtimer)&" | "&"blue:"&$bluetimer&" | "&"dragon:"&$dragontimer&" | "&"nashor:"&$nashortimer, 4)
sleep(1)
WEnd
Func _SendMsg($text,$sleeptime)
_WinAPI_DrawText($hDC,$text, $tRECT, $DT_CENTER)
sleep($sleeptime)
_WinAPI_DeleteObject($hFont)
_WinAPI_InvalidateRect(0, 0)
EndFunc
Func _buffUpdate()
IF _IsPressed(61) then $redtimer = 300
IF _IsPressed(62) then $bluetimer = 300
IF _IsPressed(63) then $dragontimer = 360
IF _IsPressed(64) then $nashortimer = 420
EndFunc
Func _exit()
_WinAPI_DeleteObject($hFont)
_WinAPI_InvalidateRect(0, 0)
Exit
EndFunc
Mit D3D Hookin kenn ich mich nicht aus ... soltle die einzige Möglichkeit sein um ein Overlay in Lol hinzubekommen. Wenn mir wer sagt wies geht bzw. mir es am besten zeigt, bau ich das ganze Teil gerne um.