ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Questing => Topic started by: said3 on May 20, 2013, 09:11:43 AM

Title: said3 Heartwood trinket weaver quester
Post by: said3 on May 20, 2013, 09:11:43 AM
Well first of all, i want to thank everybody in this forum for doing this awesome web possible. Second i want to thank TrailMyx and Crome because all the stuff they did here made this quester possible, i learned a lot from you two guys.

So here i go, this is my first released script and hope i continue doing stuff like this. I've been asked to do this on my server by some guildmates and i just wanted to share it here, because i think its updated to the last patch and can work everywhere.

I have to thank Crome again, because i used his Crome's heartwood quester as a base for doing this script, so i hope you don't mind on what i did here, if u have any issue with it i will just delete this post (really hope you don't =))

So here is the deal, you will need Kalocr on the same folder as you save this script, because i call it on one sub to read the quest title and accept it. The script is set to do Neccesity's Mother quest as i wanted to farm Scrapper's compendium and Pendant of the magi recipes.

Its so easy you just need a lot of iron on your backpack a couple of tinker tool's and also you have to do A TINKER TOOL BEFORE YOU RUN THE SCRIPT this is very important because i use make last for crafting.

You can use a beetle also, all you have to do is follow the setup and when it says target your runic tool box target the beetle.

The script will save talismans and rare recipes.

So i hope you can give me a good feedback and also if u have any ideas on how to improve it, just say it! I' will try to add it. Good luck guys.
Title: Re: said3 Heartwood trinket weaver quester
Post by: Crome969 on May 20, 2013, 10:24:16 AM
Good Job Said3,
i dont mind if you use my scripts or learn and evolve them. Iam out of the euox scene, my easyuo scripts also mere some corpses back from that time.
Title: Re: said3 Heartwood trinket weaver quester
Post by: said3 on May 20, 2013, 11:08:35 AM
Im not able to learn stealth or other scripting languages at this moment, so i just wanna share my poor knowledge with those guys who doesn't know yet how to use easyuo properly, as all of u did with us when we didnt know how to script not even a single lane of code =) thx crome
Title: Re: said3 Heartwood trinket weaver quester
Post by: Komejabon on July 07, 2013, 04:03:13 PM

Hi how are you? i want it to let you know that i tried this script and it is FANTANSTIC!! AMAZING!! i finally get my Scrapper's Compendium recipe :)
thank you said3 and to Crome969 !! :)
Title: Re: said3 Heartwood trinket weaver quester
Post by: Endless Night on October 09, 2013, 05:43:12 AM
Congratulations your Script has been moved to Script library
(If you feel the script is in the wrong section please send me a pm.)

Thank you for your submission.
Title: Re: said3 Heartwood trinket weaver quester
Post by: said3 on October 13, 2013, 01:55:19 PM
I've been out of business for a while, im glad that you accepted my script and use it, i hope it helps u all with those quest.
Title: Re: said3 Heartwood trinket weaver quester
Post by: brokensaber on April 14, 2014, 01:19:55 PM
This just runs through the quests and doesn't select anything.
Title: Re: said3 Heartwood trinket weaver quester
Post by: said3 on July 20, 2014, 04:06:13 PM
Could you be more specific please? So i can try to help you fix it.
Title: Re: said3 Heartwood trinket weaver quester
Post by: TomAlek on August 20, 2014, 05:48:46 PM
I have no idea if ure still visitting forums, and I have no idea why the previous guy was so ignorant but yeah, he was right. This script just keeps switching between quest windows. How can I explain it, everything goes right - it teleports to Yew, goes to Heartwood Quest Givers and...switches between quest windows. It doesn't accept a quest or anything. UODemise shard. I am a real beginner but I'll be following this topic, hope I can get some help :)
Title: Re: said3 Heartwood trinket weaver quester
Post by: said3 on October 23, 2014, 01:33:25 PM
It's probably the gump, let me check it out by myself, and i will come with an answer soon, probably before this weekend, i'm busy with a lot of stuff that i dont even play, but i will try to keep providing support to my macros.

