Sign in to follow this  
Followers 0
BlackPhoenix

_IE Form problem

18 posts in this topic

#1 ·  Posted (edited)

My code untill now:

#include <IE.au3>
#RequireAdmin
func Hospital()
$oIE = _IEAttach ("Camorra World")
;If @error Then
;   msgbox(0,'Error','')
;   EndIf
;This was to check if $oIE returns an error
_IELoadWait ($oIE)
WinwaitActive ('Camorra World - Windows Internet Explorer')
 $oeIE =_IENavigate ($oIE, 'http://www.camorraworld.nl/cw/hospital.php' )
 ;=====================================================
 ;Untill here script is success
 ;=====================================================
 $oForm = _IEFormElementGetCollection ($oeIE, 0)
 _IEFormSubmit($oForm)
 EndFunc
 Hospital()oÝ÷ ØtÌ,*yúèØ^²+^!ìm­§-yÛaÌ"¶Þnèj²-ßÛ(©j»bjVî´!¢é]mçÞv¡×£mäLiËb¢

What am I doing wrong?

Ps. I am still on newbie level and I did search on the forum first but I couldn't find anything that matches my problem. xD

Edited by BlackPhoenix

Share this post


Link to post
Share on other sites



I made a Camorra bot a while ago. Too bad I don't have it anymore, it was very good. :P

For your problem: Get the forum button element and put _IEAction( .. , "click") on it.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I made a Camorra bot a while ago. Too bad I don't have it anymore, it was very good. :P

For your problem: Get the forum button element and put _IEAction( .. , "click") on it.

Yep, but they changed their script and I dunno how to get the form button element :unsure:. This is the code:

CODE
<FORM action=/cw/hospital.php method=post><DIV class=cb>

<H1>Ziekenhuis van Irak</H1>

<P><IMG class=img_right height=149 src="http://static.camorraworld.nl/images/ingame_misc/bedje.jpg" width=222> <SPAN class="green bold">Welkom in het ziekenhuis van Irak!</SPAN><BR>In het ziekenhuis kan je jezelf laten opereren als je bijvoor-beeld in je poot schiet of bent aangevallen. Directeur <A href="/cw/criminal.php?name=haywire"><STRONG>haywire</STRONG></A> moet coke aanleveren zodat patienten verdoofd worden. Doet hij dit niet, dan is het mogelijk dat patienten erop achteruit gaan tijdens een operatie... Aan het volk dan actie te ondernemen tegen de directeur. </P>

<P>De prijs per operatie gaat per rang omhoog. Voor jou kost een operatie: 500 <BR>Per operatie krijg je 1% gezondheid erbij, mits er genoeg coke (verdoving) aanwezig is! </P>

<P><STRONG>Operaties ondergaan </STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Je gezondheid is momenteel 98%! </P>

<P>Aantal operaties: <INPUT id=aantal value=2 name=aantal>&nbsp;&nbsp;&nbsp; <INPUT id=submit type=submit value="Opereer mij!" name=submit> </P></DIV></FORM>

Changed the autoitcode to this:

#include <IE.au3>
#RequireAdmin
func Hospital()
$oIE = _IEAttach ("Camorra World")
;If @error Then
;   msgbox(0,'Error','')
;   EndIf
;This was to check if $oIE returns an error
_IELoadWait ($oIE)
WinwaitActive ('Camorra World - Windows Internet Explorer')
 $oeIE =_IENavigate ($oIE, 'http://www2.camorraworld.nl/cw/hospital.php' )
 ;=====================================================
 ;Untill here script is success
 ;=====================================================
 $oForm = _IEFormElementGetObjByName ($oeIE, 'submit')
 _IEaction($oForm,'click')
 EndFunc
 Hospital()

And as you mentioned I'm indeed working on a bot for camorraworld. I got the rest allready working allthough with clickcoordinates, but now i try it with this one because the coordinates are different for every user. I got past their anit-cheat window with color detection. If i get this to work I should be able to make it complete ^^. However its my first bot so its still very basic stuff.

Returns this error:

--> IE.au3 V2.4-0 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType
--> IE.au3 V2.4-0 Error from function _IEAction, $_IEStatus_InvalidDataType
Edited by BlackPhoenix

Share this post


Link to post
Share on other sites

