Jump to content

Rutger83

Active Members
  • Posts

    42
  • Joined

  • Last visited

About Rutger83

  • Birthday 10/29/1983

Profile Information

  • Location
    Netherlands
  • WWW
    http://www.autoitscript.com/site/donate/

Recent Profile Visitors

178 profile views

Rutger83's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Okidoki, i ll post how i got it working after readind the helpfile
  2. Could you perhaps give me some more info? I dont know what you mean with an extension. And perhaps point me in the right direction with the ff udf, because i havent used it before
  3. I have, but unfortunatly without success. F11 makes the browser window go fullscreen, but not the embeded flash. And alt enter has no result
  4. I dont know how your summer is, but my'n sucks... rain, rain and rain, so I've been toying around with old pc's. I've hooked an old pc to my tv, on the pc I use autoit to make a kickass menu to either play a movie or play a snes game, which looks good and works But today is another day with rain so I decided to try the next thing on my wishlist. One of my favorits websites is: http://www.streamhunter.eu/ which streams a lot (all the football) sport matches. My idea is to make it somehow so that 1) I have a nice list in an autoit gui of the aviable streams 2) I can start/select the stream to play fullscreen 3) without actualy seeing the streamhunter.eu website. My idea this morning was to rip the website of streamhunter for the links to the livestreams. Then use an datasniffer to detect the network stream onces a stream has been started/selected, close the stream in ie (which is supposed to be in the background) and open the stream in VLC. 've have sort of done this, I've used the datasniffer, identieved the handshake and stream and got it to open in vlc.. yeah! But... But there are a lot of streams with different protocols and it looks like a hell of a job to identify every stream onces it has been started. Another approach might be to skip the datasniffer and vlc and make it so that onces a popup with a stream is opened from the streamhunter.eu website that: 1) I can get flash to automaticly switch to fullscreen mode onces a popup of a stream is started. 2) keep the website in the background. I've googled but with out succes so I am hoping someone here might know a trick to have flash go fullscreen.
  5. This works:) ; Creating the object $oHTTP = ObjCreate("winhttp.winhttprequest.5.1") $oHTTP.Open("POST", "http://127.0.0.1/test.php", False) $oHTTP.SetRequestHeader("Content-Type", "application/x-www-form-urlencoded") ; Performing the Request $oHTTP.Send("var1=&var2=") ; Download the body response if any, and get the server status response code. $oReceived = $oHTTP.ResponseText $oStatusCode = $oHTTP.Status
  6. I want to send with either post or get serveral &vars= to a php page. This works with my first example as long as the total url string is less then something like 2000 chars. $sUrl="http://192.168.1.8/final/com/insert.php?test1=bla&test2=bla" $hDataBin=InetRead($sUrl,1) $sData=BinaryToString($hDataBin) msgbox(0,"",stringlen($sUrl)&". "&$sData) So then I thought lets try something else like post with WinHttp.au3, but whatever I try this next example never sends anything. #include<WinHttp.au3> $hInternet = _WinHttpOpen() $hConnect = _WinHttpConnect($hInternet, "http://192.168.1.8") $sPost = "test1=bla&test2=bla" $sResult = _WinHttpSimpleRequest($hConnect, "POST", "/final/com/insert.php", '', $sPost) _WinHttpCloseHandle($hConnect) _WinHttpCloseHandle($hInternet) MsgBox(0, '',stringlen($str)&". "&$sResult) So can anyone perhaps tell me how I could use autoit to make this work? Or is there some max on the post/get string?
  7. But I am facing the enemies simultaneous. And I might be wrong here, but my feeling says that if I have a 60% of winning vs solely ememy 2, my winning percentage can not become higher when an extra enemy is in the game. Because there is another enemy to lose from, thus my percentage should become lower not higher.
  8. Thanks for the suggestions but I dont think its the right thing. Let me try to clarlify it a bit. I am comparing the hero vs an enemy thus I know that the hero has a 70% change of winning vs enemy 1, and so I also know that the hero has a 60% change of winning vs enemy 2. But now I want to know my overall winning percentage with both enemies in the game. Which for my feeling should be lower then 60%. Vs enemy 2 I had a 60% but now I can also lose to enemy 1 so this should lower my overall changes of winning, right? Something like this, might be more in the right direction...might... but its wrong... I dont really know how to solve it global $enemy1 = 70, $enemy2 = 60, $enemy3 = 65 msgbox(1, 'my winning percentage vs all players is', ($enemy1 * ($enemy2/100) * ($enemy3/100)) & '%')
  9. Hi everyone, I am making a simple multiplayer turn based game for myself and my colleges. But I am stuck with some mathematic problems, maybe someone can help me, perhaps I should go to some math forum, who knows The problem is the following: after a few survey questions I know my winning percentage vs a player, but I dont know how to calculate my percentage vs mutiply players. for example: My percentage vs player 1 is 70% My percentage vs player 2 is 60% My percentage vs player 3 is 65% my winning percentage vs all 3 players is ??? can anyone guide me how to do this?
  10. I onces made this when I just started with autoit, its messy, particialy in dutch and did I mention messy http://www.sendspace.com/file/yqfhh5 I also used a db, I've included a opensource sqllite editor with in the rar file (thats why its 6mb) It might give some people some ideas, but to be hounest I am ashamed for the code and all but blabla... it might be usefull for some people. Its not finshed and has some issues. 1) It cant read a black font because I used _FFKeepColor () (which keeps the defined colours but makes all the undefined colours..... black) 2) Its has no colour tollerance for the pixelsearch (not quite sure why that is might just be no tollerance defined in the (did I mention shitty? ) code 3) its in some sort of dutch/english (I'll see if I can find some space to upload a few screenshots to explain the gui.) start with frame.au3 or frame.exe
  11. No the first element of the array, the 0 element contains a number representing the total of elements in the array. the same as ubound() would give. The workable array starts at 1 and contains as much elements as given in 0
  12. The autoit tags are not working in the openings post, maybe you could update it some time again?
×
×
  • Create New...