Yasueh: 2 addons = 2 channels?

Kochist

Legend
Today I tested something with the F2PAddon to see if we can be in more then 1 channel.

This means you could have one channel open to everyone on the server and then people could also make their own channels on the side for some custom premades or just to chat with friends. You can see chat from both channels without needing to switch back and forth.

Edit: Yasueh looked into this and created a cleaner version of F3PAddon. The download is in his post on the second page of comments.

- - -

The F2PAddon only lets people use one channel for chat. You can switch to other channels but you can only be in one at a time.

I thought to myself if the addon is limited to 1 channel, how about if we had 2 addons and therefore have access to 2 channels?

I copied the entire F2PAddon folder and then went inside and changed every file name and all the contents of the files.

Using the find and replace button to change all "F2P" text into "F3P" text, and all the "f2p" into "f3p". Important to keep the capital and lowercase letters as they are and only change the 2 into 3.

Thus creating a new F3PAddon that can run at the same time as F2PAddon. In my Interface - Addons folder I have a F2PAddon and a F3PAddon.

- - -

The result is this:

View attachment 2343

my F2PAddon joined the "f2ptwink" channel and my F3PAddon joined the "Oldschool" channel

Here is another test where my trial account types in "p2p?" in both channels and you see my paid account can reply in both with [F2PI] and [F3PI]. I made the "Oldschool" channel a green color so it looks different, kindof like a guild chat.

View attachment 2344
 

Attachments

  • World of Warcraft-64ScreenSnapz003.png
    World of Warcraft-64ScreenSnapz003.png
    48.4 KB · Views: 328
  • World of Warcraft-64ScreenSnapz002.jpg
    World of Warcraft-64ScreenSnapz002.jpg
    21 KB · Views: 292
Last edited by a moderator:
I like the idea and I laughed at 'F3P' :)

If there's anything I can do to help, let me know.


Anyways, I want to personally thank Yasueh for making this Addon.

People forget him just all too often... I will forever be grateful to him for taking the time to create and, by now, update it constantly.
 
I can also confirm this works, took a bit of tinkering but kochi helped me through it :)
 
Last edited by a moderator:
I still think a second channel would be useless

For a large server like AP I think it would be nice for a group of friends to be able to have a place to chat outside the main channel.

Imagine if your about to set up a premade. Instead of asking on the main channel in which any random person can join, you could start by asking in your private channel to play with your friends.
 
Last edited by a moderator:
Nice work Kochist!

Just a minor note... "find and replace" = control H for those that may not know.

And I don't see a compelling reason for Yaseuh to revise the add on if we can do it ourselves.
 
I'm tired right now, but I think tomorrow I'll take a look at the addon and see if I can make a start on adding support for extra channels.
 
Well Kochi donated a 'realllyyl liek jwtutefkeuck' amount of money towards the addon, so I'd feel bad if I didn't work on it some more.

I had a go at making an F3PAddon and came across a couple of problems you might have.


  • Firstly the find and replaces for 'f2p' and 'F2P' absolutely have to be case sensitive, otherwise you end up switching some around, and getting problems when your addon sends data to someone else's, and it doesn't match (like data ending up in chat because the filters are set to work on 'f2p=data', and not 'F2P=data').
  • Secondly, the character name tooltips don't work unless you disable that feature in one of the addons.
  • Finally, don't change F2PAddonGlobalVars.DefaultChannelName = "f2ptwink" (or "f3ptwink") over to "Oldschool" in the f3pdefaults.lua file, instead change it in the in game options, otherwise your addon won't be sending data to the same addon channel.

I can't fix the problems with duplicate F2PI messages without completely removing the invite function from one of the addons (disabling it still leaves it sending messages), and some people might want to pick which channel they're offering invites to.

There's a version of F3PAddon attached to this message that should limit most of the other problems though.



As for F2PAddon's future, adding a 2nd (and 3rd) channel to the existing code would take a huge amount of work, as it would require rewriting pretty much everything. Instead I'm starting from scratch, making an addon that starts off supporting multiple channels, and then I'm going to add back all the existing features once I've got channels and chat working.

This new addon won't be compatible with the current one, because it's going to handle data and chat differently - sending them through separate addon channels, where the current one sends everything but f2pq data to the same channel as chat, and then filters out the data at the receiving end.

While I'm at it I want to change how f2pq and f2pi work. The biggest change would be that f2pi loses the 'inv' and 'p2p?' commands and stops sending so many messages to chat. Instead I want to have a minimap icon that displays the number of p2ps with an active invite module, with a dropdown menu that shows their names next to an invite button, as well as listing parties forming up.



I fully support people who want to split the F2P community, making groups of their own with their own rules, because that is Freedom of Association.
 

Attachments

  • F3PAddon.zip
    185.4 KB · Views: 180
It looks like running F3PAddon is causing problems with F2PAddon getting an acurate list of names from the channel list when it starts up. You can force the addon to check again using this macro:

Code:
/run ListChannelByName("f2ptwink")
 

Users who are viewing this thread

Top