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

Fix constructor exception in CoopObservedFirearmController #48

Merged
2 changes: 1 addition & 1 deletion Fika.Core/Coop/GameMode/CoopGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ private async Task WaitForPlayers()

if (client.ServerConnection == null && connectionAttempts == 5)
{
Singleton<PreloaderUI>.Instance.ShowErrorScreen("Network Error", "Unable to connect to the server. Make sure ports are forwarded and/or UPnP is enabled and supported.");
Singleton<PreloaderUI>.Instance.ShowErrorScreen("Network Error", "Unable to connect to the raid server. Make sure ports are forwarded and/or UPnP is enabled and supported.");
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class CoopObservedFirearmController : FirearmController
public CoopPlayer coopPlayer;
bool triggerPressed = false;
bool needsReset = false;
float lastFireTime = Time.time;
float lastFireTime = 0f;
public override bool IsTriggerPressed => triggerPressed;
private float overlapCounter = 0f;
private float aimMovementSpeed = 1f;
Expand Down
2 changes: 1 addition & 1 deletion Fika.Core/Networking/FikaClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ protected void Start()

if (string.IsNullOrEmpty(IP))
{
Singleton<PreloaderUI>.Instance.ShowErrorScreen("Network Error", "Unable to connect to the server. IP and/or Port was empty when requesting data!");
Singleton<PreloaderUI>.Instance.ShowErrorScreen("Network Error", "Unable to connect to the raid server. IP and/or Port was empty when requesting data!");
}
else
{
Expand Down
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# Fika - Bepinex plugin

Client-side changes to make multiplayer work.

## /!\ **NOTICE** /!\
[![Discord](https://img.shields.io/discord/1202292159366037545?style=plastic&logo=discord&logoColor=FFFFFF&label=Fika%20Discord)](https://discord.gg/project-fika)
[![Downloads](https://img.shields.io/github/downloads/project-fika/Fika-Plugin/latest/total?style=plastic&logo=github)](https://github.com/project-fika/Fika-Plugin/releases/latest)
![Size](https://img.shields.io/github/languages/code-size/project-fika/Fika-Plugin?style=plastic&logo=github)
![Issues](https://img.shields.io/github/issues/project-fika/Fika-Plugin?style=plastic&logo=github)
[![License](https://img.shields.io/badge/CC--BY--NC--SA--4.0-blue?style=plastic&logo=creativecommons&logoColor=FFFFFF&label=License)](https://github.com/project-fika/Fika-Plugin/blob/main/LICENSE.md)

If you somehow ended up here while you just want to play a stable release,
please download the release from the discord [here](https://discord.gg/project-fika).

If you're interested to contribute, then you're at the right place!
Client-side changes to make multiplayer work.

## State of the project

Expand Down Expand Up @@ -52,7 +51,7 @@ dependencies from your game installation for the project to build.

## Licenses

<img src="https://mirrors.creativecommons.org/presskit/buttons/88x31/png/by-nc-sa.png" alt="cc by-nc-sa" width="196" height="62" style="float:right">
[<img src="https://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-nc-sa.svg" alt="cc by-nc-sa" width="180" height="63" align="right">](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en)

This project is licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode.en).

Expand Down
Loading