EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 02-03-2011, 12:42 PM
zabom zabom is offline
A Berserk Golem
Interface Author - Click to view interfaces
 
Join Date: Mar 2007
Server: Antonia Bayle
Posts: 55
Default 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?
Reply With Quote
  #2  
Unread 02-03-2011, 12:55 PM
TalTal TalTal is offline
A Griffon
Featured
 
Join Date: Nov 2005
Server: Nagafen
Posts: 1,095
Default

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
Reply With Quote
  #3  
Unread 02-03-2011, 02:31 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

No need to mod this, the game already writes group/raid joins to the log files.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #4  
Unread 02-03-2011, 03:08 PM
Darqwood's Avatar
Darqwood Darqwood is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Aug 2005
Posts: 851
Default

If I remember right, there is also a /raidwho command that dumps the current raiders into the log all at once.
Attached Thumbnails
Click image for larger version

Name:	new-menu-choices.jpg
Views:	490
Size:	114.6 KB
ID:	8640  Click image for larger version

Name:	large_examine.png
Views:	13398
Size:	70.7 KB
ID:	8641  Click image for larger version

Name:	new-menu-choices2.jpg
Views:	13704
Size:	119.3 KB
ID:	8644  Click image for larger version

Name:	gearbuff.jpg
Views:	20451
Size:	271.9 KB
ID:	8646  Click image for larger version

Name:	group-precure.png
Views:	19232
Size:	92.7 KB
ID:	8647  

Click image for larger version

Name:	gearbufftutorial2.png
Views:	2220
Size:	35.7 KB
ID:	8651  Click image for larger version

Name:	betatools.png
Views:	33228
Size:	13.6 KB
ID:	8654  

Last edited by Darqwood : 08-28-2018 at 01:25 PM.
Reply With Quote
  #5  
Unread 02-03-2011, 03:48 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #6  
Unread 02-03-2011, 04:58 PM
TalTal TalTal is offline
A Griffon
Featured
 
Join Date: Nov 2005
Server: Nagafen
Posts: 1,095
Default

He doesn't want to use the log file however.

Silat
Reply With Quote
  #7  
Unread 02-03-2011, 05:08 PM
Drumstix42's Avatar
Drumstix42 Drumstix42 is offline
A Griffon
Featured
 
Join Date: Oct 2004
Server: Antonia Bayle
Posts: 3,287
Default

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.
__________________
"I'm afraid you're guilty of thought-crime. Don't bother getting the door, we'll let ourselves in..."
<Donate to DrumsUI> < [DrumsUI] Updater > < [DrumsUI] Full Interface> < Drumstix42 on Twitch.tv
>
Reply With Quote
  #8  
Unread 02-03-2011, 06:32 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by TalTal View Post
He doesn't want to use the log file however.

Silat
He thinks he does not want to use the log file, we're just telling him otherwise. Also DKP log parsers are freely available, no point to reinvent the wheel tbh.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #9  
Unread 02-03-2011, 06:58 PM
TalTal TalTal is offline
A Griffon
Featured
 
Join Date: Nov 2005
Server: Nagafen
Posts: 1,095
Default

Quote:
Originally Posted by gm9 View Post
He thinks he does not want to use the log file, we're just telling him otherwise. Also DKP log parsers are freely available, no point to reinvent the wheel tbh.
I agree with you. I even mentioned apps were already available to him . I figured if he really wanted to do it though I'd point him in the right direction. I also figured after about an hour he'd decide to use one of the available apps.

Silat
Reply With Quote
  #10  
Unread 02-03-2011, 11:01 PM
zabom zabom is offline
A Berserk Golem
Interface Author - Click to view interfaces
 
Join Date: Mar 2007
Server: Antonia Bayle
Posts: 55
Default

Quote:
Originally Posted by TalTal View Post
I agree with you. I even mentioned apps were already available to him . I figured if he really wanted to do it though I'd point him in the right direction. I also figured after about an hour he'd decide to use one of the available apps.

Silat
That's where you are wrong. I love building apps for the challenge and to keep my old brain agile. I have already completed the app and it is in use for adjusting and tracking DKP. I am now just adding features so it does more. By the time I am done, it will do everything including posting the data to our guild web site all automatically.
Reply With Quote
  #11  
Unread 02-04-2011, 10:47 AM
TalTal TalTal is offline
A Griffon
Featured
 
Join Date: Nov 2005
Server: Nagafen
Posts: 1,095
Default

Well good for you. I tend to do the same thing. At least until I get bored with it

Silat
Reply With Quote
  #12  
Unread 02-04-2011, 04:32 PM
xndienx xndienx is offline
A Griffawn
Interface Author - Click to view interfaces
 
Join Date: Jan 2007
Server: Permafrost
Posts: 70
Default

/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.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI