Raised This Month: $275 Target: $400
 68% 

Showing results 1 to 25 of 500
Search took 0.08 seconds.
Search: Posts Made By: Fyren
Forum: Coding MM:S Plugins & SM Extensions Yesterday, 18:14
Replies: 1
Views: 27
Posted By Fyren
Re: Compiling for TF2 with orangeboxvalve

The error about OnDependenciesDropped is because the code is years old and that function has since been added to one of the SM interfaces. You will either have to compile against an ancient version...
Forum: Snippets and Tutorials 07-21-2018, 01:25
Replies: 2
Views: 164
Posted By Fyren
Re: AutoSendCommandConsole Script

The scripting forum is to get help with your scripting problems. Moved to snippets and tutorials.
Forum: Scripting 07-20-2018, 18:16
Replies: 11
Views: 233
Posted By Fyren
Re: Check if Vector is valid

If the problem is just that the values are NaN, then you can check by comparing the value to itself. NaN always compares as inequal, even to itself.

It's possible for {0, 0, 0} to be a valid...
Forum: General 07-14-2018, 10:52
Replies: 3
Views: 129
Posted By Fyren
Re: How to create a String on new sourcemod?

Older syntax still works with newer compilers if you don't tell the compiler to require it. There is no decl-equivalent in the new syntax.
Forum: Scripting 07-14-2018, 01:14
Replies: 3
Views: 173
Posted By Fyren
Re: Get command admin flags

I don't think there's a function to directly do what you want, though one could be added.

That said, flags aren't really useful if you're building a more featureful admin system. There's only so...
Forum: General 07-03-2018, 21:15
Replies: 2
Views: 101
Posted By Fyren
Re: Help with spcomp switch

The switch takes the full output path including filename. Instead, changing the shortcut so the working directory is the output path might work. If not, you'll probably have to make a batch file or...
Forum: Metamod:Source Questions 07-01-2018, 12:29
Replies: 3
Views: 205
Posted By Fyren
Re: Need help. Servercrash from MetaMod.

Whichever the latest one on the snapshot page lists. I also only tested on Linux, so there could be some difference there.
Forum: Metamod:Source Questions 07-01-2018, 08:02
Replies: 3
Views: 205
Posted By Fyren
Re: Need help. Servercrash from MetaMod.

You posted here like a month ago: https://forums.alliedmods.net/showthread.php?t=307329

I tried with the dev branch of MM:S and it worked. Have you tried it?
Forum: Scripting 06-27-2018, 08:38
Replies: 7
Views: 241
Posted By Fyren
Re: How to access native l4d2 localization files?

If you want elegant, you're probably going to have to preprocess them yourself and generate translation files SM can use. The KeyValue or SMC functions will probably be able to read the files, but...
Forum: Scripting 06-21-2018, 07:35
Replies: 3
Views: 147
Posted By Fyren
Re: Compile CJK chars in *.sp script (UTF8/UCS-2)

Basically, yes.



I'm not sure what you mean. Maybe your text editor is using a different encoding than your C# test program.



I don't know if it's safe to tell StrContains to be...
Forum: Off-Topic 06-20-2018, 02:28
Replies: 1
Views: 109
Posted By Fyren
Re: Hide CSGO Plugins

SM does not have functionality for hiding plugins. We also don't allow discussion of it on the forum. AM's stance is players should know what plugins a server is running.
Forum: Scripting 06-18-2018, 15:12
Replies: 11
Views: 444
Posted By Fyren
Re: TopMenu with Transitional Syntax

Transitional syntax is transitional because it does not attempt to solve all problems. It was meant to leave the majority of existing code as it was while providing some new conveniences. New...
Forum: Scripting 06-18-2018, 09:53
Replies: 11
Views: 444
Posted By Fyren
Re: TopMenu with Transitional Syntax

Changing the signature of the forward would break existing code.
Forum: Scripting 06-17-2018, 22:41
Replies: 11
Views: 444
Posted By Fyren
Re: TopMenu with Transitional Syntax

Yes.

The difference between doing view_as and FromHandle that LenHard mentioned is the latter will cause a runtime error if the handle isn't actually a TopMenu.
Forum: Scripting 06-16-2018, 22:19
Replies: 11
Views: 444
Posted By Fyren
Re: TopMenu with Transitional Syntax

You'll have to view_as<TopMenu>(topmenu).
Forum: Scripting 06-14-2018, 22:27
Replies: 3
Views: 220
Posted By Fyren
Re: [HELP] Plugin Failing to Compile Without Errors

It's hard to say since you don't provide the full source, but there's probably at least a bug in the compiler. The end result is it stops instead of reporting any of the errors in your code.

I...
Forum: General 06-07-2018, 19:23
Replies: 8
Views: 354
Posted By Fyren
Re: problem with mp_round_restart_delay

Try any of the SM snapshots since the commit message saying something like "fix SetConVarBounds" with Mapchooser Extended. It is possibly fixed there.

From the OP's post, the cvar's max was set...
Forum: Scripting 06-04-2018, 02:20
Replies: 10
Views: 402
Posted By Fyren
Re: Getting MySQL Function return

Doing the actual implementation would be writing code in C++. I have no idea if that's within your ability. (It wouldn't be for most SM users; anyone could learn but this wouldn't be a good first...
Forum: Scripting 06-03-2018, 17:16
Replies: 10
Views: 402
Posted By Fyren
Re: Getting MySQL Function return

If someone wanted to coordinate with one of the devs and submit a PR to implement it, it could happen. Otherwise probably not.
Forum: General 06-03-2018, 15:57
Replies: 1
Views: 95
Posted By Fyren
Re: Sourcemod/logs missing?

It's possible the user/account the server is running as doesn't have permissions to write the files.
Forum: Scripting 06-02-2018, 01:33
Replies: 1
Views: 178
Posted By Fyren
Re: Getting Server ID

Assuming that's the 64-bit Steam ID for the server as a signed int, you won't get it in exactly that format. But you can get it with GetServerAuthId.
Forum: General 05-31-2018, 16:11
Replies: 7
Views: 386
Posted By Fyren
Re: About selling plugins

You're using them whether you think you are or not. SM plugins are GPL licensed. As far as I know, so are AMXX.
Forum: General 05-31-2018, 15:29
Replies: 7
Views: 386
Posted By Fyren
Re: About selling plugins

That's not an either/or question. Everything not in the public domain is "copyrighted." but that by itself doesn't determine whether you can 'copy' (i.e. distribute) it or not.

The answer is...
Forum: General 05-28-2018, 03:12
Replies: 2
Views: 131
Posted By Fyren
Re: CSGO: clientprefs.smx file is not running.

As the message you pasted says, it didn't find any usable database config. Specifically, it looks for a DB config named clientprefs, then for one named default, and then for one named storage-local,...
Forum: Scripting 05-26-2018, 15:52
Replies: 7
Views: 231
Posted By Fyren
Re: view_as<float> using

Because those bits are going to make a float that's less than 2^-126.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 00:16.


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