Dedicated gdscript server?
Asked Answered
T

5

0

Hello again.
I am trying to implement high level multiplayer stuff into my godot 4.0 project, though after some tinkering with the code from official bomberman demo and the tutorials from youtube, I found authority based mode doesn't work out with my game's logics, since the number of objects to sync per client is relatively high compare to bomberman or tank war, and debugging with 2 clients is rather painful.
So I wonder if it's feasible(reliability and performance wise) to write a dedicated gd script server based on enet and rpc high-level multiplayer stuff with godot gui to make debugging synchronization easier, though I haven't been able to find any info related to gd script server stuff, hence the question.

Thanks.

Tin answered 7/1, 2023 at 2:26 Comment(0)
P
0

Servers are not supposed to have graphics or a window. That is the entire point. But I guess you could make a web dashboard, or a client admin program.

Pyrognostics answered 7/1, 2023 at 6:14 Comment(0)
P
0

Yes, it's called a headless server. You need a Linux server to run it, but the clients can be any platform.

There should be a build on the downloads page, or you can compile it yourself.

https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_dedicated_servers.html

Pyrognostics answered 7/1, 2023 at 2:31 Comment(0)
T
0

Pyrognostics
Thanks I will take a look at it.
I think I will need to desktop server GUI, so I could moniter client/server objects and variables in real-time when client(s) are connected, so disabling binary GUI window and make it console-only is not mandatory for me, dunno if the binary size/performance boost is worth the GUI tradeoff.
I will post updates after doing some test code to see if high-level multiplayer is viable with gd-script dedicated server.
Thanks again.

Tin answered 7/1, 2023 at 4:33 Comment(0)
P
0

Servers are not supposed to have graphics or a window. That is the entire point. But I guess you could make a web dashboard, or a client admin program.

Pyrognostics answered 7/1, 2023 at 6:14 Comment(0)
T
0

Pyrognostics
yeah, but I am a bit lazy to implement an external web interface to read data from server, hence the idea of using godot's 'native' GUI to serve as dashboard display/demostration.

Tin answered 7/1, 2023 at 9:57 Comment(0)
P
0

I stumbled upon your post, and while I don't have a specific solution for your issue, have you considered looking into Linux VPS Hosting? It might be worth exploring as it could provide the reliability and performance you need for your dedicated gd script server. I found some information about Linux VPS Hosting at https://ishosting.com/en/vps/linux that might be helpful. Feel free to check it out and see if it aligns with your requirements. Best of luck with your project, and don't hesitate to reach out if you need further assistance!

Precedent answered 30/5, 2023 at 11:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.