Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 00:38

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

Advertisement



WinHTTP Kleines Problem :)

Discussion on WinHTTP Kleines Problem :) within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
blackout617's Avatar
 
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
Question WinHTTP Kleines Problem :)

Ich habe ein Darkorbit Login projekt aber wie kan ich etc:uridium,credits.... anseigen

etc:
Code:
Msgbox(64,Credits,$iCredits[0] & " Credits hast du")
aber wie finde ich credits



Code:
$iCredits = StringRegExp($sHTML, '<div id="header_credits" class="header_money">'&'(.*?)</div>', 3)

Msgbox(64,Credits,$iCredits[0] & " Credits hast du")
Ich bekomme :
Code:
MsgBox(64,"Info",$iCredits[0] & " Credits hast du")
MsgBox(64,"Info",$iCredits^ ERROR
>Exit code: 1    Time: 20.384
Das funkt mit stringregexp nicht ich habe nicht viel'e tutorials gefunden für stringregexp

Credits etc html Quellen text:
blackout617 is offline  
Old 03/31/2013, 14:39   #2
 
YatoDev's Avatar
 
elite*gold: 50
Join Date: Sep 2012
Posts: 3,841
Received Thanks: 1,462
mach mal mit StringBetween
YatoDev is offline  
Old 03/31/2013, 15:25   #3
 
blackout617's Avatar
 
elite*gold: 68
Join Date: Feb 2011
Posts: 401
Received Thanks: 96
Quote:
Originally Posted by »FlutterShy™ View Post
mach mal mit StringBetween
weis nicht wie

Code:
 ==> Unknown function name.:
$iCredits = StringBetween($sHTML, '<div id="header_credits" class="header_money">'&'(.*?)</div>', 3)
$iCredits = ^ ERROR
blackout617 is offline  
Old 03/31/2013, 22:13   #4


 
Requi's Avatar
 
elite*gold: 3800
The Black Market: 244/0/0
Join Date: Dec 2012
Posts: 13,039
Received Thanks: 8,243
Adde mich bitte in Skype
Ich helf dir heute/morgen dabei
Requi is offline  
Old 04/01/2013, 09:05   #5
 
elite*gold: 224
Join Date: Dec 2010
Posts: 2,766
Received Thanks: 931
Quote:
Originally Posted by blackout617 View Post
weis nicht wie

Code:
 ==> Unknown function name.:
$iCredits = StringBetween($sHTML, '<div id="header_credits" class="header_money">'&'(.*?)</div>', 3)
$iCredits = ^ ERROR
Stringbetween gibt es nicht . Die Funktion heißt _Stringbetween und gehört zur String.au3 weiteres ist aus der Hilfe zu entnehmen mit der du arbeiten solltest
Havelock_Vetinari is offline  
Old 04/04/2013, 22:42   #6
 
Achat's Avatar
 
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,404


MfG
Achat is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Shakes & fidget login Problem, Winhttp
03/16/2013 - AutoIt - 3 Replies
Moin, Ich habe hier ein Problem mit dem Shakes und Fidget login. Undzwar: #include <winhttp.au3> #Include <Crypt.au3> $sUsername = ''
WinHTTP Send Problem
05/31/2012 - AutoIt - 5 Replies
Ich hoffe mal ich hab die Überschrift treffen beschrieben. Mein Problem ist liegt darin, das ich versuche einen Packtbot zumachen der mir die Belohnung eines Spiels abholt. Das klappt auch einwandfrei. Das ist mein Script wenn ich es ohne Gui mache: #RequireAdmin #include <WinHTTP.au3> $Session = _WinHttpOpen ("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0") $Connect = _WinhttpConnect ($Session,"www.aeriagames.com") $HTML = _WinHttpSimpleRequest ($Connect,...
AutoIT WinHTTP PacketBot Problem
05/30/2012 - AutoIt - 6 Replies
Hi, ich arbeite derzeit an einem kleinen Darkorbit Packet-Bot. Nur scheitere ich beim Login schon. Also bis zur Instance auswahl komm ich aber dann die Instance wählt es nicht aus. ich habe hier mal meinen Code gepostet ich hoffe ihr könnt mir schnell helfen. #include <WinHTTP.au3> $hSession = _WinHttpOpen("Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0 Firefox/12.0") $hConnect = _WinhttpConnect($hSession, "www.darkorbit.com")
WinHTTP Proxy Problem
10/30/2011 - AutoIt - 8 Replies
Hallo com, habe folgendes Problem bei der Proxy Einstellung mit WinHTTP. Mein Code sieht wie folgt aus: #include <WinHTTP.au3> #include <String.au3> #include <Array.au3> $Proxy = "59.66.63.182:8909"



All times are GMT +2. The time now is 00:38.


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