Implement generic online system #82

Merged
CoCo_Sol merged 14 commits from impl-online into main 2024-03-25 05:45:17 +00:00
Owner

note that the feature of adding a system to check if players are still connected will be in a new pull request.

note that the feature of adding a system to check if players are still connected will be in a new pull request.
CoCo_Sol added this to the Gameplay milestone 2024-03-20 16:05:38 +00:00
CoCo_Sol added the
Kind/Feature
label 2024-03-20 16:05:38 +00:00
CoCo_Sol self-assigned this 2024-03-20 16:05:38 +00:00
CoCo_Sol added 1 commit 2024-03-20 16:05:39 +00:00
save
All checks were successful
Rust Checks / checks (push) Successful in 4m39s
Rust Checks / checks (pull_request) Successful in 2m45s
56cff5d69e
CoCo_Sol added 1 commit 2024-03-20 16:31:01 +00:00
save
Some checks failed
Rust Checks / checks (push) Failing after 3m0s
Rust Checks / checks (pull_request) Failing after 2m45s
568d69a250
CoCo_Sol added 1 commit 2024-03-20 17:40:51 +00:00
save
All checks were successful
Rust Checks / checks (push) Successful in 2m44s
Rust Checks / checks (pull_request) Successful in 2m1s
6dd6cfc3b7
CoCo_Sol added 2 commits 2024-03-21 08:12:26 +00:00
Merge branch 'main' into impl-online
Some checks are pending
Rust Checks / checks (push) Waiting to run
Rust Checks / checks (pull_request) Successful in 4m27s
ad98176321
CoCo_Sol added 1 commit 2024-03-21 08:24:45 +00:00
save
Some checks failed
Rust Checks / checks (push) Has been cancelled
Rust Checks / checks (pull_request) Successful in 2m47s
e4ead79cb1
CoCo_Sol added 1 commit 2024-03-21 08:26:33 +00:00
rename
Some checks are pending
Rust Checks / checks (push) Waiting to run
Rust Checks / checks (pull_request) Successful in 2m25s
4fe4bdba3f
CoCo_Sol added 1 commit 2024-03-21 08:28:38 +00:00
opti de la mort qui tue
All checks were successful
Rust Checks / checks (push) Successful in 2m25s
Rust Checks / checks (pull_request) Successful in 2m2s
cd8b181f1d
CoCo_Sol added 1 commit 2024-03-21 08:53:20 +00:00
SAVE
All checks were successful
Rust Checks / checks (push) Successful in 2m7s
Rust Checks / checks (pull_request) Successful in 2m5s
49ee6daa8e
CoCo_Sol added 1 commit 2024-03-21 09:07:55 +00:00
save
All checks were successful
Rust Checks / checks (push) Successful in 2m4s
Rust Checks / checks (pull_request) Successful in 2m10s
0d048b3a57
CoCo_Sol added 1 commit 2024-03-21 21:01:20 +00:00
remove fonction
All checks were successful
Rust Checks / checks (push) Successful in 3m43s
Rust Checks / checks (pull_request) Successful in 2m40s
1bcb81be0b
CoCo_Sol added 1 commit 2024-03-21 21:18:32 +00:00
update
All checks were successful
Rust Checks / checks (push) Successful in 3m1s
Rust Checks / checks (pull_request) Successful in 2m6s
417825d038
CoCo_Sol changed title from WIP: Implement generic online system to Implement generic online system 2024-03-21 21:20:01 +00:00
CoCo_Sol requested review from raphael 2024-03-21 21:20:12 +00:00
raphael reviewed 2024-03-21 21:33:50 +00:00
@ -0,0 +40,4 @@
connection: Res<Connection>,
state: Res<State<CurrentScene>>,
) {
// Check if the player is an admin
Owner

Pas compris pk il doit être admin ni qui est le joueur en question

Pas compris pk il doit être admin ni qui est le joueur en question
CoCo_Sol marked this conversation as resolved
raphael reviewed 2024-03-21 21:35:56 +00:00
@ -0,0 +26,4 @@
/// The player is a spectator. He does not play the game.
Spectator,
/// The player is an admin. He can remove players.
Owner

Es ce que l'admin peut aussi jouer ?

Es ce que l'admin peut aussi jouer ?
CoCo_Sol marked this conversation as resolved
tipragot requested changes 2024-03-21 21:48:39 +00:00
Dismissed
tipragot left a comment
Contributor

The client does not check if the requests come from the server

The client does not check if the requests come from the server
tipragot dismissed tipragot's review 2024-03-21 21:52:07 +00:00
Reason:

I am dumb

tipragot requested changes 2024-03-21 21:55:33 +00:00
tipragot left a comment
Contributor

I think you shoud use entities to store players to better use bevy features. And also you should separate functionnalities instead of putting everything in the same function (handle_change_player)

I think you shoud use entities to store players to better use bevy features. And also you should separate functionnalities instead of putting everything in the same function (handle_change_player)
CoCo_Sol added 1 commit 2024-03-23 22:05:24 +00:00
edit struct
All checks were successful
Rust Checks / checks (push) Successful in 5m17s
Rust Checks / checks (pull_request) Successful in 2m59s
89861980fa
CoCo_Sol requested review from tipragot 2024-03-24 16:43:27 +00:00
raphael approved these changes 2024-03-24 17:24:59 +00:00
Dismissed
CoCo_Sol added 1 commit 2024-03-24 21:04:57 +00:00
Merge branch 'main' into impl-online
All checks were successful
Rust Checks / checks (push) Successful in 3m49s
Rust Checks / checks (pull_request) Successful in 2m45s
5b2944f187
CoCo_Sol dismissed raphael's review 2024-03-24 21:04:58 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

raphael approved these changes 2024-03-24 21:26:02 +00:00
CoCo_Sol merged commit 5848272f4a into main 2024-03-25 05:45:16 +00:00
CoCo_Sol deleted branch impl-online 2024-03-25 05:45:20 +00:00
Sign in to join this conversation.
No description provided.