Raised This Month: $161 Target: $400
 40% 

Showing results 1 to 25 of 500
Search took 0.14 seconds.
Search: Posts Made By: Fyren
Forum: Scripting Today, 11:41
Replies: 7
Views: 70
Posted By Fyren
Re: Is it possible to keep a timer alive during server hibernation?

Timers will only ever currently tick while the server is running game frames. It's probably possible to alter SM to tick on something else (like Think, maybe), but no one has done work towards it.
Forum: Scripting Today, 11:39
Replies: 4
Views: 143
Posted By Fyren
Re: need help with Regular Expressions in sourcemod

Once again:

#include <regex>

public void OnPluginStart() {
RegConsoleCmd("regextest", test);
}

public Action test(int client, int args)
{
Forum: General Yesterday, 16:53
Replies: 1
Views: 70
Posted By Fyren
Re: [bug] z_difficulty resets to "Normal" if Cvar sb_all_bot_team/basecommands is pre

$ cat left4dead2/cfg/server.cfg
say #######################################################################################
sm version
z_difficulty "Hard"
sm_cvar sb_all_bot_game "0"
$...
Forum: General Yesterday, 16:24
Replies: 1
Views: 45
Posted By Fyren
Re: Script execution timed out

The error means some script ran for 8s without returning. If that's your entire error log, then there might be a bug with how SM reports the error. You can maybe try looking at the server logs to...
Forum: General Yesterday, 15:46
Replies: 6
Views: 3,920
Posted By Fyren
Re: end of round time

But posting in a thread that's almost seven years old is not the thing to do.
Forum: Scripting Yesterday, 06:25
Replies: 6
Views: 145
Posted By Fyren
Re: A little(?) problem with colors in chat.

Depending on the game, yes. SM isn't handling the colors, so you're at the mercy of what the server wants.
Forum: General 05-20-2018, 21:32
Replies: 3
Views: 122
Posted By Fyren
Re: Can't install Sourcemod + Metamod properly.

For TF2, you can try 1.8 6064 or 1.9 6235 (or later). If the OP is experiencing crashes not on TF2, we're probably not aware of any relevant info.
Forum: General 05-20-2018, 20:36
Replies: 1
Views: 70
Posted By Fyren
Re: Sourcemod/logs missing?

log on the server is for its built-in logging. SM's setting is near the top of sourcemod/configs/core.cfg (though you can also change it through the console with sm config Logging on, edit the file...
Forum: General 05-20-2018, 02:28
Replies: 3
Views: 100
Posted By Fyren
Re: Map configs bug

You could unload the plugin you don't want in each map config you don't want it to run in.

You could unload it in server.cfg since that would run before the per-map configs.

There are also...
Forum: General 05-19-2018, 14:54
Replies: 3
Views: 100
Posted By Fyren
Re: Map configs bug

It's not a bug. SM only loaded the plugin because you told it to load it. If you want to unload it later, you have to do that as well.
Forum: Scripting 05-17-2018, 15:02
Replies: 2
Views: 127
Posted By Fyren
Re: Place a char before every char

If you're going to loop over all the characters of the input, you don't want to Format every time. You only need to do two character assignments as you go along: out[i * 2] = separator and out[i * 2...
Forum: Scripting 05-17-2018, 08:22
Replies: 2
Views: 129
Posted By Fyren
Re: how colored default sourcemod?

If you're only willing to modify the translation file, you have to insert the literal bytes for the colors. For example, \x04 would be a literal 0x04 byte (like how capital letter A is 0x41).

If...
Forum: General 05-17-2018, 04:22
Replies: 1
Views: 92
Posted By Fyren
Re: sourcemod database

SM can't support MSSQL/SQL Server without someone putting in work for the compatibility. If you don't need to share the DB across multiple server, you can use the built-in SQLite support.
Forum: Scripting 05-16-2018, 22:47
Replies: 7
Views: 218
Posted By Fyren
Re: [SM Core] How to get caller ID of console command?

I'm going to assume you're both attempting to hide the plugin list. If so, do not discuss this at all on the forum.
Forum: Scripting 05-16-2018, 15:12
Replies: 7
Views: 218
Posted By Fyren
Re: [SM Core] How to get caller ID of console command?

The real root menu never receives commands from clients.

What do you actually want to do?
Forum: General 05-16-2018, 15:00
Replies: 3
Views: 182
Posted By Fyren
Re: What programs are needed to compile a SourceMod build?

If it's a debug build of the compiler, yes. The messages are warnings (that are harmless) from zlib. It is safe to comment them out if the zlib code, if you want.
Forum: Scripting 05-15-2018, 13:13
Replies: 8
Views: 296
Posted By Fyren
Re: [TF2] Inverted Speed Boost?

Your Timer_SpeedDecrease function has the wrong prototype (parameters). You didn't provide the code for it, though.
Forum: Scripting 05-15-2018, 01:28
Replies: 2
Views: 88
Posted By Fyren
Re: error 181: function argument named 'type' differs from prototype

Declare the enum before it's used in the forward declaration.
Forum: Scripting 05-14-2018, 22:49
Replies: 10
Views: 239
Posted By Fyren
Re: [Help] Giving players healthshots

If whatever plugin provides that functionality just uses ProcessTargetString, then it won't understand cliend IDs and you use should use the user ID prefixed by #.

If that plugin provides natives...
Forum: Scripting 05-14-2018, 11:25
Replies: 2
Views: 78
Posted By Fyren
Re: GetCmdArg problem with SteamID format (:)

This is how the server provides the command arguments to SM, unfortunately. As the user, you can put quotes around things with colons (as in do sm_cmd "STEAM_1:0:00000" 6). If you want to alter the...
Forum: General 05-14-2018, 10:10
Replies: 28
Views: 505
Posted By Fyren
Re: HELP! Cannot add admins

The attached file worked fine on a test server for me, so that leaves permissions or wrong location out of the three things I mentioned before. If you're using a tool provided by your host, then...
Forum: General 05-14-2018, 00:21
Replies: 28
Views: 505
Posted By Fyren
Re: HELP! Cannot add admins

Since it's basically empty, but the plugin that reads admins.cfg/admins_simple.ini is loaded, then there's a problem with the config files. They might be in the wrong place, they might have the...
Forum: General 05-14-2018, 00:18
Replies: 21
Views: 516
Posted By Fyren
Re: [Help] Databases.cfg problems.

If you don't need to share the info in the DB across servers, it would be easier to use SQLite.
Forum: General 05-13-2018, 08:46
Replies: 28
Views: 505
Posted By Fyren
Re: HELP! Cannot add admins

No, it's "admin file reader." I forgot the plugin name was different from the file name.

What's the content of the file created by sm_dump_admcache?
Forum: General 05-12-2018, 22:16
Replies: 28
Views: 505
Posted By Fyren
Re: HELP! Cannot add admins

What's the output of "sm plugins list" when run on the server? Make sure admin-flatfile is loaded.

If it is, then on the server do "sm_dump_admcache" and then look at the file it says it...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 15:36.


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