lotrointerface.com
Search Downloads


Go Back   LoTROInterface > LotRO > Developer Discussions > Lua Programming Help (L)

Reply
Thread Tools Display Modes
  #1  
Unread 08-06-2011, 05:57 PM
MrJackdaw's Avatar
MrJackdaw MrJackdaw is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2009
Location: Lancaster, England
Posts: 249
Shortcut help

I am being really dim here - but how do you get the shortcut data for an item in the backpack?

I want to use SetShortcut to setup a quickslot with the contents of backpack slot 1 for example.

Edit: I have spent another hour digging and can still see no way to do this. Is it missing currently from the API?
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta

Last edited by MrJackdaw : 08-07-2011 at 12:15 AM.
Reply With Quote
  #2  
Unread 08-07-2011, 09:44 AM
Equendil Equendil is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2011
Posts: 52
I believe that's not possible with the current API.
__________________
Author of LIP, Bootstrap and Baruk
Reply With Quote
  #3  
Unread 08-07-2011, 01:12 PM
MrJackdaw's Avatar
MrJackdaw MrJackdaw is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2009
Location: Lancaster, England
Posts: 249
Ah! How glad I am to hear that, Equendil. I thought I was missing something really obvious.

Wonder if I can jury rig away around it?

*Thinks...*

Probably not!
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
Reply With Quote
  #4  
Unread 08-08-2011, 05:59 AM
Digital_Utopia's Avatar
Digital_Utopia Digital_Utopia is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Posts: 207
Send a message via MSN to Digital_Utopia Send a message via Yahoo to Digital_Utopia
Yeah, I think the only way to do it is to require the user to manually fill the slots.
__________________

Lord of the Rings Online
75 Fourohfour | 75 Artemedis | 60 Whiskeytango Foxtrot | 50 Mistah Boombastic | 56 Appetizer | 25 Aggromi
61 Onepointtwentyone Gigawatts


World of Warcraft
90 Downlo 85 Gravetaxi 85 Ümad 85 Artemedis 85 Guthuros
Reply With Quote
  #5  
Unread 08-08-2011, 01:35 PM
lunarwtr's Avatar
lunarwtr lunarwtr is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2011
Posts: 121
The closest to this is if you know the item code of the item, you can create short-cut for that item (regardless of whether its in your backpack or not). If you want it to actually "use" the item, you then have to make sure it is in backpack.

In an unreleased version of Item Compendium, I'm using this to get a temporary icon for each item. (ideally I'd like the real icon resource id vs having to create the shortcut).
__________________
Author of Lotro Compendium, Waypoint, and Lotro Plugin Compendium (LPC)
Reply With Quote
  #6  
Unread 08-09-2011, 08:36 AM
Heta Heta is offline
The Undefeated
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Location: Germany
Posts: 8
I am also trying to fill shortcuts with items from my inventory.

I search through the backpack for an item, if it exist i create the shortcut with the specific hex code.

Works perfectly with skills, for items i have to use the "long" hex code.
Also works, but only for that specific character

If i switch the char it won't becaus the "long" hex code seems to be unique for that char.

How can i solve this? Any ideas?

Greetings
__________________
Heta Feta R12 RK [DE-Maiar]
Reply With Quote
  #7  
Unread 08-09-2011, 10:29 AM
lunarwtr's Avatar
lunarwtr lunarwtr is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2011
Posts: 121
Quote:
Originally Posted by Heta
I am also trying to fill shortcuts with items from my inventory.

I search through the backpack for an item, if it exist i create the shortcut with the specific hex code.

Works perfectly with skills, for items i have to use the "long" hex code.
Also works, but only for that specific character

If i switch the char it won't becaus the "long" hex code seems to be unique for that char.

How can i solve this? Any ideas?

Greetings
First part of the long hex code ties it to specific backpack location if I remember correctly. Just zero all that out. then leave the second part with the code.
__________________
Author of Lotro Compendium, Waypoint, and Lotro Plugin Compendium (LPC)
Reply With Quote
  #8  
Unread 08-09-2011, 01:55 PM
Heta Heta is offline
The Undefeated
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Location: Germany
Posts: 8
Thanks

Seems to function but when you click that shortcut it does not use the potion or item :/

I think the missing backpack-connection-hexcode makes the shortcut unusable.
If you Drag & Drop Potions the Shortcut works fine.


So there is no other way to auto create shortcuts from your backpack?
__________________
Heta Feta R12 RK [DE-Maiar]
Reply With Quote
  #9  
Unread 08-09-2011, 03:08 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 341
There is no API method currently available to get the shortcut info from an existing in game Item object. I made a request on the Turbine forums about this a few months back - please post in that thread to show additional support for that request:

http://forums.lotro.com/showthread.php?384041-Request-Item-GetData()
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shortcut Window Plugin sutt Interface Requests (L) 3 07-02-2011 01:55 PM
a shortcut question Uaellaen Chit Chat 4 05-20-2007 12:49 PM


All times are GMT -5. The time now is 06:23 PM.


Our Network
EQInterface | EQ2Interface | Minion | WoWInterface | ESOUI | LoTROInterface | MMOUI | Swtorui