cerix Posted November 24, 2010 Share Posted November 24, 2010 arkadaşlar autoitle aimpoint yapmak mumkunmu? Yani ekranın tam ortasında devamlı duracak bir nokta veya artı işareti. Eğer mümkünse kodları yazabilirmisiniz. Quote Link to comment Share on other sites More sharing options...
djonur007 Posted November 25, 2010 Share Posted November 25, 2010 tam olarak ne istiyorsun? resimle falan bir şey göstersen! Quote Link to comment Share on other sites More sharing options...
blue_life Posted November 25, 2010 Share Posted November 25, 2010 Heralde arkadaş bir oyun için istiyor. Biraz kurcalamayla ilgili oyuna bağlı olarak belki yapılabilir. Normal windwos ekranı için bu işlem doğru anladıysam basit sayılır. Mesela; Tabi emin deyilim [codebox]Global $BX = GUICreate("Blue AimPoint", 5, 30, -1, -1,0x80000000 + 0x00010000, 0x00000080 + 0x00000008) GUISetBkColor(0xFF0000) GUISetState(@SW_SHOWNOACTIVATE) Global $BY = GUICreate("Blue AimPoint", 30, 5, -1, -1,0x80000000 + 0x00010000, 0x00000080 + 0x00000008) GUISetBkColor(0xFF0000) GUISetState(@SW_SHOWNOACTIVATE) While 1 Sleep(100) WEnd[/codebox] Quote Link to comment Share on other sites More sharing options...
Aqil990 Posted November 25, 2010 Share Posted November 25, 2010 @blue_life Selam, kardeshim, autoitle kucuk oyunlar yapa bilirmiyiz? mesela arti isareti ilave etdik random hedefler cikartmaq bir silahla onlari vurmak. Mumkunmu?mumkunsa kisaca yol gostere bilirmisin bana. Simdiden tesekkurler... Quote Link to comment Share on other sites More sharing options...
blue_life Posted November 26, 2010 Share Posted November 26, 2010 @Aqil990 As. Tabiki autoit ile küçük oyunlar yapabilirsin. Bu senin hayalgücüne ve autoit tecrübene bakar. Misal şöyle bir oyun yapacağız. Bir kuşumuz var ve biz onu vurmaya çalışıyoruz. O zaman kısaca malzemeler; Kuşu ifade eden bir icon veyahut resim lazım. Sonra arkaplan için bir resim lazım. Sesler fena olmaz. Cursor için bir resim lazım. Belki tüfek Tabi kuş vurulunca uygulanacak farklı bir resim fena olmaz. Malzemeler tamam ise yemeği hazırlamaya başlayalım. Hım heralde açıkmışım. Guimizi oluşturur arkaplan resminide kuşumuzu ekleriz. Sonra kuşumuzu hareket ettirmek için kerekli kodları yazarız. Kuş vurulunca ne yapılacaksa, onlarıda ekleriz. Çok çok basit bir örnek karaladım. Incele! [color="#0000FF"][u][b]http://www.4shared.com/file/93y9Dq_a/KUS_VUR.html[/b][/u][/color] Quote Link to comment Share on other sites More sharing options...
Aqil990 Posted November 27, 2010 Share Posted November 27, 2010 Chok iyi ornek tewekurler, inceliyorum. cok saol Quote Link to comment Share on other sites More sharing options...
blackman12 Posted December 5, 2010 Share Posted December 5, 2010 Arkadaş azeri. Biraz göz yumulabilir tabi bu iyi niyeti suistimal etmediği sürece. Quote Link to comment Share on other sites More sharing options...
Mycrosoft Posted January 2, 2011 Share Posted January 2, 2011 Kodları kendime göre düzenledim: [code]Global $BX = GUICreate("Blue AimPoint", 5, 5, -1, -1,0x80000000 + 0x00080000, 0x00010000 + 0x00000008) GUISetBkColor(0xFF0000) GUISetState(@SW_SHOWNOACTIVATE) While 1 Sleep(100) WEnd[/code] Ama sonuç böyle. Noktanın biraz daha aşağıda çıkması gerekiyor. Yardımcı olursanız sevinirim. [img]http://img218.imageshack.us/img218/2494/adszwdr.jpg[/img] Quote Link to comment Share on other sites More sharing options...
djonur007 Posted January 2, 2011 Share Posted January 2, 2011 Aşağıdaki satırdan -1 değerlerini editliyerek ayarlıyabilirsin. Birinicisi x koordinatı, ikinciside y koordinatıdır. [code]GUICreate("Blue AimPoint", 5, 5, -1, -1,0x80000000 + 0x00080000, 0x00010000 + 0x00000008)[/code] Quote Link to comment Share on other sites More sharing options...
Mycrosoft Posted January 2, 2011 Share Posted January 2, 2011 ama ben her çözünürlükte tam ortada olsun istiyorum ve ekranda (-) değerli koordinat nasıl oluyor onu anlamadım. değerlerden birini -2 yaptığım zaman nokta gözükmüyor. Quote Link to comment Share on other sites More sharing options...
djonur007 Posted January 2, 2011 Share Posted January 2, 2011 -1 değerleri ekranı ortalar. Yani başka - li değerler işlemez. Eksili sadece 1 işler. Oda ekranı ortalar. Her çözünürlükte tam ortada olması için -1 olması lazım her ikisininde. Quote Link to comment Share on other sites More sharing options...
Mycrosoft Posted January 2, 2011 Share Posted January 2, 2011 peki oyuna göre nasıl uyarlayabilirim? (resime göre mesela) Quote Link to comment Share on other sites More sharing options...
djonur007 Posted January 2, 2011 Share Posted January 2, 2011 (edited) Oyuna göre değil farenin bulunduğu koordinata göre ayarlanır. Kod vermek gerekirse kısaca; [php]While 1 GUIDelete("Blue AimPoint") Sleep(100) $Koordinat = MouseGetPos() $BX = GUICreate("Blue AimPoint", 5, 5, $Koordinat[0], $Koordinat[1],0x80000000 + 0x00080000, 0x00010000 + 0x00000008) GUISetBkColor(0xFF0000) GUISetState(@SW_SHOWNOACTIVATE) Sleep(100) WEnd[/php] Edited January 2, 2011 by djonur007 Quote Link to comment Share on other sites More sharing options...
blue_life Posted January 3, 2011 Share Posted January 3, 2011 (edited) Ek olarak çözünürlülük değiştikçe gui [b]Winmove [/b]ile taşınabilir... [codebox]Global $BL_DW = @DesktopWidth Global $BL_DH = @DesktopHeight Opt("GUIOnEventMode", 1) Global $BX = GUICreate("Blue AimPoint", 8, 8, ($BL_DW / 2) - 3, ($BL_DH / 2) - 3, 0x80000000 + 0x00080000) GUISetOnEvent(-3, "_EXIT") GUISetBkColor(0xFF0000) GUISetState(@SW_SHOWNOACTIVATE) WinSetTrans($BX, "", 240) WinSetOnTop($BX, "", 1) While 1 If $BL_DW <> @DesktopWidth Or $BL_DH <> @DesktopHeight Then $BL_DW = @DesktopWidth $BL_DH = @DesktopHeight WinMove($BX, "", ($BL_DW / 2) - 3, ($BL_DH / 2) - 3) EndIf Sleep(100) ;Speed WEnd Func _EXIT() Exit EndFunc ;==>_EXIT[/codebox] Edited January 3, 2011 by blue_life Quote Link to comment Share on other sites More sharing options...
-TayLor- Posted January 3, 2011 Share Posted January 3, 2011 Arkadaşın Colt' unda da Vardı tarayınca o Hedef Açılıyo Ama Nokta Sabit. Sende Tararken Hedef Şaşırmadan Top15 te 1. liğe Yerleş. Valla Olursa Bende Deniyim Quote Link to comment Share on other sites More sharing options...
Mycrosoft Posted January 3, 2011 Share Posted January 3, 2011 sorun şu: blue life'ın en son verdiği gayet iyi. çözünürleğe de uyum sağlıyor. ama oyunu açınca masaüstünde kalıyor. oyunda gözükmüyor yani. ayrıca nokta hala cross'un üstünde. hackleri yapan insanlar bunu nasıl yapıyo ki? Quote Link to comment Share on other sites More sharing options...
djonur007 Posted January 3, 2011 Share Posted January 3, 2011 Blue_Life hocamın verdiği sadece çözünürlük değişmine ayak uydurmak için. Yani mouse hareketleri dahil değil. Mouse hareketleri göre noktanın değişmesini istiyorsan benim yukarıda verdiğim kodları kullan. Quote Link to comment Share on other sites More sharing options...
mustafa0732 Posted January 15, 2011 Share Posted January 15, 2011 Cursorun sürekli hareket etmesi için sanırım while komutu içinde farenin koordinatlarını alıp (x ve y) 2'ye bölmek gerek. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.