Edit: I'm an amateur scripter and i was figuring out what was happening on demise, the problem is when you use my macro, the last gump opened is the npc's paperdoll, so that's why it keeps running and running in circles and calling for quest without accepting it, at this point of my knowledge i have no clue on how to fix that, so i'm really sorry that i can't fix it. Good luck finding a solution i have no time for it. Thanks by the way for using this script.
Title: Re: said3 Heartwood trinket weaver quester
Post by: KyxaMaHepka on March 01, 2015, 03:04:06 PM
...
...the last gump opened is the npc's paperdoll, so that's why it keeps running and running in circles and calling for quest without accepting it...

Well, you may wish to close that paperdoll then...
The #contname for the quest gump type is generic_gump, so while you see anything else as the top-most gump you should not evaluate it.

Your new Sub Target_NPC should look something like:

Code: [Select]
Sub Target_NPC
Target_NPC:
Finditem %NPCQUESTER G_18
if #findkind <> -1
{
set #lobjectid %NPCQUESTER
event macro 17 0
wait 15
until #contname = generic_gump
do {
set %badgumpx #contposx + 50
set %badgumpy #contposy + 50
click %badgumpx %badgumpy r
wait 15
}
Return
}
Return


I'm unable to test on that shard, though...

-k.
Title: Re: said3 Heartwood trinket weaver quester
Post by: said3 on March 03, 2015, 01:07:03 PM
Thx for posting it, i will see if i can change my macro, it is so obsolete now and i found ways more productive to script this kind of macro, maybe i just upload a completely new version, right now i'm so busy in real life that i dont know if i'll be able to do so.
Title: Re: said3 Heartwood trinket weaver quester
Post by: Crome969 on March 04, 2015, 01:44:02 AM
Thx for posting it, i will see if i can change my macro, it is so obsolete now and i found ways more productive to script this kind of macro, maybe i just upload a completely new version, right now i'm so busy in real life that i dont know if i'll be able to do so.
and the spare time you have left, i keep ya busy :P
Title: Re: said3 Heartwood trinket weaver quester
Post by: said3 on March 07, 2015, 12:31:58 AM
Thx for posting it, i will see if i can change my macro, it is so obsolete now and i found ways more productive to script this kind of macro, maybe i just upload a completely new version, right now i'm so busy in real life that i dont know if i'll be able to do so.
and the spare time you have left, i keep ya busy :P
B*tch :D
Title: Re: said3 Heartwood trinket weaver quester
Post by: gruntman on August 22, 2015, 04:50:39 PM
Anyone take over supporting this script?
Title: Re: said3 Heartwood trinket weaver quester
Post by: Crome969 on August 22, 2015, 10:53:24 PM
Why someone need to takeover? Said3 is still alive and kicking :)
Title: Re: said3 Heartwood trinket weaver quester
Post by: gruntman on October 15, 2015, 06:50:16 PM
totally forgot I posted that Crome and when I did I used improper verbiage   :)
figured out some of it on my own thanks though!!!!!!!!
Title: Re: said3 Heartwood trinket weaver quester
Post by: said3 on October 22, 2015, 11:46:07 AM
I will try to give some support now that i have more time, feel free to ask.
Title: Re: said3 Heartwood trinket weaver quester
Post by: facudom on March 14, 2016, 07:17:29 AM
any update on this? D:
Title: Re: said3 Heartwood trinket weaver quester
Post by: wx1x on September 30, 2016, 09:56:04 AM
thank you man this helps alot but can I ask where the "Kalocr.txt" file is for downloading?
Title: Re: said3 Heartwood trinket weaver quester
Post by: said3 on February 16, 2017, 10:41:35 PM
I'm answering fairly late. Apologies for that...

Kalocr is a txt that you can download from easyuo.com, in their forums there is the txt that I refer to.
Title: Re: said3 Heartwood trinket weaver quester
Post by: Hrafn on May 23, 2017, 02:14:48 PM
Downloaded this script and added Kalocr from Easyuo, ran both client (osi) and easyuo in administrator mode. Went to Heartwood with ingots and tinkertools and startet script. It will still just circle through the available quests from Sleen and Waelian without selecting Necessity's Mother or producing any tinker tools....


