Author Topic: Sliem quester - ter mur (FASTEST way to queens forge access)  (Read 24225 times)

0 Members and 1 Guest are viewing this topic.

Offline Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #30 on: August 07, 2010, 03:12:23 PM »
0
Note:  For this script to work you must be using the new targeting system.  Click options. Click the mouse in the top right of the options menu.  Make sure there is not a check mark beside "Disable New Targeting System."

Baldie - HERE is a little snippit sub I wrote to take care of this.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #31 on: August 07, 2010, 08:43:31 PM »
0
Thanks C. Incorporated. Will post a release version once I get it a little more consistent. having issues with loot handling.

Offline Cerveza

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #32 on: August 08, 2010, 04:55:55 AM »
0
What's the count on resources to get from 2k to 10k? It's not listed in the first post.

It'd be really helpful to people knowing what to have ready.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #33 on: August 08, 2010, 02:45:33 PM »
0
script calculates for you  ;D

I had the human requirements in there. Modified post to include gargoyle.
Quote
You will need 1 crystalline blackrock and 2 perfect emerald per quest.
You get a bonus 2K for being gargoyle from start, so you only need 8K. Gargoyles will need 107 CBR and 214 PE to reach 10K loyalty.
If you used a token, same rules apply as for humans.
If human, you will need 134 crystalline and 268 perfect emeralds (see above on mining in Ter Mur).

Offline Dude1598

  • Jr. Member
  • **
  • Posts: 56
  • Activity:
    0%
  • Reputation Power: 0
  • Dude1598 has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #34 on: August 09, 2010, 07:07:43 AM »
0
Code: [Select]
; ignore essence in bag if restarting
Finditem %essence C_ , %lootbag
repeat
if findkind <> -1
   ignoreitem #findid 1 ; sets ignore list 1
until findkind = -1
if %debug = true
  menu set EUOlabel24 Lootbag clean up complete

When I play the script it holds up in this sub and just keeps repeating it self

