Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 00:31

  • Please register to post and access all features, it's quick, easy and FREE!


[AutoIT] TCP Client for Playforia TinyTown

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2014
Posts: 3
Received Thanks: 0
Post [AutoIT] TCP Client for Playforia TinyTown

I have been trying to do something like this:
.
I tried doing an TCP listener:
Code:
TCPStartup()
$ip = "195.143.118.113"
$port = "4217"
Global $TCPL = TCPListen($ip, $port)
Do
	Global $TCPA = TCPAccept($TCPL)
Until $TCPA <> -1
Do
	Global $TCPR = TCPRecv($TCPA, 9999999)
Until $TCPR <> ""
MsgBox(0, "Data", $TCPR)
and a TCP sender:
Code:
TCPStartup()
$ip = "195.143.118.113"
$port = "4217"
Global $tcp = TCPConnect($ip, $port)
TCPSend($tcp, '{"type":"conn","data":{"cmd":"hello"}}')
The codes above are just a test if the server answers, but when i run the listener and then sender, nothing happens.

Link to the game:

Sourcecode of the game: tinytown.rar

Edit: It seems that the sender actually works, but the server is not responding for some reason.



hilavitkutin is offline  
Old 04/29/2014, 15:36   #2
 
elite*gold: 0
Join Date: Apr 2014
Posts: 3
Received Thanks: 0
Here is some traffic I sniffed from the original client:

Crypted:
log.txt

Decrypted:
log2.txt


hilavitkutin is offline  
Reply



« Searching for SAO Infinite Moements English Patch | dark souls 2 schrein des winters »

Similar Threads
Playforia
04/12/2014 - Browsergames - 0 Replies
Ich suche für Diese Seite Gems ist das SPiel diesen Eintragtool Ich suche ihn MFG Hoffe wer kann mir dabei helfen
autoit kill client
11/11/2013 - SRO Coding Corner - 7 Replies
hey, I'm trying to make a small script to make my bots go clientless on relog. Guess this should work by killing the sro_client process so: If ProcessExists("sro_client.exe") Then ProcessClose("sro_client.exe") The problem is that it...
cabal client and autoit
04/04/2012 - Cabal Main - Discussions / Questions - 0 Replies
i remember older days when sending keys with ControlSend() worked ... ep2 still works(p.servs) but how come ep7 cabal eu wont accept any keys while its inactive? :/ any ideas / solutions?
Playray/Playforia Starfarming!
11/24/2011 - Browsergames Trading - 1 Replies
Hallo Leute, ich biete hier einen Playforia Starfarm Service an! Added mich einfach in skype, schickt mir Link zu eurem Account und ich schau was ich noch alles machen kann. Was immer möglich ist, ist 2/5/10/20/50/100/150/250/500/1000 Spiele...



All times are GMT +2. The time now is 00:31.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.