FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    Kyro's lobby - updated

    Scheduled Pinned Locked Moved Modding & Tools
    28 Posts 12 Posters 4.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      moli123
      last edited by

      too bad, it was so much better

      1 Reply Last reply Reply Quote 0
      • M Offline
        macdeffy
        last edited by macdeffy

        There is another way to do it. I'll get around to adding file.

        Edit. you can redownload using the link. Read the readme carefully.

        1 Reply Last reply Reply Quote 0
        • JipJ Offline
          Jip
          last edited by

          Creative 🙂

          A work of art is never finished, merely abandoned

          1 Reply Last reply Reply Quote 0
          • M Offline
            moli123
            last edited by

            works fine, thanks

            1 Reply Last reply Reply Quote 0
            • T Offline
              TToJI-JIuTpa
              last edited by

              very creative, but now they don't work Advanced strategic icons...

              1 Reply Last reply Reply Quote 0
              • JipJ Offline
                Jip
                last edited by

                I'll add a separate exception for this extension: https://github.com/FAForever/fa/pull/3627

                This will be live this week, I can't say when because I'm quite a bit busy myself.

                A work of art is never finished, merely abandoned

                1 Reply Last reply Reply Quote 2
                • M Offline
                  macdeffy
                  last edited by

                  I saw somewhere else that you could name it texturepack.nxt but i didn't try it myself.

                  1 Reply Last reply Reply Quote 0
                  • JipJ Offline
                    Jip
                    last edited by Jip

                    @macdeffy You can now name it kyros.nxt - it is accepted with the patch we just released. Please update your guide to prevent confusion. Note that this doesn't mean FAF officially supports the custom lobby - it is still up to its maintainer to keep it compatible.

                    If anyone is interested in improving the lobby - please contact me. There is no need to work on a custom lobby if you can just improve the actual lobby that ships with the game.

                    A work of art is never finished, merely abandoned

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      macdeffy
                      last edited by

                      I'll change it on my end in the meantime. It was my intention to try and port just the layout portion to the regular lobby. I have copied all the new code to kyros where applicable, but properly improving the code or maintaining it to a high enough standard is beyond me.

                      Majority of backend is same as current lobby, but chat code and layout obviously differs greatly.

                      Hopefully someone with the proper skillset will take it over, as all i can do is keep it functional since i don't consider myself a developer.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        macdeffy
                        last edited by

                        it seems that the change has not taken effect yet. kyros.nxt does not load. texturepack.nxt works though.

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TToJI-JIuTpa
                          last edited by

                          thank you very much! it worked!

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            hiveliberty
                            last edited by

                            @macdeffy what about creating a github repository for collaboration? I think, it would be great, if anyone can take part in the development 🙂
                            Maybe it shoud be organization like FAForever. If someone from the base team disappears indefinitely or abandon the project, this will allow the continued support of the mod, until there is at least one member left who can accept changes to the repository.

                            1 Reply Last reply Reply Quote 0
                            • RoweyR Offline
                              Rowey
                              last edited by

                              FAF does not Officially Support Kyro's Lobby

                              "The needs of the many outweigh the needs of the few" - Spock

                              1 Reply Last reply Reply Quote 0
                              • H Offline
                                hiveliberty
                                last edited by

                                @Rowey it's not question for FAF Team... Interested community can support this alternative lobby.

                                1 Reply Last reply Reply Quote 0
                                • RoweyR Offline
                                  Rowey
                                  last edited by

                                  then you need to see it the original creator allows for the code to be added to a git repo & allows for it to be altered with the correct Licensing

                                  "The needs of the many outweigh the needs of the few" - Spock

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    macdeffy
                                    last edited by

                                    I'm not really the best person to maintain this anyway. When orig creator didn't update for new UI scaling, i just did it on my own for my own purposes through trial and error. What needs to happen is for someone who knows Lua to rethink Similar functionality with new code that fits the actual Lobby code, so there is no issue with rights.

                                    Jip also has a point that this has too much code to vet, and it's not really a priority when you can just manually add it.

                                    I'm convinced there is a better method for aligning slots for instance, but couldn't figure it out myself.

                                    Ctrl-KC 1 Reply Last reply Reply Quote 0
                                    • Ctrl-KC Offline
                                      Ctrl-K @macdeffy
                                      last edited by

                                      @macdeffy I can add some features into lobby through PRs if needed. However i would recommend not use this lobby mod anymore because it causes problems for others when host has it. It also has tons of bugs, so, just leave it and improve main lobby...

                                      “Be a yardstick of quality. Some people aren’t used to an environment where excellence is expected.”
                                      — Steve Jobs.
                                      My UI Mods
                                      Support me

                                      1 Reply Last reply Reply Quote 0
                                      • maggeM Offline
                                        magge Global Moderator
                                        last edited by magge

                                        I have packed a GitHub project with all current files about KyrO's Lobby, legacy code and the code from OP for whoever wants to tinker around with the code, or simply to save it for legacy/nostalgic reasons:

                                        https://github.com/magge-faf/KyrOs-Lobby

                                        I have used the modified lobby for so many years, it was unfortunate to see that the original developer had abandoned the project for unknown reasons.

                                        The latest Lobby, from OP, will probably have bugs and could lead to unwanted side effects for host and clients. Officially, it is not supported.


                                        Some background about the lobby:

                                        • The lobby.lua file has ~10k lines in total, ~3k were added by KyrO
                                        • KyrO, macdeffy and any other who tinkered with it have not used git. May the force with you if you try to follow all the untracked changes

                                        Fun fact: Chinese language supported was added, and macdeffy added scaling for the GUI as well.


                                        How the development cycled:

                                        KyrO used a version of FAForever's lobby.lua from the year <2017 and modified it by several enhancements and QOL functions. The last time he was active on this project, was on his Google Group, back in 2018. Since then, it broke several times, when FAF updated something on their end.

                                        It got hackish "fixed" by other FAF members who knew a bit about coding and several, different versions for several iterations of other FAF versions were shared via the Forum attachment function from 2018 until today. Yeah, messy.


                                        Coding environment:

                                        This legacy code is not intended for beginners, you will have a very bad experience working with that huge file. If you are interested with LUA, head over to https://www.codecademy.com/learn/learn-lua

                                        However, feel free to ping me if you need further information about this project. I am not familiar with LUA, but happy to help.


                                        Future hopes:

                                        Integration of following three personal favorite QOL features:

                                        1. Auto move me to my favorite spot for each specific map, when slot is free.
                                        myslot = function(self, params)
                                        
                                        1. Swap lane players with one click
                                        SwapPlayers = function(slot1, slot2)
                                        
                                        1. The SwapPlayers stuff is directly connected to the entire visualization of the slots, related to the starting points for the players in the map. I think that is one of the harder parts to integrate, because it can break so easily, and the current implementation is incredible hackish. But if you see it once, you never want to go back.

                                        Join a FAFtastic Team

                                        1 Reply Last reply Reply Quote 1
                                        • M Offline
                                          macdeffy
                                          last edited by macdeffy

                                          oh yeah. i was messing about with the LOC values because originally there were none used by the column labels, but it didn't work for the chinese characters. it was mostly me just seeing if it worked. i had forgotten completely about it and am not even sure the translation is correct.

                                          otherwise thanks for putting up the github. i wasn't really sure how to go about it, or even make use of it, but hopefully this gives others an avenue for fixing it properly.

                                          1 Reply Last reply Reply Quote 1
                                          • Ctrl-KC Offline
                                            Ctrl-K
                                            last edited by

                                            Let UI god be with you someday…

                                            “Be a yardstick of quality. Some people aren’t used to an environment where excellence is expected.”
                                            — Steve Jobs.
                                            My UI Mods
                                            Support me

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post