Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Other MMORPG Hacks › Trove Hacks & Cheats › Multi Client Launcher with Auto Login Saver. Both Steam and Standalone.

Multi Client Launcher with Auto Login Saver. Both Steam and Standalone.

Posts 1–15 of 61 · Page 1 of 5
…
reppin
reppin
Multi Client Launcher with Auto Login Saver. Both Steam and Standalone.
Ok, First off I don't want to hear about a security risk. There is risk in everything. But what mine does over others is it uses Glyph stored login name and password hash file. Meaning it is the best way to be secure and as it uses glyph it self for that.

Also as of 1.3 of taejim program it uses this feature for login saving. I wrote part of it for him but went it would be just as good as a standalone with out the fishingbot part.

Reason behind making this was I was talking to taejim about his program and I remember it used to save the username and password and would automate typing it. To me this is to big of a risk. So last night I dug around Glyph and found out where the Login name and password hashes are store. So I went hmm I could use this. So I went and made way of saving that data sent it over to taejim and he loved the idea. So today when I woke up I decided to finish this for my own use. But I began to think others might like this. I was not a fan of the flashie one that iKasuFTW made. So I wrote a simple GUI. One where you wont have to type in usernames and all that. Took me little over 4-6 hrs tinkering with it to get it to work the way I would use it. And here you go. Remember to always +rep if you like


GUI Preview:




How to use:
First hit config button a the bottom. Make sure the paths are set correctly. If you are using steam check the checkbox. It will change over to the steam default locations. If you are not using the default locations for steam or glyph hit Browse button and navigate your way to the GlyphClient.exe. As for the path for the data folder. Steam stores that in the same folder as the GlyphClient.exe. The standalone stores it in %localappdata%\Glyph. Once you are sure the paths are correct hit save and exit config button.


Now, Hit the button that says Launch Glyph with no login. This will open Glyph with no login. Login with your Username/Password. DO NOT HIT PLAY JUST YET. Now go back to the program and hit Save/Add Current Login. This will then add it to the list. Now to add another account just hit the logout button at the top of the glyph client. Login again and hit the Save/Add Current Login button on the program.

If for what ever reason you wish to delete a login. Just select the login on the list and hit the button Delete Selected Account. This will delete all data for this account that is stored.

Now once you have your usernames set and saved. To launch the accounts just select the account on this list and hit the button Launch Selected Account. You can also double click on the list to launch it. Once launched just hit play. Go back to the program and Launch another.

I think that is all I can think of as of now.
So if you like please +rep me. Also if you have any questions or comments please leave them below or come to my ts3 server which is posted in my sig.


 
Autohotkey Source

;Version 1.0
;First Release
;Autologin sytem using trove saved login hashes
 
Code:
;Version 1.0
;Autologin sytem using trove saved login hashes

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
;#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

EnvGet, LOCALAPPDATA, LOCALAPPDATA
Global GlyphDataPath ;:= LOCALAPPDATA "\Glyph"
Global GlyphClientPath ;:= "C:\Program Files (x86)\Glyph\"
	
Global IniFile := "AutoLoginLauncher.ini" ;Save Filename
	
;Declaring gloabl Var you should not need to change anything below.
Global ConfigWindowToggle := False
Global FoundDat
Global SteamCheckBox := "Button1" ;Don't change this it is used for GUI Checkboss.
Global GUIMainCaption := "Auto Login Launcher by Nipper" 
Global GUIConfigCaption := "Auto Login Launcher Config" 
	
;Checking for ini. If not found creates one with default settings.
IfNotExist, %A_ScriptDir%/%IniFile%
{
	EnvGet, LOCALAPPDATA, LOCALAPPDATA
  GlyphDataPath := LOCALAPPDATA "\Glyph\"
  GlyphClientPath := "C:\Program Files (x86)\Glyph\"
  	
  IniWrite, 0, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
	IniWrite, %GlyphDataPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
	IniWrite, %GlyphClientPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath
}
;Reading ini for settings.
IniRead, SteamCheckBox, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
IniRead, GlyphDataPath, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
IniRead, GlyphClientPath, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath


;Checking for saved users.
    GuiControl, Main:, LoginNames,|
     Global FolderList := 
    	loop, %A_ScriptDir%\SavedLogins\*, 2 
       FolderList .= A_LoopFileName . "|"





Gui, Main: -MaximizeBox -MinimizeBox
Gui, Main:Add, Text, x12 y9 w150 h20 , Saved Account Logins:
Gui, Main:Add, ListBox, x12 y29 w180 h150 vLoginNames gLoginNamesList, %FolderList%
Gui, Main:Add, Button, x12 y179 w180 h20 gRunGlyphNoLogin, Launch Glyph with no login
Gui, Main:Add, Button, x12 y209 w180 h20 gLaunchSelected, Launch Selected Account
Gui, Main:Add, Button, x12 y229 w180 h20 gSaveAddCurrnetLogin, Save/Add Current Login
Gui, Main:Add, Button, x12 y249 w180 h20 gDeleteSelectedAccount, Delete Selected Account
Gui, Main:Add, Button, x12 y279 w80 h20 gConfigToggle, Config
Gui, Main:Add, Button, x102 y279 w90 h20 gMainGuiClose, Exit

