Official ScriptUO EasyUO Scripts > Character skill advancement

Gaderian's Remove Trap trainer

(1/7) > >>

Gaderian:
No one has a modern Remove Trap training script here, so I am cross posting mine from the other site. Someone may benefit from it.


--- Code: ---;==================================================
; Script Name: Remove Trap Cylinder Training
; Author: Gaderian
; Version: 2.10
; Client Tested with: 7.0.85.15
; EUO version tested with: 1.60 ver. 335
; Shard OSI
; Revision Date: 06/16/20
; Public Release: 07/03/19
; Cylinder Trap Kits are available for purchase from the Oddities Trader at the Lycaeum.
; Start Script up to GM
; Credits to TM's journal scan, Onkelatze for kit open, wait and click routines
;
; version 1.0 7/3/2019 initial cylinder trap trainer
; version 2.0 12/21/19 significant speed enhancement:
;                        *version 1.0 average solve time per puzzle about 100 seconds
;                        *version 2.0 average solve time per puzzle 35-45 seconds
;                                 Note:average < 2 minutes on an initial reset of a partially solved puzzle
;                                      which could also apply to suffering very poor internet connection
;                     - only tests 7 colors - calculates 8th
;                     - only tests 2 to as many slots as needed to determine count
;                     - resets on partially solved puzzle (should improve any lag issues; fixes restarts)
;                     known issue: a puzzle with all 5 slots the same color may break the script, but with the
;                                  current reset it may continue. It can happen 1/32,768 puzzles - so too rare to test.
;                                  The work around if it doesn't self correct is to stop and restart the script.
;                                  If you encounter that, it is more rare than a Blaze Cu Sidhe - consider yourself
;                                  privileged. :)
; version 2.1 6/16/2020 added number of attempts to set each box to assist lag correction
;                       much slower than without it, but can cleanup the testing when the internet isn't playing nice ;)
;==================================================
--- End code ---



This was inspired from work from Onkelatze's Remove Trap Circuit trainer. Along with The Ghost, the 3 of us tried to extend his original script to train above 75 skill. The solution finder script I had created gets too slow to work through all the possibilities, so I was searching for another way to train through a script. This was my solution.

I used it to train from 75 to 100.0. While this could train from 0 - GM, I recommend Onkelatze's script to get you to 75, because that is so much quicker than this method. I did test this to rerun it on another character from low levels successfully. I recommend buying up the skill to what is possible though to push it along - if your shard allows it (non-Siege ruleset).

The requirements are to have one of the Cylinder traps (purchase at the Lycaeum from the Oddities Trader) in the top of your backpack with your backpack open (the script does none of that for you. Press play.

I was working on streamlining some of the conditions to make it a little quicker, but ran into some weird states where it would get stuck never completing the puzzle. So I went back to this (the original) and it has been chugging along.

The script works through investigating the trap for clues and then assembles the answer.

I am uncertain how it would behave if a trap's solution was all the same color. It may choke on that or it may reset. If it chokes on it, then it would require stopping and restarting the script. The rarity of that happening though is 1/32768. That would happen approximately once in 800 hours. I am reaching GM in roughly 36-40 hours from 75 skill. So maybe every 20 characters that train might see it happen once. If it gets into a bad cycle... stop/restart works. ;) I did not experience the situation, but walked through the logic to predict what would happen.

Those hour calculations apply to Version 1 of the script.
Version 2 runs in about 1/3 the time. So 75-GM should take about 13-16 hours. The estimate for the 800 hour occurrence gets reduced to 320 hours.

Please give any feedback or success postings.

In order for this to function, it also requires the latest (ver 6.6 or higher) of KalOCR.txt which can be found here:
http://www.easyuo.com/forum/viewtopic.php?f=3&t=53735&p=434545#p434545
Alternatively, here is a non-maintained version of the KalOCR.txt script below that can be used (maybe someone wouldn't be able to access the other one, so I am including it here).

7/11/2020 I added the version 2.1 of the Remove Trap script and version 6.10 of kalOCR here.
The major difference from 2.0 to 2.1 was adding how many attempts it would go through the click settings - because with recent internet congestion while we live in Global Pandemic mode was causing clicks to be missed. In the script it is set to 1 which runs pretty much like 2.0 did, but if you find your clicks are being missed you can increase the number and it will repeat it's attempts to click and can cleanup some behavior to leave this as AFK as possible.

All the versions of the script use pixel scans to do OCR - so you can't run it minimized. If you run into problems, that is the first thing I would verify.

Gaderian

The Ghost:
This little build, do work pretty good,    easy to setup and to use. 

Thx for sharing this over here.

gimlet:
Thanks!

Endless Night:
Congratulations your Script has been moved to the Script library
(If you feel the script is in the wrong section please send me a pm.)

Thank you for your submission.

Gaderian:
Updated download with a faster version.

Gaderian

Navigation

[0] Message Index

[#] Next page

Go to full version