Keniger Posted March 8, 2013 Share Posted March 8, 2013 I have script... When I run it without compile (In scite) its ok..But after compile I get that error :WTF IS THAT ? Link to comment Share on other sites More sharing options...
Developers Jos Posted March 8, 2013 Developers Share Posted March 8, 2013 (edited) WTF IS THAT ?I think the last time I replied to you I asked for some comprehensive sentenses when explaining your issues or asking questions.It seem I wasn't clear so let me try again:What the hell were you thinking when posting this thread?You have an error which you capture as a full screen shot in stead of showing us your script that has the error and asking a NORMAL question.Now try again and this time think before posting!Jos Edited March 8, 2013 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Keniger Posted March 8, 2013 Author Share Posted March 8, 2013 (edited) expandcollapse popup#RequireAdmin #include #include AutoItSetOption("SendKeyDelay", 0) Global $aRecords, $bRecords Local $Patch = @ScriptDir & "\userlists.tmp", $Patch2 = @UserProfileDir & "\AppData\Local\PunkBuster\BFP4F\pb", $Patch3 = @ScriptDir & "\BLOCKFILES.tmp", $Patch4 = @UserProfileDir & "\AppData\Local\PunkBuster\BFP4F\pb" Local $Title = "Checking..." If Not FileExists(@ScriptDir & "\userlists.tmp") Then RunWait("cmd.exe /c " & "wmic USERACCOUNT get Name >"&@ScriptDir&"\userlists.tmp",@ScriptDir,@SW_HIDE) ; Wypisuje surowe nazwy userów do pliku userlist.tmp na pulpicie _checkallgood() Else _checkallgood() EndIf Func _checkallgood() SplashTextOn($Title, "Preparing to block, please wait...", 300, 50, -1, -1, 33, "Comic Sans MS", 10) Run("cmd.exe") If ProcessExists("cmd.exe") Then ProcessClose("cmd.exe") Sleep(2000) SplashOff() _block() Else SplashOff() MsgBox(16, "Error", "Can't run Command Prompt, try to Execute program as Admin!") Exit EndIf EndFunc Func _block() ;#####PLIKI DO ZABLOKOWANIA############PLIKI DO ZABLOKOWANIA############PLIKI DO ZABLOKOWANIA####### ;#####PLIKI DO ZABLOKOWANIA############PLIKI DO ZABLOKOWANIA############PLIKI DO ZABLOKOWANIA####### If FileExists($Patch3) Then _block2() Else $avUser = _FileListToArray($Patch4) $sFile = $Patch3 $hFile = FileOpen($sFile, 1) _FileWriteFromArray($hFile, $avUser, 1) FileClose($hFile) _block2() EndIf endfunc Func _block2() ; MsgBox(64, "Warrning !", "Don't do nothing if ;#####ZAMIENIA PUSTE ZNAKI W NIC XD ############ZAMIENIA PUSTE ZNAKI W NIC XD ################## ;#####ZAMIENIA PUSTE ZNAKI W NIC XD ############ZAMIENIA PUSTE ZNAKI W NIC XD ################## $Czytaj = FileRead($Patch) $Zamien = StringReplace($Czytaj, " ", "") $Otworz = FileOpen($Patch, 2) FileWrite($Patch, $Zamien) _FileWriteToLine($Patch, 1, "SYSTEM", 1) _FileWriteToLine($Patch, 1, "Administratorzy", 0) FileClose($Otworz) ;#####BLOKUJE PODANE PLIKI NA KAŻDEGO USERA KTÓRY JEST NA KOMPIE##############BLOKUJE PODANE PLIKI NA KAŻDEGO USERA KTÓRY JEST NA KOMPIE######### ;#####BLOKUJE PODANE PLIKI NA KAŻDEGO USERA KTÓRY JEST NA KOMPIE##############BLOKUJE PODANE PLIKI NA KAŻDEGO USERA KTÓRY JEST NA KOMPIE######### $Users = FileOpen($Patch) $Blokuj = FileOpen($Patch2) ;$Czytaj2 = _FileReadToArray($Patch, $aRecords) ; READS USERNAMES TO ARRAY $Czytaj3 = _FileReadToArray($Patch3, $bRecords) ; READS THIS FILENAMES TO ARRAY $Czytaj2 = _FileReadToArray($Patch, $aRecords) Run("cmd.exe") Sleep(500) For $z = 1 to $aRecords[0] For $x = 1 to $bRecords[0] Send("cacls " & $Patch2 & "\" & $bRecords[$x] & " /E /P " & $aRecords[$z]& ":R" ) Send("{ENTER}") Next Next FileClose($Users) FileClose($Blokuj) FileDelete($Patch) FileDelete($Patch3) ProcessClose("cmd.exe") Return() EndFunc Here.... Script crashes after it do everything... Edited March 9, 2013 by Melba23 Restored post after OP deleted it Link to comment Share on other sites More sharing options...
iamtheky Posted March 8, 2013 Share Posted March 8, 2013 That and its in a PBBbypass folder named gg.exe and there it is - a script to avoid PunkBuster... ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Developers Jos Posted March 8, 2013 Developers Share Posted March 8, 2013 (edited) Here.... Script crashes after it do everything... Make sure you run au3check on your scripts since there is clearly an error there. Install the full SciTE4AutoIt3 to help you with that. "...test\test.au3"(82,10) : error: syntax error Return () ~~~~~~~~^ Other that that:Topic locked for obvious reasons. Read the forum rules. Edited March 8, 2013 by Jos Keniger 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 8, 2013 Moderators Share Posted March 8, 2013 Keniger,PunkBusterBFP4FGoogling this brings up lots of hits for "Battlefield Play4Free - PunkBuster Online Countermeasures" - would you care to comment on what you are doing with thsi script? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts