statistics
People Online: 19
Today's Visitors: 265
Total Visitors: 3,725,805
February 04, 2012, 06:33:28 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]
Print
Author Topic: Hook Emotes  (Read 1154 times)
Maytrix
Beta Tester
Newbie
*

Karma: +1/-0
Offline Offline

Posts: 46


View Profile
« on: November 05, 2008, 08:42:02 PM »

Pazza,
  Here is the old plugin function for smilies that I am trying to update but couldnt find anything on the new API, please modify it to use the current api for polling WIM emotes or point me in the right direction.
  I have everything working except the WIM plugin function.

Thanks in advance.


peace~


function smiley_plugwim()
  if(packages["WIM"]==nil) then
    if (IsAddOnLoaded("WIM") and WIM.CompareVersion("2.4.9") < 0 and WIM_getEmoteFilePath(":-)")~="") then

--example of how to write a plugin pack. WIM_getEmoteFilePath(theEmote) returns an absolute path to the appropriate texture, you can just provide a string
--wim does it that way because emotes are based on user's current skin
 smiley_registerpackage("WIM",{
 ["Happy"]=WIM_getEmoteFilePath(":-)"),
 ["Biggrin"]=WIM_getEmoteFilePath("Cheesy"),
 ["Sad"]=WIM_getEmoteFilePath(":-("),
 ["Whoa"]=WIM_getEmoteFilePath(":O"),
 ["Fun"]=WIM_getEmoteFilePath("Tongue"),
 ["Wink"]=WIM_getEmoteFilePath(";-)"),
 ["Uhh"]=WIM_getEmoteFilePath(":@"),
 ["Cry"]=WIM_getEmoteFilePath(":'-("),
 });
 end
-- end of example
 end
Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #1 on: November 08, 2008, 09:33:29 AM »

You are right I did change the API. The old method generated so much garbage that I felt it was due for a change.


WIM.GetEmotes()  returns an unpacked list of all the available emotes (but not their aliases, only the main emoticons). For example it will send  : - ) but not : )

WIM.GetEmoteAlias(emote) returns an unpacked list of all the acceptible aliases for that emote.

and then finally:

WIM.GetEmoteTexture(emote) returns the texture path only, nothing more. as a parameter you can pass either the main emote or any of its aliases, it isn't picky :-).
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: November 08, 2008, 09:44:35 AM »

I've just posted an update for smilies on curse. Stopped trying to use wim's emote list since it actually uses wim's emotes anyway. Still screws up on tradeskill links though
Logged
Pages: [1]
Print
Jump to:  

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