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

the Png multiplayer with c# demo is borked #964

Closed
behroozbc opened this issue Sep 22, 2023 · 1 comment
Closed

the Png multiplayer with c# demo is borked #964

behroozbc opened this issue Sep 22, 2023 · 1 comment

Comments

@behroozbc
Copy link
Contributor

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

@behroozbc behroozbc added the bug label Sep 22, 2023
@Calinou
Copy link
Member

Calinou commented Sep 22, 2023

Thanks for the report! Consolidating in #697 (all C# demos need to be updated for Godot 4).

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

No branches or pull requests

2 participants