Quote:
Originally Posted by Tjuny
Ich versteh das nicht ,wie man sich eine Form erstellt irgendwie bin ich zu blöd dafür.-.-
|
da ich grade nix zu tun habe, werde ich dir das mal mit bildern zeigen...
schau hier nochmal in 10min rein....
€
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
das währe eine gui, jetz musst du aber noch sagen, was passiert wenn man die knöpfe drückt.
mein "erzeugter code" :
PHP Code:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Pinball Punkte Generator", 256, 173, 194, 129)
GUISetBkColor(0x00FFFF)
$Button1 = GUICtrlCreateButton("START", 8, 8, 105, 37, $WS_GROUP)
$Pinball_Starten = GUICtrlCreateLabel("Pinball_Starten", 120, 20, 79, 17)
$Button2 = GUICtrlCreateButton("100.000", 12, 80, 97, 41, $WS_GROUP)
$Button3 = GUICtrlCreateButton("500.000", 128, 80, 97, 41, $WS_GROUP)
$Button4 = GUICtrlCreateButton("1.000.000", 72, 124, 97, 41, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("Punkte", 96, 60, 38, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
und am ende mein fertiger code:
PHP Code:
#include <NomadMemory.au3>
#RequireAdmin
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Pinball Punkte Generator", 256, 173, 194, 129)
GUISetBkColor(0x00FFFF)
$Button1 = GUICtrlCreateButton("START", 8, 8, 105, 37, $WS_GROUP)
$Pinball_Starten = GUICtrlCreateLabel("Pinball_Starten", 120, 20, 79, 17)
$Button2 = GUICtrlCreateButton("100.000", 12, 80, 97, 41, $WS_GROUP)
$Button3 = GUICtrlCreateButton("500.000", 128, 80, 97, 41, $WS_GROUP)
$Button4 = GUICtrlCreateButton("1.000.000", 72, 124, 97, 41, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("Punkte", 96, 60, 38, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$adr1 = 0x00D1AEBA
$adr2 = 0x00BA3ABC
$open = _MemoryOpen(ProcessExists("pinball.exe"))
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
start()
Case $Button2
_MemoryWrite($adr1, $open, "100000", "dword")
_MemoryWrite($adr2, $open, "100000", "dword")
Case $Button3
_MemoryWrite($adr1, $open, "500000", "dword")
_MemoryWrite($adr2, $open, "500000", "dword")
Case $Button4
_MemoryWrite($adr1, $open, "1000000", "dword")
_MemoryWrite($adr2, $open, "1000000", "dword")
EndSwitch
WEnd
Func start()
Run("C:\Programme\Windows NT\Pinball\PINBALL.EXE")
EndFunc
wenn du immernoch nciht kapiert hast, schau einfach in youtube...
dort sieht mann es am besten,
schau untermir, shadow hatt dir gleich einpar rausgesucht....