Coding Posté(e) le 5 octobre 2021 Partager Posté(e) le 5 octobre 2021 Hello everyone, I want to share a program I made to have the forcefeefback effect of the operation ghost. I put the effect of weapon 1 in capslock and weapon 2 in numlock https://www.mediafire.com/file/dwevyvhh3ofas8w/gunfeed.rar/file run gs2.exe first and then gunfeed.exe Lien vers le commentaire Partager sur d’autres sites More sharing options...
Invité tommiegunz Posté(e) le 5 octobre 2021 Partager Posté(e) le 5 octobre 2021 nice so will this also give rumble feature to wiimotes when shooting as well ? Lien vers le commentaire Partager sur d’autres sites More sharing options...
Coding Posté(e) le 5 octobre 2021 Auteur Partager Posté(e) le 5 octobre 2021 i'm using autoit to monitor memory addresses give guns 1 and 2 i found an address for each gun that adds 1 to each fired bullet so my code performs the action of pressing the capslock and numlock keys the code is this: Opt("SendCapslockMode",0) $arma1 = 0 $arma2 = 0 $ctt = 0 $ctt1 = 0 While 1 $PID = ProcessExists("gs2.exe") $hOpen = _MemoryOpen($PID) $Address = "0x02A5DC24" $Address2 = "0x02A5DC28" $Read = _MemoryRead($Address,$hOpen, "int") $Read1 = _MemoryRead($Address2,$hOpen, "int") if $Read > $arma1 Then $ctt = $ctt + 1 if $ctt = 1 Then Send("{CAPSLOCK}") Sleep(20) Send("{CAPSLOCK}") EndIf If $ctt = 2 Then Send("{CAPSLOCK}") Sleep(20) Send("{CAPSLOCK}") EndIf if $ctt >= 2 Then $ctt = 0 EndIf $arma1 = $Read EndIf if $Read1 > $arma2 Then $ctt1 = $ctt1 + 1 if $ctt1 = 1 Then Send("{NUMLOCK}") Sleep(20) Send("{NUMLOCK}") EndIf If $ctt1 = 2 Then Send("{NUMLOCK}") Sleep(20) Send("{NUMLOCK}") EndIf if $ctt1 >= 2 Then $ctt1 = 0 EndIf $arma2 = $Read1 EndIf ConsoleWrite($ctt ) sleep (16) WEnd would have to find the joystick rumble api and insert it in the code 2 Lien vers le commentaire Partager sur d’autres sites More sharing options...
Invité R.R.Z. Posté(e) le 5 octobre 2021 Partager Posté(e) le 5 octobre 2021 7 hours ago, Coding said: Hi if you can help the community by adding the rest of nxl2 games to tp it’ll be awesome if you like have a look at my post on the subject on page 969 on tp thread TIA for any help Lien vers le commentaire Partager sur d’autres sites More sharing options...
Messages recommandés
Créer un compte ou se connecter pour commenter
Vous devez être membre afin de pouvoir déposer un commentaire
Créer un compte
Créez un compte sur notre communauté. C’est facile !
Créer un nouveau compteSe connecter
Vous avez déjà un compte ? Connectez-vous ici.
Connectez-vous maintenant