Raised This Month: $14 Target: $400
 3% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: nosoop
Forum: General Yesterday, 10:05
Replies: 4
Views: 142
Posted By nosoop
Re: [TF2] Crash from TFCond_PlagueRune

Could you please provide the error message at the top of the stack view (https://crash.limetech.org/ooqhlfdeizhb/carburetor) and the first two chunks of the topmost stack trace (registers and...
Forum: Snippets and Tutorials 03-01-2021, 00:50
Replies: 7
Views: 4,202
Posted By nosoop
Re: [Github Action] Setup SourcePawn

Nifty; saw it a while back but never got around to using Gtihub workflows until now.
Integrating it with my plugin project template...
Forum: Snippets and Tutorials 02-24-2021, 10:49
Replies: 0
Views: 285
Posted By nosoop
[Github Template] Ninja Build for SourcePawn

A Github project template / repository designed to build SourceMod plugins with Ninja (https://ninja-build.org/), a make-like build system.

Encourages decoupling dependencies from the main...
Forum: Scripting 02-15-2021, 09:25
Replies: 3
Views: 269
Posted By nosoop
Re: Does OnPlayerRunCmd Ever Spew Invalid Client Indexes?

It shouldn't, assuming you're running plugins that aren't invasive.

That said with DHooks (or dynhooks) in the mix, you're bound to find some weird issues if the issue with Sourcehooks or how...
Forum: Plugins 02-14-2021, 08:38
Replies: 597
Views: 316,064
Posted By nosoop
Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)

I now have a developer preview up in my releases that adds support for string attributes. (https://github.com/nosoop/tf2attributes/releases/tag/1.7.0-pre.1)

You still can't do things like set...
Forum: Plugins 02-14-2021, 06:08
Replies: 8
Views: 1,738
Posted By nosoop
Re: [TF2] Custom Attributes

Sure; send a forum PM. I do have some other things to work on so I can't guarantee I'll reach it quickly, but will look into it when I can.
Forum: Plugins 02-14-2021, 04:04
Replies: 8
Views: 1,738
Posted By nosoop
Re: [TF2] Custom Attributes

In that case, make sure that both you and the game are not removing any existing game attributes on the entity after the custom attributes are applied. They're cleared after the player_spawn and...
Forum: Plugins 02-14-2021, 00:01
Replies: 8
Views: 1,738
Posted By nosoop
Re: [TF2] Custom Attributes

Thanks!



TF2CustAttr_SetString should work on bot entities; nothing in the code specifically blocks usage on fake clients / bots. Weapons attached to them should work as well, but that's up to...
Forum: Scripting 02-13-2021, 03:16
Replies: 7
Views: 1,621
Posted By nosoop
Re: [TF2] How to get HUD meters to display for other classes

Minor follow-up on this topic, since the leak exists.

This is effectively not possible. As of the pre-Jungle Inferno code leak, the visibility is controlled on the client in...
Forum: Scripting 02-12-2021, 23:17
Replies: 1
Views: 276
Posted By nosoop
Re: [TF2] Ammo doesn't update after giving players new weapons

After equipping their weapon, you'll want to directly clear the ammo count and use GivePlayerAmmo to give them as much ammo as they can hold.

The following functions let you do that given a weapon...
Forum: Plugin/Gameplay Ideas and Requests 02-11-2021, 12:18
Replies: 4
Views: 279
Posted By nosoop
Re: [TF2-REQ] Rebalance bots when a player switches teams

Glad to help. I suggest reading over it and trying to understand how it works; hope you continue learning how to write plugins!

(The documentation on it is a bit sparse, will dust it off and...
Forum: Plugin/Gameplay Ideas and Requests 02-11-2021, 07:51
Replies: 4
Views: 279
Posted By nosoop
Re: [TF2-REQ] Rebalance bots when a player switches teams

I have a plugin for moving bots between teams when a human player requests a team change (https://git.csrd.science/nosoop/CSRD-BotTeamSwap), for what it's worth.

Only designed to work in fill...
Forum: Plugin/Gameplay Ideas and Requests 02-08-2021, 11:41
Replies: 5
Views: 385
Posted By nosoop
Re: CTFGameStats::ResetPlayerStats crashing server

Without seeing which functions you're working with and how you're hooking them, I can't say for sure. Make sure you're using the correct macros (for CDetour) / call conventions (dynhooks) for it.
...
Forum: Plugin/Gameplay Ideas and Requests 02-04-2021, 13:14
Replies: 5
Views: 385
Posted By nosoop
Re: CTFGameStats::ResetPlayerStats crashing server

It's a global singleton, so the easiest way would be to look at anything that calls a function on CTFGameStats.

On Windows, you can look at the CTFPlayer::RemoveNemesisRelationships() function...
Forum: Plugin/Gameplay Ideas and Requests 02-04-2021, 00:18
Replies: 5
Views: 385
Posted By nosoop
Re: CTFGameStats::ResetPlayerStats crashing server

You're calling a non-static function on the CTFGameStats class; you need a CTFGameStats instance in addition to the player parameter.


StartPrepSDKCall(SDKCall_Raw); // pass the address of a...
Forum: Scripting 02-02-2021, 23:31
Replies: 6
Views: 835
Posted By nosoop
Re: [TF2] Prevent Bots from Moving or Attacking

It should be nb_stop for TF.

The leaked source suggests that you can also apply the FL_FROZEN entity flag...
Forum: Scripting 01-13-2021, 03:50
Replies: 4
Views: 460
Posted By nosoop
Re: [TF2] An attempt to fix the missing disguise shotgun

I did a writeup of the bug here. (https://github.com/ValveSoftware/Source-1-Games/issues/276#issuecomment-719591591)

Attached below is the hotfix I wrote up as a prototype; it modifies the schema...
Forum: Plugins 01-11-2021, 05:48
Replies: 1,208
Views: 491,219
Posted By nosoop
Re: [TF2] Model Manager 1.0.4 (08/03/2013)

Yeah, that's the case when manipulating the existing viewmodel entities.

CW3 hides the original VM entirely and attaches two wearable VMs (one for the arms and one for the weapon). Barring...
Forum: Scripting 12-27-2020, 08:30
Replies: 4
Views: 548
Posted By nosoop
Re: [TF2] Multiplying attributes crashing clients

Printing which attributes are actually being modified is a good way to figure this out.

In particular, it looks like min_viewmodel_offset presents itself as additive, but string types aren't...
Forum: Plugins 12-20-2020, 06:55
Replies: 25
Views: 8,320
Posted By nosoop
Re: [TF2/CS:GO] Econ Data (supercedes TF2IDB, TF2ItemsInfo) (0.17.1, 2020-11-01)

You'll need to update your gamedata - it was reported (https://github.com/nosoop/SM-TFEconData/issues/7) last month that the Windows signature for one of the functions used started also matching a...
Forum: Source Servers (SRCDS) 12-05-2020, 00:42
Replies: 5
Views: 722
Posted By nosoop
Re: [TF2] Custom Navigation Meshes Wanted

Correction: 11 years; the nextbot system didn't launch with the game.

Definitely true though -- even RCBot2, with its tiny community, still has waypointers for recent-ish maps.

Can't say the...
Forum: Source Servers (SRCDS) 12-04-2020, 22:58
Replies: 5
Views: 722
Posted By nosoop
Re: [TF2] Custom Navigation Meshes Wanted

Yeah; pregenerated navigation meshes aren't the greatest -- I would've honestly preferred it if Valve didn't bother generating any.

If you'd like to learn how to modify navigation meshes, I...
Forum: Plugins 12-03-2020, 00:28
Replies: 37
Views: 4,021
Posted By nosoop
Re: [TF2] Hidden dev attributes

crafting's server has an out of date schema, so when the new one is loaded in on map change, it wipes all injected attributes.

I'm not knowledgeable on his server configuration to pin down exactly...
Forum: Scripting 11-10-2020, 20:34
Replies: 2
Views: 435
Posted By nosoop
Re: [TF2] Detecting Headshots

Your if statement isn't doing any tests on TF_CUSTOM_HEADSHOT, so that's evaluating to true, being a non-zero value.

I've done something similar with a custom attribute that adds rage on headshot....
Forum: Plugins 11-04-2020, 21:33
Replies: 25
Views: 8,320
Posted By nosoop
Re: [TF2/CS:GO] Econ Data (supercedes TF2IDB, TF2ItemsInfo) (0.17.1, 2020-11-01)

One of the recent TF2 updates made the signature for KeyValues::GetString() match a different function on Windows. If one of the plugins you are running is using the TF2Econ_Get*DefinitionString set...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 10:59.


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