Gui, Config:-MaximizeBox -MinimizeBox -Disabled
Gui, Config:Add, Text, x12 y9 w150 h20 , Are you using Steam Version?
Gui, Config:Add, CheckBox, x162 y9 w20 h20 vSteamCheck gSteamSettings
Gui, Config:Add, Text, x12 y39 w260 h20 , Path to GlyphClient.exe
Gui, Config:Add, Edit, x12 y59 w260 h20 vGUIGlyphClientPath, %GlyphClientPath%
Gui, Config:Add, Button, x272 y59 w60 h20 gSelectFolderClient, Browse
Gui, Config:Add, Text, x12 y89 w260 h20 , Path to Glyph Configs
Gui, Config:Add, Edit, x12 y109 w260 h20 vGUIGlyphDataPath, %GlyphDataPath%
Gui, Config:Add, Button, x272 y109 w60 h20 gSelectFolderData, Browse
Gui, Config:Add, Button, x12 y139 w320 h30 gSaveExitConfig, Save and Exit Config
Gui, Config:Show, Hide AutoSize Center h182 w346, %GUIConfigCaption%

if(SteamCheckBox = 1) {
	Guicontrol, Config:, SteamCheck, 1
SteamCheck = 1
} else {
SteamCheck = 0
}

Gui, Main:Show, AutoSize Center h314 w205, %GUIMainCaption%
Return

SaveExitConfig:
	Gui, Config:Submit, Hide
  IniWrite, %SteamCheck%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
	IniWrite, %GUIGlyphDataPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
	IniWrite, %GUIGlyphClientPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath
return


SelectFolderClient:
		FileSelectFolder, Folder, , 3
    if Folder =
    MsgBox, You didn't select a folder.
    else
    GuiControl,Config:,GUIGlyphClientPath,%Folder%\
return

SelectFolderData:
		FileSelectFolder, Folder, , 3
    if Folder =
    MsgBox, You didn't select a folder.
    else
    GuiControl,Config:,GUIGlyphDataPath,%Folder%\
return


SteamSettings:
	;Default steam settings.
	GuiControlGet, SteamCheck
	if(SteamCheck = 1) {
	;DefaultSteam Settings
  GlyphDataPath := "C:\Program Files (x86)\Steam\steamapps\common\Trove\"
  GlyphClientPath := "C:\Program Files (x86)\Steam\steamapps\common\Trove\"
  GuiControl,Config:,GUIGlyphClientPath,%GlyphClientPath%
  GuiControl,Config:,GUIGlyphDataPath,%GlyphDataPath%	
    } Else {
	;Default Glyph Settings.
	EnvGet, LOCALAPPDATA, LOCALAPPDATA
  GlyphDataPath := LOCALAPPDATA "\Glyph\"
  GlyphClientPath := "C:\Program Files (x86)\Glyph\"
  GuiControl,Config:,GUIGlyphClientPath,%GlyphClientPath%
  GuiControl,Config:,GUIGlyphDataPath,%GlyphDataPath%	
    }
Return


RunGlyphNoLogin:
IniDelete, %GlyphDataPath%GlyphClient.cfg, Glyph, Login
FoundDat = 0
   Loop, Files, %GlyphDataPath%Cache\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
   ;Deleting and then remake the Cache dir. This is to prevent saving of older or other username hashes.
    FileRemoveDir, %GlyphDataPath%Cache, 1
    FileCreateDir, %GlyphDataPath%Cache
   }
Run, %GlyphClientPath%\GlyphClient.exe
return

LoginNamesList:
if A_GuiControlEvent <> DoubleClick
	return

LaunchSelected:
	;Sets Var for current selected to LoginNames Var.
	Gui, Main:Submit, Nohide
	;Sets saved auto login data.
	SetAutoLoginData(GlyphDataPath, LoginNames)
	;Runs Glyph
	Run, %GlyphClientPath%\GlyphClient.exe
Return

SaveAddCurrnetLogin:
	;Saves current logged in username/hash data.
	SaveLoginData(GlyphDataPath)
	;Reloading list
	UsernameListReload()
Return

DeleteSelectedAccount:
	;Sets Var for current selected to LoginNames Var.
	Gui, Main:Submit, Nohide
	;Notify
	MsgBox, Deleting all info for %LoginNames%	
	;Deletes all settings for that user.
	FileRemoveDir, %A_ScriptDir%/SavedLogins/%LoginNames%, 1
	;Reloading list
	UsernameListReload()
	
Return

ConfigGuiClose:
ConfigToggle:
	if !ConfigWindowToggle {
					Gui, Config:Show
  } else {
					Gui, Config:Hide
	}
	ConfigWindowToggle := !ConfigWindowToggle
Return
MainGuiClose:
	;Reload
	Exitapp
Return



UsernameListReload()
{
	GuiControl, Main:, LoginNames,|
		FolderList := 
	loop, %A_ScriptDir%\SavedLogins\*, 2 
   FolderList .= A_LoopFileName . "|"
      GuiControl, Main:, LoginNames, %FolderList%

Return
}

;Function to save currnet saved current logged in user.
SaveLoginData(GlyphFolder)
{
	;Reading Login name
	 IniRead, LoginName, %GlyphFolder%GlyphClient.cfg, Glyph, Login
  ;Creating Saved LoginName Folder
  IfNotExist, %A_ScriptDir%/SavedLogins
    FileCreateDir, %A_ScriptDir%/SavedLogins
  ;Creating LoginName Folder
  IfNotExist, %A_ScriptDir%/SavedLogins/%LoginName%
    FileCreateDir, %A_ScriptDir%/SavedLogins/%LoginName%
  ;Warning user if no .dat is not in the folder. And if found copying for later use.
    FoundDat = 0
   Loop, Files, %GlyphFolder%Cache\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
   ;Copying Current .dat files over to new folder by current login name. This will overwrite exsiting files.
    FileCopy, %GlyphFolder%Cache\*.dat, %A_ScriptDir%/SavedLogins/%LoginName%, 1
    Msgbox Login hash for %LoginName% saved. If the name is on the list already it will overwrite older hashes.
   } else {
   	Msgbox Unable to find login hash for %LoginName%.
  }
