flagRSP MoP

flagRSP MoP is an add-on that allows you to set a title, first name, and last name as well as setting a character status and a roleplaying flag. Other users of this add-on will be able to see these flags and you will be able to see theirs. This is mainly useful for RP servers, but there's nothing preventing you from using this on servers of other types. Feel free to report any bugs or request features here.

flagRSP MoP (formerly known as flagRSP BC, flagRSP WotLK, and flagRSP Cataclysm) is the original flagRSP add-on updated and enhanced for the World of Warcraft 5.0 patch. This continued version bases on the work done by Flokru and Adriathys. Since both authors have abandoned the project I picked up the code and fixed some open bugs.

Please note that flagRSP MoP will make changes to your tooltips. This may conflict with other addons that manipulate the tooltip. If this occurs, you can turn tooltip alteration off and won't run into any trouble.

Version information for v1.2.2 (compatible to WoW 5.2)
As always with a new version it's a very good idea to make an update of your flagrsp files ("YourWowDirectory/WTF/Account/YourAccountName/SavedVariables/flagRSP.lua" and "YourWowDirectory/WTF/Account/YourAccountName/CharacterName/SavedVariables/flagRSP.lua" for each character). Just rename them (for example to flagRSPbak.lua) or copy them somewhere else (or zip them).

The friendlist is going to be changed in 1.2.2. So when you log in, the names in the Friendlist will look like "Sye (Syeira) Ravenwing". The rp name is now handled completely independent from the ingame name. That means, the ingamename must be exactly the name of the character ingame or the charname-servername (without spaces) for people from other servers. But the rp name you can just change to what you want.

The good news is, that this change in the friendlist structure allows you to create flags for people without any flagaddon - or even for people from CROSSREALMS!

How crossrealm friends works:

Take your new friend into the target

Click on the "Add Friend"-button at the bottom of the flagRSP friendlist

The ingame name is filled automatically, e.g. "Syeira-Forscherliga" for other realms than yours, or just "Syeira" if it is from your realm
a) If you have no target, or want to add someone else, you have to insert the correct ingame name like "Syeira-Forscherliga" or "Syeira"

Fill in the firstname and surname (or just one...), title, notes and set the friendstate
a) If the new friend is from your own realm and has a flag addon, the rp info is taken from the flag infos

Click the "Add" button

Enjoy

FlagRSP will now use the information of the friendlist as a tooltip, if no flag is present.

Unfortunately, the direct addon communication between cross realm zones is still not working, but with this way you can do it manually:

You make a character on the foreign realm, e.g. "Argent Dawn". Go to the people you want the flag from, and mouseover them. Wait a little until you can see their flags. Then you can logout and switch back to your character. The next time you see them, you should have a flag for them (but it might be outdated).
Also, you should set a higher purgeflagintervall for flagRSP via

Code:

/rsp purgeflaginterval X

(X in seconds).
For example clears
/rsp purgeflaginterval 4838400
all flags older than 2 months (the default is 14 days).

Features

Set one of four roleplaying flags to show other players your preferred roleplaying style.

Set one of four character states to show other players how much in character you currently are or if you are searching for contact

Choose a first name for your character.

Choose a last name for your character.

Choose a title for your character.

Add a description of the outward appearance of your character.

All those attributes mentioned above will be visible to other users of flagRSP or compatible addons.

An enhanced friend list that can hold an unlimited number of entries.

You can add players, NPCs and even whole guilds of both factions to your friend list.

You can mark characters, guilds and NPCs on your friend list as known, friend or foe.

Characters marked as foe will be signalized acoustically when hovering them with your mouse cursor.

Make PVP rank, title, guild and guild rank of other characters visible in your tooltip. Or hide them!

flagRSP's tooltip modifications can be turned off if needed to avoid conflicts with other tooltip addons.

Every feature is optional.

flagRSP MoP is fully translated to English, German and Russian language. Translations for other languages are wanted, so if you like, feel free to send me your own. A French localization which covers about 90 percent is included.

Compatibility

