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

SNS gamemode causing lagging for clients because of "mp_weapon_thermite_grenade" #882

Open
Strykus opened this issue Sep 12, 2024 · 7 comments

Comments

@Strykus
Copy link

Strykus commented Sep 12, 2024

SNS gamemode causing lagging for clients because of
string offhand_weapon = "mp_weapon_thermite_grenade" // offhand weapon in Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_sns.gnut file

Some people teleporting, other having their latency significantly increasing if they start mooving faster around the map

Removing "mp_weapon_thermite_grenade" from players loadout by commenting line 5 and line 188 in the _gamemode_sns.gnut fixing the issue.
изображение

@ASpoonPlaysGames
Copy link
Contributor

This is very strange and tbh I have no idea how the two things could be related.

@ASpoonPlaysGames
Copy link
Contributor

In fact, how does commenting this line even compile?

@EM4Volts
Copy link
Contributor

This is very strange and tbh I have no idea how the two things could be related.

they really shouldnt?
the weapon doesnt really have something that causes lag without it being heavily modified.

@Strykus are you the only one with this problem or did others confirm this too?
could be another thing like the monarch arc fx

@Strykus
Copy link
Author

Strykus commented Sep 12, 2024

are you the only one with this problem or did others confirm this too? could be another thing like the monarch arc fx

No. it not only me. TheKraberGuy is the one who tell me when he played on my SNS server that its always the problem with SNS and he have jumping latency from 60 to 100+. Other two people having just laggy gameplay like they have high latency even in the tab its stable 60+- and i myself joined fvnkhead's sticks SNS server and having same issue like those two other people.

@Strykus
Copy link
Author

Strykus commented Sep 12, 2024

изображение

@Gazyi
Copy link
Contributor

Gazyi commented Sep 24, 2024

https://github.com/R2Northstar/NorthstarMods/blob/main/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_sns.gnut#L144
Why does this function use string from struct? It doesn't look like modifiable by gamemode rules or cvars.
Replace it with: player.GiveOffhandWeapon( "mp_weapon_thermite_grenade", OFFHAND_RIGHT ) and try to run server.

@Strykus
Copy link
Author

Strykus commented Sep 25, 2024

Replace it with: player.GiveOffhandWeapon( "mp_weapon_thermite_grenade", OFFHAND_RIGHT ) and try to run server.
It wont count points for kills like that

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

No branches or pull requests

4 participants