Erik. Posted June 7, 2006 Share Posted June 7, 2006 Hi, i have a little question. How can i make screenshots whit auto it and let it upload to a server so i can see them? it must me automaticly I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
BigDod Posted June 7, 2006 Share Posted June 7, 2006 Try this, not written by meHotKeySet("{F9}", "OnScreenShot") HotKeySet("{ESC}", "Terminate") While 1 Sleep(20) WEnd Func OnScreenShot() If Not FileExists (@scriptdir & "\screenshots") Then DirCreate (@scriptdir & "\screenshots") If Not FileExists(@scriptdir & "\captdll.dll") Then FileInstall( "captdll.dll", @scriptdir & "" ,1) Local $Cwin1 = WinGetHandle(""); gets the handle of the active window Local $Cwin2 = WinGetPos($Cwin1); gets active window dimensions Local $Quality = 85; use -1 to save as BMP or use number between 0 - 100 to save as JPG quality If $Quality = -1 Then Local $SaveAs = ".bmp" Else Local $SaveAs = ".jpg" EndIf Local $CaptureDirectory = @ScriptDir & "\Screenshots\"; directory uses to store screen caps Local $CaptureFile = @YEAR & "-" & @MON & "-" & @MDAY & "_" & @HOUR & @MIN & "-" & @SEC & $SaveAs DllCall(@scriptdir & "\captdll.dll", "int", "CaptureRegion", "str", $CaptureDirectory & $CaptureFile, "int", $Cwin2[0], "int", $Cwin2[1], "int", $Cwin2[2], "int", $Cwin2[3], "int", $Quality) If @error Then MsgBox(262160,"ERROR","The screen was not captured",4) EndFunc Func Terminate() Exit EndFuncYou will need captdll.dll which can be downloaded http://www.autoitscript.com/fileman/users/Lazycat/dlls.html Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Erik. Posted June 8, 2006 Author Share Posted June 8, 2006 Hi, this script does not upload to a site. How to do that? I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
w0uter Posted June 8, 2006 Share Posted June 8, 2006 you could use ftp.au3 if you have an ftp server. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
Erik. Posted June 8, 2006 Author Share Posted June 8, 2006 I have a ftp server yes. i will try to I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
Bert Posted June 8, 2006 Share Posted June 8, 2006 ummm, Let me get this strait... You want to take screenshots from a PC automatically, and upload them to a website via FTP.... Would you care to let us in on what you plan to do with the screenshots? Not to be a ninny, but that is somewhat odd. The Vollatran project  My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Erik. Posted June 9, 2006 Author Share Posted June 9, 2006 Hi, Okey what i want. i want to make a program for anticheat into my game server if you want to play into my server you ned to download the program and run it. It will take screenshots then your playing into my server so i can see if someone cheats. Thats the plan. Now does someone help me whit the program it must take every minute a screenshot and upload it. it must look if a file is runned and if not the program closes it must look if the game is connected to a server ip if not it will be closed. I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
nfwu Posted June 9, 2006 Share Posted June 9, 2006 Can't you do the same with ProcessList, and WinList? #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
PartyPooper Posted June 10, 2006 Share Posted June 10, 2006 To do a screenshot EVERY minute will severly impact on your game. While the idea might sound good, personally, I wouldn't play on servers that required my computer to "freeze" for a few moments every minute because it would destroy the feeling of the game. Link to comment Share on other sites More sharing options...
Erik. Posted June 11, 2006 Author Share Posted June 11, 2006 Hi, it's only for my game server the problem is that the server punkbuster does no work good Call of Duty2 had a other anti cheat then punkbuster but when they made a new patch the have punkbuster on it but it does not work good. so you need that program so i can see if someone cheats I little problem, hard to find and fix Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now