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

    Allow UI mods to communicate with external services

    Scheduled Pinned Locked Moved Modding & Tools
    4 Posts 3 Posters 342 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.
    • R Offline
      RolandTaverner
      last edited by

      For example, I want to be able to make short notes on other player and see them in game. Or there would be useful to mark player as lagger and see his lagger-rating.
      In order to be able to implement such things we need to allow mods to send and receive messages via GPGNet. I checked code of ICE adapter and it seems it is not very hard to implement message routing for interop with external services.
      So the question: why nobody implemented it? Is it prohibited by something or what?

      1 Reply Last reply Reply Quote 1
      • Brutus5000B Offline
        Brutus5000 FAF Server Admin
        last edited by Brutus5000

        GpgNet messages can only be sent but not received (I guess it's an engine security restriction).

        Also I think you can only send Gpg messages in sim mods (engine restriction) - but maybe some expert can confirm this.

        He said, "I've been to the year 3000
        Not much has changed, but they live underwater
        And your great-great-great-granddaughter
        Is playin' FAF, playin' FAF"

        1 Reply Last reply Reply Quote 1
        • R Offline
          RolandTaverner
          last edited by

          Thank you for info, seems reasonable. So, no easy way. But what about chat? Can we create something like chat bot? At least in lobby.

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

            Kyros lobby has an /info <player> text command that be done in lobby that can be recalled along with other things. The old version is busted but I'll be uploading a new version soon with fixes and other additions.

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