flagRSP MoP now supports the MarySue protocol (MSP). As there should be only one addon implementing MSP, please run only one of flagRSP, FlagRSP2, TotalRP 2 or MyRolePlay.

Trouble shooting

Common problems can be solved by simple commands you type into your chat window.

''/rsp resetinfobox'' — This will reset the position of the infobox that displays your target's character description. This is useful if you accidentally moved the infobox out of scope.

"/rsp resetbutton" — This will reset the button that typically appears above your target frame. The button is movable so it is possible to move it behind other ui elements. The command will reset it to the target frame.

''/rsp alwaysinfobox'' — By default flagRSP remembers if a target's description window was shown or hidden the last time you clicked on it. You can use this to command if you want your description window to always pop up automatically when you click on a flagged target. You can use this command to return to default behavior as well.

flagRSP MoP 1.2.3 Changes
* Friendlist: Dragon is visible again if the target is known to you
* Friendlist: Import/Export chat command is working again
* Friendlist: Tooltip shows the friendstate to guilds again

flagRSP MoP 1.2.2 Changes
* TOC updated for 5.2
* Added Italian localization (thanks to Aledus)
* Reordered the displayed information of the friendlist entries
* Friendlist data is getting updated, previous altName and name are merged for chars in the format "altName (name)".
* You can now assign characters of crossrealms an flag by entering a friendlist entry for them
* Reordered the displayed information in the friendlist
* Fixed the tooltip width for long names/titles with a maximum width
* Many bug fixes

flagRSP MoP 1.2.1 Changes
* The engine title is shown in the tooltip correctly.
* Positioncursor in the description box has been found and send back to its work.
* You can set the InfoBox to be shown always instead of showing it for individual toons. If alwaysshown is active, the button at the target will be hidden.

flagRSP MoP 1.2.0 Changes
* Yes, MarySue Protocol (MSP) is now supported
* xtensionxtooltip2 is no longer needed for flagRSP
* Code cleaning
* Merged the fields for name and surname into one, called "fullname"
* InfoBoxbutton should work correct now

flagRSP Cataclysm 1.1.4 Changes
* The state of the minimap button (shown/hidden) is now saved and will be kept when relogging.
* flagRSP now remembers again if you don't want to see the tips on startup anymore.

flagRSP Cataclysm 1.1.3 Changes
* Fixed an error that occurred when you hovered a npc and your character had learned only one profession (*sigh*).

flagRSP Cataclysm 1.1.2 Changes
* Fixed an issue that prevented editing the character description.
* Included russian localization. (Thanks to FreeSoul from WoWInterface!)

flagRSP Cataclysm 1.1.1 Changes
* Fixed an error that occurred when you hovered a npc and your character had learned no professions.
* Fixed an issue with an error message that could crop up when starting flagRSP for the very first time.

flagRSP WotLK 1.0.9 Changes
* Infobox is now movable even if "AlwaysShowInfoBox" is set.
* /rsp owntooltip works again.
* New slash command for changing the first name: /rsp firstname
* Fixed level coloring.
* Fixed display of alternative level descriptions. This caused the tooltip to be empty after patch 3.2.
* Ever wondered why the tooltip switches back to default tooltip rendering from time to time on some characters? A new hook is added to prevent this.
* Updated TOC for WoW 3.2.0

flagRSP WotLK 1.0.8 Changes
* Updated TOC for WoW 3.1.0

flagRSP WotLK 1.0.7 Changes
* Fixed an issue with drop down lists due to changes in WoW API. The friend state of entries in your friend list could not be changed as of WoW 3.0.8
* Friends and enemies on your friend list are colored green and red again. Guild entries are colored slightly lighter than character entries.
* The title of a character is now displayed colored in the info box.
* Removed some "Did you know?" hints that were not applicable anymore.
* Reimplemented import and export of flagRSP's friendlist from/to WoW's friendlist. (/fl import or /fl export)
* Added a new slash command for resetting the position of the info box: /rsp resetinfobox

flagRSP WotLK 1.0.6 Changes
Typhix: Set the default state for the minimap button to on.
Typhix: Fixed a bug that prevented showing prenames of yourself and known persons in the tooltip if the option hiding names was activated.

