godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.65k stars 1.58k forks source link

the Png multiplayer with c# demo is borked #964

Closed behroozbc closed 11 months ago

behroozbc commented 11 months ago

Which demo project is affected: PONG MULTIPLAYER WITH C#

OS/device including version: Godot v4.1.1.stable.mono - Windows 10.0.22621 - Vulkan (Forward+) - dedicated GeForce RTX 2060 () - Intel(R) Core(TM) i9-10900 CPU @ 2.80GHz (20 Threads)

Issue description: I want test the PONG MULTIPLAYER WITH C# demo however, I see alot of errors for running on v4.1.1.stable.mono.official [bd6af8e0e]

Severity    Code    Description Project File    Line    Suppression State
Error   CS1061  'ENetMultiplayerPeer' does not contain a definition for 'CompressionMode' and no accessible extension method 'CompressionMode' accepting a first argument of type 'ENetMultiplayerPeer' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Lobby.cs    138 Active
Error   CS0246  The type or namespace name 'RPCAttribute' could not be found (are you missing a using directive or an assembly reference?)  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 66  Active
Error   CS0246  The type or namespace name 'RPCAttribute' could not be found (are you missing a using directive or an assembly reference?)  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 84  Active
Error   CS0246  The type or namespace name 'RPCAttribute' could not be found (are you missing a using directive or an assembly reference?)  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 90  Active
Error   CS0246  The type or namespace name 'RPCAttribute' could not be found (are you missing a using directive or an assembly reference?)  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Paddle.cs   50  Active
Error   CS0246  The type or namespace name 'RPCAttribute' could not be found (are you missing a using directive or an assembly reference?)  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Pong.cs 43  Active
Error   CS0246  The type or namespace name 'RPC' could not be found (are you missing a using directive or an assembly reference?)   Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 66  Active
Error   CS0246  The type or namespace name 'RPC' could not be found (are you missing a using directive or an assembly reference?)   Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 84  Active
Error   CS0246  The type or namespace name 'RPC' could not be found (are you missing a using directive or an assembly reference?)   Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 90  Active
Error   CS0246  The type or namespace name 'RPC' could not be found (are you missing a using directive or an assembly reference?)   Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Paddle.cs   50  Active
Error   CS0246  The type or namespace name 'RPC' could not be found (are you missing a using directive or an assembly reference?)   Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Pong.cs 43  Active
Error   CS0103  The name 'RpcUnreliable' does not exist in the current context  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Paddle.cs   35  Active
Error   CS0103  The name 'MultiplayerAPI' does not exist in the current context Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 66  Active
Error   CS0103  The name 'MultiplayerAPI' does not exist in the current context Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 84  Active
Error   CS0103  The name 'MultiplayerAPI' does not exist in the current context Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 90  Active
Error   CS0103  The name 'MultiplayerAPI' does not exist in the current context Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Pong.cs 43  Active
Error   CS1501  No overload for method 'Connect' takes 4 arguments  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Lobby.cs    44  Active
Error   CS1061  'Vector2' does not contain a definition for 'y' and no accessible extension method 'y' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 33  Active
Error   CS1061  'Vector2' does not contain a definition for 'y' and no accessible extension method 'y' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 33  Active
Error   CS1061  'Vector2' does not contain a definition for 'y' and no accessible extension method 'y' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 33  Active
Error   CS1061  'Vector2' does not contain a definition for 'y' and no accessible extension method 'y' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 33  Active
Error   CS1061  'Vector2' does not contain a definition for 'y' and no accessible extension method 'y' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 33  Active
Error   CS1061  'Vector2' does not contain a definition for 'y' and no accessible extension method 'y' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 35  Active
Error   CS1061  'Vector2' does not contain a definition for 'y' and no accessible extension method 'y' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 35  Active
Error   CS1061  'Vector2' does not contain a definition for 'y' and no accessible extension method 'y' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 80  Active
Error   CS1061  'Vector2' does not contain a definition for 'y' and no accessible extension method 'y' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Paddle.cs   16  Active
Error   CS1061  'Vector2' does not contain a definition for 'y' and no accessible extension method 'y' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Paddle.cs   47  Active
Error   CS1061  'Vector2' does not contain a definition for 'x' and no accessible extension method 'x' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 45  Active
Error   CS1061  'Vector2' does not contain a definition for 'x' and no accessible extension method 'x' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 57  Active
Error   CS1061  'Vector2' does not contain a definition for 'x' and no accessible extension method 'x' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 57  Active
Error   CS1061  'Vector2' does not contain a definition for 'x' and no accessible extension method 'x' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 72  Active
Error   CS1061  'Vector2' does not contain a definition for 'x' and no accessible extension method 'x' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 72  Active
Error   CS1061  'Vector2' does not contain a definition for 'x' and no accessible extension method 'x' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 76  Active
Error   CS1061  'Vector2' does not contain a definition for 'x' and no accessible extension method 'x' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 76  Active
Error   CS1061  'Vector2' does not contain a definition for 'x' and no accessible extension method 'x' accepting a first argument of type 'Vector2' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Paddle.cs   47  Active
Error   CS1061  'SceneTree' does not contain a definition for 'NetworkPeer' and no accessible extension method 'NetworkPeer' accepting a first argument of type 'SceneTree' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Lobby.cs    66  Active
Error   CS1061  'SceneTree' does not contain a definition for 'NetworkPeer' and no accessible extension method 'NetworkPeer' accepting a first argument of type 'SceneTree' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Lobby.cs    88  Active
Error   CS1061  'SceneTree' does not contain a definition for 'NetworkPeer' and no accessible extension method 'NetworkPeer' accepting a first argument of type 'SceneTree' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Lobby.cs    122 Active
Error   CS1061  'SceneTree' does not contain a definition for 'NetworkPeer' and no accessible extension method 'NetworkPeer' accepting a first argument of type 'SceneTree' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Lobby.cs    140 Active
Error   CS1061  'SceneTree' does not contain a definition for 'IsServer' and no accessible extension method 'IsServer' accepting a first argument of type 'SceneTree' could be found (are you missing a using directive or an assembly reference?)  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Lobby.cs    52  Active
Error   CS1061  'SceneTree' does not contain a definition for 'IsServer' and no accessible extension method 'IsServer' accepting a first argument of type 'SceneTree' could be found (are you missing a using directive or an assembly reference?)  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Pong.cs 31  Active
Error   CS1061  'SceneTree' does not contain a definition for 'GetUniqueId' and no accessible extension method 'GetUniqueId' accepting a first argument of type 'SceneTree' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Pong.cs 37  Active
Error   CS1061  'SceneTree' does not contain a definition for 'GetUniqueId' and no accessible extension method 'GetUniqueId' accepting a first argument of type 'SceneTree' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Pong.cs 40  Active
Error   CS1061  'SceneTree' does not contain a definition for 'GetPeers' and no accessible extension method 'GetPeers' accepting a first argument of type 'SceneTree' could be found (are you missing a using directive or an assembly reference?)  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Pong.cs 33  Active
Error   CS0115  'Paddle._Process(float)': no suitable method found to override  Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Paddle.cs   19  Active
Error   CS0117  'ENetMultiplayerPeer' does not contain a definition for 'CompressionModeEnum'   Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Lobby.cs    113 Active
Error   CS0117  'ENetMultiplayerPeer' does not contain a definition for 'CompressionModeEnum'   Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Lobby.cs    138 Active
Error   CS1061  'ENetMultiplayerPeer' does not contain a definition for 'CompressionMode' and no accessible extension method 'CompressionMode' accepting a first argument of type 'ENetMultiplayerPeer' could be found (are you missing a using directive or an assembly reference?)    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Lobby.cs    113 Active
Error   CS0115  'Ball._Process(float)': no suitable method found to override    Pong Multiplayer with C#    E:\GAME\GODOT-DEMO-PROJECTS\MONO\MULTIPLAYER_PONG\logic\Ball.cs 20  Active

Screenshots of issue:

image

Calinou commented 11 months ago

Thanks for the report! Consolidating in https://github.com/godotengine/godot-demo-projects/issues/697 (all C# demos need to be updated for Godot 4).