FlagRSP2
FlagRSP2 is an AddOn for World of Warcraft that allows players to add additional information about their characters into the game. It is designed to support role players and allow others with MSP compatible AddOns to easily see if the character is a role player or is even in character. Characters can be fleshed out with additional names, titles, and detailed descriptions.
FlagRSP2 is a continuation of flagRSP 0.5.6 by Flokru. FlagRSP2 is a completely new code base designed to be more efficient and play well with other AddOns. As of 2.5, FlagRSP2 uses the new Mary Sue Protocol to communicate, and no longer uses chat channels.
If your FlagRSP2 copy is OLDER than 1.5.x you should delete the FlagRSP2 directory first!(The Curse Client will do this for you if you use that.) Copy the "flagRSP2" folder into your World of Warcraft AddOns folder. Before selecting your character and entering the game other MSP RP AddOns such as MyRolePlay must be disabled to prevent conflicts.
If you really like this AddOn and would like to help support it, there are a couple of things you can do. You can help by providing clear bug reports that try to accurately describe the problem and screenshots are helpful. Submit your trouble ticket here.
FlagRSP2 is a continuation of flagRSP 0.5.6 by Flokru. FlagRSP2 is a completely new code base designed to be more efficient and play well with other AddOns. As of 2.5, FlagRSP2 uses the new Mary Sue Protocol to communicate, and no longer uses chat channels.
If your FlagRSP2 copy is OLDER than 1.5.x you should delete the FlagRSP2 directory first!(The Curse Client will do this for you if you use that.) Copy the "flagRSP2" folder into your World of Warcraft AddOns folder. Before selecting your character and entering the game other MSP RP AddOns such as MyRolePlay must be disabled to prevent conflicts.
If you really like this AddOn and would like to help support it, there are a couple of things you can do. You can help by providing clear bug reports that try to accurately describe the problem and screenshots are helpful. Submit your trouble ticket here.
GAH... more issues.
Interface\AddOns\flagRSP2\options.lua: 194: attempt to call method 'GetChecked' (a nil value)
New error I get with 1.4
I did a Reload UI and got the same error. Is it a missing variable? Going to work, gonna look here/at the code tonight
Some how a variable got past the if then check that was not supposed to.
if (option ~= nil and option ~= "textsendupdate" and option ~= "timedupdate") then
Reproduced: Fixing...
Also working on the over all efficiency of the code. Cutting over fifty lines down into about six lines is magic.
In the terms of multiplayer games I would say "This is IMBA" ;)
Download the latest release here.(Officially 1.3.5 until I release it on my own web site and Curse.) http://files.wowace.com/sw-f.html
It already fixes the version display issue and a few Viewer bugs.
Serneum, there are no plans to put the ability to remove spaces in and we should NOT edit the code like that. It will break compatibility more than should be done. The best way to do it is to implement a check box to optional remove spaces. This I will do since it improves compatibility and makes it optional. It also reduces the amount of transmission space required to send RSP flags back and forth.
I am currently tinkering with an idea to reduce transmission space to induce less spam throttling.
Good to know. I had no compatibility issues when I tested it but I also dont know as much about the code as you do. I was hoping you would add a checkbox, but I did wonder about how it would all function (or I would have tried it myself). The issue with the checkbox is that people may not notice it and it seemed easier to try and remove the spaces altogether...but you'll get people who will complain/not notice either way.
Have fun updating it with the cutting down of lines :D
Ok I found out how to make it so that your name doesn't automatically have spaces. It's in quite a few lines and the author can come back through and change the ones that are unnecessary if they want. The only problem I found through testing was that only YOU can see it the way you typed it, everyone else sees it with the spaces. If the author of RSP wants to incorporate this, go ahead...Then all you do is update it for 2.4 and release and people will redownload it and have no issues with names.
I'm gonna list it one line at a time. This is best done with a program like Notepad++ where the lines are numbered for you. Note: The periods look like commas because they are in italics. In the code they are still periods.
Note 2: There are "ands" from when I typed this comment. These "ands" are NOT in the actual code. They were used so that I could show the changes without copy/pasting some of the longer lines. Look for the code snippets that I used and edit those...do NOT edit your code to put in some "ands" as you would be missing vital portions of the FlagRSP2 coding
Line 421: originally ["AN1"] .. " " .. and UnitName(unit) .. " " .. FlagList
change to ["AN1"] .. "" .. and UnitName(unit) .. "" .. FlagList
Line 423: originally UnitName(unit) .. " " ..
change to UnitName(unit) .. "" ..
Line 570: originally ["AN1"] .. " " .. and UnitName(unit) .. " " .. FlagList
change to ["AN1"] .. "" .. and UnitName(unit) .. "" .. FlagList
Line 572: originally UnitName(unit) .. " " ..
change to UnitName(unit) .. "" ..
Line 708: originally ["AN1"] .. " " .. and cName .. " " .. FlagList
change to ["AN1"] .. "" .. and cName .. "" .. FlagList
Line 710: originally cName .. " " ..
change to cName .. "" ..
Line 1119: originally name1 .. " " else name1 = " " end
change to name1 .. "" else name1 = "" end
Line 1120: originally name3 = " " .. name3 else name3 = " " end
change to name3 = "" .. name3 else name3 = "" end
Theres a simple error to that initialization error about the OnLoad 'version'.
Line 18 of FlagRSP2.lua just remove "local" from that line so that it reads version = "1.3.4";
Fixed the error on my side, nothing else seems to have broken.
Serneum, thank you for the fix. Changing line 18 as you direct does end the error that I had submitted in my bug report. Cheers!
Not a problem :)
My next attempt is to remove the spaces with Prefix and Suffix names like I saw someone else asked for...
Well, the fix I used makes it so the viewer doesn't crash and descriptions do indeed work when you hover over a name. So, perhaps look at that. The biggest problem I still have with fixes is that it doesn't seem like descriptions update. They pull down the first time just fine, but, even an hour after someone changes something in their profile, it's still what I initially got. It might be semi fixable by deleting saved variables or something.
Is there a solution or way of forcing profiles to be refetched?
The initial error in 1.3.4 with the version message can be safely ignored.
Trinkitty, the viewer is known to be buggy. Descriptions and such will appear, but it can take a very long time to get enough of them to view due to the new chat channel restrictions put in place by Blizzard in a recent patch.
Ok, my FlagRSP2 ver 1.3.4 got screwed up after i tried out a different UI (mistake, i took it off of my computer). I've deleted FlagRSP2, redownloaded it, reinstalled it, still got the same error message (see previous comment). I decided to try FlagRSP2 1.3.2, worked just fine, and stopped another error message on a different Addon (ArkInventory).
don't know how this was fixed, but it works.
I'm guessing there are others that get this to work out of the box and I'm the only one that had to do other fixes? I even tried disabling all my add-ons and just loading FlagRSP. The original still needed the popup_desc fix, and it failed to update another player's description after they changed it. I -really- like the idea of these role-play add-ons, but, neither this nor MyRolePlay appears to work, and both would seem alot better if there was a way to tell at a glance if anyone on your server even used it. As is, it doesn't seem likely anyone would even see the info you put. I even tried it briefly as a gnome on both Lightning Hoof and Argent Dawn. So that I could run to Ironforge and look at the dozens of people there. No joy. So, still basically, is there anyone that has either Myroleplay, or this, working without lots of hacking and toying and fiddling?
Can you please remove the automatic [spacebar] between pre-,suffix?
'Cause if you want a Troll name with ', for example Zul'jin if your char is named 'Jin' you can only can him Zul Jin or Zul' Jin. Ande if you DO want a space between the name and the 'fix' you can add it yourself.
Perhaps due to my fixing... I fixed the bug that I posted below by editing popup_desc function to have...
function popup_desc(cName)
if (cName == "") then
return
end
if (cName == "?") then
return
end
if (cName == nil) then
return
end
instead of just the first check, the 'viewer' no longer pops an error. The next problem I have seems to either be a clash between it and TipTac or MobInfo which also both edit unit tooltips. Any known fix for this?
--
Added Bug: It doesn't seem to update changed descriptions properly.
I get this error when attempting to use the 'viewer' in the flagsp gui. I have no clue what it is or if it even really breaks functionality of the mod in any significant way. I'm just trying FlagRSP2 out, it's a bit discouraging that none of the RP mods seem to be working or updated though.
Date: 2008-03-15 16:24:05
ID: 14
Error occured in: Global
Count: 1
Message: ..\AddOns\flagRSP2\flagRSP2.lua line 702:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
flagRSP2\flagRSP2.lua:702: popup_desc()
[string "*:OnEnter"]:1:
[string "*:OnEnter"]:1
AddOns:
AceProfit, v0.1
ArkInventory, v2.26
AucAdvanced, v5.0.PRE.2887
AucFilterBasic, v5.0.PRE.2887 (BillyGoat)
AucStatClassic, v5.0.PRE.2887 (BillyGoat)
AucStatPurchased, v5.0.PRE.2887 (BillyGoat)
AucStatSimple, v5.0.PRE.2887 (BillyGoat)
AucStatStdDev, v5.0.PRE.2887 (BillyGoat)
Bartender3, v3.1.2 r63833
BeanCounter, v5.0.PRE.2887 (BillyGoat)
Cartographer, vr63590
CartographerCleanup, v1.0
CartographerData, v1.0
CartographerMailboxes, v1.0
CartographerMining, v1.0
CartographerTrainers, v1.0
CartographerVendors, v1.0
CartographerQuestInfo, v1.9.20
CartographerFishing, v1.0
CartographerIcons, v1.0
CartographerNoteshare, v1.0
CartographerNoteTarget, v0.3
CartographerQuestObjectives, v0.9b
CartographerQuests, v0.2
CartographerQuicknotes, v0.1
CartographerRoutes, v1.0
CartographerTreasure, v1.0
Chinchilla, v1.0r63344
ClearFont2, v2.2
Clique
DoubleWide
EavesDrop, v1.5
Enchantrix, v5.0.PRE.2887
EnchantrixBarker, v5.0.PRE.2887 (BillyGoat)
EnhTooltip, v5.0.PRE.2887
EQCompare, v1.4
FishingAce, v0.4.2h
flagRSP2, v1.3.4
AceProfitFu, v0.1
FuBarAmmoFu, v2.0
FuBarClockFu, v3.0
FuBarExperienceFu, v1.1 $Revision: 55081 $
FuBarGrindFu, v1
FuBarLocationFu, v3.0
FuBarMoneyFu, v20000-1
FuBar, v60201
Informant, v5.0.PRE.2887
LightHeaded
MobHealth, v3.2
MobInfo2, v3.52
MobMap, vMobMap v1.58
NDragIt, vr63025
Postal, v2.1 r61025
Prat, v2.0 63303
QuestHelper, v0.36b
RatingBuster, v1.3.5 (r64267)
Recount, v$Revision: 62909 $
sct, v5.7
sctd, v2.4
Stubby, v52
SunnArt, v2.11
Swatter, v5.0.PRE.2887
LootLink, v350
TipTac, v08.02.24
WIM, v2.3.65
XPerlArcaneBar
XPerlGrimReaper
XPerlParty
XPerlPartyPet
XPerlPlayerBuffs
XPerlPlayer
XPerlPlayerPet
XPerlRaidAdmin
XPerlRaidHelper
XPerlRaidMonitor
XPerlRaidPets
XPerlRaidFrames
XPerlTarget
XPerlTargetTarget
XPerl, v2.3.9b
XLootMonitor, v0.7
XLoot, v0.9
Xparky, v1.2.1
Love this addon, makes Roleplaying a lot more enjoyable.
Now i have this problem everytime i log in or /reloadui (yes i reinstalled it, and turned off any other RP addons)
[string "flagRSP2Options_Frame:OnLoad"]:1:attempt to concatenate global 'version' (a nil value)
Have no clue what option it's talking about
Did anyone else experience Problems with FlagRSP2? Everytime I activate it i get errors. Seems to be an Encoding Problem. Could this be triggert by users that use
old versions of flagrsp? I really would like to use it again ... but these errors
are not shown for fun and it slows down the game really strong.