lotrointerface.com
Search Downloads


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

Reply
Thread Tools Display Modes
  #1  
Unread 11-29-2010, 11:26 PM
goldbishop goldbishop is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Nov 2010
Posts: 30
LocalPlayer (a table value)? WTH

Ok, logged in today and tried to get my plugins loaded. Checked my order of processing and everything seems good.

Got this stream of errors about LocalPlayer

... Online\Plugins\KragenPlugs\KragenBars\ChampBars.lu a:119: attempt to call field 'LocalPlayer' (a table value)
Bevy O' Bars version 3.1b by MrJackdaw - enjoy!
...he Rings Online\Plugins\JackdawPlugins\Bevy\Main.lua:53: attempt to call field 'LocalPlayer' (a table value)
...ngs Online\Plugins\OneBigBag\Bag\OneBigBagWindow.lua:1 04: attempt to call field 'LocalPlayer' (a table value)
BuffBars v1.1.4 by Pengoros
...Online\Plugins\DigitalUtopia\Palantir\MainWindo w.lua:51: attempt to call field 'LocalPlayer' (a table value)
Loaded plugin "manager".
You have spotted a creature attempting to move stealthily about.
... Online\Plugins\KragenPlugs\KragenBars\ChampBars.lu a:119: attempt to call field 'LocalPlayer' (a table value)
Bevy O' Bars version 3.1b by MrJackdaw - enjoy!
...he Rings Online\Plugins\JackdawPlugins\Bevy\Main.lua:53: attempt to call field 'LocalPlayer' (a table value)
...Online\Plugins\DigitalUtopia\Palantir\MainWindo w.lua:51: attempt to call field 'LocalPlayer' (a table value)
[Kinship] Gonzostyle: very nice
... Online\Plugins\KragenPlugs\KragenBars\ChampBars.lu a:119: attempt to call field 'LocalPlayer' (a table value)
Bevy O' Bars version 3.1b by MrJackdaw - enjoy!
...he Rings Online\Plugins\JackdawPlugins\Bevy\Main.lua:53: attempt to call field 'LocalPlayer' (a table value)
BuffBars v1.1.4 by Pengoros
...Online\Plugins\DigitalUtopia\Palantir\MainWindo w.lua:51: attempt to call field 'LocalPlayer' (a table value)

I heard about making sure that you have the window visible and it is set in the Main.lua file and is <object>.SetVisible(true)

Outside of that im afraid they may have simplified the Framework without posting an updated library.
Reply With Quote
  #2  
Unread 11-30-2010, 12:03 AM
Kaisoul's Avatar
Kaisoul Kaisoul is offline
The Indomitable
 
Join Date: Aug 2010
Location: lakewood,nj
Posts: 11
Send a message via Skype™ to Kaisoul
its been known that would happen and some authors have posted updates to fix that already. Just have some patients or go fix it your self ^_^
Reply With Quote
  #3  
Unread 11-30-2010, 07:39 AM
Wicked Mouse's Avatar
Wicked Mouse Wicked Mouse is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Feb 2008
Location: The Netherlands
Posts: 183
You should post error in the appropriate file comments or in a tell to the author
__________________
Author of: "Delving Hills"
Reply With Quote
  #4  
Unread 11-30-2010, 12:23 PM
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
Please check the appropriate pages for those plugins, as many authors have already released updates that compensate for the changes that came with the most recent game update.

In this particular case, the game update changed the behavior of the LocalPlayer class - which is used to access the player. Instead of calling it like:

player = Turbine.Gameplay.LocalPlayer();

you now need to do:

player = Turbine.Gameplay.LocalPlayer.GetInstance();
__________________

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 11-30-2010, 05:13 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
I have updated the SVN version of Bevy Bars with this line, Thanks Digital Utopia!, but I don't want to push it live yet.

The file you need to replace can be accessed here... Although I am not 100% certain you won't need the other files from there...

EDIT: And I, of course, can't test this being in the EU...
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
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
nested table issues SanDBoX Lua Programming Help (L) 1 11-21-2010 02:12 AM
Whats on the table post retail launch? AncientWolf General Authoring Discussion (L) 10 04-27-2007 07:11 AM


All times are GMT -5. The time now is 10:28 AM.


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