Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 05:55

  • 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   #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



« Previous Thread | Next Thread »

Similar Threads
Playforia
Ich suche für Diese Seite Gems ist das SPiel diesen Eintragtool Ich suche ihn MFG Hoffe wer kann mir dabei helfen
0 Replies - Browsergames
autoit kill client
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...
7 Replies - SRO Coding Corner
cabal client and autoit
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...
0 Replies - Cabal Main - Discussions / Questions
Playray/Playforia Starfarming!
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...
1 Replies - Browsergames Trading



All times are GMT +1. The time now is 05:55.


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

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