Sign in to follow this  
Followers 0
cdkid

read port?

8 posts in this topic

#1 ·  Posted (edited)

ok, is there any way that i can read a specific port with autoit?

any help would be much appriciated

~thanks

Edited 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!

Share this post


Link to post
Share on other sites



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!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

ok, i'm gonna rephrase...

i need to read the IP using port 4000...again any help would be appriciated

If 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 by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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

Check here:

http://www.autoitscript.com/forum/index.ph...443entry25443

Notice 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]

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :P


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!

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0