Raised This Month: $23 Target: $400
 5% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Fyren
Forum: General 06-23-2020, 16:38
Replies: 2
Views: 317
Posted By Fyren
Re: [Help] Metamod & Sourcemod won't load

If you just do "meta" in the server console, it says unknown command?

Is there a metamod-fatal.log in the metamod bin directory? If not, then you probably extracted the archive to the wrong...
Forum: General 06-14-2020, 20:20
Replies: 3
Views: 387
Posted By Fyren
Re: Extension: Help with events hooking?

Look at the SDK.



If SM is incorrectly telling the server to free an event, then the server itself would be crashing without your extension.
Forum: Metamod:Source Questions 05-31-2020, 17:33
Replies: 2
Views: 485
Posted By Fyren
Re: Security question ... what can source mode access on a windows machine ?

The answer to what you should do about security shouldn't actually have anything to do with what MM:S, SM, or plugins for either can do. You should not trust any of those things, or the game server...
Forum: Scripting 05-28-2020, 15:54
Replies: 6
Views: 510
Posted By Fyren
Re: error 001: expected token: "(", but found "{"

Which version of the compiler are you using? Can you give us an actual example of what you're doing?
Forum: General 05-28-2020, 15:52
Replies: 2
Views: 306
Posted By Fyren
Re: Sourcepawn crash

Accelerator is telling you the crash is because an extension is using SourcePawn from a thread that isn't the main thread. SP was not written to be thread-safe.

The extension that's actually...
Forum: Scripting 05-27-2020, 23:54
Replies: 5
Views: 370
Posted By Fyren
Re: Timers: Wiki misunderstanding

The documentation for the API page should be correct. (If it's not, file a bug report with code to reproduce and an explanation of what it is doing and what you think it should be doing.)

Since...
Forum: Scripting 05-27-2020, 23:46
Replies: 6
Views: 510
Posted By Fyren
Re: error 001: expected token: "(", but found "{"

On 1.11, you don't need to use view_as in cases like this to avoid a tag mismatch warning.
Forum: Scripting 05-27-2020, 04:14
Replies: 2
Views: 267
Posted By Fyren
Re: simple plugin won't load, says "bad header"

Since the code you gave here won't compile, it sounds like you're not actually even compiling and just trying to use the source code itself as a plugin.

The compiler turns source code into an...
Forum: Scripting 05-22-2020, 13:22
Replies: 3
Views: 294
Posted By Fyren
Re: Global Array + Enum Struct

gWeaponClass[][] should be gWeaponClass[] if you want it to be a 1D array of your struct. Your most recent sample compiles with no warnings or errors with that change on 1.11.

The warnings and...
Forum: Scripting 05-21-2020, 19:00
Replies: 3
Views: 294
Posted By Fyren
Re: Global Array + Enum Struct

The short answer is if you want a 1D array of enumWeaponClasses, then you declared your variable with too many dimensions.

The longer answer is fixing it still won't work on 1.10 due to a bug. It...
Forum: Scripting 05-09-2020, 17:04
Replies: 6
Views: 239
Posted By Fyren
Re: Pause/Unpause sourcemod plugins

The opposite. Pausing was removed a few years ago.
Forum: Scripting 05-05-2020, 18:06
Replies: 7
Views: 260
Posted By Fyren
Re: Database.Escape weird result

I didn't check what SM or the underlying MySQL function specifically do, but I'd guess the problem is you can't use the same buffer for both the source and destination.
Forum: Coding MM:S Plugins & SM Extensions 05-01-2020, 08:55
Replies: 2
Views: 1,035
Posted By Fyren
Re: GCC 5.4 manual hooks don't work

I don't have an older gcc to test, but I tried 9.2.0 and it worked.
Forum: Scripting 04-18-2020, 00:37
Replies: 2
Views: 325
Posted By Fyren
Re: Bot Mimic: Enum Structs (Invalid Handle)

ReadFile is int ReadFile(Handle hndl, int[] items, int num_items, int size). It reads the given number of things, each of the given size.

In your original code, you do ReadFile(hFile, iFrame,...
Forum: General 04-10-2020, 17:33
Replies: 6
Views: 531
Posted By Fyren
Re: [SM] Exception reported: Not enough space on the heap

The logging change that would report the plugin was merged about four and a half years ago into SM 1.8.
Forum: General 04-06-2020, 12:53
Replies: 1
Views: 209
Posted By Fyren
Re: Sourcepawn sockets with python

Websockets are not the same thing as sockets.
Forum: Scripting 04-04-2020, 20:01
Replies: 5
Views: 447
Posted By Fyren
Re: String parsing problem

text[index] == ',' || text[index + 1] == EOS) && parenthesesCounter == 0

This is the expression you're using to determine whether to copy something over into your results. It can only possibly be...
Forum: General 03-29-2020, 15:28
Replies: 2
Views: 339
Posted By Fyren
Re: Alliedmodders Wiki style has changed.

This should be fixed now. Let me know if it isn't.
Forum: General 03-27-2020, 13:48
Replies: 2
Views: 339
Posted By Fyren
Re: Alliedmodders Wiki style has changed.

MediaWiki was updated. I poked someone about it.
Forum: Coding MM:S Plugins & SM Extensions 02-05-2020, 16:55
Replies: 8
Views: 1,825
Posted By Fyren
Re: Detour the same function twice

Detouring involves rewriting the instructions at the beginning of a function so it runs the detour instead. CDetour doesn't have a singleton/global manager to deal with two detours at the same spot,...
Forum: Scripting 01-12-2020, 14:15
Replies: 4
Views: 495
Posted By Fyren
Re: How to initialize an static array of type struct

static area a = { { 1.0, 2.0, 3.0 }, { 4.0, 5.0, 6.0 } };

Looks like there's a compiler bug if you use plain integers, though (like 1 instead of 1f or 1.0).
Forum: Coding MM:S Plugins & SM Extensions 01-09-2020, 18:32
Replies: 4
Views: 2,006
Posted By Fyren
Re: Hooking IServerTools finctions leads to compile-time errors

Off the top of my head, I'm not sure. If the reason it can't infer the template parameters is because the function is an overload, you could try casting the MFP and do something like this:
...
Forum: Coding MM:S Plugins & SM Extensions 01-04-2020, 16:30
Replies: 4
Views: 2,006
Posted By Fyren
Re: Hooking IServerTools finctions leads to compile-time errors

As the docs say, you need to use the fourth parameter to the macro for overloads. Make them 0, 1, and 2 (or whatever as long as they're different).
Forum: Off-Topic 12-29-2019, 00:32
Replies: 4
Views: 2,388
Posted By Fyren
Re: Triggering Iphone Alarm from night bell

You could use something like an Arduino to listen for the voltage change that happens when the bell rings/the circuit closes, which could then do whatever. If the iPhone and Arduino are always on...
Forum: Scripting 12-15-2019, 02:37
Replies: 2
Views: 382
Posted By Fyren
Re: Invalid database handle 0 (error 4)

Invalid database Handle 0 means your DB handle is INVALID_HANDLE/null.
Showing results 1 to 25 of 500

 
Forum Jump

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


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