flagRSP WotLK 1.0.5 Changes
Typhix: Fixed a bug that could crop up while logging into the game.

flagRSP WotLK 1.0.4 Changes
Typhix: Fixed two minor bugs that could occur while reading tooltips.
Typhix: Character titles are now displayed in yellow color. The friendlist shows the character names now in a slight different color.
Typhix: Removed flagRSPloader from package. flagRSP WotLK now is no load-on-demand addon anymore.

flagRSP WotLK 1.0.2 Changes
Typhix: After a couple of hours of testing on PTR an error occured while determining the owner of a pet/minion. I don't know exactly what triggered this and was not able to reproduce it a second time. Nevertheless I added an error handling routine for this case. If the owner of a pet/minion cannot be determined, flagRSP now will simply omit the corresponding tooltip line.

flagRSP WotLK 1.0.0 Changes
Typhix: Blizzard changed numerous native functions with the upcoming WoW 3.0 patch. Several fixes done to keep flagRSP working with Wrath of the Lich King expansion.
Typhix: Removed filter button from friendlist as it had no implemented function yet. (Nevertheless, filtering would be a nice feature. I'll realize this later.)
Typhix: Changed addon name to "flagRSP WotLK".
Typhix: Version number miraculously jumped to 1.0.0. It was time I think.
Typhix: Updated TOC for WoW 3.0.
Typhix: Declared a better dependency to flagRSP loader
Typhix: Tidied up the zip package. There were a whole lot of useless files and folders in it.

not sure what's going on, but it seems that at random intervals, I am completely unable to see my own description. I haven't seen other players yet so I don't know if the same thing will occur, but it seems pretty unpredictable so i assume so.
I mean, I just alt-tabbed back into the game and the description was visible again. a couple of minutes later it was gone and i couldn't get it back. this is rather peculiar.

Originally posted by Everlet There are griefers who use this addon on my server;

What they do is they practically post an entire song, or put quotes, or just random garble as their title and therefore the hover-over tooltip that shows up covers the entire bottom half of your screen. It covers the hotkeys, the chatbox, etc because of how large the tooltip becomes when stretched.

Wow... people are so lame that they take the time to do this just to annoy RPers? Sorry to hear that. I've actually been thinking of playing on an RP realm a bit just to get away from morons like this.

__________________

I prefer rogues to imbeciles, because they sometimes take a rest.--Alexandre Dumas

Would there be any chance of you implementing the option to cut off titles in tooltips after a certain number of words? There are griefers who use this addon on my server;

What they do is they practically post an entire song, or put quotes, or just random garble as their title and therefore the hover-over tooltip that shows up covers the entire bottom half of your screen. It covers the hotkeys, the chatbox, etc because of how large the tooltip becomes when stretched.

I would absolutely love it if the option to cut off tooltips when hovering over a character with your mouse is implemented such as how FlagRSP2 does it where the cutoff limit is 8 words. I prefer RSPCata because of the UI, is all.

Just when hovering though, when you click on someone it's automatically kept short and squished. The problem is simply the hovering tooltip has no cutoff limit.

FlagRSP shouldnt conflict with My Roleplay anymore since the other is using a totally different protocol now. In fact, the author of MRP has mentioned that they would like to have the three RP addons using that new protocol.

Just a warning to folk that might have one of these AddOns and want to use the other: flagRSP and SpamMeNot (SMN) do NOT play nicely, together!

I don't know if an addon can mark its Comm Channel as "high-traffic" to avoid SMN watching it, but as it stands, SMN will go nuts on the xtensionxtooltip2 channel that flagRSP uses and register spam complaints about anyone sending 2 or more <D##> update tags (of any decent length).

Would love to be able to use both of these addons together. Figured it was worth the heads-up to both the author and other users of these addons, as SMN's autoflagging of other users means that not only are the "offending party" auto-ignored, spamming the report feature is not necessarily a good thing (for the user).

At the very least, if SMN doesn't have a channel-exclusion feature available in it that flagRSP could use, it'd be a really useful feature-request for it.