microbious Posted June 10, 2009 Share Posted June 10, 2009 TCPconnect Success: Returns main socket identifier , So once i am connected to server how do i know what does it want from me in order to login ? For example i want to connect to game CRYSIS console. Knowing login information password IP and port i am not sure how to approach the server. Or if i was to connect to my website FTP, FTP requesting some information from me too right ? so if TCPConnect returns nothing but socket, then how do i find what server wants and if connection accepted ? just point me to the right direction Thanks (want to make my own remote server administration for CRYSIS and maybe other games) Link to comment Share on other sites More sharing options...
microbious Posted June 11, 2009 Author Share Posted June 11, 2009 No one wants to reply ? I understand that this leads to security issues and possibly me hacking someone but check this out. I host many gaming servers and website and i want to code tools for personal use, tools like Crysis dedicated server manager (something other then RCONNECT which stoped its development at this point and is way outdated and full of bugs) Some other games i need custom tools built that no one will do for me, games like COD4 Unreal Tournament 2004 and 3 and more. Please someone point me to the right direction Thanks Link to comment Share on other sites More sharing options...
dantay9 Posted June 11, 2009 Share Posted June 11, 2009 I think TCPListen will help you tell if it is connected. That is about all I can tell you. Link to comment Share on other sites More sharing options...
microbious Posted June 11, 2009 Author Share Posted June 11, 2009 Thanks thats more than nothing at all Link to comment Share on other sites More sharing options...
DCCD Posted June 11, 2009 Share Posted June 11, 2009 Hamachi, Google it [u][font=Arial Black]M[/font]y Blog, AVSS Parts[/u][font=Arial Black]Else[/font][font=Arial Black]L[/font]ibya Linux Users Group Link to comment Share on other sites More sharing options...
microbious Posted June 11, 2009 Author Share Posted June 11, 2009 (edited) what i am trying to do is to login into the console of remote server here is what i came up with TCPStartup() $con = TCPConnect ('IP','port') TCPAccept ($con) $listen= TCPListen ('same ip','same port') $send = TCPSend ($con, 'login and password (if i was typing it into console') $recv = TCPRecv ($con,'1000') msgbox (0,'con',$con) msgbox (0,'listen',$listen) msgbox (0,'send',$send) msgbox (0,'recive',$recv) As for hamachi I had a guy asking me about my BMW the other day. He asks: Isn't it expensive to maintain like oil change or repairs/parts? I say: If you do it your self and never ask dealer for help then its chipper then FORD Edited June 11, 2009 by lessstoopid Link to comment Share on other sites More sharing options...
DCCD Posted June 11, 2009 Share Posted June 11, 2009 Is it possible to put an M5 engine into your head ,hamachi freeware [u][font=Arial Black]M[/font]y Blog, AVSS Parts[/u][font=Arial Black]Else[/font][font=Arial Black]L[/font]ibya Linux Users Group Link to comment Share on other sites More sharing options...
microbious Posted June 11, 2009 Author Share Posted June 11, 2009 what ever man am not here to argue about something, am here for help with AUTOIT not for hamachi or any other none related software. I need help to make my own thats it Thanks Link to comment Share on other sites More sharing options...
microbious Posted June 11, 2009 Author Share Posted June 11, 2009 One last question Please answer $IP = "my FTP server's IP address" $Port = "21" $start = TCPStartup() $connect = TCPConnect ($IP,$Port) $HELP = TCPSend ($connect,"HELP") $HELP_RECV = TCPRecv ($connect,'1000',1) MsgBox(0,'','Help returns with '& $HELP_RECV) Sleep ('1000') TCPShutdown() Here i am trying to figure out why doesn't my FTP server understands HELP command that suppose to return list of supported commands. I tried to send login instead of Help as: TCPSend ($connect,"USER username PASS mypass") but this wont log me in Looking into real time FTP log window i can see that i am connected but not sending any commands at all. How do i send commands to FTP server ? Please help Thanks Link to comment Share on other sites More sharing options...
microbious Posted June 12, 2009 Author Share Posted June 12, 2009 ThanksFound http://www.autoitscript.com/forum/index.php?showtopic=78378 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