Hi,
in our Guild we use GuildAds, so when a member needs something
he asked via guidads.
But what is when I am not in the game, for example when I'm on work?
So I want export the SavedVariables\Guildads.lua in an format, which I
can easy parse with php and generate an page where I link the Items
to an german wow-database.
Has anybody tried something in this direction? The lua savedvariables has
in the most plugins the same format as shown below.
Regards,
Deli
Code:
["Global"] = {
["GuildAdsDasOrionbündnis"] = {
[1] = {
[1] = {
["creationtime"] = 376633,
["itemName"] = "Arkanitrute",
["id"] = 8,
["text"] = "",
["itemRef"] = "item:16206:0:0:0",
["count"] = 1,
["itemColor"] = "ffffffff",
["owner"] = "Valbala",
["texture"] = "Interface\\Icons\\INV_Staff_19",
},
[2] = {
["creationtime"] = 365683,
["itemName"] = "Dunkeleisenerz",
["id"] = 7,
["text"] = "",
["itemRef"] = "item:11370:0:0:0",
["count"] = 11,
["itemColor"] = "ffffffff",
["owner"] = "Valbala",
["texture"] = "Interface\\Icons\\INV_Ore_Mithril_01",
},
[3] = {
["creationtime"] = 345252,
["itemName"] = "Geisterpilz",
["id"] = 1,
["text"] = "",
["itemRef"] = "item:8845:0:0:0",
["count"] = 30,
["itemColor"] = "ffffffff",
["owner"] = "Dilumielle",
["texture"] = "Interface\\Icons\\INV_Mushroom_08",
},
[4] = {
["creationtime"] = 420555,
["itemName"] = "Grober Faden",
["id"] = 2,
["text"] = "",
["itemRef"] = "item:2320:0:0:0",
["itemColor"] = "ffffffff",
["owner"] = "Milbona",
["texture"] = "Interface\\Icons\\INV_Fabric_Linen_03",
},
[5] = {
["creationtime"] = 420555,
["itemName"] = "Grober Faden",
["id"] = 4,
["text"] = "",
["itemRef"] = "item:2320:0:0:0",
["itemColor"] = "ffffffff",
["owner"] = "Milbona",
["texture"] = "Interface\\Icons\\INV_Fabric_Linen_03",
},
[6] = {
["creationtime"] = 375669,
["itemName"] = "Kupferbarren",
["id"] = 0,
["text"] = "",
["itemRef"] = "item:2840:0:0:0",
["itemColor"] = "ffffffff",
["owner"] = "Deakon",
["texture"] = "Interface\\Icons\\INV_Ingot_02",
},
[7] = {
["creationtime"] = 428590,
["itemName"] = "Leinenstoff",
["id"] = 0,
["owner"] = "Arâgôn",
["itemRef"] = "item:2589:0:0:0",
["itemColor"] = "ffffffff",
["text"] = "",
["texture"] = "Interface\\Icons\\INV_Fabric_Linen_01",
},
[8] = {
["creationtime"] = 428590,
["itemName"] = "Leinenstoff",
["id"] = 1,
["owner"] = "Arâgôn",
["itemRef"] = "item:2589:0:0:0",
["itemColor"] = "ffffffff",
["text"] = "",
["texture"] = "Interface\\Icons\\INV_Fabric_Linen_01",
},
[9] = {
["creationtime"] = 428590,
["itemName"] = "Leinenstoff",
["id"] = 2,
["owner"] = "Arâgôn",
["itemRef"] = "item:2589:0:0:0",
["itemColor"] = "ffffffff",
["text"] = "",
["texture"] = "Interface\\Icons\\INV_Fabric_Linen_01",
},
[10] = {
["creationtime"] = 428590,
["itemName"] = "Leinenstoff",
["id"] = 3,
["owner"] = "Arâgôn",
["itemRef"] = "item:2589:0:0:0",
["itemColor"] = "ffffffff",
["text"] = "",
["texture"] = "Interface\\Icons\\INV_Fabric_Linen_01",
},