UBERSERVER

UBERSERVER

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
ICE
Posts: 11
Joined: 06 Aug 2019, 14:52

UBERSERVER

Post by ICE » 15 Aug 2019, 11:22

How do I pop SpringLobby into my own game interface?
To have rooms, etc.
Like in Zero-K.
Me need at least one very simple example where i can understand the logic of creating a server, rooms, etc. inside the game itself.
And any other useful information, including the logic itself.
Thank!
1 x

MasterBel
Posts: 129
Joined: 18 Mar 2018, 07:48

Re: UBERSERVER

Post by MasterBel » 16 Aug 2019, 05:13

Due to a lack of other people responding…
ICE wrote:How do I pop SpringLobby into my own game interface?
This isn't the right way to go about this. SL is a standalone application and isn't meant to run in your game.

What you want is a Lua menu. Something like Chobby. (Except Chobby is probably a) overkill b) doing your job for you).

Chobby is a run-in-engine lobby client, written in Lua. (that's about all I know.) It connects to the Uberserver which allows h

How much have you used SpringLobby, by the way?

I don't have much Lua experience, but I've got a fair amount of lobby dev experience, so if you have any questions or want any pointers, I'd love to help where I can. Other people such as Gajop and Silentwings have more Chobby/lua menu experience.

Have you joined the Spring discord/IRC? The most used channels are bridged between them. #springlobby on the Irc isn't bridged to Discord, though.
1 x

MasterBel
Posts: 129
Joined: 18 Mar 2018, 07:48

Re: UBERSERVER

Post by MasterBel » 16 Aug 2019, 05:14

Uhhh… I can't find a scrap of documentation on Lua menus, am I blind, or is it not there?
There were some LD projects that made use of Lua menus iirc, where could I find one?
0 x

User avatar
Silentwings
Moderator
Posts: 3570
Joined: 25 Oct 2008, 00:23

Re: UBERSERVER

Post by Silentwings » 16 Aug 2019, 14:02

LuaMenu is documented in the same way as all other Lua states - the index of which states have which access/functionality/stuff is https://springrts.com/wiki/Lua:Environments, and the global list of all available lua stuff is https://springrts.com/wiki/Lua:Main

All LD projects are at https://github.com/SpringCabal
0 x

gajop
Moderator
Posts: 3020
Joined: 05 Aug 2009, 20:42

Re: UBERSERVER

Post by gajop » 16 Aug 2019, 15:52

No LD games used LuaMenu
0 x

ICE
Posts: 11
Joined: 06 Aug 2019, 14:52

Re: UBERSERVER

Post by ICE » 16 Aug 2019, 19:22

I'm interested in how to make my game have a beautiful Lobby.
For example, if I have an interface.
How to set logic so that everything works (namely Lobby inside the game)?
Chobby interested me, but I see no instructions on how to use it, nor documentation.
http://i.imgur.com/i257BZI.jpg
Client-> Lua_Lobby - deprecated.
Another question, if there is any standard way to make a chat?
0 x

Post Reply

Return to “Help & Bugs”