Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMeepso committed Nov 7, 2024
1 parent a3b11c3 commit 8853d0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,6 @@ void OnNetworkPacket(P2Packet packet)
{
Dictionary<string, object> packetInfo = readPacket(GzipHelper.DecompressGzip(packet.Data));

//printStringDict(packetInfo);

if ((string)packetInfo["type"] == "send_ping")
{
//printStringDict(packetInfo);
}

if ((string)packetInfo["type"] == "handshake_request")
{
Dictionary<string, object> handshakePacket = new();
Expand All @@ -176,7 +169,6 @@ void OnNetworkPacket(P2Packet packet)
// tell the client who actualy owns the session!
if ((string)packetInfo["type"] == "new_player_join")
{
printStringDict(packetInfo);

messagePlayer("This is a Cove dedicated server!", packet.SteamId);
messagePlayer("Please report any issues to the github (xr0.xyz/cove)", packet.SteamId);
Expand Down Expand Up @@ -254,7 +246,6 @@ void OnNetworkPacket(P2Packet packet)
Console.WriteLine($"Player asked to remove {serverInst.Type} actor");

// the sever owns the instance
Console.WriteLine("Removing Server Instance!");
removeServerActor(serverInst);
}
}
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,8 @@ Because of this emulation to run the server you must run it from a steam account
4. Run!
- Run the server EXE and enjoy!
- Please be respectful and dont name the servers anything stupid!


# Other info

[My Ko-Fi](https://ko-fi.com/drmeepso)

0 comments on commit 8853d0b

Please sign in to comment.