Raised This Month: $90 Target: $400
 22% 

Showing results 1 to 25 of 500
Search took 0.13 seconds.
Search: Posts Made By: asherkin
Forum: Scripting 03-23-2019, 12:14
Replies: 2
Views: 182
Posted By asherkin
Re: Fire a non ConVar command

https://sm.alliedmods.net/new-api/console/ServerCommand

sm_map just uses the https://sm.alliedmods.net/new-api/nextmap/ForceChangeLevel native though.
...
Forum: General 03-22-2019, 16:38
Replies: 2
Views: 236
Posted By asherkin
Re: ExpireSingleMapUpgrades() Crash

Do you have an Accelerator report?
Forum: Extensions 03-15-2019, 06:33
Replies: 650
Views: 267,249
Posted By asherkin
Re: DHooks (Dynamic Hooks - Dev Preview)

You need a copy of DHooks compiled against the SM 1.10 SDK.
Forum: General 03-15-2019, 05:59
Replies: 2
Views: 395
Posted By asherkin
Re: sm_reloadadmins

It clears out SM's internal cache of admins and fires OnRebuildAdminCache, which is implemented in the admin source plugins to reload their data into the cache (if they're not dynamic, like...
Forum: Snippets and Tutorials 03-14-2019, 19:09
Replies: 8
Views: 2,600
Posted By asherkin
Re: Helper for compiling SourceMod extensions for Linux

No, it's not something I've touched in the last 6 years, pretty much everything about it is outdated.

The situation with building things has changed significantly in that time and no longer...
Forum: Scripting 03-11-2019, 16:41
Replies: 5
Views: 631
Posted By asherkin
Re: ReadLine returns LF

Line breaks are whitespace.
Forum: Source Servers (SRCDS) 03-07-2019, 14:48
Replies: 39
Views: 7,448
Posted By asherkin
Re: net_graph variance issues

No. (https://www.sourcemod.net/license.php)
Forum: Scripting 03-06-2019, 04:55
Replies: 9
Views: 674
Posted By asherkin
Re: Add string to current hostname

No it wont, sizeof is compile time, there is no runtime penalty as there is no runtime code, it just gets replaced with the correct number.
Forum: Scripting 03-06-2019, 04:53
Replies: 8
Views: 635
Posted By asherkin
Re: HELP OnBanClient()

It is a client index (an integer), so %i if you want to print the number, or %N to print the client name, never %s (it could cause a crash).
Forum: Scripting 03-05-2019, 19:38
Replies: 8
Views: 635
Posted By asherkin
Re: HELP OnBanClient()

SourceMod's base plugin usage of BanClient (i.e. sm_ban) passes the banning admin as the source param.
Forum: Off-Topic 03-03-2019, 06:15
Replies: 1
Views: 382
Posted By asherkin
Re: Forum question

They're proxied via the forum server and cached semi-permanently, to avoid leaking information about visitors to external sites and so we can ensure there are no mixed content or safe-browsing...
Forum: Scripting 03-03-2019, 06:09
Replies: 12
Views: 800
Posted By asherkin
Re: Need help for complied errors

new MaxClients = GetConVarInt(FindConVar("maxplayers"));

Remove this line, MaxClients is a global variable managed by SM.

I suggesting looking at the timer documentation:...
Forum: Unapproved Plugins 03-02-2019, 07:59
Replies: 16
Views: 1,036
Posted By asherkin
Re: [L4D2]Arcade Edition[MOD]

You need to tidy this up if you want to distribute it, you need the source corresponding source code for everything GPL-licensed you're distributing. As was suggested before, you should instead link...
Forum: Scripting 02-28-2019, 07:44
Replies: 4
Views: 614
Posted By asherkin
Re: keep getting steam_id_stop_ignoring_retvals

You are not checking the return value (retval) of GetClientAuthId, it is returning false because the client does not yet have a SteamID at that point.

You probably want to be using the...
Forum: General 02-27-2019, 19:22
Replies: 3
Views: 449
Posted By asherkin
Re: Sourcemod + Servers + CS:GO = Fix?!

You're being an arse, mate.
Forum: General 02-27-2019, 19:18
Replies: 1
Views: 316
Posted By asherkin
Re: Sourcemod Plugins IDK

https://wiki.alliedmods.net/Base_Plugins_(SourceMod)
Forum: TF2Items 02-24-2019, 14:49
Replies: 6
Views: 1,395
Posted By asherkin
Re: TF2Items extension won't load

You don't have TF2Items installed and you don't have anything trying to use TF2Items installed.
Forum: TF2Items 02-24-2019, 14:48
Replies: 2
Views: 440
Posted By asherkin
Re: Steam ID Based Attribute editing not applying

Is your server connected to Steam? Are your admin permissions working? (assuming you haven't turned off SteamAuthstringValidation in SM.)
Forum: Extensions 02-20-2019, 14:31
Replies: 650
Views: 267,249
Posted By asherkin
Re: DHooks (Dynamic Hooks - Dev Preview)

That is not the problem, your address is int-sized.
Forum: Scripting 02-14-2019, 09:00
Replies: 4
Views: 891
Posted By asherkin
Re: Managing the downloads table

You can't remove individual items from stringtables.
Forum: General 02-12-2019, 03:22
Replies: 2
Views: 481
Posted By asherkin
Re: Steam ID and IP copy hack. Solution?

We don’t support “no-steam” servers here, make your server Steam-only and you won’t have this problem.
Forum: Scripting 02-11-2019, 14:39
Replies: 9
Views: 1,031
Posted By asherkin
Re: When are handles closed?

Impossible to tell without seeing your code, but you may be hitting https://github.com/alliedmodders/sourcepawn/issues/310 if you're using enum struct methods.

HandleError_Index is generally "that...
Forum: Source Servers (SRCDS) 02-09-2019, 10:37
Replies: 4
Views: 494
Posted By asherkin
Forum: Scripting 02-07-2019, 03:11
Replies: 25
Views: 3,343
Posted By asherkin
Re: Enum Structs Available This Holiday Season

https://github.com/alliedmodders/sourcepawn/pull/287#issuecomment-445578252

https://github.com/alliedmodders/sourcepawn/issues/295
Forum: Scripting 02-05-2019, 19:04
Replies: 11
Views: 1,426
Posted By asherkin
Re: To hook or not to hook, that is the question.

There is no difference pre- or post-methodmaps, convar handles have always been cached, and convars do the value conversions when they're set so getting values is just copying memory.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 02:03.


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