return
}
;Function To load Set usernames autologin data.
SetAutoLoginData(GlyphFolder,LoginName)
{
	;Checking to see if Glyph is running. If window found it will do nothing.
Process, Exist, GlyphClient.exe
  if (ErrorLevel != 0)
  {
   Process, Close, GlyphClient.exe
   Process, WaitClose, GlyphClient.exe
  }
	LoginToBeUsed := LoginName
  
  ;Writing Login name to config file.
  IniWrite, %LoginToBeUsed%, %GlyphFolder%GlyphClient.cfg, Glyph, Login
  
    ;Deleting and then remake the Cache dir. This is to prevent saving of older or other username hashes.
    FoundDat = 0
   Loop, Files, %GlyphFolder%Cache\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
   ;Deleting and then remaking the Cache dir. This is to prevent saving of older hashes.
    FileRemoveDir, %GlyphFolder%Cache, 1
    FileCreateDir, %GlyphFolder%Cache
   } 
  
  
  ;Checking for .dat file if found copying over.
   FoundDat = 0
   Loop, Files, %A_ScriptDir%\SavedLogins\%LoginToBeUsed%\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
   ;Copying Current .dat files over to new folder by current login name. This will overwrite exsiting files.
    FileCopy, %A_ScriptDir%/SavedLogins/%LoginToBeUsed%\*.dat, %GlyphFolder%Cache, 1
    ;Msgbox Login hash for %LoginToBeUsed% set.
   } else {
   	Msgbox Unable to find login hash for %LoginToBeUsed%. Please login again and hit save again.
  }
  ;Lauching Glyph
  ;Run, %GlyphClientPath%\GlyphClient.exe
return
}


;Version 1.0.1
;Fixing a bug that if you hit delete selected user with out having one selected it would delete them all.
;Fixed when you hit launch acocunt when no account selected. Same error as a above.
;Edited/Fixed the way accounts are saving to give warning to user if the .dat file is not found or unable to get this the hash.
 
Version 1.0.1
Code:
;Version 1.0
;Autologin sytem using trove saved login hashes
;Version 1.0.1
;Fixing a bug that if you hit delete selected user with out having one selected it would delete them all.
;Fixed when you hit launch acocunt when no account selected. Same error as a above. 
;Edited/Fixed the way accounts are saving to give warning to user if the .dat file is not found or unable to get this the hash.

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
;#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

EnvGet, LOCALAPPDATA, LOCALAPPDATA
Global GlyphDataPath ;:= LOCALAPPDATA "\Glyph"
Global GlyphClientPath ;:= "C:\Program Files (x86)\Glyph\"
	
Global IniFile := "AutoLoginLauncher.ini" ;Save Filename
	
;Declaring gloabl Var you should not need to change anything below.
Global ConfigWindowToggle := False
Global FoundDat
Global SteamCheckBox := "Button1" ;Don't change this it is used for GUI Checkboss.
Global GUIMainCaption := "Auto Login Launcher by Nipper" 
Global GUIConfigCaption := "Auto Login Launcher Config" 
	
;Checking for ini. If not found creates one with default settings.
IfNotExist, %A_ScriptDir%/%IniFile%
{
	EnvGet, LOCALAPPDATA, LOCALAPPDATA
  GlyphDataPath := LOCALAPPDATA "\Glyph\"
  GlyphClientPath := "C:\Program Files (x86)\Glyph\"
  	
  IniWrite, 0, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
	IniWrite, %GlyphDataPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
	IniWrite, %GlyphClientPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath
}
;Reading ini for settings.
IniRead, SteamCheckBox, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
IniRead, GlyphDataPath, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
IniRead, GlyphClientPath, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath


;Checking for saved users.
    GuiControl, Main:, LoginNames,|
     Global FolderList := 
    	loop, %A_ScriptDir%\SavedLogins\*, 2 
       FolderList .= A_LoopFileName . "|"





Gui, Main: -MaximizeBox -MinimizeBox
Gui, Main:Add, Text, x12 y9 w150 h20 , Saved Account Logins:
Gui, Main:Add, ListBox, x12 y29 w180 h150 vLoginNames gLoginNamesList, %FolderList%
Gui, Main:Add, Button, x12 y179 w180 h20 gRunGlyphNoLogin, Launch Glyph with no login
Gui, Main:Add, Button, x12 y209 w180 h20 gLaunchSelected, Launch Selected Account
Gui, Main:Add, Button, x12 y229 w180 h20 gSaveAddCurrnetLogin, Save/Add Current Login
Gui, Main:Add, Button, x12 y249 w180 h20 gDeleteSelectedAccount, Delete Selected Account
Gui, Main:Add, Button, x12 y279 w80 h20 gConfigToggle, Config
Gui, Main:Add, Button, x102 y279 w90 h20 gMainGuiClose, Exit

