Tab Targetting currently doesn't work on most NPCs #637

Closed
opened 2024-02-25 16:28:29 +01:00 by RaggyLP · 2 comments
RaggyLP commented 2024-02-25 16:28:29 +01:00 (Migrated from github.com)

Describe the bug
Currently, using Tab doesn't switch NPC/Mob target. It however works on other players of a different faction. (Likely a result of NPCFamily value changes)

To Reproduce
Steps to reproduce the behavior:

  1. Go to anywhere with mobs (BY for example)
  2. Press Tab
  3. Notice lack of target change

Expected behavior
When presing Tab, your current target should switch to the next nearest potentially hostile mob/NPC, taking side into consideration.

Character info:

Raggypure [3 Trader]
------------------------------------
    strength 	9
    stamina 	12
    agility 	21
    sense 	16
    psychic 	9
    intelligence 	12
    flags 	8917569
    monsterscale 	100
    currentnano 	55
    headmesh 	223891
    waitstate 	2
    cash 	2156
    gmlevel 	255
    expansion 	3
    breed 	2
    visualbreed 	2
    profession 	7
    visualprofession 	7
    level 	3
    sex 	2
    visualsex 	2
    health 	78
    titlelevel 	1
    accountflags 	0
    equippedweapontype 	8196
    EquippedRHWeapon 	8196
    exitstatel 	-1073675336
    externaldoorinstance 	-418378690
    externalplayfieldinstance 	3134
    selectedtarget 	1289
    selectedtargettype 	0
    charstate 	0
    xp 	4055
    isfightingme 	0
    bodydevelopment 	16
    shotgun 	17
    nanoenergypool 	12
    dodge 	17
    evade 	17
    senseimprovement 	11
    biologicalmetamorphose 	11
    psychologicalmodification 	12
    materialcreation 	12
    materiallocation 	12
    nanoprowessinitiative 	13
    treatment 	16
    computerliteracy 	16
    currentmovementmode 	3
    runspeed 	17
    playfieldtype 	0
    side 	1
    nextxp 	7150
    lastsavexp 	2600
    twohandedgedweapons 	15
    lastxp 	1450
    maxncu 	8
    fatness 	1
    race 	1
    life 	78
    monsterdata 	0
    VisualFlags 	31
    clan 	0
    team 	0
    aggdef 	100
    healinterval 	28
    maxnanoenergy 	55
    nanointerval 	28
    state 	0
    unarmedtemplateinstance 	0
    invaderskilled 	0
    killedbyinvaders 	0
    vp 	0
    unsavedxp 	0
    nanofocuslevel 	0
    specialization 	0
    shadowbreedtemplate 	0
    shadowbreed 	0
    lastperkresettime 	0
    socialstatus 	0
    playeroptions 	0
    tempsaveteamid 	0
    tempsaveplayfield 	0
    tempsavex 	0
    tempsavey 	0
    PVPDuelKills 	0
    PVPDuelDeaths 	0
    PVPProfessionDuelKills 	0
    PVPProfessionDuelDeaths 	0
    PVPRankedSoloKills 	0
    PVPRankedSoloDeaths 	0
    PVPRankedTeamKills 	0
    PVPRankedTeamDeaths 	0
    PVPSoloScore 	0
    PVPTeamScore 	0
    PVPDuelScore 	0
    unreadmailcount 	0
    lastmailchecktime 	1283065897
    savedxp 	0
    features 	6
    apartmentsallowed 	1
    apartmentsowned 	0
    nanoac 	7
    lastconcreteplayfieldinstance 	0
    mapoptions 	0
    mapareapart1 	0
    mapareapart2 	0
    mapareapart3 	0
    mapareapart4 	0
    missionbits1 	0
    missionbits2 	0
    missionbits3 	0
    missionbits4 	0
    missionbits5 	0
    missionbits6 	0
    missionbits7 	0
    missionbits8 	0
    missionbits9 	0
    missionbits10 	0
    missionbits11 	0
    missionbits12 	0
    sessiontime 	1234567890
    autoattackflags 	5
    personalresearchlevel 	0
    globalresearchlevel 	0
    personalresearchgoal 	0
    globalresearchgoal 	0
    battlestationside 	0
    battlestationrep 	10
    members 	999
    veteranpoints 	0
    monthspaid 	0
    PaidPoints 	0
    xpkillrange 	5
    inplay 	0
    attitude 	0
    alignment 	0
    icon 	0
    mesh 	17530
    deadtimer 	0
    martialarts 	8
    meleemultiple 	9
    onehandbluntweapons 	7
    onehandedgedweapon 	8
    piercing 	8
    twohandbluntweapons 	7
    meleeenergyweapon 	8
    throwingknife 	9
    grenade 	9
    throwngrapplingweapons 	9
    bow 	9
    pistol 	9
    rifle 	9
    submachinegun 	8
    assaultrifle 	8
    drivewater 	9
    closecombatinitiative 	8
    distanceweaponinitiative 	8
    physicalprowessinitiative 	8
    bowspecialattack 	9
    firstaid 	9
    mechanicalengineering 	9
    electricalengineering 	8
    materialmetamorphose 	7
    lr_energyweapon 	8
    lr_multipleweapon 	9
    disarmtrap 	9
    perception 	8
    adventuring 	8
    swim 	8
    driveair 	9
    mapnavigation 	8
    tutoring 	8
    brawl 	7
    riposte 	9
    dimach 	8
    parry 	8
    sneakattack 	9
    fastattack 	9
    burst 	8
    flingshot 	10
    aimedshot 	9
    duck 	9
    fieldquantumphysics 	7
    weaponsmithing 	7
    pharmaceuticals 	8
    nanoprogramming 	8
    psychology 	8
    chemistry 	8
    concealment 	9
    breakingentry 	8
    driveground 	9
    fullauto 	7
    currentmass 	0
    itemtype 	0
    previoushealth 	50
    currentstate 	0
    age 	0
    radiationac 	2
    attackspeed 	5
    metatype 	0
    fireac 	3
    poisonac 	2
    coldac 	2
    chemicalac 	2
    energyac 	0
    meleeac 	0
    projectileac 	0
    rp 	0
    specialcondition 	1
    sk 	0
    clanredeemed 	0
    clanconserver 	0
    clandevoted 	0
    otunredeemed 	0
    otoperator 	0
    otfollowers 	0
    gos 	0
    clanvanguards 	0
    ottrans 	0
    clangaia 	0
    otmed 	1234567890
    clansentinels 	0
    otarmedforces 	0
    playerid 	1234567890
    alienlevel 	0
    aliennextxp 	1500
    alienxp 	0
    insurancepercentage 	0
    prevmovementmode 	3
    teamside 	0
    beltslots 	0
    absorbprojectileac 	0
    absorbmeleeac 	0
    absorbenergyac 	0
    absorbchemicalac 	0
    absorbradiationac 	0
    absorbcoldac 	0
    absorbnanoac 	0
    absorbfireac 	0
    absorbpoisonac 	0
    temporaryskillreduction 	0
    insurancetime 	0
    mapflags 	0
    changesidecount 	0
    amsmodifier 	0
    damageoverridetype 	0
    projectiledamagemodifier 	0
    xpmodifier 	0
    xppool 	0
    ip 	7663
    dmsmodifier 	0
    reflectreturnedmeleeac 	0
    reflectmeleeac 	0
    shieldmeleeac 	0
