Skip to content

Releases: TF2-DMB/CBaseNPC

CBaseNPC 1.10.0.103

03 Aug 07:28
b5dd18a
Compare
Choose a tag to compare

Add more ways to collect Nav Areas (#42)

  • Added CNavArea.GetAdjacent/IncomingConnectionLength natives
  • Deprecate SurroundingAreasCollector in favor of AreasCollector

CBaseNPC 1.9.0.102

25 Jul 13:48
aa60c6b
Compare
Choose a tag to compare

Repository CI update (#41)

  • Added CI for plugins
  • Added the missing .inc files to the package script

CBaseNPC 1.9.0.101

23 Jul 16:04
fe96b5f
Compare
Choose a tag to compare

Revise natives code (#40)

  • Added CTakeDamageInfo natives
CTakeDamageInfo.CTakeDamageInfo
GetInflictor
SetInflictor
GetWeapon
SetWeapon
GetAttacker
SetAttacker
GetDamage
SetDamage
GetMaxDamage
SetMaxDamage
ScaleDamage
AddDamage
SubtractDamage
GetDamageBonus
SetDamageBonus
GetDamageBonusProvider
GetBaseDamage
BaseDamageIsValid
GetDamageForce
SetDamageForce
ScaleDamageForce
GetDamageForForceCalc
SetDamageForForceCalc
GetDamagePosition
SetDamagePosition
GetReportedPosition
SetReportedPosition
GetDamageType
SetDamageType
AddDamageType
GetDamageCustom
SetDamageCustom
GetDamageStats
SetDamageStats
SetForceFriendlyFire
IsForceFriendlyFire
GetAmmoType
SetAmmoType
GetAmmoName
GetPlayerPenetrationCount
SetPlayerPenetrationCount
GetDamagedOtherPlayers
SetDamagedOtherPlayers
SetCritType
GetCritType
  • Refactored natives code
  • Fixed a bug where CBaseNPC and CExtNPC natives would not throw an error when using INVALID_NPC index

CBaseNPC 1.8.5.100

05 Jun 08:44
a8e2894
Compare
Choose a tag to compare

Fixed the extension for SM 1.12 (#39)

CBaseNPC 1.8.4.99

14 Mar 18:25
b0f9d4b
Compare
Choose a tag to compare

Fix gamedata based entity factory (#37)

Due to the nature of member function ptrs on linux, the extension would auto offset the class object ptr allocated by the game. Leading to misaligned memory.

On the topic of misaligned memory, we weren't really guarding against it. So just in the event the engine changes how memory is allocated, or that plugin provides an object size that doesn't allow for 4 bytes aligned memory, we fix that before allocating anything.

CBaseNPC 1.8.3.98

19 Feb 16:45
b5503ae
Compare
Choose a tag to compare

Fix crash with IsHindrance + CallBaseFunction, reformat includes (#36)

  • Fixes a case where the IsHindrance query callback fails to take into account a special CBaseEntity* value called IS_ANY_HINDRANCE_POSSIBLE.

  • Fixes a case where using CBaseNPC_Locomotion.CallBaseFunction within IsEntityTraversable and ShouldCollideWith callbacks resulted in a crash.

  • Reformated include guards to use #endinput and to use relative paths instead. This notably fix headers with the sourcepawn VSCode extension.

  • Added examples to using CBaseNPC_Locomotion callbacks to the scout test bot.

CBaseNPC 1.8.2.97

03 Dec 16:33
bbc3fe2
Compare
Choose a tag to compare

Add m_scriptInstance member to INextBotComponent. (#35)

This fixes yet another crash from the vscript update.

CBaseNPC 1.8.1.96

02 Dec 17:52
deb245a
Compare
Choose a tag to compare

Rebuild against VScript changes on TF2 SDK (#33)

CBaseNPC 1.8.0.95

02 Dec 00:45
5ee919d
Compare
Choose a tag to compare

VScript gamedata update (#32)

CBaseNPC 1.7.1.94

19 Nov 23:20
677b44c
Compare
Choose a tag to compare

Fix OnOtherKilled event callback not passing victim parameter (#31)