View Single Post
  #5  
Unread 01-09-2016, 05:34 PM
Garan's Avatar
Garan Garan is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Oct 2010
Posts: 341
PatchDataSave is part of the Vindar patch for international characters. Turbine does not properly support international characters so Lua authors have to first encode the values before saving and then decode them when loading. PatchDataSave and PatchDataLoad are wrapper functions that provide the encoding/decoding and then call the built in functions. Since this is a user resolution to a flaw in the system, it has to be defined in each user project - I have a file I put all the Vindar (Vindar was the user name of the original author of the patch) code into called "VindarPatch.lua" which is included in all of my plugins. This is actually covered in the Noobs thread in the "How Vindar Saved the World" post.
Reply With Quote