Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 02:01

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

Advertisement



Frage zu AutoIt

Discussion on Frage zu AutoIt within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 6
Received Thanks: 0
Frage zu AutoIt

Hallo Leute...
Ich möchte einen Bot beim Spiel Machen..
nur einen kleinen. Jetz möchte ich fragen wie das mit dem If/else rausfinden geht. und zwar möchte ich wenn der wert den ich bekomme ü 11 ist, dass er einen button klickt. und wenn er u 11 ist auf einen anderen klickt... jetz muss ich ja rausfinden WO oder WIE mir der Server den wert sagt.. weil lesen kann AutoIt ja leider noch nicht..
Freu mich über konstruktive(!!) Antworten.. bitte keine schau im Tut nach antworten... ich finds nicht...
danke im Voraus, gibt sicher ein Thanks für gute antworten--
Lg Salvadora
Attached Images
File Type: jpg Screenshot.jpg (336.1 KB, 24 views)
-Salvador- is offline  
Old 09/28/2011, 20:34   #2
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
JA du kannst bestimmt die Zahl(18) im Quelltext finden und auslesen lassen mit Stringbetween oder stringregexp ect....

Dann wenn du sie ausgelesen hast, ist es ja ein wert/value und dann kannst du ganz leicht mit en if abfrage fragen ob ü oder u/gleich 11 ist...

Frage: Wie stellst du dir das vor ein TCP Bot also der alles unsichtbar macht oder ein IE Bot? oder ganz anders?

MfG Ludder231
Ludder231 is offline  
Old 09/28/2011, 20:51   #3
 
elite*gold: 0
Join Date: Oct 2010
Posts: 51
Received Thanks: 12
es kann aber auch sein, dass es dir jemand schwer machen möchte und der wert nicht im Quelltext steht. Dann müstest du im Arbeitsspeicher danach suchen. Das kann(!) aber komplizierter werden...
klavier22 is offline  
Old 09/28/2011, 20:55   #4
 
Ludder231's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
Oh ja das wüsst ich dann auch nicht
Ludder231 is offline  
Old 09/28/2011, 22:05   #5
 
elite*gold: 0
Join Date: Apr 2011
Posts: 6
Received Thanks: 0
Hey. im QUelltext bin ic (noch) nicht fündig geworden. ich zeig ihn euch später schnell...
öhm ich hab mir nen simplen mausklickbot vorgestellt. bin Neuling auf AutoIt.. das größte was ich kann sind Gui und die nur halb.. wie gesagt, ich stell nachher noch n screenshot vom quelltext rein

<html>
<head>
<title>Kostenloses Browsergame - MMORPG Online spielen - warofdragons.de</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="style/main.css" rel="stylesheet" type="text/css">
<link rel=stylesheet type="text/css" href="images/locale/de/alt.css">
<script language="javaScript" src="js/common.js"></script>
<script>

top.myId = '752311';
top.myNick = 'XXXXX';
top.myKind = '1';
top.locale_path = 'images/locale/de/';

top.dialogEvent = [];
top.dialogShow = [];
top.dialogNeed = [];
top.dialogOn = true;
top.showNow = 0;

top.cht_height = 30;
top.cht_step = 5;
top.obj = null;
</script>
<script language="javascript" type="text/javascript">var art_alt = new Array();</script>
</head>
<body marginheight="0" marginwidth="0" style="overflow: hidden;">
<div id="artifact_alt" style="width:300px; display:none; position:absolute; z-index: 1001;" onmouseover="this.style.display='none';"></div>
<table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">

<tr>
<td id="main_frame_TD" valign="top" align="left" height="70%" width="100%">
<iframe id="main_frame" width="100%" height="100%" frameborder="0" name="main_frame" src="main_frame.php" scrolling="no"></iframe>
</td>
</tr>
<tr id="chat_TR">
<td id="chat_TD" valign="top" align="left" height="30%" width="100%">
<iframe id="chat" width="100%" height="100%" frameborder="0" name="chat" src="cht.php" scrolling="no"></iframe>

