76 Commits
Author SHA1 Message Date
Dan Ginovker 8e9ebdad44 Webwalking + AIO AIO improvements 2024-06-16 22:18:05 +00:00
Seatta 6135e1eff3 AIOQuester Release 2024-05-27 16:22:18 +00:00
Dan Ginovker c954bd3edd AIO AIO improvements #3 2024-03-18 17:01:51 +00:00
Dan Ginovker c099c16164 AIO AIO improvements, walkTo fixes 2024-03-06 16:49:58 +00:00
Ellie 49fa3b7a4f Fix walkTo for walking to current tile. Small fixes. 2024-02-27 15:50:12 +00:00
Ellie 00bfb1f290 Merge branch 'aioaioimprovements' into 'master'
Add mining to AIO AIO, add webwalking support for Dwarven Mine

See merge request open-runescape-classic/idlersc!98
2024-02-27 15:44:47 +00:00
Dan Ginovker fcde0079d7 Add mining to AIO AIO, add webwalking support for Dwarven Mine 2024-02-27 15:44:47 +00:00
Seatta dd03350402 Added script selector theming 2024-02-27 15:42:49 +00:00
Dan Ginovker c8b22ed3b3 Webwalker - Fix regression where it doesn't actually walk to the final destination x,y (if the x,y is not on the graph) 2024-02-21 04:37:41 +00:00
Ellie 2e7a45e182 Move around asset extractors and fix small bugs 2024-02-21 02:56:17 +00:00
Dan Ginovker a1ee28434c Add webwalker 2024-02-21 01:39:46 +00:00
Ellie 4544ae2879 Merge branch 'KailaBranch' into 'master'
Fixes for Batch bars, improvements in client, and custom Ui options/fixes

See merge request open-runescape-classic/idlersc!95
2024-02-20 18:38:17 +00:00
Ellie d97c467326 Fixes for Batch bars, improvements in client, and custom Ui options/fixes 2024-02-20 18:38:16 +00:00
Seatta ef71012b07 Merge branch 'controller-additions' into 'master' 2024-02-20 18:37:50 +00:00
Ellie bb64e09a7f Fix sleep callback circular recursion on coleslaw and fix asset generation 2024-02-19 19:54:21 +00:00
Ellie 05073450a1 Fix Several Memory Leaks - Pathwalker and SVM 2024-02-18 04:28:46 +00:00
Ellie a978d3dcb7 Merge branch 'toggle-3D' into 'master'
Add option to toggle rendering 3D

See merge request open-runescape-classic/idlersc!90
2024-02-17 23:42:51 +00:00
seditionist 6fa840d354 Add option to toggle rendering 3D 2024-02-17 23:42:51 +00:00
Dan Ginovker da431ad525 AIO AIO updates - Better GUI, Theiving Task 2024-02-17 23:30:30 +00:00
Dan Ginovker b1afc62268 Add AIO AIO 2024-02-13 19:22:22 +00:00
Ellie 074561a7d2 Fix major bugs with synchronization and sleep handling 2024-02-13 19:04:14 +00:00
Dan Ginovker eabac416d1 Various pathwalker fixes - Fix getting stuck near Tav gate going South, fix selected index being off when using filter, fix race condition where path takes longer than 1s to calculate 2024-02-10 02:59:08 +00:00
Ellie 65c4799dd0 Merge branch 'removegfxtogglefromtop' into 'master'
Improve PathWalker UX

See merge request open-runescape-classic/idlersc!85
2024-02-07 15:31:20 +00:00
Dan Ginovker b4418aec42 Improve PathWalker UX 2024-02-07 15:31:19 +00:00
Seatta 5f830c6890 Auctions! 2024-02-07 15:20:10 +00:00
Dan Ginovker c82e224a37 Super minor Woodcutter script code cleanup 2024-02-06 14:25:02 +00:00
seditionist 41481e7166 Fix setOCRType log messages and inconsistent fall back method
Update access modifiers for unnecessarily public methods
2024-02-05 15:13:47 -05:00
Kaila_Btw 1448d5f086 Small bug fixes
* 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.
2024-02-04 22:30:40 -05:00
seditionist 4c34e5db48 Solve sleep word from image hashes 2024-02-03 20:32:03 -05:00
Kaila_Btw a8e7bccd2a Fix Pathwalked not stopping bug
also change noBank_TavChaos numbers
2024-01-30 01:12:05 -05:00
Kaila_Btw 4bb02f3ad1 Update pipeline to fix launcher releases
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
2024-01-30 00:09:14 -05:00
Kaila_Btw 67783a5bdb Add sleep assets to jar and extract when missing
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.
2024-01-29 22:53:48 -05:00
seditionist a7405e7fc9 Update config settings to support OCR options 2024-01-28 05:53:40 +00:00
Seatta 0bf494e974 Updated 'update-from-core-repository' script and fixed default IdleScript paint. 2024-01-26 18:26:31 -06:00
seditionist 6ae7fcba2c Rework sleep work flow 2024-01-27 00:03:18 +00:00
Seatta b3f506d47c Initial StormyOCR commit
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.
2024-01-26 01:14:13 -06:00
Kaila_Btw b5a9d82ac8 Get ImageIcons from compiled jar and update gradle
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
2024-01-13 00:21:44 -05:00
Kaila_Btw 920dadaf60 Use File.Seperator
* use File.separator for file paths
 * not using this can cause issues on different types of systems as the separator is platform specific
 * See: https://www.digitalocean.com/community/tutorials/java-file-separator-separatorchar-pathseparator-pathseparatorchar
2024-01-12 23:36:28 -05:00
Seatta e3714441b3 Merge branch 'SeattaBranch' into 'Master' 2024-01-13 04:35:01 +00:00
Kaila_Btw 5b5292ef28 Update gradle build for new patch scripts
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
2024-01-12 11:22:13 -05:00
Kaila_Btw 36985f3de5 CLI and NoBank_Tav 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
2024-01-12 01:41:41 -05:00
Kaila_Btw 54c5963ef3 Fix CLI parser issues and clean up EntryFrame sizing
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
2024-01-11 14:31:37 -05:00
Kaila_Btw cc5527f2fb Spotless Apply and value fix
* fix sleep before login (800 not 8000)
2024-01-11 02:39:28 -05:00
Kaila_Btw 6c912c89a2 Use Main.getRscFrameCenter() to center script windows
* the windows when openings scripts will now center on the client
2024-01-11 02:37:17 -05:00
Kaila_Btw 550d344c28 Add client position setting for accounts
* 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)
2024-01-11 02:24:09 -05:00
Kaila_Btw a8edc4063d final set of fixes 2024-01-10 20:51:05 -05:00
Kaila_Btw 05ea505451 Bug fixes
* shorten craft guild entrance sleep
 * try to fix dropItemAmount method
 * huge fixes for noBank_TavChaos
2024-01-10 20:16:03 -05:00
Kaila_Btw 36c273cb25 Client Bugfixes and NoBank_TavChaos
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
2024-01-10 20:16:03 -05:00
Brian 9f75248d07 fix: CLI args, add: CLI args "--account" and "--auto-start" 2024-01-11 00:34:32 +00:00
Kaila_Btw eef73ce367 Always create cache directory 2024-01-08 15:03:46 -05:00