Author Topic: How to get gump id?  (Read 5970 times)

0 Members and 1 Guest are viewing this topic.

Offline exmikeTopic starter

  • Jr. Member
  • **
  • Posts: 10
  • Activity:
    0%
  • Reputation Power: 1
  • exmike has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
How to get gump id?
« on: November 27, 2011, 08:19:24 AM »
0
I have a gump of quest, how to get gump id in euo?
because on npc having many quests. how to get id for quest?

Offline Khameleon

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: How to get gump id?
« Reply #1 on: November 27, 2011, 08:36:05 AM »
0
each quest does NOT have a uniqe ID.. You will have to use some sort of Pixel Scanner, like the OCR... but if you still want the GUMP ID click somewhere on the gump making it the most front gump.. then look at #ContID in the Container Info

Offline Crome969

  • Elite
  • *
  • *
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: How to get gump id?
« Reply #2 on: November 27, 2011, 08:38:11 AM »
0
I have a gump of quest, how to get gump id in euo?
because on npc having many quests. how to get id for quest?
Quest Gumps are "Generic" Gumps in the most Cases and dont have a real ID. You only get further informations by reading the #contsize , #contkind and with OCR the Content:).
Other Informations(If exist) are on #contID and #conttype.

Offline Crome969

  • Elite
  • *
  • *
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: How to get gump id?
« Reply #3 on: November 27, 2011, 08:47:42 AM »
0
each quest does NOT have a uniqe ID.. You will have to use some sort of Pixel Scanner, like the OCR... but if you still want the GUMP ID click somewhere on the gump making it the most front gump.. then look at #ContID in the Container Info
When i remind right that doesnt work on generic gumps. And even if, you couldnt get a real useful information only by scanning for an ID. When you want to write some events for interact with the gump, the only way is read the other propertys of the Container and\or use OCR.Then build your functions to interact with the gump.
@Topicauthor: If you dont know what we mean with ocr, easyuo provides a feature to scan Pixel on the Screen. It only can scan the toplayer pixel of your graphical Computersystem and when the Gump isnt on top(like you are in web and cover the gump with your IE\Firefox\Opera) you wouldnt get the Pixel of the specific position of the Gump.
What you can do with these Pixel?
People like KalInEx on easyuo wrote algorythm to get the Characters of Bods in Books and other Gumps back(No Quests when i remind right). With making your own algorythm to declare the Content of the Gump you can decide, what is the real quest gump and what not.
A good Example are the Quests in Heartwood. Many people wrote their own algorythm. Some people Scan the Colours of the whole Gump. The Chain of each color giving a result of an unique  information. Other Scanning exactly 1 Pixel on a Position and know, when this colour is "Green" then its their liked quest. I bymyself often scanned the Titles of Quests, chained the "numbercode of Color" from each scan per gump together and got an unique numberCode and knowed "when Code is 123840234732478490230470923403849" then its "Lethal Dart Quest".

Offline exmikeTopic starter

  • Jr. Member
  • **
  • Posts: 10
  • Activity:
    0%
  • Reputation Power: 1
  • exmike has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: How to get gump id?
« Reply #4 on: November 27, 2011, 09:09:22 AM »
0
Okay, im' trying with checkin'g pixels :)

Post Merge: November 27, 2011, 09:46:02 AM
how to click on self?
depends on #charposx\y\z
« Last Edit: November 27, 2011, 09:46:02 AM by exmike »

Offline Crome969

  • Elite
  • *
  • *
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: How to get gump id?
« Reply #5 on: November 27, 2011, 11:11:13 AM »
0
Okay, im' trying with checkin'g pixels :)

Post Merge: November 27, 2011, 09:46:02 AM
how to click on self?
depends on #charposx\y\z
When Gump is on Top player of your Client you get the #contposx and #contposy of the last Gump. It means the 0\0 Axis of Gump starting at that Position.
The Gump has a Size saved in #contsize .
So as example if your #contposx would be 50 and #contposy 50 and your gump hase 20_20 then you can reach and click the gump anywhere between 51\51 and 69\69 so you could do following:
Code: [Select]
set %x #contposx + 15
set %y #contposy + 15
click %x %y
would click in the example on 65\65


Crome...

Tags: