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

OpenBVE says Failure for status #1

Open
GamerHammer2K4F647Ultimate opened this issue Oct 13, 2022 · 5 comments
Open

OpenBVE says Failure for status #1

GamerHammer2K4F647Ultimate opened this issue Oct 13, 2022 · 5 comments

Comments

@GamerHammer2K4F647Ultimate

So, i installed the plugin, and tried to enable it, and this is what i get:
image

thanks for your help in advance

@GamerHammer2K4F647Ultimate
Copy link
Author

actually no im dumb, i forgot to read the requirments

@GamerHammer2K4F647Ultimate
Copy link
Author

downloaded nightly and that did not fix it

Kenny-Hui pushed a commit that referenced this issue Oct 14, 2022
#1
- (!) Don't return false on plugin initialization
- Minor code cleanup
- Fix config form crashing on non-fully filled config file
@Kenny-Hui
Copy link
Owner

Sorry, still in early development.

A temporary workaround would be:

  1. Paste the following to a text editor, replace with your Discord Application ID:
[appId]
<YOUR APP ID HERE>

[menu]
state=In Main Menu
hasTimestamp=true
LargeImageKey=obve
LargeImageText=OpenBVE v{programVersion}
button1=OpenBVE Project|https://openbve-project.net

[boarding]
details={curStnName}
state={nextStnDist}m, Depart in {curStnDwellLeft}s
hasTimestamp=true
LargeImageKey=obve
LargeImageText=OpenBVE v{programVersion}
SmallImageKey=hkmtr
SmallImageText=In-game time: {time}
button1={doors}|https://www.example.com
button2=OpenBVE Project|https://openbve-project.net

[game]
details={prevStnName} -> {nextStnName}
state={speedKmh} km/h ({nextStnDist}m)
hasTimestamp=true
LargeImageKey=obve
LargeImageText=OpenBVE v{programVersion}
SmallImageKey=hkmtr
SmallImageText=In-game time: {time}
button1=({reverser}/{notch}, {gradient})|https://www.example.com
button2=OpenBVE Project|https://openbve-project.net`
  1. Save it as %appdata%\OpenBve\Settings\1.5.0\options_drpc.cfg
  2. Launch OpenBVE, then it should allow you to enable it (In theory)

p.s. The format for Button text/URL in the config GUI is Display Text|https://www.example.com, it will not be saved to the config if a url is not included.

@GamerHammer2K4F647Ultimate
Copy link
Author

tried the workaround, nothing changed

@Kenny-Hui
Copy link
Owner

Odd, it definitely works here (Maybe the config file is placed in a wrong location or the application ID is wrong)
I've made some changes and pushed out a new release, it should now at least allow you to enable the plugin regardless of whether it connects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants