EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > General Discussion > Request

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 01-19-2005, 11:58 PM
Binton Binton is offline
A Mist Grinnin
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 76
Exclamation Chat Logging Turned On when you Log On?

I really, really, reallllllly want to do this, and see lots of threads in the Forums concerning OnThis, OnThat, ShowThis... But... I'm an idiot... and need a walkthrough of exactly what I would do, to make /log... work when I logged on.

Would also be nice to have the Clock window that's in the fancy Socials mod to always be on when I logged on as well. Maybe there's a way to do this, but for me... I'm a dunce, please help.

Oh, also, any way to label or mark up the Socials mod a little so we newbies can add icons to the "extras" tab? Got a few more custom windows / things I wanna add to that.
Reply With Quote
  #2  
Unread 01-20-2005, 12:14 AM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default

Ok, I'll reply about the clock first. Get the xml from this thread posyed by "Haliken" (who was me, I changed names):
http://www.eq2interface.com/forums/s...ighlight=clock

Next, to get logging to turn on when you log in, you'd need to pick a window that opens at startup, and in the main page object for it (the first line in the xml that starts with "<Page...") you'd add:
Code:
OnShow="/log OnShow=' '"
I'd recommend a window you won't or likely won't get a custom mod for. This will have to rely on your eprsonal taste, but the best windows to use would be the player window, group window, the "EQII" button window, or the experience window.

To add your own window opening buttons to the extras tab, you'll need to open up eq2ui_mainhud_socials.xml and scroll down to:
Code:
<Page Visible="false" Location="5,193" Name="Entry4" ScrollExtent="157,48" Size="157,48">
It'll be just under:
Code:
/hide_window MainHUD.Clock" TreatAsButton="true"/>
</Page>
Delete Visible="false" (or change it to true).

On the line below that you enter the text for the text label/button. You'll want to change LocalText="(Click to edit)" to LocalText="Customwindowname Window" and scroll to the far right and change (Click to edit) to the same Customwindowname Window. You'll need to add:
Code:
OnPress="show_window=(MainHUD.Clock) show_window=(MainHUD.Clock)"
To the button object, replacing MainHUD.Clock with the custom window handle.

On the line below that is the icon. This is purely for looks. The suggested graphics are found in icon_ms1.dds, which can be opened in Photoshop if you have the DDS plugin from Nvidia. IconRect="0,42,0,42" defines the graphics to use. The numbers are, in order, left x pixel value, top y pixel value, right x pixel value, bottom y pixel value.

You should add a Tooltip to the icon to describe the /show_window command used to open the window, though it's not required. Look at the other icons on the Extras tab to see how to add a tooltip.

That's about as simple as I (emphasis on me) can explain it. If you post a window name I can add it for you, also if you want me to help you mod a window to always turn logging on, tell me which window, or post one of those window's custom xml files you use (like if you have a player window mod and want to add the logging code to the player window).

Quib
Reply With Quote
  #3  
Unread 01-20-2005, 10:54 AM
Binton Binton is offline
A Mist Grinnin
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 76
Default

I love you.

In a non-homosexual sort of way, of course... Very detailed post I'm sure many will be able to get good use of. :-)
Reply With Quote
  #4  
Unread 01-20-2005, 12:49 PM
Binton Binton is offline
A Mist Grinnin
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 76
Default

Ok, found a bug, I think. Everything works great by the way, thank you. I haven't added my custom buttons in the "Extras" social window yet, but I'll worry about that last.

Anyway, on to my "bug". On the Chat Logging thing you gave me, which seems to work fine... It's enabling Chat Logging into a standard eq2log.txt, same for all characters.

While this seems like it's working, and it kinda is... what makes when you type /log in game do it to your character's name, and in the server directory under logs\ ?

Because Statalyzer, which is the only reason I want to do any of this, will not parse the eq2log.txt it's creating and it goes boom and crashes Statalyzer. Plus, all in one giant chat log is sort of confusing, hehe. We're makin' BIG progress though, as my UI is lookin' hot now cause of this site.

Oh, if anyone reads this and is lke, I'm still havin' Chat Window issues, I solved mine by deleting the custom chat window I was using and then using the MookChat one, which worked perfectly for me, saved settings and everything... but all the others displayed wrong upon relog.
Reply With Quote
  #5  
Unread 01-20-2005, 01:56 PM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default

Hm, it must be turning logging on too early, before character has been decided...

I'll see what I can come up with. I have a few ideas, but don't want to post confusing junk 'til I have a solution.

Quib
Reply With Quote
  #6  
Unread 01-20-2005, 02:24 PM
Binton Binton is offline
A Mist Grinnin
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 76
Default

Sounds like a plan. This will be one sweet addition to custom UIs if you can get it to work right. Like I said, the chat log it does create is fine, but it'll grow way to huge, way too fast, being that I've got 8 characters I play regularly, and do crafting with them all, so I expect a LOT of text to flow through.

I love the Statalyzer program, but it's not handled to determine multiple character logins in the same chatlog.txt. Otherwise it would actually be just fine the way it is logging now.
Reply With Quote
  #7  
Unread 01-20-2005, 03:17 PM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default

Ok, here're my findings:

Code:
OnShow="/log OnShow=' '"
Logs to \EverQuest II\logs\eq2log.txt

Code:
OnShow="Visible=false OnShow='/log OnShow=OnShow2'" OnShow2=" "
Logs to \EverQuest II\logs\Servername\eq2log.txt

I can't seem to find a way to make it automatically properly log to your character's log file... the problem in this case is sorta yours Binton; I only have one character (I believe alts are a waste of time), so this single log file thing doesn't impact me negatively.

I tried many things and the two above lines are at maximum compactness; they were bigger and did the same thing at some point, but I went for efficiency. The group window (which I tested in) only is given the command to appear twice and forcing Visible=false a second time makes it closed until you manually open it upon log in, though when you manually open it that third time, assuming slightly different OnShow code, it started writing to the proper log file. Forcing a third open in OnHide happens too quickly to be any different than the second line of code shown above.

Quib
Reply With Quote
  #8  
Unread 01-20-2005, 08:43 PM
Binton Binton is offline
A Mist Grinnin
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 76
Default

Yeah, I'll have to try to mess with it as much as I can, cause I don't know much about it, but will definitely work hard to figure something out. Thanks for all your great help!
Reply With Quote
  #9  
Unread 01-20-2005, 08:52 PM
UmbraNemo's Avatar
UmbraNemo UmbraNemo is offline
A Fallen Diplomat
 
Join Date: Jul 2004
Server: Everfrost
Posts: 54
Default

I don't look at it as playing alts but allowing my mutiple personalities to play too, also I suffer from insomnia so have plenty of time.
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 06:08 AM.


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