Guess it's back to turning in beer taps manually to try to get the Scrappers recipie :(

I tried tinkering a bit with the script to get it to work, but it seems very broken. The fix descriped on the first page removes the Quest NPC gump and stops on the correct quest, so the Kalocr does recognize it. But then I have a hard time getting it to actually accpet the quest, tried using various x and y positions to get the script to accept the quest. Finally i tried accepting it manually, but the script doesnt recognize the tinker tools (even if i added JTL that the id of the tools in pack). After also selcting the tinker tool manually, the script just start massproducing tinker tools and thats whan i finally gave up... anyone around that could give a few pointers on how to fix this?
Title: Re: said3 Heartwood trinket weaver quester
Post by: Hrafn on June 01, 2017, 01:38:04 PM
I am still turning in beer taps an hour or two manually almost every evning....no scrapper recipie yet....

Does that cursed recipie really exist and is it really handed out from that vendor?

..or is it just a horrible myth...to torment a poor scribe...already mousy eyed from copying old scrolls an hunched from scribbling for endless hours only to be rewarded with a faster casting on a ordinary spellbook after hours of toil and sweat...

If someone with scripting competence would show mercy and sprinkle some wisdom on this script it would be like christmas/new year and Birthday - all in one package...

.... just saying....tu autem Domine miserere nobis... *sigh*
Title: Re: said3 Heartwood trinket weaver quester
Post by: The Ghost on June 01, 2017, 02:33:35 PM
Freeshard or OSI.     I did the tinker quest.   I find it faster, and use less supply.   u can make a small script to make and turn tinker, once u figure how to only have this one to pop up.
Title: Re: said3 Heartwood trinket weaver quester
Post by: Hrafn on June 01, 2017, 03:00:48 PM
I am playing on OSI not freeshard, but I am not able to create a script like that. Thats why I tried tweaking this one, but its hard when you dont know what half of the script do.

For this specific script, the part that identifies the correct quest seems to be working:
Code: [Select]
sub Toogle_Quest

call kalocr.txt getMLQInfo QuestOffer #contposx #contposy

if mother in %1
{
 set %clickx #contposx + 139
 set %clicky #contposy + 461
 click %clickx %clicky
 }
else
{
goto start
}
Return
after adjusting the contposx and contposy...
But from there on its not working at all...
Title: Re: said3 Heartwood trinket weaver quester
Post by: Hrafn on June 04, 2017, 10:46:42 AM
Sorry for naging on about this old and abandoned script, but i have made som slight progress just messing around with the cursor postions.

But I am totaly stuck on this part:
Code: [Select]
Sub Toogle_Quest_Items
exevent popup #charid
wait 10
set %Contsize #contsize
str mid %contsize 5 3
wait 10
set %Tooglex #contposx + 50
set %Toogley #contposy + #strres - 20
click %Tooglex %Toogley
wait 10
Return

As far as I understand this part tries to toggle on quest item from the Character menu, but is not working. It opens the character menu, but then nothing happens and I am not sure what going on here to try to change it. Is there a more up to date way of doing this and get the toggle? Seems like this is the last part that would actually make this somewhat semifunctional...


Nevermind! I got the Scrappers Recipie from manually handling in Beer Taps.....now I am going to stay far away from Heartwood for a looooooooong time...

Someone should remove this script and park it in the old,dead, unattended & forgotten section...so no other peep wastes hours trying to get the damn thing to work. Just saying...
Title: Re: said3 Heartwood trinket weaver quester
Post by: Crisis on June 04, 2017, 02:46:46 PM
UO changes so much you can't really put it in a dead section. Gump sizes change a lot and free servers many times have a lot of differences between them. Most times, it does not take much tweaking to get a script to work. I believe this was made for a free server as well which means it might still work great there but not on yours.

