Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - quammibox

Pages: [1]
1
Character skill advancement / Re: Gaderian's Remove Trap trainer
« on: November 14, 2020, 09:54:44 PM »
So with that much stuff open on your computer, had you minimized the UO Client?


i did minimize briefly (literally 1.5 seconds) but that was not an issue - I recall watching it look in the first three boxes for like 15 minutes. that's when i stopped it, finished the puzzle by hand and restarted it .

2
Character skill advancement / Re: Gaderian's Remove Trap trainer
« on: November 14, 2020, 04:16:29 PM »
You need to describe what it does.

You can't imagine how many hours I have watched this script run, but I have trained about 4-5 characters with it that retained the skill. I have retrained a character on test center probably a dozen times to test issues. I have probably watched this run (not to count programming and debugging) for 200 hours or more.

Issues I have witnessed (some fixed in the script, so may not happen to everyone else):
1) kalocr.txt not in the correct folder (kalocr.txt belongs in the same folder/subdirectory as your Easyuo.EXE program)
2) game gump moving off screen
3) the slots not assigned the color (this is a lag issue where the click is actually dropped)
4) bad kalocr.txt version (this was out there from the late fall 2019 to winter 2020 - I have removed all the bad kalocr.txt versions. So if your kalocr is version 6.10 or higher then it is fine.)
5) the character reaches it's skill point limit of 700 or 720 and now the puzzles are solved but no gains (Admit it, I am not the only one that has done this - you have too!  :-[ )

These puzzles are solving the classic game "Mastermind". Here is the basic logic in 2.1:
Phase 1:
If the puzzle is reset or purchased new so the puzzle starts with no saved colors from the previous attempt:
-Start by using 2 slots for each color
-Cycle through the colors
-Set how many slots we have used as the 'highest used', but reset to 2 if no color matches (because the left over colors in other slots do not give false-positive results)
-keep cycling until either 5 colors have been accounted for or all but the last color have been tried (assume any remaining part of the count is that last color - an optimization)
-keep track of the last color without a match (this is sometimes the last color tried, when the untested color has the assumed matches remaining - it was supposed to be an optimization, but I did not take advantage of it fully to skip over resetting the same color on the slots)
-If correct and wrong slots add up to how many slots we used, then increase the slots to use by 1.
continue that cycle until we know the colors and how many for each.

Phase 2:
-set all 5 slots to a non-used color up to the high used mark
-for each color, set the next available slot with the color to test if it is placed correctly
-once all 5 have been set, the puzzle will reset to fresh

If the puzzle is not solved with the solution at the end of Phase 2:
-use a routine to find a non-used color and set all 5 slots to this color, then go back to Phase 1


That is everything that must happen in the version 2.1. If at any time a residual color is left from a previous step, then you ARE experiencing lag. It means the click to set the color was dropped on the Internet and you will not get accurate results. All the script's logic to solve the puzzle is invalid when that happens. It is not a scripting problem. Since I can't watch it on your computer, you have to be able to evaluate this yourself.

Now let's say that you are experiencing this 'lag', it is not an insult or excuse. I had it happen to me, too. This is the reason the version 2.1 exists. My simple solution was to repeat the click loop attempt a number of times. The assumption is that you are getting enough traffic through for the connection not to drop completely, so you may be able to solve puzzles when the network traffic works. We already know that this works to solve the puzzles, we just have to overcome these "dropped" packets.

You can increase how many attempts it makes to click by adjusting this variable near the top of the script, immediately after the commented header:
Code: easyuo
  1. set %HowManyAttemptsToSet 1 ; If you are experiencing internet issues, you can set this to more than 1

Setting it to 2 means it will repeat the click operation to set the color slot 2 times, 3 = repeat 3 times, etc. It is very direct.

I have thought about this for a long time and how to make it more resilient. Here is my unimplemented idea:
After the script clicks to select the color for each slot:
-insert a test that the color is what I expect and repeat this click/check until it passes. (There is the concept for the improvement: If someone wanted to post the update here in this thread, I wouldn't be offended and would link to it in the header as long as it is posted here in the thread.)

Before I would consider making a new version of this, you should run the Basic version. It is much slower. There is probably no optimizations in any of the logic. There are 2x-3x more clicks to solve each puzzle. It is much easier to follow and exposes missed clicks (internet lag/dropped packets) because it sets all 5 slots to each color. If a slot does not get the same color as the rest of the turn, then clearly clicks are being dropped. However it also solves the puzzles without requiring the player to click and think - which is the goal to this training script.

Training scripts like this one are essentially disposable. Once the skill is trained, we do not go back to use it, unless for a different character/account.
Contrast training with scripts used for playing, like a healer or loot script that we use again and again. Optimizations here are much more useful!

I did the optimized version when I was out of work recuperating from surgery and I wanted something to do. I was bored. It worked and I have shared it because it is useful. The basic one works, too, it just takes longer.

So give that original version a shot and let me know how it performed for you. Pay attention to the colors being set as it investigates and solves the puzzle.

Gaderian


OK, first off - thank you for being so responsive and thorough. I feel bad for having the issue but i looked at your previous response where you spoke about lag spikes and such, and even though it did not appear to me that i was lagging at all - i did shut off about 20 things running on my computer and all my browsers and such. When I did that, I immediately began solving puzzles. In fact, I gm'd it a lot faster than expected. I did nothing to the script, i just closed mt status bar, skill menu and shut down everything but UO and EasyUO - it ran flawlessly after that - with just one hiccup where it got caught in a loop of sorts. when that happened, I just finished the puzzle by hand - restarted on a fresh puzzle and it ran smooth the rest of the time.

Thank you for your Script and for your continued support!  :angel:

3
Character skill advancement / Re: Gaderian\'s Remove Trap trainer
« on: November 13, 2020, 08:51:11 PM »
No, the puzzle does not solve - im not sure what to edit - but i am not really experiencing any lag. and it flew through to 77.

any suggested edits?


Post Merge: November 13, 2020, 08:56:19 PM
Can you describe what happens?
Does it solve puzzles? I expect that it does not.

Since it gained to 77, your setup must be correct.
I suspect internet lag/packet loss. How many retry attempts have you set? There is a variable that controls this feature

Gaderian


I am now at 80.9  - did 77 to 80.9 by hand  - Im curious what the time to complete one puzzle is - at this level. Like after 5 minutes should i reset it?

4
Character skill advancement / Re: Gaderian's Remove Trap trainer
« on: November 13, 2020, 02:13:59 PM »
nice to see this post today, as this is my first time trying the script. it got me to 77.5 from 32 in a couple of hours. have been at 77.5 for about 3 hours now without a single gain using Version 2 and the Kalcor above.

superior script - just ran into a road block or something. not knowledgeable enough to know why.

5
I spent a little bit more time on the buttons.  Here's a version where I think I got everything.  This script is so huge and dynamic that it's still possible I missed one or 2.

Thank you! I will check it out and try and give some feedback :)

