Northstar
Northstar copied to clipboard
Hacking NPC enemys with 1st person executions
Bug
Replace this line with the bug you've encountered and what is the expected behaviour.
Steps to reproduce
- have first person executions enabled on a FW server
- wait for specters
- hack one
Specifications
- Northstar version: current docker image
- Platform: Ubuntu
log excerpt
[05:59:10] [SCRIPT SV] [info] SERVER: entity (2: player Malthbern [2]) pressed melee
[05:59:10] [NATIVE SV] [info] SERVER: Lunge_SetTargetEntity(): Setting lunge target to (null)
[05:59:10] [SCRIPT SV] [info] SERVER: entity (2: player Malthbern [2]) is calling Lunge_SetTargetEntity() from HumanUnsyncedMelee()
[05:59:10] [NATIVE SV] [info] SERVER: Lunge_SetTargetEntity(): Setting lunge target to npc_spectre fw_npcsFromCamp [637]
[05:59:11] [SCRIPT SV] [info] SERVER: entity (2: player Malthbern [2]) is calling CodeCallback_OnMeleeAttackAnimEvent()
[05:59:11] [SCRIPT SV] [info] SERVER: entity (2: player Malthbern [2]) is calling PlayerMelee_AttackTrace() from HumanMeleeAttack()
[05:59:11] [SCRIPT SV] [info] SERVER: entity (2: player Malthbern [2]) call to PlayerMelee_AttackTrace() hit entity (637: npc_spectre fw_npcsFromCamp [637])
[05:59:11] [SCRIPT SV] [info] SERVER: PlayerTriesSyncedMelee_FallbackToHumanMeleeAttack() for entity (2: player Malthbern [2])
[05:59:11] [SCRIPT SV] [info] SERVER: entity (2: player Malthbern [2]) is calling Lunge_SetTargetEntity() from PlayerTriesSyncedMelee()
[05:59:11] [NATIVE SV] [info] SERVER: Lunge_ClearTarget()
[05:59:11] [NATIVE SV] [info] SERVER: Lunge_SetTargetEntity(): Setting lunge target to npc_spectre fw_npcsFromCamp [637]
[05:59:11] [NATIVE SV] [info] SERVER: Lunge_ClearTarget()
[05:59:11] [NATIVE SV] [info] SERVER: Lunge_SetTargetEntity(): Setting lunge target to (null)
[05:59:11] [NATIVE SV] [warn] Couldn't find bodygroup 'r101_sight_on' on weapon model 'weapons/r101_sfp/ptpov_r101_sfp.mdl' to set index #1.
[05:59:11] [FILESYSTM] [info] Changing mod search path from z:\tmp\ns709825973\R2Northstar\mods\Northstar.CustomServers\mod to R2Northstar/mods\Northstar.Custom
[05:59:11] [SCRIPT SV] [info] SCRIPT ERROR: [SERVER] Body group index must be greater than 0
[05:59:11] [SCRIPT SV] [info] -> ownerProxy.SetBodygroup( ownerProxy.FindBodyGroup( hiddenBodygroup ), bodygroupValue )
[05:59:11] [SCRIPT SV] [info]
CALLSTACK
*FUNCTION [FirstPersonSequenceForce1P()] sh_3psequence_to_1p_hacks.gnut line [96]
*FUNCTION [MeleeThread_PilotVsEnemy_Target()] melee/_melee_synced_human.gnut line [414]
[05:59:11] [SCRIPT SV] [info] LOCALS
[bodygroupValue] 1
[ownerProxy] ENTITY (npc_pilot_elite [689] (NPC "npc_pilot_elite" at <2722.19 2206.74 63.7953>))
[angles] <0, 4.32439, 0>
[cleanupData] unknown struct
[entityclass] "npc_pilot_elite"
[hiddenBodygroup] "head"
[attachment] "HEADFOCUS"
[other] ENTITY (player Malthbern [2] (player "Malthbern" at <2706.89 2231.48 63.8093>))
[player] ENTITY (npc_spectre fw_npcsFromCamp [637] (NPC "npc_spectre" at <2722.19 2206.74 63.7953>))
[sequence] unknown struct
[this] TABLE
[targetSequence] unknown struct
[dataStruct] unknown struct
[isAttackerRef] true
[target] ENTITY (npc_spectre fw_npcsFromCamp [637] (NPC "npc_spectre" at <2722.19 2206.74 63.7953>))
[attacker] ENTITY (player Malthbern [2] (player "Malthbern" at <2706.89 2231.48 63.8093>))
[action] unknown struct
[this] TABLE
DIAGPRINTS
abnormal program termination
0024:fixme:msvcrt:__clean_type_info_names_internal (0000000005168788) stub
If someone could test on other platforms and modes to confirm, would be much appreciated <3
so like, did we fix this