Gui, Config:-MaximizeBox -MinimizeBox -Disabled
Gui, Config:Add, Text, x12 y9 w150 h20 , Are you using Steam Version?
Gui, Config:Add, CheckBox, x162 y9 w20 h20 vSteamCheck gSteamSettings
Gui, Config:Add, Text, x12 y39 w260 h20 , Path to GlyphClient.exe
Gui, Config:Add, Edit, x12 y59 w260 h20 vGUIGlyphClientPath, %GlyphClientPath%
Gui, Config:Add, Button, x272 y59 w60 h20 gSelectFolderClient, Browse
Gui, Config:Add, Text, x12 y89 w260 h20 , Path to Glyph Configs
Gui, Config:Add, Edit, x12 y109 w260 h20 vGUIGlyphDataPath, %GlyphDataPath%
Gui, Config:Add, Button, x272 y109 w60 h20 gSelectFolderData, Browse
Gui, Config:Add, Button, x12 y139 w320 h30 gSaveExitConfig, Save and Exit Config
Gui, Config:Show, Hide AutoSize Center h182 w346, %GUIConfigCaption%

if(SteamCheckBox = 1) {
	Guicontrol, Config:, SteamCheck, 1
SteamCheck = 1
} else {
SteamCheck = 0
}

Gui, Main:Show, AutoSize Center h314 w205, %GUIMainCaption%
Return

SaveExitConfig:
	Gui, Config:Submit, Hide
  IniWrite, %SteamCheck%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
	IniWrite, %GUIGlyphDataPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
	IniWrite, %GUIGlyphClientPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath
return


SelectFolderClient:
		FileSelectFolder, Folder, , 3
    if Folder =
    MsgBox, You didn't select a folder.
    else
    GuiControl,Config:,GUIGlyphClientPath,%Folder%\
return

SelectFolderData:
		FileSelectFolder, Folder, , 3
    if Folder =
    MsgBox, You didn't select a folder.
    else
    GuiControl,Config:,GUIGlyphDataPath,%Folder%\
return


SteamSettings:
	;Default steam settings.
	GuiControlGet, SteamCheck
	if(SteamCheck = 1) {
	;DefaultSteam Settings
  GlyphDataPath := "C:\Program Files (x86)\Steam\steamapps\common\Trove\"
  GlyphClientPath := "C:\Program Files (x86)\Steam\steamapps\common\Trove\"
  GuiControl,Config:,GUIGlyphClientPath,%GlyphClientPath%
  GuiControl,Config:,GUIGlyphDataPath,%GlyphDataPath%	
    } Else {
	;Default Glyph Settings.
	EnvGet, LOCALAPPDATA, LOCALAPPDATA
  GlyphDataPath := LOCALAPPDATA "\Glyph\"
  GlyphClientPath := "C:\Program Files (x86)\Glyph\"
  GuiControl,Config:,GUIGlyphClientPath,%GlyphClientPath%
  GuiControl,Config:,GUIGlyphDataPath,%GlyphDataPath%	
    }
Return


RunGlyphNoLogin:
IniDelete, %GlyphDataPath%GlyphClient.cfg, Glyph, Login
FoundDat = 0
   Loop, Files, %GlyphDataPath%Cache\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
   ;Deleting and then remake the Cache dir. This is to prevent saving of older or other username hashes.
    FileRemoveDir, %GlyphDataPath%Cache, 1
    FileCreateDir, %GlyphDataPath%Cache
   }
Run, %GlyphClientPath%\GlyphClient.exe
return

LoginNamesList:
if A_GuiControlEvent <> DoubleClick
	return

