Raised This Month: $305 Target: $400
 76%   Almost there!

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Fyren
Forum: Scripting 04-16-2021, 00:25
Replies: 4
Views: 733
Posted By Fyren
Re: Exception Array index out-of-bounds

Line 2200 is the line after what you pasted there.

new m_nActivePushPointIndex = Ins_ObjectiveResource_GetProp("m_nActivePushPointIndex");...
Forum: General 12-29-2020, 20:42
Replies: 1
Views: 662
Posted By Fyren
Re: Incorrect string value on insert DB

You probably have to use SQL_SetCharset/db.SetCharset in your plugin to set utf8mb4.
Forum: General 08-08-2020, 13:03
Replies: 4
Views: 820
Posted By Fyren
Re: [CSGO] Error Log

If you don't know how to write SP, you should just find a different plugin because that one is insecure.

If you can or someone cares enough to fix it, it should not use plain Format/FormatEx to...
Forum: General 08-08-2020, 12:53
Replies: 2
Views: 494
Posted By Fyren
Re: How to prevent plugin from resetting when map changes

Plugins don't reload when the map changes, but clients disconnect and reconnect.
Forum: Scripting 07-26-2020, 23:50
Replies: 1
Views: 554
Posted By Fyren
Re: Trying to compile snake

An enum struct acts similarly to a struct or class from an OOP language. It replaces the old method of indexing arrays using an enum because that was extremely obtuse.

So in your second code...
Forum: General 07-16-2020, 15:49
Replies: 3
Views: 461
Posted By Fyren
Re: Compilling in linux making extra space in output filename

If you manually open a terminal and run something like:

/home/oplkill/hlserver/hlserver/tf/addons/sourcemod/scripting/spcomp op_classEnforcer.sp -o/home/oplkill/op_classEnforcer.smx

What's the...
Forum: General 06-23-2020, 16:38
Replies: 2
Views: 534
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: 716
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: 4,549
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: 870
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: 455
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: 698
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: 870
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: 611
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: 625
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: 625
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: 734
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: 593
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: 4,990
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: 639
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: 1,185
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: 427
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: 883
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: 588
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: 588
Posted By Fyren
Re: Alliedmodders Wiki style has changed.

MediaWiki was updated. I poked someone about it.
Showing results 1 to 25 of 500

 
Forum Jump

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


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