statistics
People Online: 17
Today's Visitors: 269
Total Visitors: 3,725,809
February 04, 2012, 06:44:26 AM
Shoutbox
   
 
[Guest] [joshmiller83]: Can we get an Astrolabe fix please? Or has WIM stopped being developed?
[DevTeam] [Astaldo]: You can disable wim2wim for now or visit the forum thread where you originally posted the issue
[DevTeam] [Zeke]: Yay for spam!
[DevTeam] [Zeke]: ....
[DevTeam] [Zeke]: I love that I get emailed when someone reports spam on the boards, but I can't do anything about it.
[DevTeam] [Nachonut]: lol i got you
[DevTeam] [Astaldo]: How about "hide email address from public checked" and it's still visible in all my posts...
[DevTeam] [Astaldo]: I'd delete my account on this site, but by the time I realized the problem half the spambots on the planet had it already
[Developer] [Pazza]: Astaldo if you log out and view your profile with a refresh you'll see that your email is hidden.
[Developer] [Pazza]: Your user level on the forums permit you to see emails even though they are marked hidden.
[DevTeam] [Astaldo]: Ah.. thanks for the clarification and apologies for "crying wolf" in that case :
[DevTeam] [Kaidenn]: PAZZA! i miss you.
[DevTeam] [Nachonut]: Lol, it's funny how it takes spam message reports to get me to come back
[DevTeam] [sylvanaar]: Check out the beta tester forum. Need alpha testers and feedback so I can come up with a maintenance plan.
[Developer] [Pazza]: loaded some new spam prevention modules... lets see if this stops the bastards.
[DevTeam] [Maziel]: Thought I'd check in and say Howdy Doody from Australia
[DevTeam] [Maziel]: Yeah the spam from shoes salesmen was becoming insane
[Guest] [Delakando]: What ever happened to the ability to track friend's location by wim? Other then just showing their general zone location.
Zeke pokes his head around the corner.
[DevTeam] [Zeke]: Anybody home?
[Guest] [Theillur]: I would like to know if it is just me.
[Guest] [Theillur]: http://www.wimaddon.com/forums/index.php/topic,1796.0.html
[Guest] [Nev]: I'm here
[Guest] [Nev]: I don't think anyone else is though
[Guest] [tomasio]: great site [url=http://freeonlinemusicvideos.net].[/url] [url=http://freepeopleclothing.org].[/url]
[Guest] [Theillur]: Nev it is not working for Zeke as well.
[DevTeam] [lothaer]: im here
[DevTeam] [lothaer]: ...
lothaer yawns sleepily.
[DevTeam] [lothaer]: sooooooooooooooooo
[Guest] [j3ff]: Hello. It is very quiet. I would love a response to my thread directly below your "Been very quiet" thread!
[DevTeam] [lothaer]: Check out my new post in the Skins forum
[DevTeam] [lothaer]: Posted a new download in the skins forum check it out
[DevTeam] [lothaer]: Zeke, Maziel, Pazza, Nachonut, sylvanaar, Kaidenn, Astaldo where are you?
[DevTeam] [lothaer]: It would be a real shame if WIM was left to die.
[DevTeam] [lothaer]: i think these forums are dead, Sylvanaar dosnt post on them as he only bug fixes when possible. WIMs future isnt very bright
[Guest] [justgiz]: Yea, its rather sad.
[Guest] [silvercola]: I wish it had skype
[DevTeam] [lothaer]: noy possible for a addon to do.
[DevTeam] [lothaer]: ...........
[Guest] [elzershark]: where is the download file?
lothaer beckons everyone over to you.
[DevTeam] [lothaer]: has anyone been able to take WIM to the beta yet?
[DevTeam] [lothaer]: PTR*
[DevTeam] [Maziel]: *sticks head up and looks around*
lothaer cries.
[DevTeam] [lothaer]: who the hell flagged my post as spam?
[Guest] [primalforce]: Hey guys
[DevTeam] [lothaer]: hello Primalforce.
[DevTeam] [lothaer]: PAZZA COME BACK!!!
 
   
   
News: World of Warcraft v4.0.1
 
Pages: [1] 2
Print
Author Topic: Intercept messages  (Read 3539 times)
Stewart
Global Moderator
Sr. Member
*****

Karma: +6/-0
Offline Offline

Posts: 294



View Profile
« 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
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« 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
Global Moderator
Sr. Member
*****

Karma: +6/-0
Offline Offline

Posts: 294



View Profile
« 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
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« 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
Global Moderator
Sr. Member
*****

Karma: +6/-0
Offline Offline

Posts: 294



View Profile
« 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
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« 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
Global Moderator
Sr. Member
*****

Karma: +6/-0
Offline Offline

Posts: 294



View Profile
« 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
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« 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
Global Moderator
Sr. Member
*****

Karma: +6/-0
Offline Offline

Posts: 294



View Profile
« 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
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« 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
Global Moderator
Sr. Member
*****

Karma: +6/-0
Offline Offline

Posts: 294



View Profile
« 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
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« 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
Global Moderator
Sr. Member
*****

Karma: +6/-0
Offline Offline

Posts: 294



View Profile
« 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
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« 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
Global Moderator
Sr. Member
*****

Karma: +6/-0
Offline Offline

Posts: 294



View Profile
« 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
Pages: [1] 2
Print
Jump to:  

You must be logged in to send a message to the shout box.
     
  test stamp