![]() |
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 |
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.) |
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)
|
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 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
|
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)
|
Quote:
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. |
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
|
Quote:
|
Quote:
|
Quote:
<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 |
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. :) |
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 |
Quote:
/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! |
/whochannel only works for your server
|
Quote:
|
1 Attachment(s)
update, working pretty much
let me know if you get any errors |
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) |
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.. |
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)
|
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? |
?? 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. |
Like a panther in the jungle, I wait patiently for the newest version of CSM.. then I pounce!
|
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. |
Quote:
|
Quote:
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. |
Quote:
|
Aden is adding support for configurable triggers, so we can use anything to send the messages to CSM.
|
1 Attachment(s)
beta version 2
|
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 |
Kool :nana:
Nice one Aden... almost given up hope :) |
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. |
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 :(
|
Any chance on getting this to work with the latest version of CSM?
|
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