Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect to custom server in the main menu #148

Open
2 of 4 tasks
ScribbleTAS opened this issue Nov 1, 2022 · 0 comments
Open
2 of 4 tasks

Connect to custom server in the main menu #148

ScribbleTAS opened this issue Nov 1, 2022 · 0 comments
Labels
Enhancement New feature or request Gui Issue relates to guis Multiplayer Issue is related to multiplayer

Comments

@ScribbleTAS
Copy link
Member

ScribbleTAS commented Nov 1, 2022

Right now, the custom server is started when the vanilla server is opened, which is cool and all, but we can do better. A big issue we have is that we can't really start a TAS when we are in multiplayer. Syncing multiple clients when they are in the main menu is not possible rn, since the network connection is closed when we leave the server, at the same time ticksync is really important generally.

Behaviour

  • Start the local packet server when the game starts and connect to it by default.
  • Using a textbox, you can enter the ip of another minecraft server with an open packet server and connect to it
  • When connecting to a server that has a packet server open or when joining singleplayer
    • If the currently connected ip is different, close the connection to the old packet server and connect to the current packet server present on that minecraft server
  • When connecting to a server that doesn't have a packet server open:
    • Abort connection to the main menu

The Solution

  • Open the custom server even in the main menu
  • Make a textbox and button to choose the ip of the custom server
  • Open a local server on startup and connect to the custom server automatically when joining a dedicated server
  • Display a connection status in the main menu
@ScribbleTAS ScribbleTAS added Enhancement New feature or request Multiplayer Issue is related to multiplayer labels Nov 1, 2022
@ScribbleTAS ScribbleTAS pinned this issue Nov 1, 2022
@ScribbleTAS ScribbleTAS added this to the Alpha9 milestone Nov 1, 2022
@ScribbleTAS ScribbleTAS changed the title CustomServer always active Better custom server Feb 18, 2023
@PancakeTAS PancakeTAS moved this to Todo in TASmod Mar 26, 2023
@PancakeTAS PancakeTAS moved this from Todo to In Progress in TASmod Mar 26, 2023
@ScribbleTAS ScribbleTAS moved this from In Progress to Todo in TASmod Mar 31, 2023
@ScribbleTAS ScribbleTAS removed this from the Alpha9 milestone Mar 31, 2023
@ScribbleTAS ScribbleTAS unpinned this issue Apr 25, 2023
@ScribbleTAS ScribbleTAS added the Core Issue relates to core concepts label Apr 26, 2023
@PancakeTAS PancakeTAS moved this from Todo to In Progress in TASmod May 26, 2023
@PancakeTAS PancakeTAS linked a pull request May 27, 2023 that will close this issue
5 tasks
@ScribbleTAS ScribbleTAS removed a link to a pull request Aug 10, 2023
5 tasks
@ScribbleTAS ScribbleTAS changed the title Better custom server Connect to custom server in the main menu Aug 11, 2023
@ScribbleTAS ScribbleTAS moved this from In Progress to Todo in TASmod Aug 11, 2023
@ScribbleTAS ScribbleTAS added Gui Issue relates to guis and removed Core Issue relates to core concepts labels Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Gui Issue relates to guis Multiplayer Issue is related to multiplayer
Projects
Status: Todo
Development

No branches or pull requests

2 participants