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

New program for writers

We turn from quantity to quality and tell you how we will supplement the Allods Team program with rewards in rubles.

More

The new Updater

Let us to introduce the new addon updater software and to share the details

Read more

Alloder 2.0

We have started the process of project evolve, and this relates not only, and not even primarily of the site's view

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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