vietnam929 Posted June 25, 2009 Share Posted June 25, 2009 any one know how to duplicate socket, i want to make auto for a game by sending packet to game server. But i dont know how to send packet to server, please help Link to comment Share on other sites More sharing options...
Lars Posted June 25, 2009 Share Posted June 25, 2009 Hi is the server also in autoIt? I once made a little project like this, not for a game but for other purposes. The only thing is that i didn't write the server in autoIt, I uses c++ on linux and used pthread ( posix thread ). All of the clients where welcomed on port 10000 then I forwarded them to a next port, and used the last 3 digits of their IP for the port number. ( the tool runs on 1 subnet only ) So if a client logged in with IP 192.168.1.51 the server said HI GOTO PORT 10051, opened a socket on that port. If the connection dropped the thread was closed after like 5secs or so. So that's how I did it, I am sure that you can reach this goal with autoIt but exactly how I don't know Link to comment Share on other sites More sharing options...
oMBRa Posted June 25, 2009 Share Posted June 25, 2009 (edited) any one know how to duplicate socket, i want to make auto for a game by sending packet to game server. But i dont know how to send packet to server, please helpthere is an UDF on the example forum for sending packets, just search a bit EDIT: here you are: WinPCap - Packet.dll UDF Edited June 25, 2009 by oMBRa Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now