LaunchSelected:
	;Sets Var for current selected to LoginNames Var.
	Gui, Main:Submit, Nohide
	;Warns the user that they need to select a account name first.
  if (LoginNames = "")
   {
   	Msgbox, Unable to run selected account. As you forgot to select one. :*(
  Return
  }
	;Sets saved auto login data.
	SetAutoLoginData(GlyphDataPath, LoginNames)
	;Runs Glyph
	Run, %GlyphClientPath%\GlyphClient.exe
Return

SaveAddCurrnetLogin:
	;Saves current logged in username/hash data.
	SaveLoginData(GlyphDataPath)
	;Reloading list
	UsernameListReload()
Return

DeleteSelectedAccount:
	;Sets Var for current selected to LoginNames Var.
	Gui, Main:Submit, Nohide
	;This is fix a bug to prevent deleting all your saved logins.
  if (LoginNames = "")
   {
   	Msgbox, Unable to delete selected username. As you forgot to select one. :*(
  Return
  }
	;Notify
	MsgBox, Deleting all info for %LoginNames%	
	;Deletes all settings for that user.
	FileRemoveDir, %A_ScriptDir%/SavedLogins/%LoginNames%, 1
	;Reloading list
	UsernameListReload()
	
Return

ConfigGuiClose:
ConfigToggle:
	if !ConfigWindowToggle {
					Gui, Config:Show
  } else {
					Gui, Config:Hide
	}
	ConfigWindowToggle := !ConfigWindowToggle
Return
MainGuiClose:
	;Reload
	Exitapp
Return



UsernameListReload()
{
	GuiControl, Main:, LoginNames,|
		FolderList := 
	loop, %A_ScriptDir%\SavedLogins\*, 2 
   FolderList .= A_LoopFileName . "|"
      GuiControl, Main:, LoginNames, %FolderList%

Return
}

;Function to save currnet saved current logged in user.
SaveLoginData(GlyphFolder)
{
	;Reading Login name
	 IniRead, LoginName, %GlyphFolder%GlyphClient.cfg, Glyph, Login
  ;Warning user if no .dat is not in the folder. And if found copying for later use.
    FoundDat = 0
   Loop, Files, %GlyphFolder%Cache\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
    ;Creating Saved LoginName Folder
    IfNotExist, %A_ScriptDir%/SavedLogins
    FileCreateDir, %A_ScriptDir%/SavedLogins
  ;Creating LoginName Folder
  IfNotExist, %A_ScriptDir%/SavedLogins/%LoginName%
    FileCreateDir, %A_ScriptDir%/SavedLogins/%LoginName%
   ;Copying Current .dat files over to new folder by current login name. This will overwrite exsiting files.
    FileCopy, %GlyphFolder%Cache\*.dat, %A_ScriptDir%/SavedLogins/%LoginName%, 1
    Msgbox Login hash for %LoginName% saved. If the name is on the list already it will overwrite older hashes.
   } else {
   	Msgbox Unable to find login hash for "%LoginName%". Please check to make sure glyph auto logs in and check the pathing to the data folder.
  }
return
}
;Function To load Set usernames autologin data.
SetAutoLoginData(GlyphFolder,LoginName)
{
	;Checking to see if Glyph is running. If window found it will do nothing.
Process, Exist, GlyphClient.exe
  if (ErrorLevel != 0)
  {
   Process, Close, GlyphClient.exe
   Process, WaitClose, GlyphClient.exe
  }
	LoginToBeUsed := LoginName
  
  ;Writing Login name to config file.
  IniWrite, %LoginToBeUsed%, %GlyphFolder%GlyphClient.cfg, Glyph, Login
  
    ;Deleting and then remake the Cache dir. This is to prevent saving of older or other username hashes.
    FoundDat = 0
   Loop, Files, %GlyphFolder%Cache\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
   ;Deleting and then remaking the Cache dir. This is to prevent saving of older hashes.
    FileRemoveDir, %GlyphFolder%Cache, 1
    FileCreateDir, %GlyphFolder%Cache
   } 
  
  
  ;Checking for .dat file if found copying over.
   FoundDat = 0
   Loop, Files, %A_ScriptDir%\SavedLogins\%LoginToBeUsed%\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
   ;Copying Current .dat files over to new folder by current login name. This will overwrite exsiting files.
    FileCopy, %A_ScriptDir%/SavedLogins/%LoginToBeUsed%\*.dat, %GlyphFolder%Cache, 1
    ;Msgbox Login hash for %LoginToBeUsed% set.
   } else {
   	Msgbox Unable to find login hash for %LoginToBeUsed%. Please login again and hit save again.
  }
  ;Lauching Glyph
  ;Run, %GlyphClientPath%\GlyphClient.exe
return
}


;Version 1.0.2
;Fixed config error for not giving the global var for client/data path on close of the config window.
 
Version 1.0.2
Code:
;Version 1.0
;Autologin sytem using trove saved login hashes
;Version 1.0.1
;Fixing a bug that if you hit delete selected user with out having one selected it would delete them all.
;Fixed when you hit launch acocunt when no account selected. Same error as a above. 
;Edited/Fixed the way accounts are saving to give warning to user if the .dat file is not found or unable to get this the hash.
;Version 1.0.2
;Fixed config erorr for not giving the gloabl var for client/data path on close of the config window.

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
;#Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

EnvGet, LOCALAPPDATA, LOCALAPPDATA
Global GlyphDataPath ;:= LOCALAPPDATA "\Glyph"
Global GlyphClientPath ;:= "C:\Program Files (x86)\Glyph\"
	
Global IniFile := "AutoLoginLauncher.ini" ;Save Filename
	
;Declaring gloabl Var you should not need to change anything below.
Global ConfigWindowToggle := False
Global FoundDat
Global SteamCheckBox := "Button1" ;Don't change this it is used for GUI Checkboss.
Global GUIMainCaption := "Auto Login Launcher by Nipper" 
Global GUIConfigCaption := "Auto Login Launcher Config" 
	
;Checking for ini. If not found creates one with default settings.
IfNotExist, %A_ScriptDir%/%IniFile%
{
	EnvGet, LOCALAPPDATA, LOCALAPPDATA
  GlyphDataPath := LOCALAPPDATA "\Glyph\"
  GlyphClientPath := "C:\Program Files (x86)\Glyph\"
  	
  IniWrite, 0, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
	IniWrite, %GlyphDataPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
	IniWrite, %GlyphClientPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath
}
;Reading ini for settings.
IniRead, SteamCheckBox, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
IniRead, GlyphDataPath, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
IniRead, GlyphClientPath, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath


;Checking for saved users.
    GuiControl, Main:, LoginNames,|
     Global FolderList := 
    	loop, %A_ScriptDir%\SavedLogins\*, 2 
       FolderList .= A_LoopFileName . "|"





Gui, Main: -MaximizeBox -MinimizeBox
Gui, Main:Add, Text, x12 y9 w150 h20 , Saved Account Logins:
Gui, Main:Add, ListBox, x12 y29 w180 h150 vLoginNames gLoginNamesList, %FolderList%
Gui, Main:Add, Button, x12 y179 w180 h20 gRunGlyphNoLogin, Launch Glyph with no login
Gui, Main:Add, Button, x12 y209 w180 h20 gLaunchSelected, Launch Selected Account
Gui, Main:Add, Button, x12 y229 w180 h20 gSaveAddCurrnetLogin, Save/Add Current Login
Gui, Main:Add, Button, x12 y249 w180 h20 gDeleteSelectedAccount, Delete Selected Account
Gui, Main:Add, Button, x12 y279 w80 h20 gConfigToggle, Config
Gui, Main:Add, Button, x102 y279 w90 h20 gMainGuiClose, Exit

