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: 18
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: 166
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: 166
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: 3592
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: 3023
Joined: 05 Aug 2009, 20:42

Re: UBERSERVER

Post by gajop » 16 Aug 2019, 15:52

No LD games used LuaMenu
1 x

ICE
Posts: 18
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

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

Re: UBERSERVER

Post by MasterBel » 21 Aug 2019, 14:56

Sorry for taking a while to get back to this – I haven't forgotten, still working on it.

Have you worked out anything on your own, yet? Also, what kind of time limit do you have? I'm rather busy for the next few days, and since a couple haven't had much spare brain power, unfortunately. But I'm working on it!

But seriously – look at Chobby and learn. Chobby is a standard lobby implementation, just inside SpringRTS. If you build your own thing, strip out everything you don't need – Chobby is way overfeatured for what you want to do. And if you're curious how the current lobby systems work, check out this page – and do have a look at the lobby protocol if you're wanting to know what's required for chat. For bare minimum chat only you'll probably just have to be able to handle the TASSERVER, LOGIN, REGISTER, SAID, SAIDPRIVATE commands, for the bare minimum. If you want to be fully up-to-date with the current protocol, add in the SAIDFROM command, that's all I know off the top of my head.

Hoping someone can give some more pointers here, and hopefully they beat me to it?
0 x

Post Reply

Return to “Help & Bugs”

cron