
mrbond007
Active Members-
Posts
412 -
Joined
-
Last visited
mrbond007's Achievements

Universalist (7/7)
0
Reputation
-
Read Wireless User profiles from pc
mrbond007 replied to sainumpudi's topic in AutoIt General Help and Support
Try these links : http://technet.microsoft.com/en-us/windows/aa905085.aspx http://technet2.microsoft.com/WindowsVista...eaeb2f1033.mspx -
Read Wireless User profiles from pc
mrbond007 replied to sainumpudi's topic in AutoIt General Help and Support
Maybe http://www.velocityreviews.com/forums/t628...s-profiles.html -
I wouldn't recommmend altering compiled files/adding your own binary modifications because it will only attrack experts who like to crack/bypass protections methods for fun. What i recommended was only a suggestion, the OP can come up with his own methods, but he must not share them, and i doubt that experts will try to crack his compiled script, because they are mostly intersted in populair programs that are packed (for ex) with PECompact 2.x muttley
-
Another idea Split your script into 5, 10 or more pieces, encrypt each piece using different methods (don't use the same method on all pieces). Create a new script and before compiling it use Zedna's Resouce.au3 method to embed all the pieces into the new script. ex: #AutoIt3Wrapper_Run_After=ResHacker.exe -add %out%, %out%, part1_of_script_encrypted.au3, rcdata, Part1, 0 #AutoIt3Wrapper_Run_After=ResHacker.exe -add %out%, %out%, fake_part_1.au3, rcdata, FakePart1, 0; add fake files as well #AutoIt3Wrapper_Run_After=ResHacker.exe -add %out%, %out%, part2_of_script_encrypted.au3, rcdata, Part2, 0 #AutoIt3Wrapper_Run_After=ResHacker.exe -add %out%, %out%, fake_part_2.au3, rcdata, FakePart2, 0 ...........The pieces can be retrieved using _ResourceGetAsString(). The new script should dencrypt all the good pieces and write them to an temporary external au3 file somewhere on the harddrive, run it and before deleting it, overwrite it with junk so that it cannot be recovered if data recovery tools were used. If programs like CPUKiller were used to slow down the machine (this way users will have time to see what is being written inside the temporary au3 file), use TimerInit() and TimerDiff() to fix this. ex : $Piece_1_Finished = _StringEncrypt(0, $Piece1, $Password);decrypt the first piece $Begin = TimerInit() $Split = StringSplit($Piece_1_Finished, "") For $i = 1 To $Split[0] FileWrite("external.au3", $Split[$i]) If TimerDiff($Begin) > 200 Then _Cancel_Operation(); it's taking too long NextAlso the passwords to decrypt the pieces should be scattered around the script.
-
using guictrlsetbkcolor on a label
mrbond007 replied to AustrianOak's topic in AutoIt General Help and Support
Try AdlibEnable() -
Overcomplicating the script might help, maybe add some unnecessary functions and variables for example #include <String.au3> Global $001010110,$110010101,$011001101,$101101010 $001010110=($110010101+($011001101*@Hour)-$101101010)+(@HOUR+@SEC) $110010101=$001010110-$101101010 $011001101&=$110010101+Int($001010110*@SEC) $101101010=Binary(BinaryLen(Binary($001010110))) $011011001=Call("_111110110",Execute($001010110+$101101010)) MsgBox(0,"",StringLen(Int(Hex(Int($011011001))))) Func _111110110($101011001) _StringEncrypt(1,$001010110,@HOUR&@SEC&StringLeft($001010110,StringLen(@HOUR)),StringLen($001010110)) Return _StringEncrypt(1,$101101010,StringLen($110010101)&StringTrimRight($011001101,StringTrimLeft($011001101,@SEC)) & _ StringLeft($110010101,StringRight($011001101,StringLen($101101010))),StringLen($001010110)) EndFunc
-
; $ret = DllCall($bassdll, "int", "BASS_MusicLoad", "int", false, _ ; "ptr", DllStructGetPtr($fName), _ ; "int", 0, _ ; "int", 0, _ ; "int", 0x200, _ ; "int", 0) $ret = DllCall($bassdll, "int", "BASS_MusicLoad", "int", False, "ptr", DllStructGetPtr($fName), "uint64", 0, "dword", 0, "dword", 0x200, "dword", 0)
-
Nothing to be ashamed off, you can include the chiptune as part of the exe resource, but you can't do the same for the dll use FileInstall instead. First put 2.xm and resource.au3 in the same directory. Second change the last line in _ResourceGetAsString() : Func _ResourceGetAsString($ResName, $ResType = 10, $ResLang = 0, $DLL = -1); $RT_RCDATA = 10 Local $ResPointer, $ResSize, $struct $ResPointer = _ResourceGet($ResName, $ResType, $ResLang, $DLL) If @error Then SetError(1, 0, 0) Return '' EndIf $ResSize = @extended $struct = DllStructCreate("char[" & $ResSize & "]", $ResPointer) ; Return DllStructGetData($struct, 1); returns string Return DllStructGetPtr($struct, 1); returns pointer EndFunc Third you may have to put ResourceHacker executable (ResHacker.exe) in the same directory as your script (in my case, i was forced to). Fourth copy, paste and save this example inside Scite : #AutoIt3Wrapper_UseUpx=n #AutoIt3Wrapper_Run_After=ResHacker.exe -add %out%, %out%, 2.xm, rcdata, TEST_XM_1, 0 #include "resources.au3" Global $bassdll = DllOpen("BASSMOD.dll"), $Init[1] $string = _ResourceGetAsString("TEST_XM_1") If FileExists("BASSMOD.dll") Then $Init = DllCall($bassdll, "int", "BASSMOD_Init", "int", -1, "int", 44100, "int", 0) $Lod = DllCall($bassdll, "int", "BASSMOD_MusicLoad", _ "int", True, _ "ptr", $string, _ "int", 0, _ "int", 0, _ "int", 1028) DllCall($bassdll, "int", "BASSMOD_MusicPlay") EndIf While 1 $msg = GUIGetMsg() If $msg = -3 Then Exit WEnd Func OnAutoItExit() If Not (FileExists("BASSMOD.DLL")) Then Exit Else DllCall($bassdll, "int", "BASSMOD_MusicFree") DllClose($bassdll) EndIf EndFuncWhile still inside Scite press CTRL+F7, compile and it's ready. Note that bassmod documentation says that if you want to load a file from memory the first parameter must be set to True (or 1). In the earlier example we set it to False, and we loaded the chiptune from the harddrive.
-
Alternative way
-
-
Thank you, i wanted to create more games but didn't have much free time.
-
Speed is limited to one's pc, i created those games on Vista using 1.86GHz pentium and 2GB RAM, the games ran nearly perfect with less than 10% cpu usage. Thanks for the comments guys.
-
Download : http://TrashBin.nfshost.com/975178 Mirror : http://www.box.net/shared/7xncue6sc0 NOTE : replace the lines #include "Plugins\Misc.au3" and #include "Plugins\Array.au3" inside the scripts with #include <Misc.au3> and #include <Array.au3> Enjoy