------------------------------------

.getfull succeeded - Listed all stats for Raggypure.

**Describe the bug** Currently, using Tab doesn't switch NPC/Mob target. It however works on other players of a different faction. (Likely a result of NPCFamily value changes) **To Reproduce** Steps to reproduce the behavior: 1. Go to anywhere with mobs (BY for example) 2. Press Tab 3. Notice lack of target change **Expected behavior** When presing Tab, your current target should switch to the next nearest potentially hostile mob/NPC, taking side into consideration. **Character info:** ``` Raggypure [3 Trader] ------------------------------------ strength 9 stamina 12 agility 21 sense 16 psychic 9 intelligence 12 flags 8917569 monsterscale 100 currentnano 55 headmesh 223891 waitstate 2 cash 2156 gmlevel 255 expansion 3 breed 2 visualbreed 2 profession 7 visualprofession 7 level 3 sex 2 visualsex 2 health 78 titlelevel 1 accountflags 0 equippedweapontype 8196 EquippedRHWeapon 8196 exitstatel -1073675336 externaldoorinstance -418378690 externalplayfieldinstance 3134 selectedtarget 1289 selectedtargettype 0 charstate 0 xp 4055 isfightingme 0 bodydevelopment 16 shotgun 17 nanoenergypool 12 dodge 17 evade 17 senseimprovement 11 biologicalmetamorphose 11 psychologicalmodification 12 materialcreation 12 materiallocation 12 nanoprowessinitiative 13 treatment 16 computerliteracy 16 currentmovementmode 3 runspeed 17 playfieldtype 0 side 1 nextxp 7150 lastsavexp 2600 twohandedgedweapons 15 lastxp 1450 maxncu 8 fatness 1 race 1 life 78 monsterdata 0 VisualFlags 31 clan 0 team 0 aggdef 100 healinterval 28 maxnanoenergy 55 nanointerval 28 state 0 unarmedtemplateinstance 0 invaderskilled 0 killedbyinvaders 0 vp 0 unsavedxp 0 nanofocuslevel 0 specialization 0 shadowbreedtemplate 0 shadowbreed 0 lastperkresettime 0 socialstatus 0 playeroptions 0 tempsaveteamid 0 tempsaveplayfield 0 tempsavex 0 tempsavey 0 PVPDuelKills 0 PVPDuelDeaths 0 PVPProfessionDuelKills 0 PVPProfessionDuelDeaths 0 PVPRankedSoloKills 0 PVPRankedSoloDeaths 0 PVPRankedTeamKills 0 PVPRankedTeamDeaths 0 PVPSoloScore 0 PVPTeamScore 0 PVPDuelScore 0 unreadmailcount 0 lastmailchecktime 1283065897 savedxp 0 features 6 apartmentsallowed 1 apartmentsowned 0 nanoac 7 lastconcreteplayfieldinstance 0 mapoptions 0 mapareapart1 0 mapareapart2 0 mapareapart3 0 mapareapart4 0 missionbits1 0 missionbits2 0 missionbits3 0 missionbits4 0 missionbits5 0 missionbits6 0 missionbits7 0 missionbits8 0 missionbits9 0 missionbits10 0 missionbits11 0 missionbits12 0 sessiontime 1234567890 autoattackflags 5 personalresearchlevel 0 globalresearchlevel 0 personalresearchgoal 0 globalresearchgoal 0 battlestationside 0 battlestationrep 10 members 999 veteranpoints 0 monthspaid 0 PaidPoints 0 xpkillrange 5 inplay 0 attitude 0 alignment 0 icon 0 mesh 17530 deadtimer 0 martialarts 8 meleemultiple 9 onehandbluntweapons 7 onehandedgedweapon 8 piercing 8 twohandbluntweapons 7 meleeenergyweapon 8 throwingknife 9 grenade 9 throwngrapplingweapons 9 bow 9 pistol 9 rifle 9 submachinegun 8 assaultrifle 8 drivewater 9 closecombatinitiative 8 distanceweaponinitiative 8 physicalprowessinitiative 8 bowspecialattack 9 firstaid 9 mechanicalengineering 9 electricalengineering 8 materialmetamorphose 7 lr_energyweapon 8 lr_multipleweapon 9 disarmtrap 9 perception 8 adventuring 8 swim 8 driveair 9 mapnavigation 8 tutoring 8 brawl 7 riposte 9 dimach 8 parry 8 sneakattack 9 fastattack 9 burst 8 flingshot 10 aimedshot 9 duck 9 fieldquantumphysics 7 weaponsmithing 7 pharmaceuticals 8 nanoprogramming 8 psychology 8 chemistry 8 concealment 9 breakingentry 8 driveground 9 fullauto 7 currentmass 0 itemtype 0 previoushealth 50 currentstate 0 age 0 radiationac 2 attackspeed 5 metatype 0 fireac 3 poisonac 2 coldac 2 chemicalac 2 energyac 0 meleeac 0 projectileac 0 rp 0 specialcondition 1 sk 0 clanredeemed 0 clanconserver 0 clandevoted 0 otunredeemed 0 otoperator 0 otfollowers 0 gos 0 clanvanguards 0 ottrans 0 clangaia 0 otmed 1234567890 clansentinels 0 otarmedforces 0 playerid 1234567890 alienlevel 0 aliennextxp 1500 alienxp 0 insurancepercentage 0 prevmovementmode 3 teamside 0 beltslots 0 absorbprojectileac 0 absorbmeleeac 0 absorbenergyac 0 absorbchemicalac 0 absorbradiationac 0 absorbcoldac 0 absorbnanoac 0 absorbfireac 0 absorbpoisonac 0 temporaryskillreduction 0 insurancetime 0 mapflags 0 changesidecount 0 amsmodifier 0 damageoverridetype 0 projectiledamagemodifier 0 xpmodifier 0 xppool 0 ip 7663 dmsmodifier 0 reflectreturnedmeleeac 0 reflectmeleeac 0 shieldmeleeac 0 ------------------------------------ .getfull succeeded - Listed all stats for Raggypure. ```
TheTinkeringIdiot commented 2024-02-26 02:59:08 +01:00 (Migrated from github.com)

Confirmed. Marking this priority 1 as it's a major player impact.

Confirmed. Marking this priority 1 as it's a major player impact.
RaggyLP commented 2024-02-26 23:15:38 +01:00 (Migrated from github.com)

Tested against mobs and sided NPCs, tab targetting is now back and respecting the sided rules. Ctrl+Tab (Next 'Friendly') is also working as expected. Confirmed fixed as of 22:15 UTC 26/02/24.

Tested against mobs and sided NPCs, tab targetting is now back and respecting the sided rules. Ctrl+Tab (Next 'Friendly') is also working as expected. Confirmed fixed as of 22:15 UTC 26/02/24.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: prk/issues#637
No description provided.