|
Stewart
|
 |
« on: February 14, 2008, 09:23:20 AM » |
|
If i have a plugin intercepting both incoming and outgoing messages, then passing those messages back to wim using WIM_PassIncomingMessage(blah) return true;
do i have to do something special to maintain the "R" key functionality? it doesnt seem to work while my plugin is running
Thanks Stew
|
|
|
|
|
Logged
|
|
|
|
|
Pazza
|
 |
« Reply #1 on: February 14, 2008, 01:38:32 PM » |
|
You might have to. To be honest, I forget. lol. And being further honest, I think the plugin tools I provided need some updating. It was sufficient when they where released, but things have gotten a bit more complex.
May I ask what plugin you are making? Perhaps I could suggest a better way to do things or even add the tools you might need.
|
|
|
|
|
Logged
|
My hobbies consume way too much time :-).
|
|
|
|
Stewart
|
 |
« Reply #2 on: February 14, 2008, 01:42:09 PM » |
|
See other convo we're having. Could have hooked something like the URL parsing function or something but i thought this would be easier
|
|
|
|
|
Logged
|
|
|
|
|
Pazza
|
 |
« Reply #3 on: February 14, 2008, 02:31:03 PM » |
|
Thank you for reminding me. I wanted to add an API for formatting incoming and outgoing strings for display in WIM only.
Probably going to be one function. WIM_FormatDisplayedText(text);
Don't worry about the smiley system for WIM though. I am definately going to add that once the patch is released. Hopefully I will have it done for the same day. It also allows me to add a smiley lib to the skin engine. :-)
|
|
|
|
|
Logged
|
My hobbies consume way too much time :-).
|
|
|
|
Stewart
|
 |
« Reply #4 on: February 14, 2008, 02:47:55 PM » |
|
fair enough, since i was writing a multi-style smiley system for the normal chat frames i might as well make it a wim plugin at the same time, fair enough :-)
|
|
|
|
|
Logged
|
|
|
|
|
Pazza
|
 |
« Reply #5 on: February 14, 2008, 03:12:26 PM » |
|
Well go for it. Don't let me stop you. When WIM for 2.4 is released though, your code formatting will most likely be ignored since WIM will parse the data before passing it to plugins.
|
|
|
|
|
Logged
|
My hobbies consume way too much time :-).
|
|
|
|
Stewart
|
 |
« Reply #6 on: February 14, 2008, 05:33:54 PM » |
|
just out of interest, any plans for the format of smileys in the skins?
|
|
|
|
|
Logged
|
|
|
|
|
Pazza
|
 |
« Reply #7 on: February 14, 2008, 06:08:44 PM » |
|
yes i do plan on adding a way to import your own smileys.
|
|
|
|
|
Logged
|
My hobbies consume way too much time :-).
|
|
|
|
Stewart
|
 |
« Reply #8 on: February 15, 2008, 03:12:08 PM » |
|
calling ChatEdit_SetLastTellTarget(usr); before handing the message back to wim seems to do the trick
|
|
|
|
|
Logged
|
|
|
|
|
Pazza
|
 |
« Reply #9 on: February 15, 2008, 04:39:32 PM » |
|
:-) awsome.
Yeah I was looking over the plugin system. I gotta sit down one day and rethink it out. There are too many inconsistencies. And it just makes things hard to debug.
It suits my own internal usage for W2W and Skins, but other than that... It just gets sloppy.
I am considering a major overhaul come WoW 3.0. But we'll see. That's a lot of work :-/.
|
|
|
|
|
Logged
|
My hobbies consume way too much time :-).
|
|
|
|
Stewart
|
 |
« Reply #10 on: February 15, 2008, 05:17:01 PM » |
|
well wow3.0 is a long way away and tbh like 2.0 everyone's gonna have to sit down and rewrite probably. on the plus side almost finished my addon, need to test a couple of things, but the char copy finally opened again on the PTR so waiting for that to go through thanks for your help though :-)
|
|
|
|
|
Logged
|
|
|
|
|
Pazza
|
 |
« Reply #11 on: February 15, 2008, 06:28:50 PM » |
|
No problem. Thats why I have these forums :-)
|
|
|
|
|
Logged
|
My hobbies consume way too much time :-).
|
|
|
|
Stewart
|
 |
« Reply #12 on: February 16, 2008, 01:45:45 PM » |
|
another quick question, if i want a plugin to generate a WIM message, without the game engine triggering a CHAT_MSG_WHISPER, how would i go about that?
|
|
|
|
|
Logged
|
|
|
|
|
Pazza
|
 |
« Reply #13 on: February 16, 2008, 02:00:02 PM » |
|
you can just call WIM_PassIncomingMessage(user, message) or WIM_PassOutgoingMessage(user, message)
with some hacking, you could send system and error messages as well. Again... updates are needed in the plugin world.
You're welcome to AIM me whenever as well. xTwoStepx
|
|
|
|
|
Logged
|
My hobbies consume way too much time :-).
|
|
|
|
Stewart
|
 |
« Reply #14 on: February 16, 2008, 02:07:19 PM » |
|
while that seems to work for WIM_PassOutgoingMessage, attempting the same for an incoming message just seems to do nothing
Dont have aim, but will see if i can organise some form of AIM IM client
|
|
|
|
|
Logged
|
|
|
|
|