cdkid Posted January 4, 2006 Share Posted January 4, 2006 (edited) ok, is there any way that i can read a specific port with autoit? any help would be much appriciated ~thanks Edited January 4, 2006 by cdkid AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
cdkid Posted January 5, 2006 Author Share Posted January 5, 2006 ok, i'm gonna rephrase... i need to read the IP using port 4000...again any help would be appriciated AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
herewasplato Posted January 5, 2006 Share Posted January 5, 2006 (edited) ok, i'm gonna rephrase...i need to read the IP using port 4000...again any help would be appriciatedIf by "read" you mean capture the data coming thru - then I do not know.If by "read" you mean know the IP, then look at netstat.Perhaps if you told us more than one sentence/post.... Edited January 5, 2006 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
cdkid Posted January 5, 2006 Author Share Posted January 5, 2006 ok, sorry... lemme explain what it is i'm doing i play a game called Diablo II, and when certain items are sold to the merchants, a count begins.. once 80-120 of them are sold, the server 'pops' putting out a super-strong monster that gives good items ETC. i am making a script that will open the game, log in, create games, and check the IP of port 4000 hope this helps AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
herewasplato Posted January 5, 2006 Share Posted January 5, 2006 ok, sorry... lemme explain what it is i'm doingi play a game called Diablo II, and when certain items are sold to the merchants, a count begins.. once 80-120 of them are sold, the server 'pops' putting out a super-strong monster that gives good items ETC. i am making a script that will open the game, log in, create games, and check the IP of port 4000hope this helpsCheck here:http://www.autoitscript.com/forum/index.ph...443entry25443Notice this line of code:RunWait(@ComSpec & " /c " & 'netstat -n>c:\ip.txt' , "", @SW_HIDE)Then look at the code below this comment line:"Only check if Server IP is part of the current line and it's Port 4000"...later... [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Sarc Posted January 5, 2006 Share Posted January 5, 2006 i dont know if it still works, but you could always download FindDC - its a dc hunting bot.. which you probably guessed, fully automated in autoit (if i remember correctly) www.finddc.com or something might b a start ~Sarc Link to comment Share on other sites More sharing options...
cdkid Posted January 5, 2006 Author Share Posted January 5, 2006 yeah, i know there are a few dc bots out now.. but im working on making 1 that'll be able to do multiple windows AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! Link to comment Share on other sites More sharing options...
cdkid Posted January 5, 2006 Author Share Posted January 5, 2006 since i'm gonna have multiple IPs using port 4000 any ideas on how to seperate em would be nice otherwise i'll just look to another language AutoIt Console written in C#. Write au3 code right at the console :D_FileWriteToLineWrite to a specific line in a file.My UDF Libraries: MySQL UDF Library version 1.6 MySQL Database UDF's for AutoItI have stopped updating the MySQL thread above, all future updates will be on my SVN. The svn location is:kan2.sytes.net/publicsvn/mysqlnote: This will still be available, but due to my new job, and school hours, am no longer developing this udf.My business: www.hirethebrain.com Hire The Brain HireTheBrain.com Computer Consulting, Design, Assembly and RepairOh no! I've commited Scriptocide! 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