Gui, Config:-MaximizeBox -MinimizeBox -Disabled
Gui, Config:Add, Text, x12 y9 w150 h20 , Are you using Steam Version?
Gui, Config:Add, CheckBox, x162 y9 w20 h20 vSteamCheck gSteamSettings
Gui, Config:Add, Text, x12 y39 w260 h20 , Path to GlyphClient.exe
Gui, Config:Add, Edit, x12 y59 w260 h20 vGUIGlyphClientPath, %GlyphClientPath%
Gui, Config:Add, Button, x272 y59 w60 h20 gSelectFolderClient, Browse
Gui, Config:Add, Text, x12 y89 w260 h20 , Path to Glyph Configs
Gui, Config:Add, Edit, x12 y109 w260 h20 vGUIGlyphDataPath, %GlyphDataPath%
Gui, Config:Add, Button, x272 y109 w60 h20 gSelectFolderData, Browse
Gui, Config:Add, Button, x12 y139 w320 h30 gSaveExitConfig, Save and Exit Config
Gui, Config:Show, Hide AutoSize Center h182 w346, %GUIConfigCaption%

if(SteamCheckBox = 1) {
	Guicontrol, Config:, SteamCheck, 1
SteamCheck = 1
} else {
SteamCheck = 0
}

Gui, Main:Show, AutoSize Center h314 w205, %GUIMainCaption%
Return

SaveExitConfig:
	Gui, Config:Submit, Hide
  IniWrite, %SteamCheck%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
	IniWrite, %GUIGlyphDataPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
	IniWrite, %GUIGlyphClientPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath
	GlyphDataPath := GUIGlyphDataPath
	GlyphClientPath := GUIGlyphClientPath
	ConfigWindowToggle := !ConfigWindowToggle
return


SelectFolderClient:
		FileSelectFolder, Folder, , 3
    if Folder =
    MsgBox, You didn't select a folder.
    else
    GuiControl,Config:,GUIGlyphClientPath,%Folder%\
return

SelectFolderData:
		FileSelectFolder, Folder, , 3
    if Folder =
    MsgBox, You didn't select a folder.
    else
    GuiControl,Config:,GUIGlyphDataPath,%Folder%\
return


SteamSettings:
	;Default steam settings.
	GuiControlGet, SteamCheck
	if(SteamCheck = 1) {
	;DefaultSteam Settings
  GlyphDataPath := "C:\Program Files (x86)\Steam\steamapps\common\Trove\"
  GlyphClientPath := "C:\Program Files (x86)\Steam\steamapps\common\Trove\"
  GuiControl,Config:,GUIGlyphClientPath,%GlyphClientPath%
  GuiControl,Config:,GUIGlyphDataPath,%GlyphDataPath%	
    } Else {
	;Default Glyph Settings.
	EnvGet, LOCALAPPDATA, LOCALAPPDATA
  GlyphDataPath := LOCALAPPDATA "\Glyph\"
  GlyphClientPath := "C:\Program Files (x86)\Glyph\"
  GuiControl,Config:,GUIGlyphClientPath,%GlyphClientPath%
  GuiControl,Config:,GUIGlyphDataPath,%GlyphDataPath%	
    }
Return


RunGlyphNoLogin:
IniDelete, %GlyphDataPath%GlyphClient.cfg, Glyph, Login
FoundDat = 0
   Loop, Files, %GlyphDataPath%Cache\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
   ;Deleting and then remake the Cache dir. This is to prevent saving of older or other username hashes.
    FileRemoveDir, %GlyphDataPath%Cache, 1
    FileCreateDir, %GlyphDataPath%Cache
   }
Run, %GlyphClientPath%\GlyphClient.exe
return

LoginNamesList:
if A_GuiControlEvent <> DoubleClick
	return

