-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Server & game status detection #21
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { invoke } from '@tauri-apps/api/tauri'
setInterval(() => {
invoke('get_game_status')
.then((res) => {
console.log(res);
if (res === "InGame") {
invoke('get_server_ip')
.then((res) =>
console.log(res)
)
}
}).catch((e) => console.error(e))
}, 5000) Get data example |
zelytra
requested changes
Mar 3, 2024
I changed refresh to 500ms for MainMenu, without using powershell It should be acceptable.. |
Closed
zelytra
approved these changes
Mar 4, 2024
zelytra
added a commit
that referenced
this pull request
Mar 7, 2024
* Fix/update from master (#28) * Bump vue-tsc from 1.8.27 to 2.0.3 in /frontend (#27) Bumps [vue-tsc](https://github.com/vuejs/language-tools/tree/HEAD/packages/tsc) from 1.8.27 to 2.0.3. - [Release notes](https://github.com/vuejs/language-tools/releases) - [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md) - [Commits](https://github.com/vuejs/language-tools/commits/v2.0.3/packages/tsc) --- updated-dependencies: - dependency-name: vue-tsc dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump quarkus.platform.version from 3.7.4 to 3.8.1 in /backend (#26) Bumps `quarkus.platform.version` from 3.7.4 to 3.8.1. Updates `io.quarkus.platform:quarkus-bom` from 3.7.4 to 3.8.1 - [Commits](quarkusio/quarkus-platform@3.7.4...3.8.1) Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.7.4 to 3.8.1 - [Commits](quarkusio/quarkus-platform@3.7.4...3.8.1) --- updated-dependencies: - dependency-name: io.quarkus.platform:quarkus-bom dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.quarkus.platform:quarkus-maven-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump vue from 3.4.20 to 3.4.21 in /frontend (#25) Bumps [vue](https://github.com/vuejs/core) from 3.4.20 to 3.4.21. - [Release notes](https://github.com/vuejs/core/releases) - [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md) - [Commits](vuejs/core@v3.4.20...v3.4.21) --- updated-dependencies: - dependency-name: vue dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump vue-i18n from 9.9.1 to 9.10.1 in /frontend (#24) Bumps [vue-i18n](https://github.com/intlify/vue-i18n-next/tree/HEAD/packages/vue-i18n) from 9.9.1 to 9.10.1. - [Release notes](https://github.com/intlify/vue-i18n-next/releases) - [Changelog](https://github.com/intlify/vue-i18n-next/blob/master/CHANGELOG.md) - [Commits](https://github.com/intlify/vue-i18n-next/commits/v9.10.1/packages/vue-i18n) --- updated-dependencies: - dependency-name: vue-i18n dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Server & game status detection (#21) * Feature/focus and macro (#37) * Add alert system & Patches (#39) * Clean and refacto backend socket message system (#45) * Config page (#41) * Add real time game status update in session (#46) * Feature/port listening fix (#47) * Add auto updater to app (#49) * Session run research (#50) * Fix IP fetching (#51) * Add SotServer user workflow (#48) * Add cached actions Closes #53 * README.md (#23) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dadodasyra <44753923+dadodasyra@users.noreply.github.com> Co-authored-by: Zelytra <contact@zelytra.fr>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It may still need modification in the main.rs to support javascript bridging with tauri.
I tried but it's a mess and don't have time for it.
The whole API behind is working, tried by running rust without tauri.
It needs Administrator priveleges