Jump to content
Alloder.pro  about Allods with love 😱
Search In
  • More options...
Find results that contain...
Find results in...

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

Digest April

We talk about what was done and updated in the past month. We help keep abreast of events.

Read more

Game tooltips

Tooltips provide a way for 3rd party fansites and extensions to display detailed information on mouseover.

Read more

How to capture the item info window?


Guest matsycs
 Share

Recommended Posts

Guest matsycs

I want to create an add-on that automatically take a screenshot of the item info window. Unfortunately the code below is not working since the message comes into UIState.

Code:
function OnEventShowItemsInfo( params )

common.MakeUserScreenshot()

end

function Init()

common.RegisterEventHandler( OnEventShowItemsInfo, "EVENT_SHOW_ITEMS_INFO" )

end

Init()

I tried with EVENT_INGAME_UNDER_CURSOR_CHANGED but it doesn't capture when I hover over an item.

How can I do that?

And, more important, is it possible to translate stats names in the item window?

I mean to translate strength, dexterity, etc.

itemin10.png

Link to comment
Share on other sites

Well, man, i don't understand you.

If you're an english player you should just make your database of items by inspecting everybody around via API and collecting data, and then just do something like http://allodsdatabase.com does - make your own graphics by means of web design or something.

You don't need to do a screenshot ingame - all you need is collect some data.

Furthermore, EVENT_SHOW_ITEMS_INFO is an event for showing items INSIDE A SHIP'S CHEST ONBOARD. It was made for piracy, but after 1.5 years piracy is still absent ingame.

It happens in case of:

ENUM_ShowItemsInfoReason_Unknown - some unknown reason (maybe for debugging purposes?)

ENUM_ShowItemsInfoReason_XRayLootChest - a player in avatar's group has used an x-ray item while watching a ship via pvp-scanner on his ship.

So, there's a lil offtopic: THere should(could?) be an item which could scan a ship when used by a player on ship's pvp scanner while zooming to a ship to reveal all items (list of objects) onboard, so the pirate could decide if it's worth to rob it or not.

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use