</td>
</tr>
</table>
<div id="error_div" class="error_div" style="display:none; z-index: 1000;"></div>
<iframe width="1" height="1" frameborder="0" id="error" name="error" src="" scrolling="no" style="display: none; position: absolute; left: 0; top: 0; z-index: 1001;" ALLOWTRANSPARENCY="true"></iframe>
<div id="smile_div2" class="smile_div2" style="display:none; z-index: 500;" onclick="show_smile(this,this);"></div>
<div id="smile_div" class="smile_div" style="display:none; position:absolute; z-index: 501;">
<iframe width="300" height="300" frameborder="0" id="smile" name="smile" src="smiles.php" scrolling="no" style="left: 0; top: 0; z-index: 502;" ALLOWTRANSPARENCY="true"></iframe>
</div>

<script>
function show_smile(o,i) {
try{
var win = top.window;
var doc = top.document;
var width = doc.body.clientWidth;
var height = doc.body.clientHeight;
var div_width = Math.max(doc.compatMode != 'CSS1Compat' ? doc.body.scrollWidth : doc.documentElement.scrollWidth,width);
var div_height = Math.max(doc.compatMode != 'CSS1Compat' ? doc.body.scrollHeight : doc.documentElement.scrollHeight,height);
var div = top.gebi('smile_div2');

var coord = getCoords(o);
var obj = gebi('smile_div');
var iframe = gebi('smile');
if (!obj) return;
if (obj.style.display=='none') {
div.style.width = div_width;
div.style.height = div_height;
div.style.display = 'block';
obj.style.display = 'block';
obj.style.top = (((coord.t*1)+(i.t*1))-iframe.height-50)+'px';
obj.style.left = (((coord.l*1)+(i.l*1))-iframe.width+60)+'px';
} else {
obj.style.display = 'none';
div.style.display = 'none';
}
} catch(e) {}
}

function show_alt() {
var alive=0
try{
alive = top.obj.offsetParent
} catch(e) {}
var obj = top.gebi('artifact_alt');
if (!obj) return false;
if (alive && obj.style.display != 'none') {
setTimeout("show_alt()",500);
} else {
obj.style.display='none';
}
}

var opera = navigator.userAgent.match(/Opera/i);
function cht_resize(val) {
//try {
var TD1 = top.gebi('main_frame_TD');
var TD2 = top.gebi('chat_TD');
if (!TD1 || !TD2) return false;

var value = top.cht_height;
if (val > 0) value += top.cht_step;
else if (val < 0) value -= top.cht_step;
if (value <= 20) value += top.cht_step;
if (value >= 80) value -= top.cht_step;

top.cht_height = value;

if (opera) {
rsz();
} else {
TD1.height = (100-value*1)+'%';
TD2.height = (value*1)+'%';
}

//} catch (e) {}
}

if (opera) {
var obj1 = gebi('main_frame');
var obj2 = gebi('chat');
obj1.scrolling='auto';
obj2.scrolling='auto';
var rsz= function(a){
obj1.style.height='10px';
obj2.style.height='10px';
var h=document.body.scrollHeight;
h= h < 50 ? 50 : h;
var h2 = Math.floor(top.cht_height*h/100);
obj1.style.height=(h-h2)+'px';
obj2.style.height = h2+'px';
}
onresize=rsz;
setTimeout('rsz()',200);
}

</script>

</body>
</html>

Das wäre mal der Quelltext
-Salvador- is offline  
Old 09/29/2011, 10:38   #6

 
Furkan's Avatar
 
elite*gold: 59
The Black Market: 326/0/0
Join Date: Jun 2010
Posts: 1,945
Received Thanks: 424
Hast du Skype?(wenn ja adde: "epvp.dave") dann kann ich dir helfen
Furkan is offline  
Old 09/29/2011, 13:11   #7
 
elite*gold: 0
Join Date: Apr 2011
Posts: 6
Received Thanks: 0
Hab dich ma geaddet
-Salvador- is offline  
Old 09/29/2011, 17:59   #8
 
amnesi's Avatar
 
elite*gold: 25
Join Date: Jun 2010
Posts: 1,076
Received Thanks: 290
Is easy.
Müsste im Quelltext stehn.
Versuch ma mit

PHP Code:
#include <FF.au3>
$Page= [B]Die Url die da steht :P[/B]
$html=_FFReadHTML($Page)
filewrite(@scriptdir&"\Quelltext.html",$html
Die FF.au3 findest du
unter Software/Windows -> FF.au3
amnesi is offline  
Reply




All times are GMT +1. The time now is 02:04.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.