Jump to content

Copy text from webpage to .ini or .txt file and work with those information


Recommended Posts

Hello all

I am new in this forum and I am sorry if there is already a topic like this.

So here is my problem:

I want to write a tool with wihch you can save a few server from modernwarfare2 as favourites. so that you click on the button and then you connect

to the server u saved previously on that button. I have written it that far that you can copy the server ip and set it to the server button.

But the problem is that the ip changes sometimes, so that its not possible anymore to connect to the server.

Now i am searching for a way to update the ip automatically.

I've tried to copy the entire text of the page from which you get all the server IPs to a txt-file and then read the ServerIP u set as favourite server.

But NOTHING i tried worked and i was looking for that about serveral days.

I am happy about any idea how i could solve that problem

already thanks to those who will try to help me

greetz:D

Edited by Biri933
Link to comment
Share on other sites

You can not ask about anything game related in these forums so you will have to work it out yourself.

Tips to get you started:

BinaryToString()

InetRead()

StringRegExpReplace()

StringRegExp()

Or see the IE functions in the User Defined Functions section of the help file.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...