Raised This Month: $85 Target: $400
 21% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: nosoop
Forum: Plugins 10-16-2020, 23:15
Replies: 597
Views: 296,734
Posted By nosoop
Re: [TF2] TF2Attributes (v1.2.1, 07/02/2015)

There's a couple of different ways attributes are stored.

TF2Attrib_*ByDefIndex operates on runtime attributes. These are mainly used by plugins and things like the Dalokoh's / MvM.
...
Forum: Source Servers (SRCDS) 10-13-2020, 03:26
Replies: 12
Views: 511
Posted By nosoop
Re: Help installing metamod on ubuntu 14 VPS running Dod:s server

Apologies for the confusion. I'm asking about ~steam/steamcmd/dods/dod/addons/metamod/bin, since that's where I expect the Metamod:Source binaries to be.
Forum: Source Servers (SRCDS) 10-12-2020, 22:06
Replies: 12
Views: 511
Posted By nosoop
Re: Help installing metamod on ubuntu 14 VPS running Dod:s server

The plugin_load command should be run from the server (game) console.

What's in the bin/ subdirectory?
Forum: Source Servers (SRCDS) 10-12-2020, 19:54
Replies: 12
Views: 511
Posted By nosoop
Re: Help installing metamod on ubuntu 14 VPS running Dod:s server

That's fine; as long as you have an understanding on how to navigate around the system and have no problems with looking up how to do things, you should do pretty well.

The correct binaries would...
Forum: Source Servers (SRCDS) 10-12-2020, 03:20
Replies: 12
Views: 511
Posted By nosoop
Re: Help installing metamod on ubuntu 14 VPS running Dod:s server

Hiya. Surprised this didn't get moved to the Source Servers subforum; seems like a better fit there.

What does rcon plugin_print output? If neither of those respond to anything it may be a DOD:S...
Forum: Scripting 10-12-2020, 02:58
Replies: 9
Views: 550
Posted By nosoop
Re: Return arrays in ArrayLists by reference

You can't - the contents of an ArrayList are outside of a plugin's memory space; the only way a plugin is allowed to access it is through the provided natives, and none of them give you that kind of...
Forum: Source Servers (SRCDS) 09-28-2020, 19:49
Replies: 1
Views: 363
Posted By nosoop
Re: [TF2 (Possibly all)] Question about Server Favorites

You can (at least, last I checked) query a connected player's cl_connectmethod convar to see if it reports the serverbrowser_favorites string, which indicates that they connected via the favorites...
Forum: General 09-27-2020, 06:53
Replies: 3
Views: 399
Posted By nosoop
Re: [TF2] Simulated observation

You're probably stuck with the limitations provided; all you can do is manipulate one of those conditions (target on same team, is local player spy / medic / heavy / in dying state / in spectate, is...
Forum: Plugins 09-27-2020, 04:41
Replies: 8
Views: 2,064
Posted By nosoop
Re: [Any] Level KeyValues (Stripper:Source for nerds) (0.3.3, 2019-04-12)

It looks like the new map's entity string only uses CR for linebreaks instead of LF or CR+LF (?!), so the plugin wasn't picking up on the linebreaks in that form, and wasn't parsing any entities out...
Forum: Scripting 09-10-2020, 02:32
Replies: 4
Views: 305
Posted By nosoop
Re: Function prototypes do not match

In this case, you need to specify either Action or void as the return type (lack of return type is implicit int in legacy syntax), and the prototype doesn't have Handle event as one of its...
Forum: Scripting 09-08-2020, 22:20
Replies: 4
Views: 305
Posted By nosoop
Re: Function prototypes do not match

The error means that your function's callback doesn't match what the compiler expects it to be.


HookSingleEntityOutput(iEnt, "OnStartTouch", EntOut_OnStartTouch); //ERROR 1 HERE

...
Forum: Plugins 08-22-2020, 17:34
Replies: 31
Views: 2,304
Posted By nosoop
Re: [TF2] Hidden dev attributes

TF2II parses the schema file independently, so that's outside the scope here. You can either patch TF2II to also read your custom attribute KV, or use Econ Data...
Forum: Plugins 08-21-2020, 04:15
Replies: 31
Views: 2,304
Posted By nosoop
Re: [TF2] Hidden dev attributes

