lotrointerface.com
Search Downloads


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

Reply
Thread Tools Display Modes
  #1  
Unread 12-12-2010, 05:44 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
Save on Unload

Note to developers: The save on unload facility appears to be fixed in the latest patch!

As an example;

Code:
if ( Plugins ["NameOfPlugin"] ~= nil ) then
	Plugins["NameOfPlugin"].Unload = function( sender, args )
		CallYourSaveFunction()
		Turbine.Shell.WriteLine("All data saved!")
	end
end
Now appears to work properly at last!
__________________
************************************************** ************************************************** **
"Our ideals may never be realised, But they indicate what we are trying to do." Dick Tahta
Reply With Quote
  #2  
Unread 12-16-2010, 02:07 AM
Chiran Chiran is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Sep 2010
Posts: 27
Thanks, that works

-Chiran
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
Save Effect (Icon) in a file? Heta Lua Programming Help (L) 4 11-01-2010 11:03 AM
Quickslot Bar layouts (buttons) - is there a way to save them? Askyn Interface Help (L) 3 12-08-2009 02:26 PM


All times are GMT -5. The time now is 09:40 AM.


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