$oForm = _IEFormElementGetCollection ($oIE, 0) ; it was $oeIE in your code and if this not fixing it.
_IEFormSubmit($oForm, 0) ; this might
_IELoadWait($oIE) ; as well as this one.oÝ÷ Ûú®¢×®'Ü"¶aÇ(u殶­sb6æ6ÇVFRfÇC´RæS2fwC°¢5&WV&TFÖà¦gVæ2÷7F¢b33c¶ôRÒôTGF6gV÷C´6Ö÷'&v÷&ÆBgV÷C²£´bW'&÷"FVࣰ×6v&÷Âb33´W'&÷"b33²Âb33²b33²£°VæD`£µF2v2Fò6V6²bb33c¶ôR&WGW&ç2âW'&÷ ¥ôTÆöEvBb33c¶ôR¥vçvD7FfRb33´6Ö÷'&v÷&ÆBÒvæF÷w2çFW&æWBWÆ÷&W"b33²¢b33c¶ôRÕôTæfvFRb33c¶ôRÂb33¶GG¢ò÷wws"æ6Ö÷'&v÷&ÆBææÂö7rö÷7FÂçb33²¢³ÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓТµVçFÆÂW&R67&B27V66W70¢³ÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓÓТôTÆöEvBb33c¶ôR¢b33c¶ôf÷&ÒÒôTf÷&ÔVÆVÖVçDvWD6öÆÆV7Föâb33c¶ôR¢²b33c¶ôf÷&ÒÒôTf÷&ÔVÆVÖVçDvWDö&¤'æÖRb33c¶ôRÂb33·7V&ÖBb33²¢µôV7Föâb33c¶ôf÷&ÒÂb33¶6Æ6²b33²¥ôTf÷&Õ7V&ÖBb33c¶ôf÷&Ò¤VæDgVæ0¢÷7FÂ

,now I get this:

CODE
--> IE.au3 V2.4-0 Error from function _IELoadWait, $_IEStatus_InvalidDataType

--> IE.au3 V2.4-0 Error from function _IEFormElementGetCollection, $_IEStatus_InvalidDataType

--> IE.au3 V2.4-0 Error from function _IEFormSubmit, $_IEStatus_InvalidDataType

Share this post


Link to post
Share on other sites

Are you trying to submit the form with the title "Inloggen op Camorra World" or the upper right one?

The first form (not the upper one) is named "login2" and the upper is "login" so you don't need to use _IEFormElementGetCollection, use _IEFormGetObjByName.

Share this post


Link to post
Share on other sites

Are you trying to submit the form with the title "Inloggen op Camorra World" or the upper right one?

The first form (not the upper one) is named "login2" and the upper is "login" so you don't need to use _IEFormElementGetCollection, use _IEFormGetObjByName.

Nope, I don't have those forms, I'm allready logged in so the browser doesn't see that form, Im trying to submit this one:

CODE
<FORM action=/cw/hospital.php method=post><DIV class=cb>

<H1>Ziekenhuis van Irak</H1>

<P><IMG class=img_right height=149 src="http://static.camorraworld.nl/images/ingame_misc/bedje.jpg" width=222> <SPAN class="green bold">Welkom in het ziekenhuis van Irak!</SPAN><BR>In het ziekenhuis kan je jezelf laten opereren als je bijvoor-beeld in je poot schiet of bent aangevallen. Directeur <A href="/cw/criminal.php?name=haywire"><STRONG>haywire</STRONG></A> moet coke aanleveren zodat patienten verdoofd worden. Doet hij dit niet, dan is het mogelijk dat patienten erop achteruit gaan tijdens een operatie... Aan het volk dan actie te ondernemen tegen de directeur. </P>

<P>De prijs per operatie gaat per rang omhoog. Voor jou kost een operatie: 500 <BR>Per operatie krijg je 1% gezondheid erbij, mits er genoeg coke (verdoving) aanwezig is! </P>

<P><STRONG>Operaties ondergaan </STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Je gezondheid is momenteel 98%! </P>

<P>Aantal operaties: <INPUT id=aantal value=2 name=aantal>&nbsp;&nbsp;&nbsp; <INPUT id=submit type=submit value="Opereer mij!" name=submit> </P></DIV></FORM>

Share this post


Link to post
Share on other sites

<INPUT id=submit type=submit value="Opereer mij!" name=submit>

Check if _IEGetObjById is sufficient in this case.

Share this post


Link to post
Share on other sites

<INPUT id=submit type=submit value="Opereer mij!" name=submit>

Check if _IEGetObjById is sufficient in this case.