Having a config directory is probably enough; feel free to refer to the implementation in Source Scramble...
Forum: Plugins 08-20-2020, 20:59
Replies: 31
Views: 2,304
Posted By nosoop
Re: [TF2] Hidden dev attributes

To add to this, to develop a plugin using "native" attributes, you can use HookValue-based natives with a completely new attribute class (currently in my fork of TF2Attributes...
Forum: Plugins 08-20-2020, 02:43
Replies: 31
Views: 2,304
Posted By nosoop
Re: [TF2] Hidden dev attributes

Here you go; added the lookup that was missing for g_pFullFileSystem on Windows. There is a missing bool return for BInitAttributes which may or may not cause a crash. Will leave that to the plugin...
Forum: Plugins 08-19-2020, 22:11
Replies: 31
Views: 2,304
Posted By nosoop
Re: [TF2] Hidden dev attributes

Nice work! Had one in development myself as an MM:S plugin; just never had an incentive to take it past prototyping.

Very good find on ReadEncryptedKVFile to load a file into KeyValues*, though...
Forum: Coding MM:S Plugins & SM Extensions 07-27-2020, 22:20
Replies: 5
Views: 2,335
Posted By nosoop
Re: How to set-up build environment on Linux?

You should be able to manually build / install it; your particular distro may just not have python in its path (which is strange for the script, considering it checks if AMBuild is installed for...
Forum: Coding MM:S Plugins & SM Extensions 07-27-2020, 16:14
Replies: 5
Views: 2,335
Posted By nosoop
Re: How to set-up build environment on Linux?

The checkout-deps script in the SourceMod repo (https://github.com/alliedmodders/sourcemod/tree/master/tools) will create a repository mirror and generate the individual SDK directories for you. You...
Forum: Extensions 07-26-2020, 00:04
Replies: 5
Views: 2,715
Posted By nosoop
Re: [TF2] PathFollower (Windows only)

It's the same as building SourceMod (https://wiki.alliedmods.net/Building_SourceMod); once you have all the dependencies required for SourceMod you should be able to create the build/ directory,...
Forum: General 07-20-2020, 07:10
Replies: 6
Views: 422
Posted By nosoop
Re: Client Index 0 Problem

Read through the Commands entry in the wiki. (https://wiki.alliedmods.net/Commands_(SourceMod_Scripting)#Chat_Triggers) The "Chat Triggers" section answers your last question, but the page in...
Forum: General 07-20-2020, 05:27
Replies: 6
Views: 422
Posted By nosoop
Re: Client Index 0 Problem

If you're running it from a listen server, you need to check IsDedicatedServer() and set the client to the first index if it isn't...
Forum: Scripting 07-20-2020, 05:17
Replies: 2
Views: 435
Posted By nosoop
Re: [TF2] Spawning physics-affected health packs?

The robust way would be an SDKCall on either CTFPowerup::DropSingleInstance() (applied to your health / ammo pack), or CTFPlayer::DropHealthPack() (which calls the former internally).

Internally,...
Forum: Plugins 07-19-2020, 18:10
Replies: 8
Views: 2,064
Posted By nosoop
Re: [Any] Level KeyValues (Stripper:Source for nerds) (0.3.3, 2019-04-12)

Do you have both Stripper:Source and Level KeyValues: Stripper installed? The latter is intended to be a drop-in replacement of the former (using the same config files and providing the same...
Forum: General 07-19-2020, 15:01
Replies: 6
Views: 422
Posted By nosoop
Re: Client Index 0 Problem

What's your goal here?

The problem is that it looks like you're running sm_idk from the server console, which is treated as client index 0. You'll want to add some checks to make sure that it's...
Forum: Plugins 07-16-2020, 10:21
Replies: 173
Views: 78,306
Posted By nosoop
Re: [TF2] TF2 Item DB (replaces tf2itemsinfo)

Couple of ways:


Compile and install the TF2IDB (https://github.com/FlaminSarge/tf2idb/blob/master/scripting/tf2idb.sp) and the TF2IDB-based compatibility shim...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 11:07.


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