lotrointerface.com
Search Downloads


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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 12-18-2013, 08:08 AM
Mandraval Mandraval is offline
The Wary
Interface Author - Click to view interfaces
 
Join Date: Aug 2013
Posts: 2
Loading data issues

Perhaps someone can explain to me, what I am doing wrong...

Loading data worked right fine for some time, but since the amount of data got quite huge, I tried to split these data to various files on disc.
Loading works quite fine, except it takes ages (and sometimes leads to server-disconnects for too long loading time).

So I tried to split the loading between startup and runtime.
If I load all data at startup, there is no difference, but if I try to load some data during runtime, the load routine finishes, with no data returned.

Code:
dataload=VindarPatch.PatchDataLoad(Turbine.DataScope.Server,"filename",load_done)
If this code is executed during load, dataload contains the requested data.

Perhaps I'm getting this wrong, but I think, 'load_done' should be called when the data was loaded, and if I try to access the data in the function load_done, it is always >nil<
Code:
function load_done()
	if(dataload~=nil) then
dataload should be known in both functions

Any help on getting the data loaded?
Reply With Quote
 



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
Was data.lotro.com updated? magill Interface Help (L) 2 03-20-2013 10:10 PM
Saving quickslot data to table Marll Lua Programming Help (L) 8 01-07-2011 02:09 PM
Issues with loading plugin goldbishop Lua Programming Help (L) 12 12-01-2010 10:33 PM
Interface into game data Aran Interface Help (D) 1 11-11-2010 12:38 AM
Frosty - Client Side Layout Data, Please! Erythor LotRO Wish List (L) 10 01-31-2009 06:07 AM


All times are GMT -5. The time now is 10:41 PM.


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