LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   General Authoring Discussion (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=22)
-   -   Identifying subscriptions (https://www.lotrointerface.com/forums/showthread.php?t=1781)

Niwashi 04-11-2012 10:21 PM

Identifying subscriptions
 
I'm trying to write a plugin that keeps track of "account-wide" data (the wallet items that are now shared among alts). My problem is that account-wide data is really subscription-wide, but saving to Turbine.DataScope.Server (or to Turbine.DataScope.Account) identifies accounts by login name. If you have multiple subscriptions under the same account and thus sharing the same login name, their data gets lumped together.

Is there a way for Lua scripts to identify what subscription someone is logged into when they use the plugin?

Sethladan 04-12-2012 11:46 AM

Could you ask the user to identify which subscription each character belongs to, and then sort accordingly? It's an extra configuration step, but then at least you could appropriately store data for different accounts in different (sub)tables.


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

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI