F2P Addon

I got the new update off curse with f2pi in it, I still have a old folder of f2pi I got off the forum. I should delete the old f2pi folder since it is now in the f2paddon folder?
 
Yep. No need to keep old versions installed.
 
Version 1.2.7 will hopefully be supporting localisation. If anyone would like to contribute region specific text for the addon, this is the base file used for enUS:

Code:
--If you wish to contribute a language file for your region use this one as a basis, and post your modified version (using code tags), on the comments page for the addon at http://wow.curseforge.com/addons/f2paddon/ or at http://twinkinfo.com/f2p-twinking/21104-yasueh-s-macros-addons-f2p.html
--
--the format for this file is as follows:
--
--    ["THE_NAME_USED_IN_THE_CODE"] = "The text you should change",
--
--or
--
--    ["THE_NAME_USED_IN_THE_CODE"] = "The text you should change %s more text you should change",
--
--where '%s' represents a variable that the code will insert into your text string, such as a name or achievement.
--Don't forget the closing comma at the end of every line like the above ones (even the last one in a set)
--Each file in the addon has a section here that corresponds to the .lua filename following 'f2p', to make finding exactly where the text occurs easier (using the Notepad++ editor will also make editing code a lot easier, as it colors different parts according to their purpose).  You may have to refer to those files to get the context of the text right, in particular the correct location for the variables signified by '%s' below.
--Bear in mind that many of the messages below are what your addon sends to other players, so they may be better off left in english in any future localisation files, if you are on a multi language server (I may try to get separate send receive messages set up at some point).
--Also the instructions given by f2pi have to be worded correctly, to avoid people misunderstanding them.
--For the moment the commands recognised by the addon will have to remain constant, but will hopefully become modifiable in future versions, when a better interface can provide in game help for them.
--Don't forget to include the name of everyone who contributed to the translation in a comment, that starts like these with a pair of dashes.


F2PLoc = {}

F2PLoc.achi = {
    ["HAS_EARNED_THE_ACHIEVEMENT_"] = " has earned the achievement %s.",
}

F2PLoc.addon = {
    ["F2PADDON_VERSION_"] = "F2PAddon version %s loaded.",
}

F2PLoc.chat = {
    ["WHY_SOME_LEVELS_ARE_BLOCKED"] = "[F2PAddon] Levels 1, 2 and 24 have been prevented from posting to the channel, in order to limit trolling.",
    ["NO_SUBBED_CHAT_WINDOW_1"] = "F2PAddon has received a message, but has not found a chat window subscribed to display the %s channel.",
    ["NO_SUBBED_CHAT_WINDOW_2"] = "Right click the name tab for a chat window > Settings > Global Channels > ensure that there is a tick before %s.",
}

F2PLoc.data = {
    ["OUTDATED"] = "Your version of F2PAddon is outdated.  %s is the current release.",
}

F2PLoc.friends = {
    ["TOO_MANY_FRIENDS"] = "Too many in friends list, removing %s.",
    ["ADDING_FRIENDS"] = "Adding %s to friends list",
    ["REMOVING_FRIENDS"] = "Removing %s from friends list",
    
}

F2PLoc.i = {
    ["F2PI_LOADED"] = "F2PI loaded.\nType /f2pi in chat to toggle off/on (will automatically be disabled when using LFD/BGs).",
    ["CLARIFY_COMMAND"] = "[F2PI] If you are trying to form a group, the command to whisper to the addon is 'inv'.",
    ["ACCEPTED_COMMANDS_1"] = "[F2PI] In addition to the 'inv' command, this addon also understands the following commands:",
    ["ACCEPTED_COMMANDS_2"] = "[F2PI] 'close' - to have me leave the party.  Please use this so that others may use the addon.",
    ["ACCEPTED_COMMANDS_3"] = "[F2PI] 'lead' - changes who I pass leadership to when I leave, otherwise it will be the first person I invited.",
    ["ACCEPTED_COMMANDS_4"] = "[F2PI] 'raid' - I will normally invite a maximum of 5 other people, then leave automatically.  If you want to make a group of more than 5, use this to remove the limit, and 'close' when everyone has been invited.",
    ["FISHING_COMP_MODE"] = "[F2PI] Fishing Competition mode is active.  Leadership will not be passed, and the group cannot be closed.",
    ["BUSY_RESPONSE"] = "[F2PI] I'm doing dungeons or BGs right now, so I'm not available to invite.",
    ["LEADER"] = "[F2PI] %s will now be leading this party when I drop.  Send 'close' when everyone has joined to ask me to do that.",
    ["NOT_LEADING"] = "[F2PI] I am not leading your party.",
    ["LIMIT_REMOVED"] = "[F2PI] Party size limit removed.  I will no longer automatically leave the group after it has reached a size of 6 people.",
    ["AUTO_DISABLED"] = "[F2PI] My invite addon is currently disabled.",
    ["LEVEL_LIMIT"] = "[F2PI] You must reach level 10 to be eligible for invites.",
    ["QUEUEING_AS_RAID"] = "[F2PI] You will need to convert from raid to party before queueing for LFD.  BGs may still be queued as a raid of 5 though.",
    ["GROUP_FORMED"] = "[F2PI] Group formed: ",
    ["FISHING_MODE_DISABLED"] = "[F2PI] fishing competition mode disabled",
    ["FISHING_MODE_ENABLED"] = "[F2PI] fishing competition mode enabled",
    ["MANUALLY_DISABLED"] = "[F2PI] I have disabled my invite addon, probably because I need to group normally.",
    ["MANUALLY_ENABLED"] = "[F2PI] Invite addon enabled. Whisper me 'inv' to request an invite to a party.",
    ["ON_TRIAL"] = "F2PI is disabled as you are on a trial account, and cannot invite.",
}

