wenzux Posted October 18, 2009 Posted October 18, 2009 Yes how to get an ini file the user can edit onlikes autologin so you can change your account + password likes thisAccount = YourAccountPassword = YourPasswordExample from a other scriptLikes this i would makeMy code looks likes this right now:$Autologin = IniRead("config.ini", "settings", "DFAL - Diablo Favorites Autologin - By DF Leader: DF-Fvcked / DF-Exist") $Path = IniRead("config.ini", "settings", "Path", "C:\Program Files\Diablo II\Game.exe-w") $Title = IniRead("config.ini", "settings", "Title", "Diablo II") $Account = IniRead("config.ini", "settings", "Account", "Diablo Favorites") $Password = IniRead("config.ini", "settings", "Password", "Diablo Favorites") $Channel = IniRead("config.ini", "settings", "Channel", "Diablo Favorites") $Hotkey = IniRead("config.ini", "settings", "Hotkey - Start", "Write the letter, number or symbol inside this if your removing them dosent works {} Delete all that shit i wrote! just not the 2 signs!") Run($Path) Sleep(5000) Mouseclick("Left", 670, 520, 1, 5) Send($Account) Send($Password) Send("{Enter}") Sleep(2000) Mouseclick("Left", 670, 300, 2, 4)
JohnOne Posted October 18, 2009 Posted October 18, 2009 I'm pretty sure you can just drag and drop a file into an already rar'd file to add to it. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
wenzux Posted October 18, 2009 Author Posted October 18, 2009 I'm pretty sure you can just drag and drop a file into an already rar'd file to add to it.But will all get the file when im put it inside the internet?
JohnOne Posted October 18, 2009 Posted October 18, 2009 Yes AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
wenzux Posted October 19, 2009 Author Posted October 19, 2009 (edited) YesI would tryBut im not sure if the text will come inside the Ini file when im insert one?And how i make an ini.file?should be called Setup.ini or Config.ini Edited October 19, 2009 by wenzux
wenzux Posted October 19, 2009 Author Posted October 19, 2009 Any 1 can help me? -Thanks for other JohnOne
Info Posted October 19, 2009 Posted October 19, 2009 As for using the Ini functions: http://www.autoitscript.com/forum/index.php?showtopic=71019 #include <GUIConstants.au3> $MainGUI = GUICreate("INI Stuff", 202, 95, -1, -1) $Input = GUICtrlCreateInput("", 8, 8, 185, 21) $Clear = GUICtrlCreateButton ("Clear Input's Data", 8, 36, 185, 25) $IniWrite = GUICtrlCreateButton("Ini Write", 8, 65, 57, 25, 0) $IniRead = GUICtrlCreateButton("Ini Read", 72, 65, 57, 25, 0) $IniDelete = GUICtrlCreateButton("Ini Delete", 136, 65, 57, 25, 0) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() Switch $msg Case $GUI_EVENT_CLOSE Exit Case $IniWrite IniWrite ("Ini File.ini", "Input Section", "Input Info", GUICtrlRead($Input)) Case $IniRead GUICtrlSetData ($Input, IniRead ("Ini File.ini", "Input Section", "Input Info", "")) Case $IniDelete IniDelete ("Ini File.ini", "Input Section", "Input Info") Case $Clear GUICtrlSetData ($Input, "") EndSwitch WEnd As for moving the ini file to the rar directory... I have no idea how to do that. FileMove("ini","rar") with the flags 1 or 8 just doesn't work and if I use the 2 flag, it makes the rar archieve corrupted.
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