Quote:
Originally Posted by high7
I think the only way to do this is to embed Curl.exe and call it.
|
can u be a little more specific on what curl.exe is please?

... also, i know this is possible w/ autoit beacause i've seen a program that did it, it would be updated if the hack was currently "Detectable" or "Safe"... and i'm guessing it did it by getting the value from a site, i can't think of any other way they could of done it... just still don't know how to do it myself XD
Edit: Nvm, FOUND IT!... w00ts ^_^
Code:
#include <INet.au3>
$value = _INetGetSource('http://www.google.com/')
MsgBox(0,"",$value)
that'll get the html text of the site, w/ some string manipulation, i can simply get what i need... ty either way for your input high7, i greatly appreciate it
Edit: here is the semi-finalized part of the code, yay
Code:
#include <INet.au3>
$string = _INetGetSource('http://www.angelfire.com/fl4/bbc/status.html')
For $i=0 to 10000
$temp = StringMid($string, $i, 6)
if $temp == "$tatus" Then
$char = $i+8
MsgBox(0,"",StringMid($string,$char,7))
EndIf
Next
that's basically it, only thing i gotta do now is make it break from the for loop once it find what it needs so it doesn't waste time searching the other values, and make it do something "slightly" different for if it says "Not Working"... basically just search for the first 3 values after "$Status: " if it's "Wor" then it's working... if it's "Not" then it's not working =)
i might even use this to check if the version is up to date, if it's not, the program will not work and it'll link you to the epvpers thread to d/l the new version... what's your guys opinion on that?... i kind of like it because people who leech my program and post it on other pages will have trouble... cuz whenever i update the program, they'll be forced to have to come to epvpers to d/l the new version
Edit:ROFL! i'm an idiot, i made things sooooo much more complicated then it had to be, i should of just created a text file instead, that way there's no html tags (esp the annoying ads angelfire has) that get in the way... DOH!
here's the final code, makes it soooo much simpler using text lol... no need to search for my values
Code:
#include <INet.au3>
$string = _INetGetSource('http://www.angelfire.com/fl4/bbc/status.txt')
If StringMid($string,1,1) == 1 Then
$status = "Working"
Else
$status = "Not Working"
EndIf
If StringMid($string,2,4) == $currentVersion Then
**** if version the same, continue... ****
**** else give link to d/l new version ****
EndIf
where $currentVersion = the version of the program