Scrripty

  • Guest
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #35 on: August 09, 2010, 08:16:20 AM »
0
You're missing a # symbol on the both findkind variables.  It should be #FINDKIND

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #36 on: August 09, 2010, 09:02:35 AM »
0
 :-[ thanks Twinkle McNugget. caught those. I will upload the current beast and get some more timely input. Been trying to get it all on my own. Might be a bit, work schedule changed for the week. Working nights. Getting ready for work now. booo

New version uploaded
« Last Edit: August 09, 2010, 10:11:05 AM by baldielocks »

Offline Dude1598

  • Jr. Member
  • **
  • Posts: 56
  • Activity:
    0%
  • Reputation Power: 0
  • Dude1598 has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #37 on: August 10, 2010, 06:52:33 AM »
0
Code: [Select]
sub Toggle_Quest_item
  ; %1 is #charid
  namespace push
  namespace local Toggle_Quest_item
  exevent popup %1
  if %questfix = #false
  {
    gosub gumpwait 177_150 normal_gump
    gosub OffsetClick 75 125 ; mark quest item
  }
  if %questfix = #true
  {
    gosub gumpwait 177_168 normal_gump
    gosub OffsetClick 47 149 ; mark quest item
  }
  gosub selectitem %item1
  gosub selectitem %item2
  Key Esc
  if %debug = #true
    menu set EUOlabel24 quest items toggled
  gosub menurefresh
  if #menubutton <> Running
    gosub pause
  namespace pop
return

When playing the script it does not select the "Toggle Quest Item" when it brings up the menu. I am using the 1.2 version

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #38 on: August 10, 2010, 11:10:30 AM »
0
what is the cont size of your context pop up?
If you can't capture it, use this
Code: [Select]
exevent popup #charid
halt
I could also use the click location for toggling quest items.

Offline Dude1598

  • Jr. Member
  • **
  • Posts: 56
  • Activity:
    0%
  • Reputation Power: 0
  • Dude1598 has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #39 on: August 10, 2010, 11:36:55 AM »
0
its going to be 177_204

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #40 on: August 10, 2010, 02:54:24 PM »
0
okay, this makes no sense. Three different cont sizes? That means you also have different click locations. Not a lot I can do to fix that from here, unless you know how to get click locations. If you use this tool from trailmyx http://www.scriptuo.com/index.php?topic=505.0, you can get your click location for the quest toggle.

then past this in
Code: [Select]
exevent popup %1
  if %questfix = #false
  {
    gosub gumpwait 177_204 normal_gump
    gosub OffsetClick XX_XXX ; your quest location here, from the tool

when you use the item finder and hit F1 with the cursor over the Quest Toggle, you will get the WHOLE line (gosub offsetclick XX_XXX).
Paste that in as well. That should fix it.

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #41 on: August 10, 2010, 11:50:26 PM »
0
Dude, what is your client res out? Trying to figger out why we now have 3 different gump sizes. ???

Offline Dude1598

  • Jr. Member
  • **
  • Posts: 56
  • Activity:
    0%
  • Reputation Power: 0
  • Dude1598 has no influence.
  • Respect: +5
  • Referrals: 0
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #42 on: August 11, 2010, 11:04:05 AM »
0
I figure the menu issue out. I had "Quest Conversation" in the menu so I cancelled that quest and now it targets the quest item.

This is what I have now in my menu:

Open Paperdoll
Open titles menu
Loyalty Rating
Open Backpack
Open Item Insurance
Toggle Item Insurance
Toggle Quest Item


Now after playing the script there is a little hold up on dragging the essence. It looks like it will drop it in you loot bag but it doesnt
Code: [Select]
sub loot_handling
  ignoreitem %lootbag
  finditem %questbox C_ , #backpackid
  set %trashbox #findid
  set #lobjectid %trashbox
  event macro 17 0
  wait 20
  finditem %essence C_ , %trashbox
  if #Findkind <> -1
  {
    set %reward #findid
    gosub movestuff %reward %lootbag
    event macro 17 0
    gosub essence_counter
    wait 20
    gosub check_ground %questbox %questbox %trashbox 100
    event macro 8 7
    wait 20
    ignoreitem #lliftedid
  }
  exevent dropc #backpackid ;ensures nothing is on cursor
  set %endtime #scnt
  set %questtime ( ( ( %endtime - %starttime ) % 3600 ) )
  menu set EUOlabel8 %questtime
  menu set EUOlabel7 %questcount
  if %loyalty >= 10000
  {
    menu delete EUOLabel13
    menu delete EUOLabel14
    menu deleteEUOLabel15
    menu delete EUOLabel16
    menu delete EUOLabel17

    menu delete EUOEdit1
    menu delete EUOEdit2
    menu delete EUOEdit3
    menu delete EUOEdit4
    menu delete EUOEdit5

    menu text EUOLabel25
    menu text EUOLabel26
    menu text EUOLabel27
    menu text EUOLabel28
    wait 5
    menu text EUOLabel28
    wait 5
    menu text EUOLabel28
  }
  if %debug = #true
    menu set EUOlabel24 looting done
  gosub menurefresh
  if #menubutton <> Running
    gosub pause
  ignoreitem reset %lootbag
return
« Last Edit: August 11, 2010, 11:27:49 AM by Dude1598 »

Offline baldielocksTopic starter

  • Sr. Member
  • *
  • Posts: 301
  • Activity:
    0%
  • Reputation Power: 4
  • baldielocks has no influence.
  • Gender: Male
  • Respect: +11
  • Referrals: 5
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #43 on: February 25, 2020, 01:48:53 PM »
0
Well, with my return, I find myself having to make an imbuer again, so I thought I would complete this project.... after 10 Years!

The problem that kept coming up in beta was the cont size of the context menu. And it has changed even more since then. So I am trying to figure out ways to handle the ever changing location of the toggle quest item option.

First, I thought I could just start at the top, count down spaces, and click option until cursor was #true. BUT this would also open the store, which would be inconvenient.

Then I thought I could go up and down from the "normal location", but again, the store.

So I hit on the idea of having the user record location. Then, if they use the script again, and location changes, I can check for cursor #true, and go up and down. If the user is standing in a house, the eject option pushes quest toggle up. Quest conversation pushes it down. And other instances. I wanted full auto, but a baldguy cant have his hair and eat it too.


Any thoughts?  More efficient ways?

Offline Gaderian

  • Elite
  • *
  • *
  • Posts: 486
  • Activity:
    0%
  • Reputation Power: 10
  • Gaderian barely matters.Gaderian barely matters.
  • Respect: +50
  • Referrals: 3
    • View Profile
Re: Sliem quester - ter mur (FASTEST way to queens forge access)
« Reply #44 on: February 25, 2020, 05:32:34 PM »
0
if you really want to create a flexible tool, you would need to do some sort of OCR like testing to pull apart the text. Pixel testing would have to be very flexible because of the background of the context menu changes as you move through the world or the size changes for more options.

I couldn't get this script to work reliably several years ago. I made the version pause for me to move push through the "set quest" item logic manually.

Gaderian
"Go ahead ask me: 'Should I use hard waits or timers?'"
You say:"Should I"
Gaderian:"Timers!"
You Say:"use hard waits or timers?"

The serious side of timer use is illustrated here: http://www.scriptuo.com/index.php?topic=12094.msg101926#msg101926

However, every time I go back and look at this [AutoLooter] script, I realize I had wrote it in my zen state of EUO scripting - so it makes my brain hurt.

Tags: