Raised This Month: $170 Target: $400
 42% 

Showing results 1 to 25 of 500
Search took 0.08 seconds.
Search: Posts Made By: Peace-Maker
Forum: Snippets and Tutorials 08-24-2018, 10:53
Replies: 9
Views: 609
Posted By Peace-Maker
Re: The operating system of server

So the purpose of a way to get the server's operating system is to make it OK to not care and encourage users to not read documentation?
Forum: Scripting 08-20-2018, 03:39
Replies: 8
Views: 275
Posted By Peace-Maker
Re: [CS:GO] OnTakeDamage headshot damage

Try comparing the damage value in the OnTakeDamage hook to the value in the OnTakeDamageAlive hook.
Forum: Scripting 08-18-2018, 07:16
Replies: 11
Views: 361
Posted By Peace-Maker
Re: [CS:GO] Set movement speed

Make sure you're in a post-hook.
DHookEntity(h_GetPlayerMaxSpeed, true, client);

Paste your code!
Forum: Plugins 07-08-2018, 13:29
Replies: 144
Views: 65,303
Posted By Peace-Maker
Re: [CS:GO] Movement Unlocker

The signature is still fine. You might have tried to load the plugin twice?
Forum: Extensions 07-07-2018, 06:49
Replies: 607
Views: 234,588
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

Can you please post a complete testcase for debugging?

You can check if a parameter is NULL using the DHookIsNullParam native before trying to get its value.

Your second weapondrop hook try...
Forum: Extensions 06-26-2018, 05:24
Replies: 607
Views: 234,588
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

Can you please post a complete testcase for debugging?
Forum: Plugins 06-22-2018, 13:45
Replies: 59
Views: 33,026
Posted By Peace-Maker
Re: [DEV] WebSocket Server - Direct connection between webbrowser and gameserver

You'd need an extension that provides you with a raw socket interface that's tunneled through a TLS encrypted connection. The protocol itself doesn't change.
Forum: Extensions 06-20-2018, 17:11
Replies: 14
Views: 3,007
Posted By Peace-Maker
Re: SRCDS command-line autocompletion 1.0.1

Did you try the latest builds for version 1.0.1? That's usually caused by some compiler being unable to link tier0 correctly, but that should be the case for all builds not only the tf2 one....
Forum: Extensions 06-20-2018, 17:01
Replies: 93
Views: 28,705
Posted By Peace-Maker
Forum: Extensions 06-18-2018, 05:03
Replies: 110
Views: 29,923
Posted By Peace-Maker
Re: [CSGO] Player Connect Log Fix

You can always load extensions compiled against SM 1.8 on newer SourceMod versions.
Forum: Extensions 06-16-2018, 06:26
Replies: 61
Views: 13,134
Posted By Peace-Maker
Re: SourceTV Manager

Are you trying on TF2? If the server crashes when you connect to the sourcetv server even without this extension installed I doubt I can be of much help here :(
Forum: Plugins 06-15-2018, 06:26
Replies: 54
Views: 51,664
Posted By Peace-Maker
Forum: Scripting 06-13-2018, 20:22
Replies: 8
Views: 352
Posted By Peace-Maker
Re: Optimized Plugin?

We're still talking about little optimizations here and switching to C++ code by calling the ConVar.IntValue native instead of just reading a variable in the vm memory is technically still more...
Forum: Scripting 06-13-2018, 13:33
Replies: 8
Views: 352
Posted By Peace-Maker
Re: Optimized Plugin?

What makes you think that? ConVar.BoolValue is still a native call just like GetConVarBool which might be expensive when done in a loop in a critical callback.

You can get rid of the DeleteTimer...
Forum: Scripting 06-04-2018, 15:40
Replies: 10
Views: 460
Posted By Peace-Maker
Re: Getting MySQL Function return

Isn't SQL_FetchMoreResults (https://sm.alliedmods.net/new-api/dbi/SQL_FetchMoreResults) for exactly that purpose of iterating through multiple result sets? There is extra handling in sourcemod's...
Forum: Source Servers (SRCDS) 05-25-2018, 16:47
Replies: 20
Views: 611
Posted By Peace-Maker
Re: CSGO Lan Server

That looks like your public IP instead of the local one? Try connecting to the local IP.
Forum: Extensions 05-25-2018, 13:09
Replies: 36
Views: 8,897
Posted By Peace-Maker
Re: PostgreSQL Database Interface

Could it be that you're locking the database yourself using SQL_LockDatabase before using SQL_SetCharset? SQL_SetCharset locks the database itself, so you don't need to lock it manually before...
Forum: Source Servers (SRCDS) 05-25-2018, 09:15
Replies: 20
Views: 611
Posted By Peace-Maker
Re: CSGO Lan Server

See what's printed to the client console when you try to connect.
Forum: Scripting 05-23-2018, 10:28
Replies: 9
Views: 302
Posted By Peace-Maker
Re: GetSysTickCount() overflow (-2147483648)

Oh, misread that with GetEngineTime. What do you need GetSysTickCount for? Use the profiling API for profiling. https://sm.alliedmods.net/new-api/profiler
Forum: Scripting 05-23-2018, 08:13
Replies: 9
Views: 302
Posted By Peace-Maker
Re: GetSysTickCount() overflow (-2147483648)

You should just restart your server every night. The engine itself will become out of sync with high tickcount values due to increasing floating point errors which will lead to all kind of problems.
Forum: General 05-20-2018, 16:52
Replies: 378
Views: 173,321
Posted By Peace-Maker
Re: Lysis: An experimental .smx decompiler

Thank you for this! I've merged part of it and tried to improve some of your heuristics to support decompilation of AMXX plugins. Didn't port the other diassembler though - but tried to get "goto"...
Forum: Scripting 05-06-2018, 16:14
Replies: 6
Views: 297
Posted By Peace-Maker
Re: SourceMod Equivalent of parse

You can loop https://sm.alliedmods.net/new-api/string/BreakString
Forum: Snippets and Tutorials 05-05-2018, 15:40
Replies: 56
Views: 9,928
Posted By Peace-Maker
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]

That's correct though, since there are seperate AddCategory and AddItem functions on the methodmap (https://sm.alliedmods.net/new-api/topmenus/TopMenu).
Forum: Snippets and Tutorials 05-04-2018, 13:14
Replies: 56
Views: 9,928
Posted By Peace-Maker
Re: TOGs SourcePawn Syntax Converter [MS Excel Based for now]

I haven't had any issues with that script yet. What exact code was deleted?
Forum: Extensions 05-02-2018, 07:05
Replies: 121
Views: 43,296
Posted By Peace-Maker
Re: [TF2] Building Hacks (0.4) - Build in respawn

Here's this extension ported to a plain sourcepawn plugin using DHooks with dynamic detour support (https://forums.alliedmods.net/showthread.php?p=2588686#post2588686).

Requires the gamedata file...
Showing results 1 to 25 of 500

 
Forum Jump

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


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