Raised This Month: $115 Target: $400
 28% 

[TF2] FaN Patch


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: *pPlayer->GetOrigin()
Old 07-30-2019 , 01:55   [TF2] FaN Patch
Reply With Quote #1

Use the following gamedata to make FaN always apply self force when firing it, the results when mixed with some attributes and infinite ammo are most fun
Code:
"Addresses"
{
	// Assignment of a bool that corresponds to having been self pushed by FaN
	"CTFScattergun_FireBullet"
	{
		"linux"
		{
			"signature" "CTFScattergun::FireBullet"
			"offset"	"125"
		}
		"windows"
		{
			"signature" "CTFScattergun::FireBullet"
			"offset"	"132"
		}
	}
}
		
"Signatures"
{
	"CTFScattergun::FireBullet"
	{
		"library"	"server"
		"linux"		"@_ZN13CTFScatterGun10FireBulletEP9CTFPlayer"
		"windows"	"\x55\x8B\xEC\x83\xEC\x78\x53\x56\x57\x8B\xF9"
	}
}
Use it either by doing a StoreToAddress of 7 NOP's (0x90) or a config setup in this extension to blank out the assignment of the bool that says you can't do it no more
__________________
Plugins|Steam Group|Profile
I can do coding and even take requests, but I don't do a bit of modeling

I'm a smartass by nature, get used to it
xXDeathreusXx is offline
Send a message via Skype™ to xXDeathreusXx
nosoop
Veteran Member
Join Date: Aug 2014
Old 07-30-2019 , 08:19   Re: [TF2] FaN Patch
Reply With Quote #2

Looks like it's located at m_Shared.m_iSpawnCounter + 0x02; could probably also SetEntData on it on your choice of hook if you're confident the relative offset won't change.

Here's a Source Scramble gameconfig and an autoloader file for it for those that would like it.
.txt goes in gamedata/, .cfg goes in configs/sourcescramble/, extension and manager plugin should both be installed of course.
Attached Files
File Type: txt tf2.fan_knockback_patch.txt (642 Bytes, 7 views)
File Type: cfg tf2.fan_knockback_patch.cfg (86 Bytes, 7 views)
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH)
nosoop 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:05.


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