This site is a testing version, but all data is shared with the
live forum
.
Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 20
1
2
3
11
>
Last
»
Showing results 1 to 25 of 500
Search took
0.02
seconds.
Search:
Posts Made By:
Fyren
Forum:
Scripting
06-10-2024, 04:47
Replies:
1
Function Argument Treated as Undefined Symbol
Views:
356
Posted By
Fyren
Re: Function Argument Treated as Undefined Symbol
You mean enum struct there and not just struct. You also need to specify the size of the string.
Edit: And get rid of public.
Forum:
Scripting
04-16-2021, 00:25
Replies:
4
Exception Array index out-of-bounds
Views:
1,399
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
Incorrect string value on insert DB
Views:
1,131
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
Solved
[CSGO] Error Log
Views:
1,530
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
How to prevent plugin from resetting when map changes
Views:
861
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
Trying to compile snake
Views:
1,141
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
Solved
Compilling in linux making extra space in output filename
Views:
788
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
[Help] Metamod & Sourcemod won't load
Views:
974
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
Extension: Help with events hooking?
Views:
1,203
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
Security question ... what can source mode access on a windows machine ?
Views:
8,313
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
error 001: expected token: "(", but found "{"
Views:
1,705
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
Sourcepawn crash
Views:
876
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
Timers: Wiki misunderstanding
Views:
1,146
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
error 001: expected token: "(", but found "{"
Views:
1,705
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
simple plugin won't load, says "bad header"
Views:
1,189
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
Global Array + Enum Struct
Views:
1,223
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
Global Array + Enum Struct
Views:
1,223
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
Pause/Unpause sourcemod plugins
Views:
1,610
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
Solved
Database.Escape weird result
Views:
1,304
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
Solved
GCC 5.4 manual hooks don't work
Views:
8,111
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
Solved
Bot Mimic: Enum Structs (Invalid Handle)
Views:
1,067
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
[SM] Exception reported: Not enough space on the heap
Views:
2,470
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
Sourcepawn sockets with python
Views:
775
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
String parsing problem
Views:
1,429
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
Alliedmodders Wiki style has changed.
Views:
1,076
Posted By
Fyren
Re: Alliedmodders Wiki style has changed.
This should be fixed now. Let me know if it isn't.
Showing results 1 to 25 of 500
Page 1 of 20
1
2
3
11
>
Last
»
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
09:24
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode