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

Hacking NPC enemys with 1st person executions #418

Open
Malthbern opened this issue Jan 18, 2023 · 2 comments · May be fixed by R2Northstar/NorthstarMods#910
Open

Hacking NPC enemys with 1st person executions #418

Malthbern opened this issue Jan 18, 2023 · 2 comments · May be fixed by R2Northstar/NorthstarMods#910
Labels
bug Something isn't working

Comments

@Malthbern
Copy link

Malthbern commented Jan 18, 2023

Bug

Replace this line with the bug you've encountered and what is the expected behaviour.

Steps to reproduce

  1. have first person executions enabled on a FW server
  2. wait for specters
  3. 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
@GeckoEidechse GeckoEidechse added the bug Something isn't working label Feb 2, 2023
@GeckoEidechse
Copy link
Member

If someone could test on other platforms and modes to confirm, would be much appreciated <3

@F1F7Y
Copy link
Member

F1F7Y commented Jul 4, 2023

so like, did we fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants