Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 22:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Question] need AutoIt help

Discussion on [Question] need AutoIt help within the CO2 Programming forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
[Question] need AutoIt help

alright what i'm trying to do is basically this...

when you open a program, it'll say "Working" or "Not Working" i want to somehow code it so that AutoIt checks... idk i guess a website (w/o actually opening a browser)? and that website will give it a value of "Working" or "Not Working" and it'll display that... i can't think of a way to approach this, if someone can lead me in the right direction . . .

meanwhile, i'll keep searching on how to do this, thx guys

Edit: i'm guessing that i'll need some sort of GetValue() function... kind of like w/ php... but still not sure what exactly
ookamocka is offline  
Old 06/10/2009, 07:02   #2
 
elite*gold: 0
Join Date: May 2009
Posts: 98
Received Thanks: 30
I think the only way to do this is to embed Curl.exe and call it.
high7 is offline  
Old 06/10/2009, 07:23   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 427
Received Thanks: 479
Quote:
Originally Posted by high7 View Post
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
ookamocka is offline  
Reply


Similar Threads Similar Threads
[Question]How to use AutoIt?
07/24/2013 - Silkroad Online - 3 Replies
Hey guys I wanna learn on how to work with AutoIt if somebody wanna reply here a tuturial i would really appereciate:)
question in autoit
04/09/2010 - AutoIt - 4 Replies
hello, i wanna make bot, which let me send some text when i press some hotkey, like i press crtl+a and it send in mine game client hello, is that possible to do?
AutoIt Question.
11/02/2009 - S4 League - 3 Replies
I asked this in someone else's thread when they inquired about a bot program, but it seems that thread was deleted, because I can't find it even with the search function. Well I wanted to know if AutoIt would work with Games that only accept direct input, without having to use a bypass. There are many games I'm sure you all know of that don't allow input from Auto macro programs to go through. Anyone know off of the top of their heads?
[Question] AutoIt
10/24/2009 - 12Sky2 - 3 Replies
I was thinking about it and i saw a post made by Tri that AutoIt is blocked because XTrap / GG detects certain signatures and debugging signatures, is it possible to modify AutoIt scripts so that it isn't detected by Xtrap or GG so the scripts will run?
AutoIt Question
05/10/2008 - Conquer Online 2 - 31 Replies
Hey All, Some of you might know about the AutoTalker I released last week or so... I am now trying to make it work while minimized, and I stumbled on the ControlSend function. Now here is what I wrote $text being the text that we are trying to send... ControlSend("", "", "Edit1", "" &Hey All, Some of you might know about the AutoTalker I released last week or so... I am now trying to make it work while minimized, and I stumbled on the ControlSend function. Now here is what I wrote $text...



All times are GMT +1. The time now is 22:08.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.