6
Fantastic, Thank you!

7
I was wondering about the "Text field" I was actually looking to see if i could find a way to identify and loot items based on their level of artifact ie. loot only legendary artifacts. So far everything looks pretty easy to use, i just do not have the understanding at this level to know if the "text, text, text" field is where i might isolate those items.

I can not imagine how much work went into this - I have been using a looter from 2004 that I had to rework to add all the the SA items into and that was hours by itself.

Thank you!

Keep it simple if you could - I am not an expert by any means :)

8
New member introductions / Re: Returning to UO after 15 years
« on: November 08, 2020, 06:27:56 AM »
Thank you kind Admin!

9
New member introductions / Re: Returning to UO after 15 years
« on: November 08, 2020, 06:03:25 AM »
OH ok! I didn't know there was a word requirement lol - I got my masters in Human Resources back in 2017 and I was glad to stop shooting for a page requirement! haha! You know Goonies, where the chubby kid starts telling his life story to the gangsters? That's about how this is gonna turn out. :)


My UO life is pretty much spent trying to figure out things that have happened since 2005 on the OSI shards. When I first decided to come back i played Renaissance but I really missed out on some of the luxury items that came after the Renaissance expansion -like beetles for my crafter and such.  Then I heard about the free OSI accounts and gave it a whirl. It was absolutely shocking! Everything was priced by the million, the boats were huge and characters were flying around! I have only been back a few weeks - but i have the distinct disadvantage of having left and a very well established player. When I left UO I had an 18x18 outside of Luna walls and all my Toons were max scrolled out and fully geared. Returning as a broke fresh account lacked something majorly! If i were a newb just discovering the game it would be different but I really want to be able to continue where left off  and explore all the new stuff from the 15 years i missed.

When I started playing OSI again, i instantly noticed that item properties were a lot more powerful all around and the loot was so high end that i was able to quickly assemble a 100% LRC suit by simply picking up trash. All of the old content was easily manageable but the new content was not. That led me to join a guild where I have been lucky to have a lot of people help fill in the gap on simple things like " what is imbuing and reforging and how does it work?".

Right now I have a 5x GM crafter with 116 smithy and 105 imbuing, an archer/mage bard - a fisherman and a Sampire (kind of) i just discovered the Abyss dungeon so im messing around with that and doing some Fabled nets from time to time. My UO life is really just a bunch of reading and dying at the Moment - but at least im putting myself out there! The players in 2020 are a lot more approachable and generally less "douchey" than back in 2004 - 2005. I hope to continue to see that trend here!

As for me, Im a 40+ guy with a bunch of kids who works in HR  (Recruiting specifically) - So i may not be able to write a full script but I can probably give you some advice on a resume and Interview. So my doctor tells me I wont survive Covid if i get it. I smoked for 25 years (quit 2 years ago) but the damage to my lungs puts me on the high danger list (no cancer, just diminished capacity).... So I am home for a while - with 4 kids - 1 in college. UO Is a happy escape for me! Im a little frustrated with UO 3rd party apps, which is why i went back to EasyUO. UOAssist doesn't work for me for some reason, Razor is just kinda foreign to me too.

Thats all i got. Im not terribly exciting  ;)

10
New member introductions / Returning to UO after 15 years
« on: November 07, 2020, 04:41:20 PM »
Greetings!

This looks like a great resource to learn some new things and maybe remember some old things too! I played from about 2001 to 2005 on OSI servers and at the time I left, I was using EasyUO for a range of things from tedious tasks to picking up loot on the floor of an IDOC. I used to be pretty good at tweaking scripts but i never really learned how to fully write one from scratch. I have a deep admiration for people who tool the time to put together scripts and especially now when UO is older and often forgotten about.

I look forward to seeing if there is some content here that might help me et back into it a little. Covid is the perfect excuse to come back to sosoria and EasyUO!

Thanks!

Pages: [1]