EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Beta (https://www.eq2interface.com/forums/forumdisplay.php?f=29)
-   -   Combat Stats Monitor (aka that MP3 player thing) Development Thread (https://www.eq2interface.com/forums/showthread.php?t=2439)

hirebrand 04-07-2005 03:22 AM

Combat Stats Monitor (aka that MP3 player thing) Development Thread
 
1 Attachment(s)
open source for teh win! :nana:

It doesn't work I don't think, try it, fix it, upload it

Deathbane27 04-07-2005 03:42 AM

This won't work, unfortunately.

CSM looks for "unknown command" error messages in the log file to activate its commands.

OnEvent UI scripts don't trigger these error messages.

For a UI to be made, CSM will have to be altered to look for chat channel tells containing the commands (You tell CSMCommand (Number here), "play"), then we can make a frontend.
(Already making a request for the change.)

ger 04-07-2005 05:22 AM

It would hae to be CSMCommand*, otherwise everyone on a server with CSM using this mod would be spamming one another. (I.e. I use CSMCommandOphis, you use CSMCommandDB27, et cetera)

Deathbane27 04-07-2005 05:50 AM

Just filter the chat from that channel to its own window and resize it down to 20x20 and stick it in a corner somewhere, like I do with Qeynos_Crafting 99% of the time. :p

ger 04-07-2005 05:54 AM

I guess I could make it yet another tab in my combatspam window that only exists for CSM's benefit and I never actually look at…but still. :D

Elice 04-07-2005 06:11 AM

Does each chat window gets it's own log? I thought that everything was logged regardless of which window it was in (or even if not in any at all)

ger 04-07-2005 06:18 AM

Quote:

Originally Posted by Elice
Does each chat window gets it's own log? I thought that everything was logged regardless of which window it was in (or even if not in any at all)

No, it all goes to the same place—that's the only reason I can keep all the combat info I don't want to see (but CSM needs) in a seperate tab that I just never activate. As to logging undisplayed information, I know for a fact that not everything will log if it isn't displayed. Chat channels, for instance, won't log unless they're displayed somewhere, and since that's what we'll have to use for this mod…

Hm. Just had a thought Deathbane. You're going to run into a problem of which chat channel number to use, aren't you? For instance, my crafter alt is always on Freeport_Crafting, whereas my adventurer alt isn't on any custom channels. While that probably wouldn't matter (channel numbers are assigned alphabetically, right?) what if I had one toon on a custom channel named Aardvark and another on Aardvark and Anteater? CSMCommands would now have a different channel number based on the toon I was using, so your buttons would only work with 1 toon at best, at worst it would spam a custom channel that CSM isn't monitoring.

Elice 04-07-2005 07:15 AM

what happens if you try to send to channel 99 using a button, does it give an error? One that csm would be able to pick up on in the logs? Since likely no one will ever have 99 channels

ger 04-07-2005 07:53 AM

Quote:

Originally Posted by Elice
what happens if you try to send to channel 99 using a button, does it give an error? One that csm would be able to pick up on in the logs? Since likely no one will ever have 99 channels

You'd get a generic error message that would only tell CSM that something tried to happen and failed, it wouldn't give enough info for CSM to figure out what it was you'd been trying to do.

Drumstix42 04-07-2005 01:39 PM

Quote:

Originally Posted by Deathbane27
Just filter the chat from that channel to its own window and resize it down to 20x20 and stick it in a corner somewhere, like I do with Qeynos_Crafting 99% of the time. :p

I just make everything that I don't wanna see in a tab that I never click :P Plus full logs if I need them (if logs work on only what shows in chat)

Deathbane27 04-07-2005 01:46 PM

Quote:

Originally Posted by ger
Hm. Just had a thought Deathbane. You're going to run into a problem of which chat channel number to use, aren't you?

No, it'll be fine. The button scripts would be:

<Button tellchannel="CSMCommand (command)" OnPress="tellchannel='CSMCommand (command)'"...>

Not
OnPress="1='(command)'"

Oh, and shame on you for not having all your characters be in eq.serverwide.eq2ui. :p

hirebrand 04-07-2005 03:33 PM

Lets not go making demands on Aden until we figure out the best possible way to do this. Creating a chat channel seems to be a bad idea.

How about tells? We could use onpress=" tell=(_csmplay) "

that would not require creating a bazillion chat channels across the servers. :)

hirebrand 04-07-2005 04:57 PM

Figured it out... ignore=(1csmplay)

It will never send a message to the server, never get added to the ignore list, doesn't have to be filtered out out chat, and always show up in the log.

Testing

ger 04-07-2005 06:55 PM

Quote:

Originally Posted by Deathbane27
{snip} Oh, and shame on you for not having all your characters be in eq.serverwide.eq2ui. :p

/joins eq.serverwide.eq2ui
/looks around

The only other person here is taco-man, and he's on my server (not to mention my IM list) … no fair guilt tripping me like that!

hirebrand 04-07-2005 08:07 PM

/whochannel only works for your server

ger 04-07-2005 08:12 PM

Quote:

Originally Posted by hirebrand
/whochannel only works for your server

Well bah. What's the point in that?

hirebrand 04-08-2005 12:32 AM

1 Attachment(s)
update, working pretty much

let me know if you get any errors

Hantu 04-08-2005 01:11 AM

I diddn't have to overwrite anything other than my html ui window... but when i loged in all i saw was my UI and that was it everything else (the game it self pretty much was nothing but black) the only thing that did show up was the name over my head... i deleted eq2ui_mainhud.xml and i got my screen back...

indoing so i do not know if this is the cause but from what it looks like some of the buttions on the CSM bar are missing (there still clickable but u cannot see them) also the CSMdialog and CSMoptions windows are completely black except for the CSM crossing swords image)

Laffs 04-08-2005 11:36 AM

Just add these lines into your "existing" eq2ui_mainhud_xml

<include>eq2ui_mainhud_csm.xml</include>
<include>eq2ui_mainhud_csmdialog.xml</include>
<include>eq2ui_mainhud_csmoptions.xml</include>

And dont use the one supplied with this zip file if your using a custom UI

Damn good job on this mod btw hirebrand :D
Going to try it out soon myself..

Hantu 04-08-2005 02:25 PM

woot thanks laffs that seemed to fix all the missing stuff for me... just waiting on Aden now to come out with the new version of CSM so we can make these ignoreadds work :c)

Dimuyen 04-16-2005 01:45 PM

I see everything fine I just can't seem to figure out how to get the info to be logged... I don't think I am understanding exactly what to do to get the dps info into the game...

Any help?

Kosmos 04-16-2005 02:21 PM

?? Where has this thread been? I have not seen it until JUST now??

Glad to see there is so much progress on it! I had though it had died.

hirebrand 04-16-2005 02:30 PM

Like a panther in the jungle, I wait patiently for the newest version of CSM.. then I pounce!

Kosmos 04-16-2005 03:30 PM

I have not tested it nor do I know how it eaxtly works, but there is a

beginchatinput command on /The List

Maybe that could be used for an Event to push the text to the chat window? Since the events don't send the data there like the macros do.

ger 04-16-2005 04:07 PM

Quote:

Originally Posted by Kosmos
I have not tested it nor do I know how it eaxtly works, but there is a

beginchatinput command on /The List

Maybe that could be used for an Event to push the text to the chat window? Since the events don't send the data there like the macros do.

If you mean to pipe the DPS stats into the game directly, Moor said that was a no-no in a PM to CSM's author. But really, *click*CTRL-V*enter* isn't all that hard after a fight to get the stats up for your group.


All times are GMT -5. The time now is 04:16 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI