immo 219 Report post Posted October 21, 2013 (edited) ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------UPDATED TO v3.3a! changes: offsets updated to PoE.v1.2.1! EB-Tools.v3.3a.zip Sad day for me but this will be the last update for the standard EB-Tools as you know it. This tool grew by its tasks. And this is where the shit started to hit the fan. EBT reached about 15.000 lines of code on its current state. Sadly i am no longer truly able to handle bugtracking or even handling For upcomming PoE patches with a changed BasePointer, simply open your config.ini and change the "baseMgrPtr" value to "0" (both without the quotes)! I hope you enjoyed using EBT at least a bit, as i did developing this! --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- version: v3.3 ------------------------------------------------------------------------------------------------------------------------------------------------------ EB-Tools.v3.3a.zip Dropbox [ext.download] _____ __ _ ____ ____ _ __ _____ lifetime downloads :: 2915 (total for all versions) _________________________________________________________________ _ _ _________________________________________________________________ In order to not be identified for botting too easy I have created this little tool.Original idea was a simple zoneChanging option for automatic zone change. In the meantime this project got a little bigger. It now supports stashTab changing, many additional informations and ofcurse the zoneChanging stuff (incl. map/zone switching)! Features (this is a work in progress): easy configurable due to GUI supports stashTab changing! configurable for as many stashTabs as you want comes with its own multi stashtab system [ more or less outdated since this is meanwhile a standard feature on Exiled Bot! ] supporting every zone in all 3 acts on every difficulty (including Boss Farming) you can now set up as many different zones as you like for botting zoneselection is completly random now! you are now able to switch between map farming and normal zones you can set up the timerange which you want to spend before changing zones & stashTabs. script automatically starts/restarts PoE & Exiled Bot [ config your paths! ] logfile support Command Line Parameter support [ see here for details ] Display for Status-Updates pm detection and reacting to it pm logging [ see chatlog.txt or for the latest pm check the Status-Update Box in EB-Tools while running! ] All options are explained via tooltips "mouse-stuck-detection" & reacting to it [ see here for details ] unstuck for "item stuck on cursor" loop Autostart-Option scheduling your botting time added e-mail verification [ SSL servers will not work yet, try mail.aol.com! ] hide/show details for better use on low resolution systems/vm's memory manager [ see here for details ] added option to clear mem automaticly every 120sec. /oos every X sec. Life-Time botting stats map upgrading [ You need to unbind your "C" key! meaning if you press "C" ingame nothing needs to happen! ] greatly expanded the failsafe checks for itemhandling Auto Update Vendor Coordinates random Town breaks Flask Management [ Supported Flasks are: QuickSilver, Jade, Granite, Diamond, Ruby, Sapphire, Amethyst & Topaz Flask ] instant Gem leveling destroy obstacles using a individual Skill/HotKey Currency & Experience Penalty display How To: Download & extract EB-Tools.v3.3.zip. [ Download1 (Post-Attachment) || Download2 (dropbox) ] Run the extracted EB-Tools.exe and follow instructions. BE SURE TO RUN EB-Tools AS ADMINISTRATOR! enjoy EB-Tools ;> known Bugs: scheduling is currently not active (will be back with the next release) Script preview: auto map upgrading: auto-unlock feature: Memory Manager: EB-Tools.v2.4b: more to come! additional notes: I would be glad if some of you could test this script a bit. Although I'm pretty sure that everything works as intended but you never know ;> If you encounter bugs let me know! If you have any feature requests which should be added, let me know! I really appreciate every feedback! If you have any questions or comments please post them in here. I wont do any support via PM! Use this Thread! If you think you can help improve this project - I am looking for contributors! So PM me if you think you can help. if you like what you use vote for it or feel free to donate... contributors: Thanks to bonebox for testing, you're worth a mirror! and an awesome guy! I am missing you bro! Thanks Alk for the Bot and some additional help! Thanks GuruD for his amazing work on his MultiScript! Thanks to MekongSwells for the original gui! Thanks to PWFTrojaner for testing new stuff Thanks to hongthai for testing new stuff Without you, all this would not have been possible! patchnotes / changes: 30.08.2014: Project Stopped! 30.08.2014: v3.3a - OffSets updated 27.08.2014: v3.3 - OffSets updated, EBT is now working with the latest version of PoE / MANY BugFixes & optimisations [Changelog] 17.08.2014: v3.2 - To many changes to list them here [Changelog] 31.07.2014: v3.1b - Fixed a Bug which caused the main system to stop / added Jade & Granite Flasks to Flask Management [Changelog] 30.07.2014: v3.1 - Offsets updated / AutoFlasks System added / PM System changed / AutoUnlock fixed / minor Gui changes [Changelog] 21.07.2014: v3.0 - simple repack 12.07.2014: v3.0 - see the full Changelog here! 17.04.2014: v2.4 - gui overhaul / hide/show details for better use on low resolution systems/vm's / memory manager / added option to clear mem automaticly every 120sec. /oos every X sec. / process startup fixed / map/zone switch implemented / added possibility to deactivate EB-Tools stashing-system and use the originial one / Life-Time botting stats / generell bugfixing / added readme & donate button 03.04.2014: v2.2 - fixed some minor bugs / added e-mail verification 20.03.2014: v2.1 - fixed the stashtab bug / fixed the timer displays / fixed autostart feature / added unstuck for "item stuck on cursor" loop 15.03.2014: v2.06 - added option to schedule botting time / added autostart-ption 13.03.2014: v2.05 - added timerange for Zonechange / added display of Status-Updates / trimmed the pm string 13.03.2014: v2.04 - added Tooltips / added "mouse-stuck-detection" & reacting to it 11.03.2014: v2.03 - fixed the "gui out of screen" bug / added display of runtimes / added pm detection & reacting to it 25.02.2014: v2.02 - added "Command-Line Parameter" Support 24.02.2014: v2.01 - Script renamed / Gui added / Fixed most errors 15.02.2014: v1.9b - fucked up alot 20.12.2013: v1.9 - repositioned inGameTooltip / Script now wont select the same stashTab and/or Zone twice in a row 19.12.2013: v1.8 - added logging / fixed all errors (hopefully) 13.12.2013: v1.7 - added number of zones & stashTabs / 5 stashTabs supported / rewritten time-formating / fixed Overlay display bug! 12.12.2013: v1.6 - added EB profile support / added stashTab changing / fixed some issues 05.12.2013: v1.5a - completly rewritten the zonechanging section / Script now supports up to 5zones/zoneselecting is completly random now/option to pause the script added 15.11.2013: v1.1 - Cleaned up code / working with the latest Version of Exiled Bot/PoE 10.11.2013: v1.0 - Autostart PoE & Exiled Bot / inGame overlay Menu added 08.11.2013: v0.9b - added support for all 3acts and every difficulty 07.11.2013: v0.9a - rewritten the whole script. 21.10.2013: v0.8r - initial public release outdated versions: v3.30 EB-Tools.v3.3.zip v3.20 EB-Tools.v3.2.zip v3.1b EB-Tools.v3.1b.zip v3.10 EB-Tools.v3.1.zip v3.00 EBTv3.0-repack.zip v3.00 EBT.v3.0.zip v2.80 v2.8j.zip v2.70 EBT.v2.7.zip v2.60 EB-Tools.v2.6a.zip v2.40 EB-Tools.v2.4.zip v2.20 EB-Tools.v2.2.zip v2.10 EB-Tools.v2.1.zip v2.06 EB-Tools.v2.06.zip v2.05 EB-Tools.v2.05.zip v2.04 EB-Tools.v2.04.zip v2.03 EB-Tools.v2.03.zip v2.02 EB-Tools.v2.02.zip v2.01 EB-Tools.v2.01a.zip v1.9b ExiledBot.Zone.Changer.v1.9b.zip v1.9a ExiledBot.Zone.Changer.v1.9.zip Edited September 23, 2014 by immo v3.3 released 18 Share this post Link to post Share on other sites
jpbot 6 Report post Posted October 23, 2013 You should try use IniWrite, Value, Filename, Section, Key switchZone() { global if (_game > _gamesToSwitch) { if _actualZone = 2 { ;~ IniRead, aZone, %A_WorkingDir%\Exiled Bot Alpha v0.6\Configuration\config.ini, general, zone_to_clean IniWrite, %_zone_to_clean1%, %A_WorkingDir%\Configuration\config.ini, general, zone_to_clean IniWrite, %_zone_to_clean_act1%, %A_WorkingDir%\Configuration\config.ini, general, zone_to_clean_act IniWrite, %_zone_to_clean_difficulty1%, %A_WorkingDir%\Configuration\config.ini, general, zone_to_clean_difficulty _actualZone := 1 writeLog("Bot Zone Changed Zone 1...",1) } else { IniWrite, %_zone_to_clean2%, %A_WorkingDir%\Configuration\config.ini, general, zone_to_clean IniWrite, %_zone_to_clean_act2%, %A_WorkingDir%\Configuration\config.ini, general, zone_to_clean_act IniWrite, %_zone_to_clean_difficulty2%, %A_WorkingDir%\Configuration\config.ini, general, zone_to_clean_difficulty _actualZone := 2 writeLog("Bot Zone Changed Zone 2...",1) } } ;~ Send {F11} sleep 2000 return } Share this post Link to post Share on other sites
immo 219 Report post Posted October 23, 2013 does it smells like a new version of EEB in here? Share this post Link to post Share on other sites
Drunkie 1 Report post Posted October 30, 2013 TrayTip, , Zone changed!`n Next Run should be: %_area1ZCini%`n`nFor the next %_timeZoneChangeUser% minutes you will farm there! , 2 Man you've scared me at first run. Why you show it in milliseconds? Share this post Link to post Share on other sites
darkbluefirefly 11 Report post Posted November 4, 2013 looks great, now if I wanted zone one, I would simply change the names? Thanks! Share this post Link to post Share on other sites
immo 219 Report post Posted November 5, 2013 TrayTip, , Zone changed!`n Next Run should be: %_area1ZCini%`n`nFor the next %_timeZoneChangeUser% minutes you will farm there! , 2Man you've scared me at first run. Why you show it in milliseconds?eheh yeah, currently this script is still buggy as hell but due to rare time to code ahk and some personal shit I simply don't find a few quite minutes to work this over... Sorry for the inconvenience, as soon as I update this script I will post the progress here! looks great, now if I wanted zone one, I would simply change the names? Thanks!Please excuse but I don't reaiiy understand the consensus of your question.Simply choose your two desired Zones and enter them after "area1ZCini =" and "area2ZCini =" http://www.exiled-bot.net/forum/download/file.php?id=64 Share this post Link to post Share on other sites
Govorun 0 Report post Posted November 7, 2013 any chance to update ZC for version v0.12? Share this post Link to post Share on other sites
immo 219 Report post Posted November 7, 2013 updated... Share this post Link to post Share on other sites
gmaverick019 0 Report post Posted November 9, 2013 Sorry if this sounds noob-ish, I know how to open/edit the zone change.ahk, and I understand what it all means, but how do you "run zone changer.ahk" after editing it to fit your needs? obviously I understand the file has to somehow impact the bot before starting it up, but I just don't get what you mean by "run" it. Share this post Link to post Share on other sites
immo 219 Report post Posted November 9, 2013 Sorry if this sounds noob-ish, I know how to open/edit the zone change.ahk, and I understand what it all means, but how do you "run zone changer.ahk" after editing it to fit your needs? obviously I understand the file has to somehow impact the bot before starting it up, but I just don't get what you mean by "run" it.Zone_changer.ahk is an autohotkey script! You need to install AutoHotKey in order to run the script. After you have installed AHK simply double click the script. Share this post Link to post Share on other sites
immo 219 Report post Posted November 10, 2013 update again, probably for the last time... Within the starting post I even asked for feedback! Since the desired update 5 days ago, there were indeed 50+ downloads of the scripts but not a single comment/feedback. nevertheless v1.0 contains the following updates:[*:11k48u80]Script now starts PoE & Exiled Bot automatically. [*:11k48u80]Added an inGame overlay Menu. Share this post Link to post Share on other sites
gamemaste789 0 Report post Posted November 15, 2013 I love your ahk, u should update it for the latest bot and PoE Share this post Link to post Share on other sites
immo 219 Report post Posted November 15, 2013 (edited) script updated to v1.1! changes since v1.0[*:1w5dji81]Cleaned up code [*:1w5dji81]now working with the latest Version of Exiled Bot/PoE Updated Script can be downloaded here! Please post any issues Edited February 2, 2015 by immo Share this post Link to post Share on other sites
gamemaste789 0 Report post Posted November 16, 2013 love ya EDIT: for some weird reason it keeps on opening new PoEs.. D: Share this post Link to post Share on other sites
Subtract 1 Report post Posted November 16, 2013 love ya EDIT: for some weird reason it keeps on opening new PoEs.. D: Works like a charm for me D: Nice work you have done there! Share this post Link to post Share on other sites
pronoooob 42 Report post Posted November 20, 2013 about to give it a go ...let u know! cheers Share this post Link to post Share on other sites
cheatersprosper 0 Report post Posted November 21, 2013 I was about to give it a try, but looks like we'll need to wait for an update first! Share this post Link to post Share on other sites
Ether88 9 Report post Posted November 21, 2013 The script can be easily modified to be used with more than 2 zones. I run with 4 zones, 7min for each. Different difficulties, acts, locations for more security (currency drops everywhere+some uniques drop only in low-level zones). The only better stuff, that would be helpful would be "infinite ledge" script. Bot enters the Ledge and after clearing it creates new Ledge zone not via waypoint but re-entering the location. Share this post Link to post Share on other sites
ecliped 0 Report post Posted November 21, 2013 post new link pls. Share this post Link to post Share on other sites
cheatersprosper 0 Report post Posted November 21, 2013 The script can be easily modified to be used with more than 2 zones. I run with 4 zones, 7min for each. Different difficulties, acts, locations for more security (currency drops everywhere+some uniques drop only in low-level zones). The only better stuff, that would be helpful would be "infinite ledge" script. Bot enters the Ledge and after clearing it creates new Ledge zone not via waypoint but re-entering the location. This would be very nice, indeed. Share this post Link to post Share on other sites
Ether88 9 Report post Posted November 22, 2013 This is my modification. Big thanks to immo for the main script! This is simple copy-paste modification, bot works well - at least for me. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.#Warn ; Enable warnings to assist with detecting common errors.#Persistent ; Only the user can kill the applicationSendMode Input ; Recommended for new scripts due to its superior speed and reliability.StringCaseSense, On ; Match strings with case.SetWorkingDir %A_ScriptDir%CoordMode, ToolTip, Relative; User Config_timeZoneChange = 9 ; Time in minutes until zonechange_zone_to_clean1 = marketplace ; enter desired Zone 1 (see coordinates.ini[Exiled Bot] to see exact writings of the different zones)_zone_to_clean_act1 = 3 ; enter desired act for Zone 1_zone_to_clean_difficulty1 = 1 ; enter desired difficulty for Zone 1 (1=normal, 2=cruel, 3=merciless)_zone_to_clean2 = dark_forest ; enter desired Zone 2 (see coordinates.ini[Exiled Bot] to see exact writings of the different zones)_zone_to_clean_act2 = 2 ; enter desired act for Zone 2_zone_to_clean_difficulty2 = 1 ; enter desired difficulty for Zone 2 (1=normal, 2=cruel, 3=merciless)_zone_to_clean3 = the_city_of_sarn_zone_to_clean_act3 = 3_zone_to_clean_difficulty3 = 1_zone_to_clean4 = battlefront_zone_to_clean_act4 = 3_zone_to_clean_difficulty4 = 1_path_bot = C:\Users\Erebus\Desktop\Pobrane\Exiled Bot Beta v0.13 ; Path to your Exiled.Bot_path_poe = D:\Gry\PoE_bot ; Path where is installed poe (don't include game exe)_name_poe = PathOfExile.exe ; Name of the game exe_name_bot = ExiledBot.exe ; Name of the ExiledBot exe_name_poe_win = Path of Exile ; Name of the window when you run game exe_name_bot_win = ExiledBot (Elite) ; Name of the window when you run exilebot exe_EBReload = F11 ; EB Hotkey to reload ini_EBPause = F12 ; EB Hotkey to pause/unpause the bot; some needed calculations_timeZoneChangeUser := (_timeZoneChange * 1000) * 60_timeZoneChangeTrue := ((_timeZoneChange * 2) * 1000) * 60_timeZoneChangeSec := (_timeZoneChange * 60)IniRead, currZone, %_path_bot%\Configuration\config.ini, general, zone_to_cleanif (_zone_to_clean_difficulty1=1){difficulty1 = Normal}else if (_zone_to_clean_difficulty1=2){difficulty1 = Cruel}else{difficulty1 = Merciless}if (_zone_to_clean_difficulty2=1){difficulty2 = Normal}else if (_zone_to_clean_difficulty2=2){difficulty2 = Cruel}else{difficulty2 = Merciless}if (_zone_to_clean_difficulty3=1){difficulty3 = Normal}else if (_zone_to_clean_difficulty3=2){difficulty3 = Cruel}else{difficulty3 = Merciless}if (_zone_to_clean_difficulty4=1){difficulty4 = Normal}else if (_zone_to_clean_difficulty4=2){difficulty4 = Cruel}else{difficulty4 = Merciless}; Menu EntriesMenu1 = ExiledBot.Zone.Changer.ver = v1.0EBVer = Exiled Bot Beta v0.12Menu2 = UserConfig:Menu3 = zonechanging every: %_timeZoneChange% MinutesMenu4 = Zone 1: %_zone_to_clean1% - Act%_zone_to_clean_act1%/%difficulty1%Menu5 = Zone 2: %_zone_to_clean2% - Act%_zone_to_clean_act2%/%difficulty2%Menu4 = Zone 3: %_zone_to_clean3% - Act%_zone_to_clean_act3%/%difficulty3%Menu5 = Zone 4: %_zone_to_clean4% - Act%_zone_to_clean_act4%/%difficulty4%Menu6 = Current Zone: %currZone%; Some various fancy tray icon stuff.Menu, tray, Tip, %Menu1%%ver%`nchanging zones since 2013Menu, tray, NoStandardMenu, tray, add, %Menu1%%ver%, RemoveTooltipMenu, tray, disable, %Menu1%%ver%Menu, tray, add, for %EBVer%, RemoveTooltipMenu, tray, disable, for %EBVer%Menu, tray, addMenu, tray, add, %Menu2%, RemoveTooltipMenu, tray, disable, %Menu2%Menu, tray, add, %Menu3%, RemoveTooltipMenu, tray, disable, %Menu3%Menu, tray, add, %Menu4%, RemoveTooltipMenu, tray, disable, %Menu4%Menu, tray, add, %Menu5%, RemoveTooltipMenu, tray, disable, %Menu5%Menu, tray, addMenu, tray, add, Pause (F8), MyPauseMenu, tray, add, Exit (F9), ExitSubWinMinimizeAllSleep 2000TrayTip, , Starting Path of Exile , 1Sleep 1000IfWinNotExist, %_name_poe_win%{Run, %_name_poe%, %_path_poe%, , PoE_PIDif ErrorLevel = ERROR{MsgBox Cant open %_path_poe%\%_name_poe%exitapp}WinWait, ahk_pid %PoE_PID%,,3WinMove, ahk_pid %PoE_PID%, 1, 1}else{WinGet, PoE_PID, PID, %_name_poe_win%WinWait, ahk_pid %PoE_PID%,,3WinMove, ahk_pid %PoE_PID%, 1, 1}sleep 10000TrayTip, , Starting Exiled Bot , 1Sleep 1000Run, %_name_bot%, %_path_bot%, , EB_PIDif ErrorLevel = ERROR{MsgBox Cant open %_path_bot%\%_name_bot%exitapp}Sleep 5000IfWinExist, %_name_bot_win%{IniWrite, %_zone_to_clean_act1%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_actIniWrite, %_zone_to_clean_difficulty1%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_difficultyIniWrite, %_zone_to_clean1%, %_path_bot%\Configuration\config.ini, general, zone_to_cleansleep 1000Send {%_EBReload%}TrayTip, , Starting to bot! , 2WinActivate, %_name_bot_win%ControlClick, Button1, ExiledBot (Elite),, Left, 1, NA}WinActivate, %_name_poe_win%SetTimer, RemoveTT, 1000_timeZoneChangeSec := (_timeZoneChange * 60)IniRead, currZone, %_path_bot%\Configuration\config.ini, general, zone_to_cleanSleep %_timeZoneChangeUser%SetTimer, ZC, %_timeZoneChangeTrue%ZC:IniWrite, %_zone_to_clean_act2%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_actIniWrite, %_zone_to_clean_difficulty2%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_difficultyIniWrite, %_zone_to_clean2%, %_path_bot%\Configuration\config.ini, general, zone_to_cleanSetTimer, RemoveTT, 1000_timeZoneChangeSec := (_timeZoneChange * 60)IniRead, currZone, %_path_bot%\Configuration\config.ini, general, zone_to_cleansleep 1000Send {%_EBReload%}TrayTip, , Zone changed! , 2sleep %_timeZoneChangeUser%IniWrite, %_zone_to_clean_act3%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_actIniWrite, %_zone_to_clean_difficulty3%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_difficultyIniWrite, %_zone_to_clean3%, %_path_bot%\Configuration\config.ini, general, zone_to_cleanSetTimer, RemoveTT, 1000_timeZoneChangeSec := (_timeZoneChange * 60)IniRead, currZone, %_path_bot%\Configuration\config.ini, general, zone_to_cleansleep 1000Send {%_EBReload%}TrayTip, , Zone changed! , 2IniWrite, %_zone_to_clean_act4%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_actIniWrite, %_zone_to_clean_difficulty4%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_difficultyIniWrite, %_zone_to_clean4%, %_path_bot%\Configuration\config.ini, general, zone_to_cleanSetTimer, RemoveTT, 1000_timeZoneChangeSec := (_timeZoneChange * 60)IniRead, currZone, %_path_bot%\Configuration\config.ini, general, zone_to_cleansleep 1000Send {%_EBReload%}TrayTip, , Zone changed! , 2returnMyReload:ReloadReturnMyEdit:EditReturnMyPause:F8::TrayTip, , Automatic ZoneChanger paused! , 2PauseReturnRemoveTooltip:ToolTipreturnRemoveTT:ToolTip, % (_timeZoneChangeSec--<1) ? "" : Menu1 Ver ":`n********************************`nZoneChange in : " FormatSeconds(_timeZoneChangeSec)"`nNext Zone will be : "currZone, 310, 555If (_timeZoneChangeSec<0)SetTimer, RemoveTT, OffreturnFormatSeconds(x){Out:=SubStr("0" . Mod(x, 60),-1),x:=Floor(x/60)Return x ":" Out}ExitSub:F9::TrayTip, , Automatic ZoneChanger terminaetd! , 2ExitAppreturn Share this post Link to post Share on other sites
gamemaste789 0 Report post Posted November 22, 2013 (edited) ether on ur edited version it just keeps spamming zone changed.... here u go #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn ; Enable warnings to assist with detecting common errors. #Persistent ; Only the user can kill the application SendMode Input ; Recommended for new scripts due to its superior speed and reliability. StringCaseSense, On ; Match strings with case. SetWorkingDir %A_ScriptDir% CoordMode, ToolTip, Relative ; User Config _timeZoneChange = 30 ; Time in minutes until zonechange _zone_to_clean1 = the_docks ; enter desired Zone 1 (see coordinates.ini[Exiled Bot] to see exact writings of the different zones) _zone_to_clean_act1 = 3 ; enter desired act for Zone 1 _zone_to_clean_difficulty1 = 3 ; enter desired difficulty for Zone 1 (1=normal, 2=cruel, 3=merciless) _zone_to_clean2 = the_city_of_sarn ; enter desired Zone 2 (see coordinates.ini[Exiled Bot] to see exact writings of the different zones) _zone_to_clean_act2 = 3 ; enter desired act for Zone 2 _zone_to_clean_difficulty2 = 3 ; enter desired difficulty for Zone 2 (1=normal, 2=cruel, 3=merciless) _zone_to_clean3 = crossroads ; enter desired Zone 2 (see coordinates.ini[Exiled Bot] to see exact writings of the different zones) _zone_to_clean_act3 = 2 ; enter desired act for Zone 2 _zone_to_clean_difficulty3 = 3 ; enter desired difficulty for Zone 2 (1=normal, 2=cruel, 3=merciless) _path_bot = C:\Users\Administrator\Desktop\bot ; Path to your Exiled.Bot _path_poe = C:\Program Files (x86)\Grinding Gear Games\Path of Exile ; Path where is installed poe (don't include game exe) _name_poe = PathOfExile.exe ; Name of the game exe _name_bot = ExiledBot GUI.exe ; Name of the ExiledBot exe _name_poe_win = Path of Exile ; Name of the window when you run game exe _name_bot_win = Exiled Bot (Elite) ; Name of the window when you run exilebot exe _EBReload = F11 ; EB Hotkey to reload ini _EBPause = F12 ; EB Hotkey to pause/unpause the bot ; some needed calculations _timeZoneChangeUser := (_timeZoneChange * 1000) * 60 _timeZoneChangeTrue := ((_timeZoneChange * 2) * 1000) * 60 _timeZoneChangeSec := (_timeZoneChange * 60) IniRead, currZone, %_path_bot%\Configuration\config.ini, general, zone_to_clean if (_zone_to_clean_difficulty1=1) { difficulty1 = Normal } else if (_zone_to_clean_difficulty1=2) { difficulty1 = Cruel } else { difficulty1 = Merciless } if (_zone_to_clean_difficulty2=1) { difficulty2 = Normal } else if (_zone_to_clean_difficulty2=2) { difficulty2 = Cruel } else { difficulty2 = Merciless } if (_zone_to_clean_difficulty3=1) { difficulty3 = Normal } else if (_zone_to_clean_difficulty3=2) { difficulty3 = Cruel } else { difficulty3 = Merciless } ; Menu Entries Menu1 = ExiledBot.Zone.Changer. ver = v1.1 EBVer = Exiled Bot Beta v0.12 Menu2 = UserConfig: Menu3 = zonechanging every: %_timeZoneChange% Minutes Menu4 = Zone 1: %_zone_to_clean1% - Act%_zone_to_clean_act1%/%difficulty1% Menu5 = Zone 2: %_zone_to_clean2% - Act%_zone_to_clean_act2%/%difficulty2% Menu6 = Zone 3: %_zone_to_clean3% - Act%_zone_to_clean_act3%/%difficulty3% Menu7 = Current Zone: %currZone% ; Some various fancy tray icon stuff. Menu, tray, Tip, %Menu1%%ver%`nchanging zones since 2013 Menu, tray, NoStandard Menu, tray, add, %Menu1%%ver%, RemoveTooltip Menu, tray, disable, %Menu1%%ver% Menu, tray, add, for %EBVer%, RemoveTooltip Menu, tray, disable, for %EBVer% Menu, tray, add Menu, tray, add, %Menu2%, RemoveTooltip Menu, tray, disable, %Menu2% Menu, tray, add, %Menu3%, RemoveTooltip Menu, tray, disable, %Menu3% Menu, tray, add, %Menu4%, RemoveTooltip Menu, tray, disable, %Menu4% Menu, tray, add, %Menu5%, RemoveTooltip Menu, tray, disable, %Menu5% Menu, tray, add, %Menu6%, RemoveTooltip Menu, tray, disable, %Menu6% Menu, tray, add Menu, tray, add, Pause (F8), MyPause Menu, tray, add, Exit (F9), ExitSub WinMinimizeAll Sleep 2000 TrayTip, , Starting Path of Exile , 1 Sleep 1000 IfWinNotExist, %_name_poe_win% { Run, %_name_poe%, %_path_poe%, , PoE_PID if ErrorLevel = ERROR { MsgBox Cant open %_path_poe%\%_name_poe% exitapp } WinWait, ahk_pid %PoE_PID%,,3 WinMove, ahk_pid %PoE_PID%, 1, 1 } else { WinGet, PoE_PID, PID, %_name_poe_win% WinWait, ahk_pid %PoE_PID%,,3 WinMove, ahk_pid %PoE_PID%, 1, 1 } sleep 10000 TrayTip, , Starting Exiled Bot , 1 Sleep 1000 Run, %_name_bot%, %_path_bot%, , EB_PID if ErrorLevel = ERROR { MsgBox Cant open %_path_bot%\%_name_bot% exitapp } Sleep 5000 TrayTip, , Starting to bot! , 1 WinActivate, %_name_bot_win% ControlClick, Button1, %_name_bot_win%,, Left, 1, NA Sleep 5000 SetTimer, ZC, %_timeZoneChangeUser% ZC: IfWinExist, %_name_bot_win% { WinActivate, %_name_poe_win% if currZone = %_zone_to_clean3% { IniWrite, %_zone_to_clean_act1%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_act IniWrite, %_zone_to_clean_difficulty1%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_difficulty IniWrite, %_zone_to_clean1%, %_path_bot%\Configuration\config.ini, general, zone_to_clean currZone = %_zone_to_clean1% } else if currZone = %_zone_to_clean1% { IniWrite, %_zone_to_clean_act2%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_act IniWrite, %_zone_to_clean_difficulty2%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_difficulty IniWrite, %_zone_to_clean2%, %_path_bot%\Configuration\config.ini, general, zone_to_clean currZone = %_zone_to_clean2% } else if currZOne = %_zone_to_clean2% { IniWrite, %_zone_to_clean_act3%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_act IniWrite, %_zone_to_clean_difficulty3%, %_path_bot%\Configuration\config.ini, general, zone_to_clean_difficulty IniWrite, %_zone_to_clean3%, %_path_bot%\Configuration\config.ini, general, zone_to_clean currZone = %_zone_to_clean3% } sleep 200 Send {%_EBReload%} TrayTip, , Zone changed! , 2 } SetTimer, RemoveTT, 1000 _timeZoneChangeSec := (_timeZoneChange * 60) return MyReload: Reload Return MyEdit: Edit Return MyPause: F8:: TrayTip, , Automatic ZoneChanger paused! , 2 Pause Return RemoveTooltip: ToolTip return RemoveTT: ToolTip, % (_timeZoneChangeSec--<1) ? "" : Menu1 Ver ":`n********************************`nZoneChange in : " FormatSeconds(_timeZoneChangeSec)"`nNext Zone will be : "currZone, 310, 555 If (_timeZoneChangeSec<0) SetTimer, RemoveTT, Off return FormatSeconds(x) { Out:=SubStr("0" . Mod(x, 60),-1),x:=Floor(x/60) Return x ":" Out } ExitSub: F9:: TrayTip, , Automatic ZoneChanger terminaetd! , 2 ExitApp return Edited November 22, 2013 by gamemaste789 Share this post Link to post Share on other sites
Ether88 9 Report post Posted November 22, 2013 The idea behind the script is fairy simple: 1. User starts the game, bot and the script (If bot 1st location = script 1st location, then 1st location will be used twice? Yes, but just if you run bot BEFORE the script) 2. This is where the script loop starts, 3. After a fixed time +- random time (for extra security) script modify the configuration of the bot - new zone is set (new zone = next from the list) 4. Script sends a bot command to refresh settings - new zone is loaded to the bot, next time bot will try to enter zone, it will go to the new zone 5. Next loop starts We need to give the script list of zones we want to use - the best option would be, to be able to set more then 2 places (4-5 is good?). I don't really understand the code that well to modify it properly. What I've done? I've added two more zones to the loop just by copying the given zones. I've been observing my bot and he were running in every zone from the given zones. Another idea for the script modifications - I don't like the running bot and game features. I am using Sandboxie to run the bot (I have only one bot) - with it I can maintain two different configs for the game (Sandboxie creates another parallel register, and PoE keeps the configuration in the register AND in user settings). That way I create two different log files of PoE (which, I belive, sometimes are sent to the developers for the performance and monitoring proposes). @gamemaste789 - I think that using just if-else is not enough, if you need the bot to run each zone in the loop. Of course you can build a relatively complex if-else instruction to simulate the loop, but it will be hard to debug and work with after some time. Share this post Link to post Share on other sites
gamemaste789 0 Report post Posted November 22, 2013 ether urs is kinda of broken.... my how ever after zone 1 -> zone 2 > zone 3 -> zone 1 Share this post Link to post Share on other sites
Ether88 9 Report post Posted November 22, 2013 Ok, thx - I get it now. I don't know why I didn't saw your code o.O. Share this post Link to post Share on other sites