Alexandria Uptime: 100.71 Days
Total players online: 5



Take the Tour | Site Map

It is currently Thu Jul 18, 2019 9:47 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Quest Gump not delected
PostPosted: Sun Jul 07, 2019 7:44 pm 
Offline
Master Scripter
Master Scripter

Joined: 12/17/2008 13:13
Posts: 498

Groups:
I decide to go back to heartwood to get a few talisman by doing the quest. I notice that when I double click the quester to receive the quest, the container Info under Easy UO doesn't get update with the new open gump. The information remain on the NPC instead.

For now the gump open in the same location and I can force the click to focus on the quest gump, but it not 100% safe. How can i have the window to focus on the quest gump.?


Top
  Profile 
PostPosted: Wed Jul 10, 2019 10:32 am 
Offline
Adept Scripter
Adept Scripter

Joined: 04/14/2007 16:18
Posts: 212

Groups:
You could invoke a temporary ignore of unwanted gumps. The standard list of ignored gumps are taken from here: http://www.easyuo.com/forum/viewtopic.php?f=2&t=51112&p=421011&hilit=ignore+gump#p421011
which are:
Cheffe wrote:
Currently, the following ContNames are ignored:
BARK_GUMP DAMAGENUMBERS_GUMP DUMB_GUMP GAMEAREAEDGEGUMP MAP_GUMP MENUBAR MISSILE_GUMP NEW_ITEM_PROP_GUMP RETICLE_GUMP TARGET_GUMP UNICODE_BARK_GUMP


These can be maintained by your script using the ignorecont command. See this URL for syntax: http://www.easyuo.com/forum/viewtopic.php?f=2&t=51112&hilit=ignoregump&start=75#p420202

So I would invoke code around the event macro 17 on the NPC to remove the paperdoll.

  1. ignorecont paperdoll_gump
  2. ; set #lobjectid to the NPC vendor's ID you want to get the quest from
  3. ; Event macro 17
  4. gosub resetgumps
  5.  
  6. sub resetgumps
  7. ingorecont reset
  8. ignorecont BARK_GUMP DAMAGENUMBERS_GUMP DUMB_GUMP GAMEAREAEDGEGUMP MAP_GUMP MENUBAR MISSILE_GUMP NEW_ITEM_PROP_GUMP RETICLE_GUMP TARGET_GUMP UNICODE_BARK_GUMP


That get's rid of the paperdoll_gump having focus after the selection. If I had a script dedicated to constantly do the quests, I might ignore the paperdoll and restore it at the end of the script rather than on each pass. If you need the paperdoll gump during the running of the script, then the logic would have to be wrapped around the quest retrieval step on the NPC, of course.

Leaving the paperdoll gump out of the findable gumps would break another script - so I would want to make sure it gets reset. That would leave me inclined to do the "gosub resetgumps" action soon after I wanted to ignore the other gump.

There is also a "normal_gump" with a #contsize = 2_2 that shows up. I would be inclined to ignore it's #contkind when it shows up in other scripts, but that is distracting from your original question... :-D

Gaderian


Top
  ProfileShow poster's scripts in the public script library 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Hosted by CalWeb Internet Services, Inc.