lotrointerface.com
Search Downloads


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

Reply
Thread Tools Display Modes
  #1  
Unread 09-14-2010, 11:56 PM
Madduck's Avatar
Madduck Madduck is offline
The Undefeated
 
Join Date: Jun 2010
Posts: 9
Creep Map help

Hi team,

I am chopping up a few of your most excellent scripts. Mainly Paulino's Pet Carousel..

I am having trouble though.

I get an error "invalid shortcut" or to that effect. (sorry at work atm)

I've used the Hex code for each Creep Map when trying to populate

petqs[i]:SetShortcut( Turbine.UI.Lotro.Shortcut( 6.0, petdata[i] ) )

In frustration, I tried to use the Travel script (sorry forgot who's it is atm)
and deselect all the filter maps, then add the creep maps using the inbuilt function (so no Lua programming, just running the plugin)
But I get the error
"no map found" or to that effect.. when I place any map in the box...

Is there a deficiency using actual maps? Like the map home , or the moors map or any of the creep maps?

Any advice / help would be appreciated.
Reply With Quote
  #2  
Unread 09-15-2010, 07:24 AM
D.H1cks's Avatar
D.H1cks D.H1cks is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Posts: 162
I think there are 2 important things note about using maps in shortcuts.

First, maps are a different type of shortcut, so use type 2.
Turbine.UI.Lotro.Shortcut(2.0,0xnnnnnnnnnn) for example.

Also be aware that every single character has a different code for their map data. That is why the Travel plugin requires the user to add their maps manually.
Reply With Quote
  #3  
Unread 09-15-2010, 05:36 PM
Madduck's Avatar
Madduck Madduck is offline
The Undefeated
 
Join Date: Jun 2010
Posts: 9
Ahh thanks D.H1cks

I thought it would have something to do with the 6.0....

is there somewhere that shows that sort of information?

I had a look (all together browse) at the HTML help supplied, but nothing really struck a chord with me. i.e looked less like a how to and more like a list of the code.

Also,

Quote:
Also be aware that every single character has a different code for their map data. That is why the Travel plugin requires the user to add their maps manually.
I tried using your travel plugin with my creep maps, but they were not identified as maps... or is that also related to the 6.0 -> 2.0 issue?

thanks for your help.
Reply With Quote
  #4  
Unread 09-16-2010, 06:43 AM
D.H1cks's Avatar
D.H1cks D.H1cks is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Apr 2007
Posts: 162
Quote:
Originally Posted by Madduck
Ahh thanks D.H1cks

I thought it would have something to do with the 6.0....

is there somewhere that shows that sort of information?

I had a look (all together browse) at the HTML help supplied, but nothing really struck a chord with me. i.e looked less like a how to and more like a list of the code.
Its not documented, but I found out by using a custom quickslot plugin that would save the shortcut data. Then I just looked at the saved file and found out. But overall it appears that 2 and 6 are the most common types, where 6 are shortcuts to skills, and 2 are shortcuts to items.


Quote:
Also,
I tried using your travel plugin with my creep maps, but they were not identified as maps... or is that also related to the 6.0 -> 2.0 issue?

thanks for your help.
Its not related. I do some checking and only allow a couple of items to be added. To be honest, I have not played a creep, so I don't know anything about their maps.
Reply With Quote
  #5  
Unread 09-16-2010, 10:33 PM
Madduck's Avatar
Madduck Madduck is offline
The Undefeated
 
Join Date: Jun 2010
Posts: 9
Ok thanks for that.

I have completed the modifications and I'm ready to test again.. ( was last night , but server down )

I'll give it a run tonight and see how it goes.

another quick question..if anyone can answer, the graphics for the window is pulled from the Turbine.ui.lotro set, I was wondering if anyone knew where I might obtain the code for all available window types..

for instance,

Turbine.UI.Lotro.GoldWindow I beleive creates a standard gold coloured window....

as I am creating for creepside, I would want to either skin this (which I really have no idea about how to do) or select from the standard creepside elements.. Is this able to be done ??
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
Creep skin? jasonspeed Interface Requests (L) 1 09-14-2010 09:43 PM
Map tralkar General Authoring Discussion (L) 1 07-30-2007 12:06 AM
Mini Map Shadimar Interface Help (L) 4 07-13-2007 09:06 PM
Map Locations Galmir Interface Requests (L) 5 07-03-2007 06:28 AM
is it possible to move the map? Ylva Interface Help (L) 7 05-25-2007 03:53 PM


All times are GMT -5. The time now is 02:49 PM.


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