* Ignore exceptions when loading the account properties file, handle with smaller error checking. (there is already a fallback process).
* mudclient move sleep counter below other bot paint elements to prevent overlap
* Slow down multiple bot loading.
* Copy hashes.properties from the jar to assets folder (if missing)
* Fix fatigue alignment in the client
Clean up autologin code
* This implementation uses timers (checking system time) instead of controller.sleep() which may have been causing bugs for very long sleep times when client could not connect. This is also much cleaner and safer in edge cases. Waiting for autologin time has been slightly shortened.
download a consistently named zip archive from the gitlab build artifacts. We need to download the named release artifact (contains pre-compiled jar from gitlab ci/cd) This goes along with an idlersc merged change that releases a consistently named artifact
Spotless apply
This will solve missing assets on release tasks or when running the jar solo without any other resources in the dir. Ideally Idle jar is self sufficient and can extract any assets it needs on the fly without worrying about missing dependencies if the jar is moved or something is deleted.
DEFINITELY NOT MERGE-READY. STILL HAS TEST VARIABLES!
-- Implemented Stormy's ocrlib from the APOS Repository: https://gitlab.com/open-runescape-classic/APOS.
-- Now falls back to ocrlib if remote url is empty, invalid, or after 3 solve attempts if local-ocr is not enabled.
Setting a remote OCR url is currently not possible
-- Account settings panel has no remote url text box.
-- Account properties needs an entry for remote ocr url.
I'd eventually like to get this to where it doesn't require writing the sleep data to a .bmp image but it works for now.
ImageIcons
* use Utils.getImage() to get image for launching client from the already compiled jar
* apply gradle fixes to achieve this
* in /resources/res/res/ needs the heirachy for when build gradle copies resources folder to root of idlersc (so /res ends up in /res folder)
Client fixes
* set default position to center when no account is used.
NoBank Tav Chaos
* More bug fixes
Gradle build
* add Idlersc/Cache folder delete to gradle clean task now that cache autogenerates with client launch
* include scripts in gradle release.
Client
* Update client (it added these resources)
* move helper scripts to /scripts folder (less confusing)
* Fix git ignore for helper scripts to ignore only root folder copies of them (if moved to root)
No bank tav chaos
* more fixes
* we were comparing account name strings with .equals() but capitalization was causing issues. Any references were replaces with .equalsIgnoreCase() This was causing the issues I had.
* Update helped scripts
EntryFrame
* use size setting method and clean up values
Cli Parsing
* remove redundant calls to ParseResult/parse/etc
* Fix order of events
Add ipv4 prefer script
Clean up cli and add back elements
arrange
Branch fix
* allows people to set a predefined screen position for each client to go to when launched, on an account by account basis. Effectively allowing people to not have to reposition windows when starting bots.
* giving coordinates outside the screen bounds (in account settings) will be ignored and default to center of screen.
Add getRscFrameCenter method
* gives the Point to place components to have them appear in the center of the rscFrame client window. Used to center scriptFrames
Helper Scripts
* include -Djava.net.preferIPv4Stack=true property
(prevents some network errors)
Apos/Compatability
* some script cleanups (tried to merge from apos but its a mess)
* add compatibility method.
* todo look into improving compatibility layer
DrawCallback/MessageCallback
* Comment out log window auto-clearing. I do not think the original bug with log window is applicable anymore with new UI design.
AuthFrame
* Fix width issue with text fields
* shorten swap item name (they are functionally the same)
Main
* when showVersion or showHelp is toggled in it would stop the bot from opening. Now it will show info but also open bot.
* for logs about client changes use "IdleRSC: " header
ColeslawGuildFisher
* fix bug of bot getting stuck in a loop (client loop where you cannot cancel script) when starting/loading script in the wrong location. Use a switch statement with default case (and case overrun from sharks case) so without any fishfield value it defaults to 0 case.
Mudclient
* fix Kills and Last NPC Kills screen location.
* this was done in mudclient so changes will get replaced when using the script
* update y2 in scripts that had screen elements overlapping new kills count location
K_KailaScript
* Add standard combat loop method (replace in scripts after some testing). I love abstraction
* When dropping items, sleep until the inventory count is the right amount.
* shorten crafting guild door sleeps
K_Nobank_TavChaos
* Introduce v1 of UIM herblaw script. This is an early release, but it seems to be running right now. Needs some bug fixes