Register for your free account! | Forgot your password?

Go Back   elitepvpers > General Gaming > General Gaming Discussion
You last visited: Today at 08:47

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

Advertisement



[AutoIT] TCP Client for Playforia TinyTown

Discussion on [AutoIT] TCP Client for Playforia TinyTown within the General Gaming Discussion forum part of the General Gaming category.

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:

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:


Decrypted:
hilavitkutin is offline  
Reply


Similar Threads 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 closes the proces before its even actually starting, so, the client wont start at all, i will never login, and mbot still thinks the client is started, so it wont restart it, and even if it does, the same problem will occur. So in other words I've gotta...
cabal client and autoit
04/04/2012 - Cabal Online - 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 gespielt! Bei Accounts die nicht in Deutschland angemeldet sind, kann ich meist auch BoDs machen.(Space, (Defence, super Defence), Bombermania). (Defence und super Defence sind in einer extra klammer, weil ich dort noch nicht so hervorragend spiele!) ...



All times are GMT +1. The time now is 08:47.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.