Recent Topics

Ads

[ADDON] Syncing friends between chars

Here you can post addons, or anything related to addons.
Forum rules
Before posting on this forum, be sure to read the Terms of Use
User avatar
ropuch
Posts: 91

[ADDON] Syncing friends between chars

Post#1 » Thu Dec 31, 2015 12:40 am

Hi,

I "wrote" an addon for TheSchocker from #martyr_square, and as he thinks it can be usefull to other ppl - I'm sharing
Stage: Working beta
Restriction: Lame exploiters (this one is for you, J**)

https://mega.nz/#!HF9hUYQR!HnyAyAXTRaEu ... RTBWfZvOBc

WarBoard_ext: syncing friends between chars, storing them in SavedVariables. You can also add a comment for stored friend. It's tweaked WarBoard_Friends mod (so you need a warboard addon). After it's enabled, hoover your mouse over WB_Friends icon - it should sync between friend list with savedvariable file. Default description for saved friend is class/guild (when available) or "Friend".
Commands available:

/ext desc - toggle friends' description
/ext help - show this help
/ext off - toggle showing offline friends
/ext set Friendame=Description - set friend description
/ext show - show saved friend list
/ext sync - sync friends with saved file

Default settings: show only online friends, show friends' description
Setting (and friends' desc) can be changed by editing WAR\user\settings\GLOBAL\WarBoard_ext\SavedVariables.lua

TODO:
- saving current configuration to file
- displaying current conf
- toggle debug messages
- store local (per character) copy of friends' list (just in case)

Use, break, abuse, sent a feedback.

Cheers!
ropuch
A Pounce Too Far: http://imgur.com/KeSt8WL

Ads
User avatar
magicthighs
Former Staff
Posts: 717

Re: [ADDON] Syncing friends between chars

Post#2 » Thu Dec 31, 2015 2:24 am

Well, the reason I said this is useful is that it's **** useful, pardon my french :P
Shared persistent friends list between all your characters is amazing, just think of what this can mean for coordinating warbands.
Image

User avatar
Zhentarim
Posts: 133

Re: [ADDON] Syncing friends between chars

Post#3 » Thu Dec 31, 2015 1:30 pm

So this like a working friends list? Awesome!

User avatar
Tesq
Posts: 5704

Re: [ADDON] Syncing friends between chars

Post#4 » Thu Dec 31, 2015 1:34 pm

well it's a lot i lf something like this thx
Image

User avatar
taccr
Posts: 114

Re: [ADDON] Syncing friends between chars

Post#5 » Thu Dec 31, 2015 4:54 pm

Looks good so far. A few things here:

1.) Typo: ShOut("/ext set Friendame=Description - set friend description")

2.) Write settings back to file:
function WarBoard_ext.save():
Add:
WarBoard_ext.data["config"]["offline"] = WarBoard_ext.offline
WarBoard_ext.data["config"]["comments"] = WarBoard_ext.comments
WarBoard_ext.data["config"]["deb"] = WarBoard_ext.deb

3.) Remove Realm based friendlist and make it all global:
local _realm = "all"
Remove
if (GameData.Player.realm == 1) then
_realm = "order"
[..]

Instead add a blue/red color and an extra option to set what side the friend is on.
Or better, on mouseover create a friend window for each realm.

4.) Make it sync/add/remove on login and not on mouseover.

5.) Removing friends doesn't work. They don't get deleted from the file and are readded on the next login.
Kimy - KotBS/Chosen of Orz
ImageImage
Blitz -> Elementz -> Orz

User avatar
DaWolf
Posts: 121

Re: [ADDON] Syncing friends between chars

Post#6 » Sun Jan 10, 2016 6:38 pm

Works well here !
Thanks :D

User avatar
ropuch
Posts: 91

Re: [ADDON] Syncing friends between chars

Post#7 » Sun Jan 10, 2016 6:41 pm

(Some) changes suggested by taccr will be added in this week ;)
A Pounce Too Far: http://imgur.com/KeSt8WL

User avatar
buckmaster
Posts: 15

Re: [ADDON] Syncing friends between chars

Post#8 » Fri Apr 12, 2019 3:13 pm

I wanted to resurrect this thread as I desperately am seeking an improvement to in-game Friends. Having a "note" attached to your list of Friends is basically required for a social game like this. In addition to that a synchronized Friends list between characters. FastFriends add on does not work. I've tried it, and it only fulfills one of these requirements anyway. So I hope to try this addition to Warboard, is anyone using this successfully?

Ads

Who is online

Users browsing this forum: No registered users and 25 guests