Avatar in lobby!!!

Everything about mods can be found here.

Avatar in lobby!!!

Postby PARALON » 14 Jun 2018, 16:04

Hello commanders!We have made a modification for the lobby, which displays avatars.At the moment there is no access to the FA server. We want modders to make a response from the server (for example, with the command /avatar). The mod uses the id of the avatars. We want to implement this in the faf client.

>>>>>>> screenshot <<<<<<<
Image
PARALON
 
Posts: 7
Joined: 24 Feb 2018, 14:55
Has liked: 0 time
Been liked: 1 time
FAF User Name: PARALON

Re: Avatar in lobby!!!

Postby moonbearonmeth » 14 Jun 2018, 17:18

May I ask who is we?
Ask me about my amazing content production to watch while you wait in a lobby.
User avatar
moonbearonmeth
Priest
 
Posts: 307
Joined: 15 Jul 2016, 21:15
Has liked: 137 times
Been liked: 162 times
FAF User Name: ooo_oooo_o_o_---

Re: Avatar in lobby!!!

Postby Viba » 14 Jun 2018, 17:38

We = Super. As of now that just fetches a pre-saved avatar image from a directory based on an ID you specify in the lua file, as a concept this works but for a proper full implementation of avatars in the game lobby you need more than this.
Viba
Moderator
 
Posts: 636
Joined: 22 Jan 2015, 21:42
Has liked: 128 times
Been liked: 187 times
FAF User Name: !smurfcheck Viba

Re: Avatar in lobby!!!

Postby speed2 » 14 Jun 2018, 17:44

Viba wrote:We = Super. As of now that just fetches a pre-saved avatar image from a directory based on an ID you specify in the lua file, as a concept this works but for a proper full implementation of avatars in the game lobby you need more than this.

Like some server verification if that user should really have the avatar and ban for altering sent information.
User avatar
speed2
Supreme Commander
 
Posts: 2967
Joined: 05 Jan 2013, 15:11
Has liked: 538 times
Been liked: 998 times
FAF User Name: speed2

Re: Avatar in lobby!!!

Postby Viba » 14 Jun 2018, 17:45

Also avatars are added/removed so you can't/shouldn't just rely on updating avatars during game patches to the game files.
Viba
Moderator
 
Posts: 636
Joined: 22 Jan 2015, 21:42
Has liked: 128 times
Been liked: 187 times
FAF User Name: !smurfcheck Viba

Re: Avatar in lobby!!!

Postby Petricpwnz » 14 Jun 2018, 23:46

I propose unbanning Super and his gang in return for them coding the rest of this in kappa no kappa
Fair trade in my eyes
Blackheart wrote:actually i love lolis and want petry to be my waifu


Scientifically proving that Blackheart is a weeb - https://imgur.com/a/J436c | https://clips.twitch.tv/AssiduousAverageOxMikeHogu

Best meme of 2017 - https://puu.sh/yLsvH/abbf54eb99.mp4
User avatar
Petricpwnz
Priest
 
Posts: 424
Joined: 30 Aug 2012, 01:48
Has liked: 382 times
Been liked: 410 times
FAF User Name: Whiteheart

Re: Avatar in lobby!!!

Postby PARALON » 15 Jun 2018, 09:22

Viba wrote:Also avatars are added/removed so you can't/shouldn't just rely on updating avatars during game patches to the game files.

Giebmasse, you do not understand a little, every time the lobby will request information from the server. Where the player has avatars that are coded in the codes ***, if the lobby has received the information, then it can upload the picture. Loads a picture no longer from the server, but from the player's PC - just like flags work. If the lobby has not received information from the server, it will not load the avatar to the player
PARALON
 
Posts: 7
Joined: 24 Feb 2018, 14:55
Has liked: 0 time
Been liked: 1 time
FAF User Name: PARALON

Re: Avatar in lobby!!!

Postby Viba » 15 Jun 2018, 14:38

Yes I understand, I was referring to that code having to be in place also. Additionally avatars are not set in stone so they would also need a system to keep them updated. So we are back to this being a nice concept so far.
Viba
Moderator
 
Posts: 636
Joined: 22 Jan 2015, 21:42
Has liked: 128 times
Been liked: 187 times
FAF User Name: !smurfcheck Viba


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest