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.

Kosmos 04-16-2005 05:14 PM

Quote:

Originally Posted by ger
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.


No, I mean to get the OnEvent CSM commands to go to the chat window, so that the CSM will then see them while it checks the logs.

From what I understand the commands work with marcros, but not with the OnEvent scrips.

ger 04-16-2005 06:03 PM

Quote:

Originally Posted by Kosmos
No, I mean to get the OnEvent CSM commands to go to the chat window, so that the CSM will then see them while it checks the logs.

From what I understand the commands work with marcros, but not with the OnEvent scrips.

Ah, I think someone is asking Aden to have it check for /ignore error messages, since those can be logged and won't spam any channels.

hirebrand 04-16-2005 06:29 PM

Aden is adding support for configurable triggers, so we can use anything to send the messages to CSM.

hirebrand 05-06-2005 12:06 AM

1 Attachment(s)
beta version 2

aden 07-27-2005 04:42 PM

The modifications to the CSM for this custom UI interface are complete. Check the 2.5.2 release notes.

Also, since the program has changed since you wrote the interface, there are some items you need to add to make it really cool. Email me at [email protected] and we can go over them.

-Aden

Laffs 07-27-2005 05:36 PM

Kool :nana:

Nice one Aden... almost given up hope :)

nerasa 08-02-2005 01:31 AM

csm 2.5.5 and betz 2 on ui, not workin for me on 8/1, didnt see any patch notes on login.

chat triggers
"/csm play" - doesnt work at all
"/csm play " - does work
"/csm play blah" - works great, can we get it to check id3 tags for this part to?

"/csm skip" - does nothing can we get a previous too?
"/csm unpause" - does nothing

and I was also looking into the /beginchatinput, but it makes me CTD on everything I try. I dont entirely understand the correct format for the onpress event would

beginchatinput=(/csm play) beginchatinput=(/csm play) be correct?

from playing with /beginchatinput ingame, it needs an extra return, but i dont even get "/csm play" into the inputbox.

something else I tried, puttin the mp3 buttons into the chat window, and using Parent.ChatInput.Text=/csm play
also never put anything into the chatbox, i tried .Activate, .Enable the chatbox also

*edit
ok i got
beginchatinput="/csm play" beginchatinput="/csm play "
to populate the mainchat text box, but I have to manually hit enter to make the command happen.

Laffs 08-02-2005 11:41 AM

Well I got sick of trying to make the damn buttons work as well at one stage I had 5 buttons all with variations of the same command... result was either nothing at all or the unknown command error (that looked promising) but the player still did not trigger :(

Kromulis 10-04-2005 07:10 AM

Any chance on getting this to work with the latest version of CSM?

Draconass 11-26-2005 06:28 PM

This is a complete side note, but..anyone else not able to update CSM via autoupdate and/or not seeing their site? I go there now and see a blank page.

Oh, and as a developmental note: I'm not really into XML or UI modding or whatever, but.. had anyone thought to look at the onpress commands for the socials UI window for inspiration?

What I mean is: Do the onclicks for emote icons in the socials window cause you to just plain do the action, or does it actually type /dance or /wave or whatever into your chat for you behind the scenes (like inputting it directly to the server)? If it does the latter, you could theoretically duplicate the code and have your own UI buttons type stuff like /csm play, right? Unless that one issue before of not having spaces applies here somehow, too.

Again, not a programmer really (took one VB and one C++ class), but it would seem to make sense. I wouldn't know where to look in the XML files, so I couldn't look at this myself. *shrug*


All times are GMT -5. The time now is 09:42 PM.

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