Sign in to follow this  
Followers 0
wenzux

How to get ini file into the Winrar

9 posts in this topic

Yes how to get an ini file the user can edit on

likes autologin so you can change your account + password

likes this

Account = YourAccount

Password = YourPassword

Example from a other script

Likes this i would make

Posted Image

Posted Image

My 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)

Share this post


Link to post
Share on other sites



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?

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Yes

I would try

But 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 by wenzux

Share this post


Link to post
Share on other sites

Any 1 can help me?

-Thanks for other JohnOne

Share this post


Link to post
Share on other sites

Bump

Share this post


Link to post
Share on other sites

Bump

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0