Tweaking scripts is also a great way to learn scripting. Why don't you keep working with it and see if you can fix it and then contact said3 and he can update it.
Title: Re: said3 Heartwood trinket weaver quester
Post by: The Ghost on June 04, 2017, 02:55:18 PM
Back in the day this way the bomb, but in 2009 OSI  change something and broke this OCR
call kalocr.txt getMLQInfo QuestOffer #contposx #contposy

You can do something like this.   
Code: [Select]
sub GetNewQuest
GetNewQuest:
Set #LObjectID %CrafterID
Set #LObjectType %CrafterType
Event Macro 17 0
wait 30
if #CONTNAME = generic_gump && #CONTSIZE = 507_436
 gosub offsetclick 130 400
Wait 20
return

If you are on OSI  TM have SUOQuester - ScriptUO Heartwood Quester.   The public version only have Carpentry and Bow.   
Title: Re: said3 Heartwood trinket weaver quester
Post by: said3 on June 04, 2017, 10:50:36 PM
If I am not mistaken I uploaded an updated version of my HW scripts in this site. For this one in particular, I stopped using Kalocr ( great stuff in the past) when I knew I could isolate quests and get only 1 from the npc.

If you modify the script and make it work I can always update this page if you want.

Cheers
Title: Re: said3 Heartwood trinket weaver quester
Post by: Hrafn on June 05, 2017, 11:04:34 AM
Crisis: Im not a good, not even moderate, scripter/prorgammer. But I have gotten around 18 old scripts to work since i came back to UO couple of months ago after several years of absence. This one, as I have stated in 3 posts above, is just beyond me, i dont understand how the quest system works. "Keep at it" doesnt really cut it, since ive spent quite a few hours on this after my wrists startet to act up from the HW turn ins, without making any progress.

TheGhost: Its very nice of you to try to help, but I wonder if your realize that your comment is about the only part of the script thats working, so not really actual helpful. ;)

said3: I didnt know you were still active on this site, since this script havent been updated. Its of course good to know that you have a MUCH better script somewhere, that works perfectly for you. Always pleasant to have it rubbed in really hard... :D


Anyways..I got the Scrappers recipie (the hard and manual way) and i can get the runics via bods in no time, so no need to ever do a HW quest again for my part...
Title: Re: said3 Heartwood trinket weaver quester
Post by: Crisis on June 05, 2017, 11:17:23 AM
Crisis: Im not a good, not even moderate, scripter/prorgammer. But I have gotten around 18 old scripts to work since i came back to UO couple of months ago after several years of absence. This one, as I have stated in 3 posts above, is just beyond me, i dont understand how the quest system works. "Keep at it" doesnt really cut it, since ive spent quite a few hours on this after my wrists startet to act up from the HW turn ins, without making any progress.

TheGhost: Its very nice of you to try to help, but I wonder if your realize that your comment is about the only part of the script thats working, so not really actual helpful. ;)

said3: I didnt know you were still active on this site, since this script havent been updated. Its of course good to know that you have a MUCH better script somewhere, that works perfectly for you. Always pleasant to have it rubbed in really hard... :D

Anyways..I got the Scrappers recipie (the hard and manual way) and i can get the runics via bods in no time, so no need to ever do a HW quest again for my part...

Most of us started out the same way that you are, working on scripts that don't work or you want to alter them more to fit your needs. As you go through them, you start to learn what they do. You will undoubtedly come across more older scripts that have errors. OSI has added many things which makes the button positions different or the gump a different size. I have done many things since I first looked at EUO and scripting. I am not a programmer and have no programming skills.You have no choice but to keep at it or not use the many different scripts out there. The UO population and scripting population has fallen off dramatically in the past 10 years so scripts don't generally get updated unless the author still plays or people get them to work. You may be able to hire a scripter to fox things but that is expensive and rarely happens. I would suggest to keep at it and ask questions about how things work. There are some great tutorials but for the most part you need to jump in and get your hands dirty. I work on my motorcycle the same way, I try and self-diagnose, abuse youtube how-to videos and ask for help when I get in too deep but I have saved a lot of money and have the satisfaction of doing it myself. I can same the same for me with EUO scripting, I have come a long way since I first started. EUO and this site will be what you make it.  :D

