R2Northstar / Northstar

Repo for packaged Northstar releases
https://northstar.tf/
MIT License
1.69k stars 131 forks source link

Singpleplayer error: Speed(...) is greater than sv_maxvelocity(...) #296

Open GeckoEidechse opened 2 years ago

GeckoEidechse commented 2 years ago

SCRIPT ERROR: [SERVER] Speed(18000.000000) is greater than sv_maxvelocity(12100.000000)

Clips highlighting the issue:

https://medal.tv/games/titanfall-2/clips/oSLZUbQaha6jj/d1337VsDZn4s and

https://medal.tv/games/titanfall-2/clips/oSN6PiskmJt2B/d1337jmLwfj2

Basically seems to happen when when firing the rockets of the "Expedition" titan loadout on a locked far-away target.

Relevant part of log:

...
[2022-06-17 22:40:33.653] [info] [UI SCRIPT] GameStartTime_Changed null
[2022-06-17 22:40:33.819] [info] UnloadPak 220
[2022-06-17 22:40:37.478] [info] [SERVER SCRIPT] NPC with script_flag_killed intro_titan_reinforcements died. 2 remaining.
[2022-06-17 22:40:39.481] [info] [SERVER SCRIPT] PlayerCombatStateChanged: alert
[2022-06-17 22:40:44.770] [info] [SERVER SCRIPT] SCRIPT ERROR: [SERVER] Speed(18000.000000) is greater than sv_maxvelocity(12100.000000)
[2022-06-17 22:40:44.771] [info] [SERVER SCRIPT]  -> entity missile = weapon.FireWeaponMissile( attackParams.pos, attackParams.dir, 1800.0, damageTypes.projectileImpact, damageTypes.explosive, false, PROJECTILE_NOT_PREDICTED )
[2022-06-17 22:40:44.771] [info] [SERVER SCRIPT] 
CALLSTACK
*FUNCTION [OnWeaponNpcPrimaryAttack_weapon_rocket_launcher()] weapons/mp_weapon_rocket_launcher.nut line [210]

[2022-06-17 22:40:44.771] [info] [SERVER SCRIPT] LOCALS
[attackParams] unknown struct
[weapon] ENTITY (weaponx mp_weapon_rocket_launcher [1518] (weapon "mp_weapon_rocket_launcher" at <8228.21 -2430.47 -127.959>))
[this] TABLE

DIAGPRINTS

[2022-06-17 22:40:44.843] [info] DestroyVM UI 0x179845d6700
...
u24689 commented 1 year ago

I have the same problem and is at the same place. It'll crash even if i dont shoot the rockets.

FjellsMemory commented 1 year ago

If anyone else is having this problem, you are likely using the laser sight mod. Locate this file in your Titanfall 2 install folders: archer_weapon_laser.txt - Open it in an editor.
Change "projectile_launch_speed" "10" to "projectile_launch_speed" "1" Rock and roll.