Raised This Month: $67 Target: $400
 16% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: nosoop
Forum: Scripting 06-08-2021, 04:29
Replies: 4
Views: 294
Posted By nosoop
Re: How to use CheckCommandAcces

I did a write up to explain CheckCommandAccess here. (https://wiki.alliedmods.net/User:Nosoop/Guide/How_to_X#Determine_if_a_client_has_access_to_something) The "command name" is intended to describe...
Forum: Scripting 06-05-2021, 02:55
Replies: 1
Views: 357
Posted By nosoop
Re: tf2 block game over scoreboard

Sources suggest it's sent as a VGUIMenu usermessage named "scores".
Forum: Coding MM:S Plugins & SM Extensions 05-28-2021, 00:32
Replies: 1
Views: 301
Posted By nosoop
Re: MM:S plugin fails to compile due to stdlib-related error on newer toolchains

Ah, that's silly. Commenting out every instance of


#define swap V_swap


and


#undef swap
Forum: Coding MM:S Plugins & SM Extensions 05-28-2021, 00:06
Replies: 1
Views: 301
Posted By nosoop
MM:S plugin fails to compile due to stdlib-related error on newer toolchains

I'm trying to compile my fork of RCBot2 (https://github.com/nosoop/RCBot2) (a hybrid MM:S plugin and SourceMod extension), and it reports the following error message on the current Debian (Buster)...
Forum: Scripting 05-13-2021, 18:20
Replies: 3
Views: 476
Posted By nosoop
Re: Convert UTF-16 LE to UTF-8

There's the UCS-2 parsing logic in Doctor McKay's Enhanced Items plugin...
Forum: Scripting 05-02-2021, 14:18
Replies: 2
Views: 364
Posted By nosoop
Re: [TF2][HELP] Equipwearable Gamedata

2 is the current version.

However, I'd recommend using TF2Util_EquipPlayerWearable from TF2 Utils (https://github.com/nosoop/SM-TFUtils) so you don't have to maintain the offsets / SDKCall...
Forum: Plugins 04-02-2021, 14:23
Replies: 38
Views: 26,657
Posted By nosoop
Re: [TF2] NativeVotes MapChooser (v1.5.4, 2014-03-05)

Sounds like the known issue with NativeVotes on certain Linux distributions; see this post (https://forums.alliedmods.net/showpost.php?p=2669519&postcount=257).
Forum: Plugins 03-25-2021, 19:55
Replies: 604
Views: 332,991
Posted By nosoop
Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)

Nobody complained so it's been merged into my default branch now. Sarge'll get there eventually.
Forum: Plugins 03-16-2021, 04:14
Replies: 5
Views: 1,310
Posted By nosoop
Re: [TF2] Custom Weapons X (preview)

There's a few different ways you can check when a weapon is equipped:

post_inventory_application event (notably, this plugin spawns and equips all items before that event runs, so any item checks...
Forum: Plugins 03-15-2021, 16:51
Replies: 10
Views: 2,691
Posted By nosoop
Re: [TF2] Custom Attributes

You can currently use the raw KeyValues access functions:


KeyValues attributes = TF2CustAttr_GetAttributeKeyValues(entity);
if (attributes) {
attributes.DeleteKey(attribName);...
Forum: Plugins 03-13-2021, 13:39
Replies: 5
Views: 1,310
Posted By nosoop
Re: [TF2] Custom Weapons X (preview)

The custom item schema will remain file-based for the time being since it's easier for the average server operator to work with, though the plan is to parse it out into an enum struct internal...
Forum: Plugins 03-13-2021, 05:15
Replies: 5
Views: 1,310
Posted By nosoop
[TF2] Custom Weapons X (preview)

⚠️ This is currently a preview. While I consider the core of it usable, there's still some additional QoL things that need work. ⚠️

Description:
New weapons in TF2? Want to BYOHU (Bring Your...
Forum: General 03-06-2021, 09:05
Replies: 4
Views: 347
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 02-28-2021, 23:50
Replies: 7
Views: 5,398
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, 09:49
Replies: 0
Views: 1,271
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, 08:25
Replies: 3
Views: 350
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, 07:38
Replies: 604
Views: 332,991
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, 05:08
Replies: 10
Views: 2,691
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, 03:04
Replies: 10
Views: 2,691
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-13-2021, 23:01
Replies: 10
Views: 2,691
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, 02:16
Replies: 7
Views: 1,784
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, 22:17
Replies: 1
Views: 309
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, 11:18
Replies: 4
Views: 315
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, 06:51
Replies: 4
Views: 315
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, 10:41
Replies: 5
Views: 445
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.
...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 13:56.


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