LaunchSelected:
	;Sets Var for current selected to LoginNames Var.
	Gui, Main:Submit, Nohide
	;Warns the user that they need to select a account name first.
  if (LoginNames = "")
   {
   	Msgbox, Unable to run selected account. As you forgot to select one. :*(
  Return
  }
	;Sets saved auto login data.
	SetAutoLoginData(GlyphDataPath, LoginNames)
	;Runs Glyph
	Run, %GlyphClientPath%\GlyphClient.exe
Return

SaveAddCurrnetLogin:
	;Saves current logged in username/hash data.
	SaveLoginData(GlyphDataPath)
	;Reloading list
	UsernameListReload()
Return

DeleteSelectedAccount:
	;Sets Var for current selected to LoginNames Var.
	Gui, Main:Submit, Nohide
	;This is fix a bug to prevent deleting all your saved logins.
  if (LoginNames = "")
   {
   	Msgbox, Unable to delete selected username. As you forgot to select one. :*(
  Return
  }
	;Notify
	MsgBox, Deleting all info for %LoginNames%	
	;Deletes all settings for that user.
	FileRemoveDir, %A_ScriptDir%/SavedLogins/%LoginNames%, 1
	;Reloading list
	UsernameListReload()
	
Return

ConfigGuiClose:
ConfigToggle:
	if !ConfigWindowToggle {
					Gui, Config:Show
  } else {
					Gui, Config:Hide
	}
	ConfigWindowToggle := !ConfigWindowToggle
Return
MainGuiClose:
	;Reload
	Exitapp
Return



UsernameListReload()
{
	GuiControl, Main:, LoginNames,|
		FolderList := 
	loop, %A_ScriptDir%\SavedLogins\*, 2 
   FolderList .= A_LoopFileName . "|"
      GuiControl, Main:, LoginNames, %FolderList%

Return
}

;Function to save currnet saved current logged in user.
SaveLoginData(GlyphFolder)
{
	;Reading Login name
	 IniRead, LoginName, %GlyphFolder%GlyphClient.cfg, Glyph, Login
  ;Warning user if no .dat is not in the folder. And if found copying for later use.
    FoundDat = 0
   Loop, Files, %GlyphFolder%Cache\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
    ;Creating Saved LoginName Folder
    IfNotExist, %A_ScriptDir%/SavedLogins
    FileCreateDir, %A_ScriptDir%/SavedLogins
  ;Creating LoginName Folder
  IfNotExist, %A_ScriptDir%/SavedLogins/%LoginName%
    FileCreateDir, %A_ScriptDir%/SavedLogins/%LoginName%
   ;Copying Current .dat files over to new folder by current login name. This will overwrite exsiting files.
    FileCopy, %GlyphFolder%Cache\*.dat, %A_ScriptDir%/SavedLogins/%LoginName%, 1
    Msgbox Login hash for %LoginName% saved. If the name is on the list already it will overwrite older hashes.
   } else {
   	Msgbox Unable to find login hash for "%LoginName%". Please check to make sure glyph auto logs in and check the pathing to the data folder.
  }
return
}
;Function To load Set usernames autologin data.
SetAutoLoginData(GlyphFolder,LoginName)
{
	;Checking to see if Glyph is running. If window found it will do nothing.
Process, Exist, GlyphClient.exe
  if (ErrorLevel != 0)
  {
   Process, Close, GlyphClient.exe
   Process, WaitClose, GlyphClient.exe
  }
	LoginToBeUsed := LoginName
  
  ;Writing Login name to config file.
  IniWrite, %LoginToBeUsed%, %GlyphFolder%GlyphClient.cfg, Glyph, Login
  
    ;Deleting and then remake the Cache dir. This is to prevent saving of older or other username hashes.
    FoundDat = 0
   Loop, Files, %GlyphFolder%Cache\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
   ;Deleting and then remaking the Cache dir. This is to prevent saving of older hashes.
    FileRemoveDir, %GlyphFolder%Cache, 1
    FileCreateDir, %GlyphFolder%Cache
   } 
  
  
  ;Checking for .dat file if found copying over.
   FoundDat = 0
   Loop, Files, %A_ScriptDir%\SavedLogins\%LoginToBeUsed%\*.dat
    FoundDat = 1
   If (FoundDat = 1)
   {
   ;Copying Current .dat files over to new folder by current login name. This will overwrite exsiting files.
    FileCopy, %A_ScriptDir%/SavedLogins/%LoginToBeUsed%\*.dat, %GlyphFolder%Cache, 1
    ;Msgbox Login hash for %LoginToBeUsed% set.
   } else {
   	Msgbox Unable to find login hash for %LoginToBeUsed%. Please login again and hit save again.
  }
  ;Lauching Glyph
  ;Run, %GlyphClientPath%\GlyphClient.exe
return
}




https://www.virustotal.com/en/file/b...is/1441551528/
Code:
SHA256:	bbe89684b42c0f273d4ab6e4dd7bf5ae04cda3b3afbd31379e3912bcf3a984e6
File name:	MultiClientLauncher1.0.2.rar
Detection ratio:	2 / 56
Analysis date:	2015-09-06 14:58:48 UTC ( 0 minutes ago )
MultiClientLauncher1.0.2_mpgh.net.rar
#1 · edited 10y ago · 10y ago
XE
Xerts
Nice work mate!! looking forward for this to be approved.. keep up the good work ^^
#2 · 10y ago
reppin
reppin
Quote Originally Posted by Xerts View Post
Nice work mate!! looking forward for this to be approved.. keep up the good work ^^
You don't need to wait I supplied the source in the opening post. It uses autohotkey. You just need to wait to get the already compiled one.
#3 · 10y ago
Jhem
Jhem
Thanks for sharing.

Approved.
#4 · 10y ago
AZ
AzcStee
Quote Originally Posted by reppin View Post
You don't need to wait I supplied the source in the opening post. It uses autohotkey. You just need to wait to get the already compiled one.
Lines 113, 114, 120, 121 contain syntax error.

GuiControl,Config:,GUIGlyphClientPath,%GlyphClient Path%
GuiControl,Config:,GUIGlyphDataPath,%GlyphDataPath %

GuiControl,Config:,GUIGlyphClientPath,%GlyphClient Path%
GuiControl,Config:,GUIGlyphDataPath,%GlyphDataPath %

Delete the spacing at the ends of the line. Other than that perfectly working fine
#5 · 10y ago
reppin
reppin
Quote Originally Posted by AzcStee View Post
Lines 113, 114, 120, 121 contain syntax error.

GuiControl,Config:,GUIGlyphClientPath,%GlyphClient Path%
GuiControl,Config:,GUIGlyphDataPath,%GlyphDataPath %