#include <IE.au3>
#RequireAdmin
func Hospital()

;If @error Then
;   msgbox(0,'Error','')
;   EndIf
;This was to check if $oIE returns an error
WinwaitActive ('Camorra World - Windows Internet Explorer')
 $oIE = _IEAttach ("Camorra World")
 _IELoadWait ($oIE)
 $oIE =_IENavigate ($oIE, 'http://www2.camorraworld.nl/cw/hospital.php' )
 ;=====================================================
 ;Untill here script is success
 ;=====================================================
 _IELoadWait($oIE)
 ;$oForm = _IEFormElementGetCollection ($oIE, 0)
 ;$oForm= _IEFormGetObjByName($oIE,'submit')
 $oForm=_IEGetObjById($oIE,'submit')
 ;$oForm = _IEFormElementGetObjByName ($oIE, 'submit')
 ;_IEaction($oForm,'click')
_IEFormSubmit($oForm, 0)
EndFunc
 Hospital()

I still get those errors, this made me think

Is it possible that they disabled users from 'seeing' those forms? cause with debugbar I found javascript that is containing this code:

CODE
function HFSB(button) {

if (!HideFormSubmitBut) {

HideFormSubmitBut=1;

button.style.display = 'none';

button.value = '';

return true;

}

return false;

}

Share this post


Link to post
Share on other sites

I know it is possible to click the button. It is just a little harder than usual.

Try clicking every element in the form by enumerating it. That should work.

Share this post


Link to post
Share on other sites

#include <IE.au3>
#RequireAdmin

func Hospital()

;If @error Then
;   msgbox(0,'Error','')
;   EndIf
;This was to check if $oIE returns an error
WinwaitActive ('Camorra World - Windows Internet Explorer')
 $oIE = _IEAttach ("Camorra World")
 _IELoadWait ($oIE)
 $oIE =_IENavigate ($oIE, 'http://www2.camorraworld.nl/cw/hospital.php' )
 ;=====================================================
 ;Untill here script is success
 ;=====================================================
 _IELoadWait($oIE)
 $oForm = _IEFormGetCollection ($oIE, 0)
For $i in $oForm
 _IEaction($i,'click')
 Next
;IEFormSubmit($oForm, 0)
EndFunc
Hospital()oÝ÷ ظ¤zØb±h^h¶¬"­¶¢YhÂ)àzºè®Æ®¶­sbÒÒb3c#²RæS2c"ãBÓW'&÷"g&öÒgVæ7FöâôTÆöEvBÂb33cµôU7FGW5ôçfÆDFFGP¢ÒÒb3c#²RæS2c"ãBÓW'&÷"g&öÒgVæ7FöâôTf÷&ÔvWD6öÆÆV7FöâÂb33cµôU7FGW5ôçfÆDFFGP¤3¢b3#µW6W'2b3#²¢¢¢¢¢¢¢ÓÒfwC²f&&ÆR×W7B&RöbGRgV÷C´ö&¦V7BgV÷C²ã ¤f÷"b33c¶âb33c¶ôf÷&Фf÷"b33c¶âb33c¶ôf÷&ÕâU%$õ ¢fwC´WB6öFS¢FÖS¢"ã

Share this post


Link to post
Share on other sites

0 or positive integer returns an indexed instance...

_IEFormGetCollection (AutoIt help file)

Post the page, there must be something that is possible.

Share this post


Link to post
Share on other sites

0 or positive integer returns an indexed instance...

_IEFormGetCollection (AutoIt help file)

Post the page, there must be something that is possible.

This is the page Camorra worldBut to view that page you need to register lol.

Source:

<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Camorra World</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<script src="http://static.camorraworld.nl/style/1/js/cw.js" type=text/javascript></SCRIPT>

<script src="http://static.camorraworld.nl/style/1/js/addons.js" type=text/javascript></SCRIPT>
<LINK media=all href="http://static.camorraworld.nl/style/1/css/cw.css" type=text/css rel=stylesheet><LINK media=all href="http://static.camorraworld.nl/style/1/css/menu.css" type=text/css rel=stylesheet>
<script type=text/javascript>addonloadListener(StartCWE); ONLINEUPDATE_INTERVAL="300"; HOSTNAME="www2.camorraworld.nl";LAYOUT_PATH="http://static.camorraworld.nl/style/1/";LOCKDOWN_INTERVAL="30";MINI_MODUS="1";LOGGED_IN=1;VVDP_ITEMS_STRING='<li><a href="/sys/news.php?newsid=569">17:04 Camorra flore...</a><br /></li><li><a href="/sys/news.php?newsid=550">18:24 SMS Center...</a><br /></li><li>&nbsp;<br /></li><li><a href="/sys/news.php?newsid=568">07:32 Bomaanslag op...</a><br /></li><li><a href="/sys/news.php?newsid=567">07:20 Netwerk beroo...</a><br /></li><li><a href="/sys/news.php?newsid=566">22:14 Cokefabriek b...</a><br /></li>';var VIPMDATA=new Array("0");</SCRIPT>

