Raised This Month: $ Target: $400
 0% 

[ANY?/TF2] SourceTools - NPC Framework & SDK Tools


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 06-08-2023 , 14:10   Re: [ANY?/TF2] SourceTools - NPC Framework & SDK Tools
Reply With Quote #1

Update report post. 1.8.5 was recently released, here's the changelog of everything new since 1.7.0

HTML Code:
05/06/2023 - 1.8.5
- Fixed a crash that would occurr on SM 1.12.6998 or later

14/03/2023 - 1.8.4
- Fixed misaligned memory for entities allocated with a custom constructor (gamedata)

19/02/2023 - 1.8.3
- 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.

03/12/2022 - 1.8.2
- Fixed a rare crash related to tf2 vscript update

02/12/2022 - 1.8.1
- Rebuilt the extension against our updated custom tf2 sdk

02/12/2022 - 1.8.0
- VScript gamedata update

20/11/2022 - 1.7.1
- Fix OnOtherKilled event callback not passing victim parameter
__________________
Benoist3012 is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 08-01-2023 , 03:40   Re: [ANY?/TF2] SourceTools - NPC Framework & SDK Tools
Reply With Quote #2

We continue our release ! Announcing 1.9.0, a very useful methodmap has been added to the framework !

Here's an example of what's possible with it :
PHP Code:
CTakeDamageInfo info CTakeDamageInfo(addressOfInfoObject);
int attacker info.GetAttacker();
info.SetInflictor(attacker); 
And here's a changelog :
HTML Code:
- 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
__________________
Benoist3012 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode