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

Bug: Start scripts for Forge contain wrong nogui parameter #82

Closed
Griefed opened this issue Oct 4, 2021 · 7 comments
Closed

Bug: Start scripts for Forge contain wrong nogui parameter #82

Griefed opened this issue Oct 4, 2021 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@Griefed
Copy link
Owner

Griefed commented Oct 4, 2021

  • What is the current behavior?

Using the genersted start scripts for Forge fails, because it tried to run --nogui when it should run nogui instead.

The error is in ServerPackHandler.class with the --nogui ending in the String definition.

  • If the current behavior is a bug, please provide the steps to reproduce
  • Generate a server pack for Forge

  • Let ServerPackCreator generate start scripts

  • Use said start scripts

  • What is the expected behavior?

The start scripts should start the server.

  • Please tell us about your environment:
  • Your Operating System: Any
  • Your Java version: Any
  • Your ServerPackCreator version: Alpha.6
  • Your config file:
  • Your latest log file:
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)
@Griefed Griefed added the bug Something isn't working label Oct 4, 2021
@Griefed Griefed self-assigned this Oct 4, 2021
@Griefed Griefed added this to To do in Issue Tracker via automation Oct 4, 2021
@Griefed
Copy link
Owner Author

Griefed commented Oct 4, 2021

So, running some tests yielded interesting results:

Running with --nogui worked on both Windows and Linux
Running with nogui worked on both Windows and Linux, too!

@Griefed Griefed added help wanted Extra attention is needed question Further information is requested and removed bug Something isn't working labels Oct 4, 2021
@Griefed
Copy link
Owner Author

Griefed commented Oct 4, 2021

False alarm.
The issue was an incomplete Forge installation, probably due to problems on Forge's side, or some sort of internet-connection problem. The start scripts themselves were fine.

@Griefed Griefed closed this as completed Oct 4, 2021
Issue Tracker automation moved this from To do to Done Oct 4, 2021
@kreezxil
Copy link
Sponsor

alpha.8, causes the gui to popup when run with --nogui, removing the -- makes it not come up. in all my dealings, forge didn't like the --, ie when it sees it, it ignores it.

@Griefed Griefed reopened this Nov 22, 2021
Issue Tracker automation moved this from Done to In progress Nov 22, 2021
@Griefed
Copy link
Owner Author

Griefed commented Nov 22, 2021

So, sometimes it likes it, sometimes it doesn't.
Which Forge version was affected in your case?

@Griefed Griefed added bug Something isn't working and removed help wanted Extra attention is needed question Further information is requested labels Nov 22, 2021
@kreezxil
Copy link
Sponsor

kreezxil commented Nov 23, 2021 via email

@Griefed
Copy link
Owner Author

Griefed commented Nov 24, 2021

Fixed. Will be available in the next alpha release. I removed the -- from the nogui argument for Forge scripts.

@Griefed
Copy link
Owner Author

Griefed commented Nov 27, 2021

Available as of 3.0.0-alpha.10
Feel free to report any bugs. I'll close this feature request issue. 🙂

Enjoy! 👍
Cheers,
Griefed

@Griefed Griefed closed this as completed Nov 27, 2021
Issue Tracker automation moved this from In progress to Done Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Issue Tracker
  
Done
Development

No branches or pull requests

2 participants