F2PLoc.q = {
    --the following 2 items must exactly match the name that the game functions use to refer to the maps, otherwise F2PI will fail to recognise them
    ["WARSONG_GULCH"] = "Warsong Gulch",
    ["ARATHI_BASIN"] = "Arathi Basin",
    --The text for the F2PQ window is arranged neatly in columns using a monospaced font (the horizontal space each character takes up on the line is equal, as opposed to most fonts where the width of the characters can vary).
    --If your language uses a different number of letters for the below texts, then padding with more/less spaces/dashes may be required.  The total width of the window is also limited, so some experimentation may be needed to make the text fit neatly.
    --for enUS the columns are as follows:
    --
    --12 characters for the player names, plus a following space
    --1 character for the '|' separating the columns
    --leading space + 6 characters for the words 'popped' or 'queued' + following space (WSG column)
    --1 character for the '|' separating the columns
    --leading space + 6 characters for the words 'popped' or 'queued' + following space (AB column)
    --
    -- '\n' is the code for a newline, so ["OUTPUT_TEXT"] covers the 2 lines of the table header and the separating line underneath it.
    ["OUTPUT_TEXT"] = "Name         | WSG    | AB\n-------------|--------|--------\n",
    ["QUEUED"] = "queued",
    ["POPPED"] = "popped",
}
 
Last edited by a moderator:
Version 1.2.7 will hopefully be supporting localisation. If anyone would like to contribute region specific text for the addon, this is the base file used for enUS:

What about languages where the syntax is different to English? The character name couldn't be assumed to be in those places in every case.
 
Fixed the above code to allow for variables to be appropriately placed in the text according to local syntax.
 
Last edited by a moderator:
Was on my 60s dk and had a 85 from guild try to whisper me and they got the "you must reach level 10 to be eligible for invites" message. Any way to fix that?
 
IsInGuild(sender) has gone into 1.2.7 alongside the condition that stopped the addon sending the same to GMs in 1.2.6.
 
How about this one;

Melee Macro

#showtooltip Raptor Strike

/castsequence reset=1 Wing Clip,Raptor Strike,Wing Clip,Wing Clip

/script UIErrorsFrame:Clear()

Explanation: This is a melee macro.
 
Re: F2PAddon, chat and more.

Can anyone please give me assistance with ADDONs...
I have downloaded a few and nothing works BUT Recount and F2P
I have whatever curse lists as latest version, I have the block check use outdated addons...
when I was P2P you always had to load the latest version...
am I having issues BECAUSE I only have vanilla WoW...?
 
Re: Yasueh's macros and addons for F2P

Please remove the automatic feature that auto-disbands a group if you have 6 or more people.

I know there's a way to turn that off, but it's annoying and dumb.


Even with FTPI on or off, it still doesn't work for me when someone whispers me "raid".

Please just make it so it's not AUTOMATIC.
 
Last edited by a moderator:
Re: Yasueh's macros and addons for F2P

I took a look through the code and noticed that the 'enabled' value used in the f2pi code was only being checked when you receive a whisper, and not when your party size changes (those being the 2 game events that f2pi responds to), so the function that has the inviter leave the party automatically after inviting 5 people, was being called even after the command to disable f2pi had been given.

The reason that function is present is to allow premades to reform as quickly as possible between games (everyone need only drop their original groups and sent the 'inv' command. No-one has to wait for another group to be closed), and because of people who would request invites and then fail to close the group, denying others access to the invite 'bot'.

I'll be looking at adding a timer to the addon that will close groups of less than 5 that aren't formed promptly, for this same reason.

Otherwise the raid function is working fine, as has been proven numerous time on AP Alliance, through it's incorrect use, as people wanting 5 invites were assuming it was needed to invite the 6th person. That's why I rewrote all of f2pi's messages for 1.2.6 to be a bit clearer.
 
Re: Yasueh's macros and addons for F2P

I'll be looking at adding a timer to the addon that will close groups of less than 5 that aren't formed promptly, for this same reason.

This would be a great compromise :)
 
Re: Yasueh's macros and addons for F2P

You are going to add a timer on groups of less then 5? So 3 people group on the bot, they will be auto grouped and bot leaves group after X amount of time?
 
Re: Yasueh's macros and addons for F2P

Tried to do the obsidium shuffle today, but no one in trade chat could whisper me. They kept telling me they got a weird message saying something about needing to be at least lvl 10(which makes no sense since they are all 85s).

Turned off my F2P addon, and it fixed itself.

Wut gives?
 
Re: Yasueh's macros and addons for F2P

Following the help link up top, i still couldn't download the f2pchat AddOn.

Mac:

Macintosh HD/Applications/World of Warcraft/Interface/Addons/< ModAFolderName >/< files >
Macintosh HD/Applications/World of Warcraft/Interface/Addons/< ModBFolderName >/< files >
Macintosh HD/Applications/World of Warcraft/Interface/Addons/ < ModCFolderNaem >/< files >

The highlighted part was the only difference, it was called F2PAddon-1 (the -1 is insignificant, i had an empty folder called F2PAddon from previous attempts)

About having 3 lines, is there 3 separate AddOns needed?

The only other discrepancies I could find in my files were multiple World of Warcraft.(random letters and numbers).temp with the 3rd copy not having any characters present between World of Warcraft and the .temp

Sorry about being so lengthy, but the previous post said I couldn't be helped by simply stating it wouldn't work. (obviously....)
 

Users who are viewing this thread

Top