Jump to content

iFFgen

Members
  • Posts

    9
  • Joined

  • Last visited

About iFFgen

  • Birthday 10/26/1985

Profile Information

  • Location
    Belarus
  • WWW
    http://oobooi.ru

iFFgen's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Yes. I'm sorry, it's my fault. Form is filled with _WinHttpSimpleFormFill and I get html-text of page where exists another form: I'm trying to fill this form with: $hConnect = $sResponse Local $sResponse = _WinHttpSimpleFormFill($hConnect, $hOpen, 'index:0') ConsoleWrite('! Response > ' & $sResponse & @LF & @LF) _WinHttpCloseHandle($hConnect) and I'm getting another html-page with http error 400 What I'm doing wrong?
  2. If I try 1-st version with _WinHttpSimpleFormFill there is no response. Can you explain how can I do this? Login and password data transferring not in url string but in Form Data: idsrv.xsrf=t42__g36w3-i4VHcZVJLkaYoll5PuumW5JspMJXEZAkoPnBxTNgO9KOBZGMqO_-IiX6v9eiHjaxWyxG0Ghmtt-w9Rvk&Username=login&Password=password After submitting this form must be redirection to: https://my.asos.com/identity/wsfed?wa=wsignin1.0&wtrealm=https%3a%2f%2fasoseuncuside....... This returns 0 or 1, but not an array. Or I missing something?
  3. Good day. I would be very grateful if somebody would help me to understand how can I login to the site "https://www.asos.com" using library WinHTTP. I've tried like this (but there is no response): #include "WinHttp.au3" Local $sDomain = 'www.asos.com' Local $sPage = 'pgecustlogin.aspx' Local $sLogin = 'login' Local $sPassword = 'password' Local $hOpen = _WinHttpOpen() Local $hConnect = _WinHttpConnect($hOpen, $sDomain, $INTERNET_DEFAULT_HTTPS_PORT) Local $sResponse = _WinHttpSimpleFormFill($hConnect, _     $sPage, _     'EmailAddress', $sLogin, _ ; <input id="EmailAddress" />     'Password', $sPassword) ; <input id="Password" /> ConsoleWrite('! Response > ' & $sResponse & @LF) _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hOpen) In this version I get html-text and headers, but I don't know what to do with it. #include "WinHttp.au3" Local $sDomain = 'www.asos.com' Local $sPage = 'pgecustlogin.aspx' Local $sLogin = 'login' Local $sPassword = 'password' Local $hOpen = _WinHttpOpen() Local $hConnect = _WinHttpConnect($hOpen, $sDomain) Local $hRequest = _WinHttpOpenRequest($hConnect, 'GET', $sPage, 'HTTP/1.1', $WINHTTP_NO_REFERER, $WINHTTP_DEFAULT_ACCEPT_TYPES, $WINHTTP_FLAG_SECURE) _WinHttpSendRequest($hRequest) _WinHttpReceiveResponse($hRequest) Local $sHeaders = _WinHttpQueryHeaders($hRequest) Local $sData = '', $sChunk If _WinHttpQueryDataAvailable($hRequest) Then     While 1         $sChunk = _WinHttpReadData($hRequest, 1)         If Not @extended Then ExitLoop         $sData &= $sChunk     WEnd EndIf ConsoleWrite('! Headers > ' & @LF & $sHeaders & @LF) ConsoleWrite('! Response > ' & $sData & @LF) _WinHttpCloseHandle($hRequest) _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hOpen) Help me please! And thanks in advance!
  4. Can anyone suggest how to access the functions in the new library? There is only one function ("SciterAPI"), which is a pointer to others.
  5. Thanks very much Useful UDF!
  6. I understand all this in theory. But how to realize in practice? Press the left mouse button, pulled to the side and the screen is moved in the opposite direction (with mouse acceleration - it would be ideally)
  7. Please сan someone find in what could be the reason of the wrong way (not the shortest)? (sorry for my english )
  8. Werty, Thanks a lot!!! It's interesting trick. And what about RTS-camera? Maybe have an idea?
  9. 1) Is it possible to run the Irrlicht window embeded in Autoit GUI window? It's really necessary. 2) Is something like the RTS-camera in Irrlicht? I'm trying to do 2D tower defense and don't how to scroll around the map that is larger than screen. Thanks in advance.
×
×
  • Create New...