P.S. complaining to people who are giving advice and help isn't the best way to get started.
Title: Re: said3 Heartwood trinket weaver quester
Post by: Hrafn on June 05, 2017, 11:33:14 AM
Thank you for the heads-up Crisis! You are quite right and learning a bit more about how the scripts work and how to make them will probably pay dividends in the coming months. But my future efforts will be used in bod collecting and bod filling scripts, where I have a working setup, that could be fine tuned more.

Sorry also for my snotty comebacks, it was uncalled for and I apologize!
Title: Re: said3 Heartwood trinket weaver quester
Post by: said3 on June 05, 2017, 09:55:34 PM
My intention was not at all to brag about a better script, as Crisis mentioned, most of us started the same way. In my case while I was learning I was posting the things I was doing, that is why this script is so old and 'useless' at the minute. It is probably my first published script, but since then I learned a lot thanks to fixing scripts that i needed.
Title: Re: said3 Heartwood trinket weaver quester
Post by: Oracle on June 07, 2017, 12:21:37 PM
So this Script does not work anymore?  Any plans to update it?  Will it be moved to "dead" Scripts?
Title: Re: said3 Heartwood trinket weaver quester
Post by: rmalverdi on January 12, 2018, 09:36:10 AM
I need this script @_@ heheh ... this is count for the first post? ^^ heheh
Title: Re: said3 Heartwood trinket weaver quester
Post by: The Ghost on January 12, 2018, 09:44:18 AM
As my follow member Crisis mention multiple time.

I would expect someone to become a contributing member to a community . You will notice that you have a restricted title by your name. We have a requirement that must be met before someone can become a member. A lot of time and effort is put into a script before someone releases it to the public so they are not given out by someone who just joined and cannot even introduce themselves or read the site rules.  They would expect you to be an active member in the community.
Title: Re: said3 Heartwood trinket weaver quester
Post by: jorcap on April 29, 2020, 05:45:47 PM
thnx for the script
Title: Re: said3 Heartwood trinket weaver quester
Post by: Crisis on April 29, 2020, 08:03:19 PM
No one ever reads the important parts of websites or even the scripts pages. 1 post will not get your restriction removed, you will need to make a GOOD introduction. The post above yours stated that. This script also needs a lot of updating, just as the posts above yours state.
Title: Re: said3 Heartwood trinket weaver quester
Post by: nrigors on May 19, 2020, 04:25:29 PM
Thanks for the effort.
Title: Re: said3 Heartwood trinket weaver quester
Post by: Toymaker on July 10, 2020, 02:29:50 PM
Not sure if it  is broke or not. tried this today, it cycles through the quests but does not see the required quest. I do have the OCR file in the same directory and in the same directory as the main EZUO files. anyone able to verify it currently still works? just want to see if it is on my end that is an issue.
Title: Re: said3 Heartwood trinket weaver quester
Post by: gabrielo on November 21, 2020, 02:42:06 PM
Ok, I know this topic has been dead for a while, but I am trying to get this script adapted for use with the Beer Goggles quest, as the player crafted Tinker Tools are no longer accepted by the NPC for this quest.

It seems to stick on the OCR of finding the right quest.  I am using the latest version of kalocr.txt (6.11) in which the getMLQInfo function is supposedly working.  However the script simply misses the quest info and cycles through he quests.

Here is the sub:

Code: easyuo
  1. ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  2. sub Toogle_Quest
  3.  
  4. call kalocr.txt getMLQInfo QuestOffer #contposx #contposy
  5.  
  6. if goggles in %1
  7. {
  8.  set %clickx #contposx + 208
  9.  set %clicky #contposy + 487
  10.  click %clickx %clicky
  11.  }
  12. else
  13. {
  14. goto start
  15. }
  16. Return
  17. ;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Is anyone familiar with he OCR functions that would help e get the correct output please?  I think I can adapt the rest of the script ok.

Thanks.