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,096
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: 907
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:	577
Size:	114.6 KB
ID:	8640  Click image for larger version

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

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

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

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

Click image for larger version

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

Name:	betatools.png
Views:	34798
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,096
Default

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

Silat
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 03:35 AM.


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