Raised This Month: $130 Target: $400
 32% 

Showing results 1 to 25 of 500
Search took 0.25 seconds.
Search: Posts Made By: psychonic
Forum: Scripting 06-10-2018, 12:02
Replies: 11
Views: 464
Posted By psychonic
Re: Detecting Netprops/Datamaps Change?

The SendProxy extension would also catch sendprop changes. But your only option for props in the datadesc is still checking manually.
Forum: Source Servers (SRCDS) 06-09-2018, 08:00
Replies: 2
Views: 167
Posted By psychonic
Re: Panorama ui

Expect some UI elements triggered by the server to break or change, at least initially. (Including menus, hint text, hud text, etc.)

That should be all though. The game isn't being ported to...
Forum: General 06-08-2018, 11:57
Replies: 1
Views: 96
Posted By psychonic
Re: [PVKII] Crash

Sounds like gamedata is outdated. File an issue. https://github.com/alliedmodders/sourcemod/issues
Forum: Scripting 06-08-2018, 11:43
Replies: 1
Views: 124
Posted By psychonic
Re: [old css] How i can make server-side spread/recoil generation?

Only the latest version of CS:S is supported.
Forum: Scripting 06-02-2018, 09:16
Replies: 5
Views: 285
Posted By psychonic
Re: [CS:S] server_shutdown HookEvent

SM is probably unloaded before that event fires.
Forum: Scripting 05-29-2018, 08:53
Replies: 8
Views: 249
Posted By psychonic
Re: STOP_IGNORING_RET_VAL warning

If your action in your forward is dependent on the client being authorized, you could keep track of that and just not fire it unless/until they are.
Forum: Scripting 05-29-2018, 08:06
Replies: 8
Views: 249
Posted By psychonic
Re: STOP_IGNORING_RET_VAL warning

Regardless of when it's being called, if the return is false, the engine has not yet received validation from the Steam servers that the steam id the client supplied is their actual steam id.

If...
Forum: Scripting 05-28-2018, 17:39
Replies: 8
Views: 249
Posted By psychonic
Re: STOP_IGNORING_RET_VAL warning

Your issue is that GetClientAuthId is returning false, because it's being called too early to reliably get the client's actual auth id, and you are implicitly passing true to the validate parameter...
Forum: Extensions 05-25-2018, 10:36
Replies: 676
Views: 187,972
Posted By psychonic
Re: [ANY] SteamWorks

I don't think that's true anymore. I believe 64-bit support was added in master for some cases, CS:GO on macOS being one of them, since CS:GO on Mac is only available as 64-bit binaries now.
Forum: Snippets and Tutorials 05-22-2018, 11:14
Replies: 7
Views: 715
Posted By psychonic
Re: List of Custom Includes

This would be better suited as a wiki page where more than one person can edit it, and where you don't have to worry about going over a post length limit.
Forum: Scripting 05-21-2018, 10:54
Replies: 5
Views: 186
Posted By psychonic
Re: Client Looping

That's not true. It can change at map change if initiated by SourceTV or Replay bot being added, or by a plugin.
Forum: Scripting 05-21-2018, 10:53
Replies: 14
Views: 327
Posted By psychonic
Re: [SM] What plugin load order depends on?

Automatic plugin load order is not guaranteed on any platform. Don't rely on it.
Forum: Scripting 05-21-2018, 10:51
Replies: 3
Views: 240
Posted By psychonic
Re: [SM bug] AutoExecConfig doesn't work if cfg too long

Exec'd cfgs are parsed by the game engine, not by SM.
Forum: Scripting 05-20-2018, 21:08
Replies: 4
Views: 254
Posted By psychonic
Re: Case Insensitive StringMap.GetString

Just copy/pasting from you/above.

Also, *isn't. "isn't a multi-byte character". FTFY brotato chip.
Forum: Scripting 05-20-2018, 20:31
Replies: 4
Views: 254
Posted By psychonic
Re: Case Insensitive StringMap.GetString

don't do repeated calls to strlen to just handle getting the length of your string.

char[] str = "test";
int len = strlen(str);
for (int i = 0; i < len; i++)
{
str[i] =...
Forum: Off-Topic 05-17-2018, 18:25
Replies: 12
Views: 646
Posted By psychonic
Forum: Metamod:Source Questions 04-26-2018, 08:18
Replies: 3
Views: 195
Posted By psychonic
Re: Question

I think that MM:S supports GMod. I can't remember for sure if the patch landed or not, but I believe it did.

SourceMod, however, does not support it.
Forum: Scripting 04-16-2018, 09:31
Replies: 3
Views: 179
Posted By psychonic
Re: SDKHooks_TakeDamage error

What game is this for?
Forum: Scripting 04-10-2018, 10:50
Replies: 11
Views: 402
Posted By psychonic
Re: CreateConVar exits, what about DeleteConVar ?

Even if you could delete the ConVar, the steamclient is going to have the "rule" cached until the next time that all rules are cleared.
Forum: Scripting 04-09-2018, 18:15
Replies: 11
Views: 402
Posted By psychonic
Re: CreateConVar exits, what about DeleteConVar ?

The A2S_Rules responses are provided by the steamclient bin. It has its own caching, and do not provide a way to clear a value, only a way to add/set a value and to clear all values. While...
Forum: Coding MM:S Plugins & SM Extensions 04-06-2018, 15:53
Replies: 2
Views: 310
Posted By psychonic
Re: Issue with PushFloatByRef

You still have 3 for param count.
Forum: Coding MM:S Plugins & SM Extensions 03-30-2018, 07:25
Replies: 3
Views: 276
Posted By psychonic
Re: Accessing MM:S plugin through Lua Script in Dota

Your best bet is to use that linked plugin as an example. It's explicit purpose was to expose plugin functions into the Lua API. While it was made for Source 1, the VScript APIs have not really...
Forum: Coding MM:S Plugins & SM Extensions 03-29-2018, 12:45
Replies: 3
Views: 276
Posted By psychonic
Re: Accessing MM:S plugin through Lua Script in Dota

To do so, you need to declare a ScriptDesc, and the register it.

There are some examples in the SDK for how the game does it. Doing from a plugin is similar. There are examples of doing so in a...
Forum: Scripting 03-27-2018, 14:20
Replies: 15
Views: 840
Posted By psychonic
Re: Is it possible to ban hackers who spoof their steam IDs?

It will never appear in the result of the status command unless a plugin is overriding the status command.

That string exists solely in SM to tell scripters that they should never see that string...
Forum: Coding MM:S Plugins & SM Extensions 03-24-2018, 08:41
Replies: 4
Views: 297
Posted By psychonic
Re: Hooking a function with unusual call conventions?

Going by memory for some of this. Hopefully it's correct.

For any function that returns a class/struct instance by value, MSVC compiles it as you say, with an added param that passing the value by...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 21:44.


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