Deceive icon indicating copy to clipboard operation
Deceive copied to clipboard

Show the status in game

Open scarrrr316 opened this issue 2 years ago • 3 comments

show the current status of the game e.g. deceive active! (offline) at friend list ↓ image so dont need to right click deceive to check the status

scarrrr316 avatar Aug 04 '22 17:08 scarrrr316

You can DM the Deceive 'friend' with status and it will reply with the currently selected status.

aPinat avatar Aug 04 '22 18:08 aPinat

You can DM the Deceive 'friend' with status and it will reply with the currently selected status.

but its not straightforward enough

scarrrr316 avatar Aug 06 '22 12:08 scarrrr316

I do believe such a feature would come in handy. I am curious as to what would take to implement it. I've looked around in the code and from what I can see the chat is inserted into requested by Riot friend list. That does not seem to update itself other than upon a restart - similiar to what is needed to see a new nickname of a person that has changed their name. The only thing I was able to modify was the name registered at the start in the outgoing loop

            content = content.Insert(
              content.IndexOf(roster, StringComparison.Ordinal) + roster.Length,
              $"<item jid='[email protected]' name='&#9;{Status}!' subscription='both' puuid='41c322a1-b328-495b-a004-5ccd3e45eae8'>"
              + "<group priority='9999'>Deceive</group>"
              + $"<id name='&#9;{Status}!' tagline=''/><lol name='&#9;{Status}!'/>"
              + "</item>"

Worked some more and found some way that this could be achieved - through requesting a friend list again in outgoing loop with adding get query. For now i do not have yet a working example however it seems very plausable to work should it be deemed valuable to be added by devs

Indeedornot avatar Aug 08 '22 20:08 Indeedornot