<script src="http://static.camorraworld.nl/style/1/js/cwe_ajax_components.js" type=text/javascript></SCRIPT>

<META content=YMQYSUWQLF name=SKYPE_FRAMEID></HEAD>
<BODY onunload=StopCWE()>
<DIV id=frame>
<DIV id=container style="MARGIN-TOP: 0px">
<DIV id=header style="HEIGHT: 0px">
<DIV id=hu style="TOP: 15px"><A href="/doc/"><IMG height=35 alt="Alles over Camorra World" src="http://static.camorraworld.nl/style/1/images/layout/mb_help.jpg" width=95 border=0></A></DIV>
<DIV id=cup style="TOP: 15px"><A href="/intranet/scoreboard/"><IMG height=35 alt="Algemeen Klassement" src="http://static.camorraworld.nl/style/1/images/layout/mb_cup.jpg" width=37 border=0></A></DIV>
<DIV id=forumbutton style="TOP: 15px"><A href="/forum/"><IMG height=35 alt="Camorra World Forum" src="http://static.camorraworld.nl/style/1/images/layout/mb_forum.jpg" width=37 border=0></A></DIV>
<DIV id=promotebutton style="TOP: 15px"><A href="/sys/promote.php"><IMG height=35 alt="Promote Camorra World" src="http://static.camorraworld.nl/style/1/images/layout/mb_promote.jpg" width=37 border=0></A></DIV>
<DIV id=gamesbutton style="TOP: 15px"><A href="/sys/games.php"><IMG height=35 alt="Ontspannende games" src="http://static.camorraworld.nl/style/1/images/layout/mb_games.jpg" width=38 border=0></A></DIV>
<DIV id=logout style="TOP: 15px"><A href="/sys/login.php?logout"><IMG height=24 alt="Klik hier om uit te loggen" src="http://static.camorraworld.nl/style/1/images/layout/logout.gif" width=23 border=0></A></DIV>
<DIV id=loading_img style="TOP: 15px"><A href="http://www2.camorraworld.nl/doc/faq/?word=cwe"><IMG alt="Camorra World Engine 
Status: Online &amp; Chilling..." src="http://static.camorraworld.nl/style/1/images/layout/mb_loaded.gif" border=0></A></DIV>
<DIV id=anouncement style="TOP: 15px"><A href="/user/settings.php?DoFullscreen"><IMG height=35 alt="MiniModus en MiniMenu's uitschakelen!" src="http://static.camorraworld.nl/style/1/images/layout/mb_fullscreen.jpg" width=117 border=0></A></DIV>
<DIV id=vip style="TOP: 15px"><A href="/sys/vip/"><IMG height=35 alt="VIP Shop" src="http://static.camorraworld.nl/style/1/images/layout/mb_vip.jpg" width=83 border=0></A></DIV></DIV>
<DIV id=menu name="menu">
<DIV id=menuitems>
<UL>
<LI class=pers><A class=hide href="/cw/criminal.php?id=11988"></A>
<UL>
<LI class=first><A title="Bekijk je persoonlijke statistieken &amp; update regelmatig jouw ranglijst positie!" href="/user/dashboard.php">Statistieken</A></LI>
<LI><A title="Bekijk je saldo's en boek geld over!" href="/user/cash.php">Bank Account</A></LI>
<LI><A title="Communiceer met de andere Criminelen!" href="/user/email.php">Email &amp; SMS</A></LI>
<LI><A title="Respect geven en bekijken!" href="/user/respect.php">Respect Credits</A></LI>
<LI><A title="Beheer al jouw Partners in Crime!" href="/user/partners.php">Partners in Crime</A></LI>
<LI><A title="Maak aantekeningen van belangrijke dingen!" href="/user/notes.php">Notities</A></LI>
<LI class=last><A title="Stel Camorra World volledig naar jouw wens in!" href="/user/settings.php">Instellingen</A></LI></UL></LI>
<LI class=cir><A class=hide href="/cw/country.php?country=ir"></A>
<UL>
<LI class=first><A title="Bekijk de landkaart van dit land!" href="/cw/country.php?country=ir">De Landkaart</A></LI>
<LI><A title="Reis met je eigen vliegtuig naar andere landen!" href="/cw/airport.php">Vliegveld</A></LI>
<LI><A title="Breek je maatjes uit of betaal hun borg!" href="/cw/jail.php">Gevangenis</A></LI>
<LI><A title="Krik je gezondheid op in het ziekenhuis!" href="/cw/hospital.php">Ziekenhuis</A></LI>
<LI><A title="Huur een detective-team om je doelwit te lokaliseren!" href="/cw/detective.php">Detective Bureau</A></LI>
<LI><A title="Zet een prijs op iemand's hoofd of ga zelf op jacht!" href="/cw/hitlist.php">Bountyhunters</A></LI>
<LI class=last><A title="Trap de Nerds uit Camorra World!" href="/cw/nerdlist.php">Nerdlist</A></LI></UL></LI>
<LI class=intra><A class=hide href="/intranet/"></A>
<UL>
<LI class=first><A title="Zoek criminelen" href="/intranet/criminalbrowser/">Criminelen Browser</A></LI>
<LI><A href="/intranet/scoreboard/">Algemeen Klassement</A></LI>
<LI><A class=hide href="/intranet/stats/">Stats · Algemeen &gt;</A> 
<UL>
<LI class=first><A class=hide href="/intranet/scoreboard/">Klassement</A> </LI>
<LI class=mid><A class=hide href="/intranet/stats/?type=cw">Camorra World</A> </LI>
<LI class=mid><A class=hide href="/intranet/stats/organisations.php">Netwerken</A> </LI>
<LI class=mid><A class=hide href="/intranet/scoreboard/">Criminelen</A> </LI>
<LI class=mid><A class=hide href="/intranet/stats/?type=country">Landen Overzicht</A> </LI>
<LI class=last><A class=hide href="/doc/concept/?sub=servers">Servers</A> </LI></UL></LI>
<LI><A class=hide href="/intranet/stats/">Stats · Business &gt;</A> 
<UL>
<LI class=first><A class=hide href="/intranet/stats/?type=ammo">Ammo Clips</A> </LI>
<LI class=mid><A class=hide href="/intranet/stats/?type=drugweapon">Drugs &amp; Wapens</A> </LI>
<LI class=mid><A class=hide href="/intranet/stats/?type=casino">Casino's</A> </LI>
<LI class=mid><A class=hide href="/intranet/stats/?type=cokefactories">Cokefabrieken</A> </LI>
<LI class=last><A class=hide href="/intranet/stats/?type=cartune">Car Tune Shops</A> </LI></UL></LI>
<LI><A href="/sys/news.php">Vers van de Pers</A></LI>
<LI><A href="/forum/">Forum Boards</A></LI>
<LI class=last><A href="/sys/poll.php">Camorra World Polls</A></LI></UL></LI></UL></DIV></DIV>
<DIV id=menu_shade style="TOP: 50px"></DIV>
<DIV id=content_placeholder>
<DIV id=contentbar_left>
<DIV id=lcm>
<DIV class=menu_block>
<DIV class=menu_header onclick="java script: ToggleMenu('crimes');">Ontwikkeling</DIV>
<DIV class=menu_items id=mb_crimes>
<UL>
<LI><A href="/crime/light.php">Simpel</A> <A href="/crime/medium.php">Moeilijk</A> <A href="/crime/robbery.php">Beroof</A><BR>
<LI><A href="/crime/drivinglesson.php">Rijles</A> <A href="/crime/gta.php">Grand Theft Auto</A><BR></LI></UL></DIV></DIV>
<DIV class=menu_block>
<DIV class=menu_header onclick="java script: ToggleMenu('murder');">Moord Jobs</DIV>
<DIV class=menu_items id=mb_murder>
<UL>
<LI><A href="/crime/killpractice.php">Oefen</A> <A href="/crime/job-duo.php">Duo</A> <A href="/crime/job-advanced.php">Multi</A> <A href="/crime/job-expert.php">Top</A><BR>
<LI><A href="/crime/kill.php">Vermoorden</A> <A href="/crime/popo.php"><SPAN style="COLOR: yellow">Popo Paffen</SPAN></A><BR></LI></UL></DIV></DIV>
<DIV class=menu_block>
<DIV class=menu_header onclick="java script: ToggleMenu('business');">Business Plaza</DIV>
<DIV class=menu_items id=mb_business>
<UL>
<LI><A href="/cw/shop.php">CW Shop</A> <A href="/sys/vip/">VIP Shop</A><BR>
<LI><A href="/business/cartune.php">CarTuneShop</A> <A href="/cw/cbay.php">CBay</A><BR>
<LI><A href="/crime/deal_drugs.php">Deal Drugs</A> &nbsp; <A href="/crime/deal_weapons.php">Wapens</A><BR>
<LI><A href="/business/ammo.php">Ammo Business</A> &nbsp; <A href="/cw/ammo.php">Depot</A><BR></LI></UL></DIV></DIV>
<DIV class=menu_block>
<DIV class=menu_header onclick="java script: ToggleMenu('casino');">Casino's</DIV>
<DIV class=menu_items id=mb_casino>
<UL>
<LI><A href="/casino/roulette.php">Roulette</A> <A href="/casino/russian-roulette.php">Russisch</A><BR>
<LI><A href="/casino/blackjack.php">Blackjack</A> <A href="/casino/spinner.php">Fruitmachine</A><BR>
<LI><A href="/casino/number.php">Nummertje</A> <A href="/casino/scratch.php">Krassen</A><BR>
<LI><A href="/casino/lottery.php">Loterij</A> <A href="/casino/lottery-vip.php">VIP Loterij</A><BR></LI></UL></DIV></DIV></DIV></DIV>
<DIV id=contentbar_main>
<DIV id=notice_container></DIV>
<DIV id=cbs>
<DIV align=center><IMG class=border_black src="http://static.camorraworld.nl/style/1/images/pageheaders/cw_hospital.jpg"></DIV>
<FORM action=/cw/hospital.php method=post>
<DIV class=cb>
<H1>Ziekenhuis van Irak</H1>
<P><IMG class=img_right height=149 src="http://static.camorraworld.nl/images/ingame_misc/bedje.jpg" width=222> <SPAN class="green bold">Welkom in het ziekenhuis van Irak!</SPAN><BR>In het ziekenhuis kan je jezelf laten opereren als je bijvoor-beeld in je poot schiet of bent aangevallen. Directeur <A href="/cw/criminal.php?name=haywire"><STRONG>haywire</STRONG></A> moet coke aanleveren zodat patienten verdoofd worden. Doet hij dit niet, dan is het mogelijk dat patienten erop achteruit gaan tijdens een operatie... Aan het volk dan actie te ondernemen tegen de directeur. </P>
<P>De prijs per operatie gaat per rang omhoog. Voor jou kost een operatie: 500 <BR>Per operatie krijg je 1% gezondheid erbij, mits er genoeg coke (verdoving) aanwezig is! </P>
<P><STRONG>Operaties ondergaan </STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Je gezondheid is momenteel 99%! </P>
<P>Aantal operaties: <INPUT id=aantal value=1 name=aantal>&nbsp;&nbsp;&nbsp; <INPUT id=submit type=submit value="Opereer mij!" name=submit> </P></DIV></FORM></DIV></DIV>
<DIV id=contentbar_right>
<DIV id=rcm>
<DIV class=container_novip id=VIP_MENU_BASE><A href="/sys/vip/"><IMG title="Klik hier voor meer informatie!" alt="Klik hier voor meer informatie!" src="http://static.camorraworld.nl/style/1/images/lang/1/novip.jpg" border=0></A></DIV>
<DIV class=menu_block>
<DIV class=menu_header onclick="java script: ToggleMenu('vastgoed');">Vastgoed</DIV>
<DIV class=menu_items id=mb_vastgoed>
<UL>
<LI><A href="/re/villa.php">Villa</A> <A href="/re/appartement.php">Appartement</A><BR>
<LI><A href="/re/garage.php">Garage</A> <A href="/business/weed.php">Wietplantage</A><BR>
<LI><A href="/re/building.php">Bouwbedrijf</A> <A href="/business/coke.php">Coke</A><BR>
<LI><A href="/re/kavel.php">Kavel</A> <A href="/re/cityorganisation.php">Stadsnetwerk</A><BR></LI></UL></DIV></DIV>
<DIV class=menu_block>
<DIV class=menu_header onclick="java script: ToggleMenu('netwerk');">Netwerk</DIV>
<DIV class=menu_items id=mb_netwerk>
<UL>
<LI><A href="/doc/faq/?word=organisation">Wat is een Netwerk?</A><BR>
<LI><A href="/cw/organisation_battles.php">Netwerk Battles</A><BR>
<LI><A href="/intranet/stats/organisations.php">Alle netwerken</A><BR></LI></UL></DIV></DIV>
<DIV id=VVDP_SCRIPT_BASE>
<DIV class=menu_block>
<DIV class=menu_header>Vers van de pers</DIV>
<DIV class=menu_items id=mb_news>
<UL>
<LI><A href="http://www2.camorraworld.nl/sys/news.php?newsid=569">17:04 Camorra flore...</A><BR></LI>
<LI><A href="http://www2.camorraworld.nl/sys/news.php?newsid=550">18:24 SMS Center...</A><BR></LI>
<LI>&nbsp;<BR></LI>
<LI><A href="http://www2.camorraworld.nl/sys/news.php?newsid=568">07:32 Bomaanslag op...</A><BR></LI>
<LI><A href="http://www2.camorraworld.nl/sys/news.php?newsid=567">07:20 Netwerk beroo...</A><BR></LI>
<LI><A href="http://www2.camorraworld.nl/sys/news.php?newsid=566">22:14 Cokefabriek b...</A><BR></LI></UL></DIV></DIV></DIV></DIV></DIV>
<DIV class=clear></DIV>
<DIV id=footer>
<DIV><A href="/doc/concept/?sub=copyright">Copyright © 2006 - 2009 Thingo</A></DIV>
<DIV><A href="/doc/terms/">Algemene Voorwaarden</A></DIV>
<DIV><A href="/doc/rules/">De Huisregels</A></DIV>
<DIV><A href="/doc/concept/?sub=copyright" ?>77.161.177.105</A></DIV>
<DIV><A href="/doc/concept/?sub=servers">18.26ms en 2 queries</A></DIV></DIV></DIV></DIV></DIV></BODY></HTML>

