![]() |
Can a UI mod write to a text file?
Hello, I have never decided to put the effort into learning the UI mod language, as I have always been very satisfied with the mods others have done. Now, however, I may have reason to create my own mod and before I go to the effort I would like to know if what I want to do is even possible.
I have written a data base app that tracks my guilds DKP. The next step in this app is to have it collect attendance data for any given raid. My original idea was to have it go through the eq2 logs file, but after some work I determined the resource requirement for doing this was higher then I like. So this is my idea. I want to mod my guild window with two buttons by each name in the "members online now" list. These buttons would have an "Invite to raid" and an "invite to group" function. That part I am sure can be done. The next part is where my question comes in. I want the mod to then log the names of those I have invited and the time to a separate text file that my DKP app can use. So, my question is, can a mod be given the ability to write to a text file? |
There are several apps to do what you want and you are right about adding the invite buttons it can be done.
As for the ui writing to a text file that can be done as well but not directly. Drum has done it with his ui through modding the eq2maps submitpoi function. That would be a good place to look for ideas on what you want to accomplish. Silat |
No need to mod this, the game already writes group/raid joins to the log files.
|
7 Attachment(s)
If I remember right, there is also a /raidwho command that dumps the current raiders into the log all at once.
|
It's /whoraid actually, or at least it used to be. Has the advantage that it only picks up raid members actually in the zone, IIRC.
|
He doesn't want to use the log file however.
Silat |
Don't see another easier way of doing it, tbh. And a button that writes to files upon inviting would not be very dependent, especially if the person never accepted the invite or you pressed the wrong person.
|
Quote:
|
Quote:
Silat |
Quote:
|
Well good for you. I tend to do the same thing. At least until I get bored with it ;)
Silat |
/logwhoraid could be used as well if it's still in the game. I started a PHP app based on that a while back but gave up because my guild disbanded.
|
| All times are GMT -5. The time now is 04:15 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI