NorthstarMods icon indicating copy to clipboard operation
NorthstarMods copied to clipboard

SNS gamemode causing lagging for clients because of "mp_weapon_thermite_grenade"

Open Strykus opened this issue 1 year ago • 7 comments

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. изображение

Strykus avatar Sep 12 '24 18:09 Strykus

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

ASpoonPlaysGames avatar Sep 12 '24 18:09 ASpoonPlaysGames

In fact, how does commenting this line even compile?

ASpoonPlaysGames avatar Sep 12 '24 18:09 ASpoonPlaysGames

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

EM4Volts avatar Sep 12 '24 18:09 EM4Volts

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 avatar Sep 12 '24 19:09 Strykus

изображение

Strykus avatar Sep 12 '24 19:09 Strykus

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.

Gazyi avatar Sep 24 '24 15:09 Gazyi

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

Strykus avatar Sep 25 '24 15:09 Strykus