Share this post


Link to post
Share on other sites
$oForm = _IEFormGetCollection ($oIE)
For $i in $oForm
 _IEaction($i,'click')
 NextoÝ÷ Ûú®¢×©àyØ­jwm®'Ü(mÂäI禲ØZ¶Ø^±Êâ¦Ø¶È§½©buÖ­jÜ©y»­Ú'ßÛd0$áȬ­­jëh×6--> IE.au3 V2.4-0 Error from function _IEFormGetCollection, $_IEStatus_InvalidDataType
C:\Users\Luuk\Documents\lol.au3 (18) : ==> Variable must be of type "Object".:
For $i in $oForm
For $i in $oForm^ ERROR

Share this post


Link to post
Share on other sites

--> IE.au3 V2.4-0 Error from function _IEFormGetCollection, $_IEStatus_InvalidDataType

Means that you did not pass an object variable in the first parameter (InvalidDataType -- those messages are very carefully crafted, please pay attention). You need to work backwards and figure out why $oIE is not a valid object.

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

--> IE.au3 V2.4-0 Error from function _IEFormGetCollection, $_IEStatus_InvalidDataType

Means that you did not pass an object variable in the first parameter (InvalidDataType -- those messages are very carefully crafted, please pay attention). You need to work backwards and figure out why $oIE is not a valid object.

Dale

Yeah I know, this works for every other site, and apparantly when i try to do _IENavigate with this site it only works 5 times, after that the site passes me to another site (zoeknu.nl) My script doesn't do that, I'm really sure, It must be a script on that site preventing botters. Well I've breached their anti-cheat security once so.... xD

Share this post


Link to post
Share on other sites

$oIE =_IENavigate ($oIE, 'http://www2.camorraworld.nl/cw/hospital.php' )

Don't know if you're still trying to solve this issue, but _IENavigate does not result in an 'Object'. Need to attach to the page first.

Try this:

_IENavigate ($oIE, 'http://www2.camorraworld.nl/cw/hospital.php' )
$oIE = _IEAttach('http://www2.camorraworld.nl/cw/hospital.php', 'URL')
$oForm = _IEFormGetCollection ($oIE)
For $i in $oForm
  _IEaction($i, 'click')
Next

Hope that helps.

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