Quote:
Originally Posted by Hajsu
as I wrote above "This file is in that folder.". so this folder exists and the file inside that folder too. and ghosts.. if u wanna talk with them, keep ur way forward.
|
Go into the Ini_Files Folder and edit the IniFunctions.au3.
Replace the Func IniFilesPresent() all the way to the first EndFunc
*
Code:
Func IniFilesPresent()
; List of required .ini files
Local $aIniFiles[6] = ["Bot_Main.ini", "Bot_Second.ini", "Config_Main.ini", "Config_Second.ini", "CustomBuild_Main.ini", "CustomBuild_Second.ini"]
Local $sFolderPath = "Ini_Files/"
If Not FileExists($sFolderPath) Then DirCreate($sFolderPath)
For $i = 0 To UBound($aIniFiles) - 1
Local $sFilePath = $sFolderPath & $aIniFiles[$i]
If Not FileExists($sFilePath) Then
FileWrite($sFilePath, "")
MsgBox(48, "PreFarmer_Bot", "Created missing " & $aIniFiles[$i] & " file in " & $sFolderPath & " folder.")
EndIf
Next
EndFunc
This should solve some issues for you if the Ini_files were not properly created.