GuiControl,Config:,GUIGlyphClientPath,%GlyphClient Path%
GuiControl,Config:,GUIGlyphDataPath,%GlyphDataPath %

Delete the spacing at the ends of the line. Other than that perfectly working fine
odd there not there in the source. I think it might have been the forum it self adding that space in. I went and re-pasted the source in the opening post and it removed it.
#6 · edited 10y ago · 10y ago
CH
choobai
Does this work on 32bit windows? Im running my bots on vmware with a vpn and it doesnt seem to save the glyph client path. Ive set it "program files" without the "(x86)" part and it still doesnt work. Give me some sort of error mentioning the x86 program files path.
#7 · 10y ago
reppin
reppin
Quote Originally Posted by choobai View Post
Does this work on 32bit windows? Im running my bots on vmware with a vpn and it doesnt seem to save the glyph client path. Ive set it "program files" without the "(x86)" part and it still doesnt work. Give me some sort of error mentioning the x86 program files path.
Just recompile or just run the script. It should work in 32bit. Can you give me a snap shot of the error?
#8 · 10y ago
CH
choobai
Quote Originally Posted by reppin View Post
Just recompile or just run the script. It should work in 32bit. Can you give me a snap shot of the error?
http://i.imgur.com/irsmSVj.png

This is what i get
#9 · 10y ago
reppin
reppin
Quote Originally Posted by choobai View Post
http://i.imgur.com/irsmSVj.png

This is what i get
Ok, I might have found out why. It is because of the var I used not updatign on save and exit of the config. Try this

Look for line
SaveExitConfig:

Below it you will see
SaveExitConfig:
Gui, Config:Submit, Hide
IniWrite, %SteamCheck%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
IniWrite, %GUIGlyphDataPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
IniWrite, %GUIGlyphClientPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath
return


Add these 3 lines lines
GlyphDataPath := GUIGlyphDataPath
GlyphClientPath := GUIGlyphClientPath
ConfigWindowToggle := !ConfigWindowToggle

Make it look like the following.

SaveExitConfig:
Gui, Config:Submit, Hide
IniWrite, %SteamCheck%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
IniWrite, %GUIGlyphDataPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
IniWrite, %GUIGlyphClientPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath
GlyphDataPath := GUIGlyphDataPath
GlyphClientPath := GUIGlyphClientPath
ConfigWindowToggle := !ConfigWindowToggle
return



Let me know if what happens. If it dose work I will push it as a update fix. If not I will keep looking.
#10 · edited 10y ago · 10y ago
CH
choobai
Quote Originally Posted by reppin View Post
Ok, I might have found out why. It is because of the var I used not updatign on save and exit of the config. Try this

Look for line
SaveExitConfig:

Below it you will see
SaveExitConfig:
Gui, Config:Submit, Hide
IniWrite, %SteamCheck%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
IniWrite, %GUIGlyphDataPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
IniWrite, %GUIGlyphClientPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath
return


Add these 3 lines lines
GlyphDataPath := GUIGlyphDataPath
GlyphClientPath := GUIGlyphClientPath
ConfigWindowToggle := !ConfigWindowToggle

Make it look like the following.

SaveExitConfig:
Gui, Config:Submit, Hide
IniWrite, %SteamCheck%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, SteamCheckBox
IniWrite, %GUIGlyphDataPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphDataPath
IniWrite, %GUIGlyphClientPath%, %A_ScriptDir%/%IniFile%, AutoLoginSettings, GlyphClientPath
GlyphDataPath := GUIGlyphDataPath
GlyphClientPath := GUIGlyphClientPath
ConfigWindowToggle := !ConfigWindowToggle
return



Let me know if what happens. If it dose work I will push it as a update fix. If not I will keep looking.
Yep it works. Thanks for the launcher, works really well on a small resolution in vmware.
#11 · 10y ago
reppin
reppin
Quote Originally Posted by choobai View Post
Yep it works. Thanks for the launcher, works really well on a small resolution in vmware.
Good good. Pushing a update to the opening post. Good catch for pointing this out. I totally missed it.

Edit:
Pushed version 1.0.2 update for this fix.
#12 · edited 10y ago · 10y ago
Jhem
Jhem
Approved.
#13 · 10y ago
CR
Crisu0307
how to add account ?
#14 · 10y ago
reppin
reppin
Quote Originally Posted by Crisu0307 View Post
how to add account ?
Login to glyph like you normally do. Then just go back to the program and hit save/add account. It will add the username to the list. Then you can close glyph then when ever you wish to use that account again just select it form the list and hit launch or click 2 times.
#15 · 10y ago
Posts 1–15 of 61 · Page 1 of 5
…

Post a Reply

Similar Threads

  • 400+ NA LVL 30 ACC WITH AUTO-LOGIN/LAUNCH (6.11)By CrunchLikeTwix in League of Legends Discussions
    7Last post 10y ago
  • Dead Space, Dead Space 3, Medal of Honor Keys for both Steam and Origin [OFFER]By InCapacitated in Elite Selling / Trading / Buying
    3Last post 12y ago
  • Ko Free K0xp auto box multi clientBy riddick. in Knight Online Hacks
    0Last post 16y ago
  • CA Launcher with LoginBy D Worm in Combat Arms Hacks & Cheats
    11Last post 16y ago
  • [HELP]How to make game auto login with vbBy BaZuGa in Visual Basic Programming
    0Last post 16y ago

Tags for this Thread

None