Guest matsycs Posted January 22, 2011 Share Posted January 22, 2011 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. Quote Link to comment Share on other sites More sharing options...
Setras Posted January 22, 2011 Share Posted January 22, 2011 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts