x_files_x Posted July 5, 2013 Share Posted July 5, 2013 Mrb arkadaşlar autoitin tcp kısmını hic bilmiyorum biraz neti kurcaladım ama ingilizcem cok iyi olmadıgı icin, öğrendigim söylenemez, ben şöyle bişi istiyorum mümkünse küçük bir örnek verebilir misiniz? Port numarasını ve ip adresini bildigim bir oyuna bir paket veri yollamak istiyorum bunu nasıl saglarım ? Quote Link to comment Share on other sites More sharing options...
reyiz Posted July 5, 2013 Share Posted July 5, 2013 Yardım dosyasında gayet yeterli bir örnek var zaten: http://www.autoitscript.com/autoit3/docs/functions/TCPSend.htm Quote Link to comment Share on other sites More sharing options...
x_files_x Posted July 5, 2013 Author Share Posted July 5, 2013 Yardım dosyasında gayet yeterli bir örnek var zaten:http://www.autoitscript.com/autoit3/docs/functions/TCPSend.htm Mrb ben burayı incelemiştim ama orda port yazıor tamam da, gönderecegim online oyuna ait ip adresi nereye yazacagım ? bulamadım ben kücük bir örnek versem ona uyarlarmısınız vaktiniz varsa, kücück birşey olsa ben anlarım game ip : 78.40.223.13 game port : 443 Oyuna yollanacak tcp paket verisi :: %xt%tavla%zarat%356412%2%. Quote Link to comment Share on other sites More sharing options...
reyiz Posted July 5, 2013 Share Posted July 5, 2013 TCPStartup() Local $baglanti = TCPConnect("78.40.223.13", "443") TCPSend($baglanti, StringToBinary("%xt%tavla%zarat%356412%2%.", 4)) Sorun çıkarsa güvenlik duvarı AutoIt'i engelliyor olabilir. Farklı bir veri gittiyse veriyi binary şeklinde göndermeyi deneyiniz. Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted July 5, 2013 Share Posted July 5, 2013 http://www.autoitscript.com/forum/topic/98400-tcpfiletransferau3/ inceleyin Quote Link to comment Share on other sites More sharing options...
reyiz Posted July 5, 2013 Share Posted July 5, 2013 mesale0077 o şekilde dosya gönderiliyor. Quote Link to comment Share on other sites More sharing options...
mesale0077 Posted July 5, 2013 Share Posted July 5, 2013 dosya mı gönderecek mesajmı atacak onu anlayamadım bende sanırsam dosya göndermeyi düşünüyor sandım net değil yani msj Quote Link to comment Share on other sites More sharing options...
x_files_x Posted July 6, 2013 Author Share Posted July 6, 2013 Reyiz dedigini yolladım ancak hiçbi degişkilk olmadı acaba kodda mı sorun vr anlayamadım, 4 bilgi var kullanılması gereken 1: ip adres 2: port no 3: socket no 4: veri (data) yani mesaj Quote Link to comment Share on other sites More sharing options...
reyiz Posted July 19, 2013 Share Posted July 19, 2013 AutoIt'e güvenlik duvarınızdan gerekli izinleri verdiniz mi? Quote Link to comment Share on other sites More sharing options...
x_files_x Posted July 20, 2013 Author Share Posted July 20, 2013 autoite izn hep var :) hiç engelle karsılasmadım ki, olmuyor bir türlü gitmedi 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.