Showing results 1 to 10 of 10
Search took 0.00 seconds.
Search: Posts Made By: myristican
Forum: Lua/XML Help 12/20/20, 04:46 PM
Replies: 20
Views: 8,158
Posted By myristican
One other question, as ive just realised it has a...

One other question, as ive just realised it has a problem.

How do I make sure that when it writes events it adds them to what is already there?
Some new events came in when I was logged in, but the...
Forum: Lua/XML Help 12/20/20, 04:01 PM
Replies: 20
Views: 8,158
Posted By myristican
Ah that will probably be it then as I am missing...

Ah that will probably be it then as I am missing that piece.

Yeah I had planned to I just wasn't in game at the time, I'm a lot more used to writing things in PowerShell than lua sadly.

Thank you...
Forum: Lua/XML Help 12/20/20, 11:38 AM
Replies: 20
Views: 8,158
Posted By myristican
Oh okay, so if I take that out I end up back at...

Oh okay, so if I take that out I end up back at where I was, where for some reason having [guildID] in the listener command causes it to error on seeing a nil value, if I remove that it moves onto...
Forum: Lua/XML Help 12/19/20, 12:54 PM
Replies: 20
Views: 8,158
Posted By myristican
Thanks for the reply and the edits on the...

Thanks for the reply and the edits on the file.

When testing I think my issue has been that it wasnt waiting for the callback from LibHistoire. So I've added this in now using...
Forum: Lua/XML Help 12/18/20, 07:10 PM
Replies: 20
Views: 8,158
Posted By myristican
Do you know why I get a nil value for the guildID...

Do you know why I get a nil value for the guildID in this part of my script? (Line 2)

function GuildBankLedger:SetupListener(guildID)
self.LibHistoireListener[guildID] =...
Forum: Lua/XML Help 12/17/20, 03:08 PM
Replies: 20
Views: 8,158
Posted By myristican
Yeah I realised after it was running that all I...

Yeah I realised after it was running that all I had managed to do was remove the pause and the force checking for new events, which wasnt too helpful as the actual data it collects still looks at the...
Forum: Lua/XML Help 12/17/20, 01:09 PM
Replies: 20
Views: 8,158
Posted By myristican
Yeah I think the issue might be that the addon is...

Yeah I think the issue might be that the addon is trying to pull data from the server still and not from libhistoire. As I have a whole bunch of stored data in libhistoire due to it having been...
Forum: Lua/XML Help 12/17/20, 11:57 AM
Replies: 20
Views: 8,158
Posted By myristican
Okay so all that is updated and I did a whole...

Okay so all that is updated and I did a whole other bunch of work on it.

Is there some way to get it to pull historical events or add some sort of time frame (maybe using libhistoire?) just so that...
Forum: Lua/XML Help 12/16/20, 05:36 PM
Replies: 20
Views: 8,158
Posted By myristican
Thanks for your pointers, I've got it working...

Thanks for your pointers, I've got it working using libhistoire now which makes it a lot faster to run the save and I understand a bit more about how the whole script works as well as lua, so that...
Forum: Lua/XML Help 12/16/20, 01:28 PM
Replies: 20
Views: 8,158
Posted By myristican
Append new data to saved vars

I am pretty new to Lua after avoiding it in my job back when we had things using it but I've picked up an old addon and have been trying to get it to do things that I want it to do, the original...
Showing results 1 to 10 of 10