Raised This Month: $85 Target: $400
 21% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Peace-Maker
Forum: Extensions Yesterday, 10:42
Replies: 800
Views: 415,772
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

You can replace all occurences of "GameData" with "Handle" in the file to compile with pre 1.10 includes.
Forum: General 10-21-2020, 03:32
Replies: 1
Views: 362
Posted By Peace-Maker
Forum: Extensions 10-17-2020, 05:28
Replies: 800
Views: 415,772
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

I've put up a new version detours15 which adds a methodmap API for your pleasure. Call arguments are saved before calling the function now by default too, so it's save to access the parameters in a...
Forum: Scripting 10-16-2020, 12:12
Replies: 9
Views: 524
Posted By Peace-Maker
Re: Return arrays in ArrayLists by reference

If the number of players is low like 4 you could just add "player1", "player2", "player3" manually, but that's ugly. You could define a maximum number of simultaneous games and reference another...
Forum: Scripting 10-12-2020, 04:55
Replies: 9
Views: 524
Posted By Peace-Maker
Re: Return arrays in ArrayLists by reference

You can specify which index inside the arraylist entry you get or set using the ArrayList.Get or ArrayList.Set natives ' "block" parameter.

When creating the ArrayList, you set the blocksize to be...
Forum: General 08-20-2020, 10:32
Replies: 2
Views: 484
Posted By Peace-Maker
Re: [ANY] Don't be shy! Post a reply!

A lot of the questions seem to be asked in Discord or IRC simultaneously and the answer isn't forwarded to the forums. Low effort questions receive lower effort to no answers as you said :D
Forum: Scripting 08-20-2020, 10:01
Replies: 2
Views: 492
Posted By Peace-Maker
Re: SetFilePermissions not working

Are you able to change the file permissions of other files? Maybe the demo file is still in use.
I'm not sure if sourcemod's file natives work with absolute paths outside the game directory.
Forum: Extensions 08-19-2020, 08:27
Replies: 26
Views: 7,455
Posted By Peace-Maker
Re: [ANY] VoiceHook

Part of this extension was included in SourceMod 1.11 recently.
https://github.com/alliedmodders/sourcemod/pull/1247

Accelerator74 added two forwards
/**
* Called when a client is speaking.
...
Forum: Scripting 07-10-2020, 08:40
Replies: 2
Views: 530
Posted By Peace-Maker
Re: Storing Multiple Variables for DB query

I don't understand what you're trying to do, but the auto incremented id of the INSERT query can be accessed using results.InsertId https://sm.alliedmods.net/new-api/dbi/DBResultSet/InsertId
Forum: Scripting 06-15-2020, 10:56
Replies: 5
Views: 602
Posted By Peace-Maker
Re: MySql Special Caracters Store Problem

Don't forget to call SQL_SetCharset(g_hDataBase, "utf8mb4"); too!
Forum: Extensions 06-15-2020, 10:26
Replies: 112
Views: 54,513
Posted By Peace-Maker
Re: CollisionHook

Have you tried this updated version?
https://forums.alliedmods.net/showthread.php?p=2592634#post2592634
Forum: Scripting 06-15-2020, 07:07
Replies: 28
Views: 1,380
Posted By Peace-Maker
Re: Need help with compileing my sp plugin.

But.. those aren't new errors? They are the exact same you posted a screenshot of earlier and Weetabix told you how to fix it and they are fixed in the script Kellan123 posted as well. If you ask...
Forum: Scripting 06-15-2020, 04:59
Replies: 28
Views: 1,380
Posted By Peace-Maker
Re: Need help with compileing my sp plugin.

Hm, that error was already addressed in this thread, didn't you try what was suggested or even check out the fixed script posted by Kellan123?

When looking at all the differences between the lines...
Forum: Scripting 06-14-2020, 10:55
Replies: 28
Views: 1,380
Posted By Peace-Maker
Re: Need help with compileing my sp plugin.

"it didn't work" isn't a great description of an error. If you really want to get help, consider providing as much information to understand and replicate your issue as possible including the exact...
Forum: Scripting 06-14-2020, 06:26
Replies: 28
Views: 1,380
Posted By Peace-Maker
Re: Need help with compileing my sp plugin.

I'm talking about the compiler version, not the version of the spedit editor.
Which plugin are you having trouble compiling other than your own one? As Chrissy pointed out, you have lots of typos...
Forum: Scripting 06-13-2020, 06:04
Replies: 28
Views: 1,380
Posted By Peace-Maker
Re: Need help with compileing my sp plugin.

Please post the full output of spcomp including the compiler version you're using and a link to the plugin you're trying to compile.

You might mix different include versions with different...
Forum: Scripting 06-12-2020, 05:46
Replies: 9
Views: 708
Posted By Peace-Maker
Re: Client index 0 is invalid

The attacker and inflictor parameters can be 0 for e.g. fall damage.
Forum: Scripting 06-12-2020, 05:38
Replies: 6
Views: 564
Posted By Peace-Maker
Re: Fix this > Array-based enum structs will be removed in 1.11.

Interesting. That looks like a bug to me since it works with the 1.11 compiler.

You can work around it like this:
int g_iCounterRoles[view_as<int>(Role_Max)];
Forum: Scripting 06-12-2020, 05:24
Replies: 28
Views: 1,380
Posted By Peace-Maker
Re: Need help with compileing my sp plugin.

Make sure to run the compiler next to the "include" folder. Easiest would be to just extract the scripting folder of the sourcemod release and run the compiler in that folder.

#include <sourcemod>...
Forum: Scripting 06-12-2020, 05:08
Replies: 6
Views: 564
Posted By Peace-Maker
Re: Fix this > Array-based enum structs will be removed in 1.11.

https://wiki.alliedmods.net/SourcePawn_Transitional_Syntax#Enum_Structs

There is a new syntax for this kind of data structure which you can switch to, but the way you're using it, as an index into...
Forum: Extensions 06-09-2020, 17:41
Replies: 800
Views: 415,772
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

Silvers quickly reported another crash related to the recursive call fixes in detour11, which was addressed in detours14a. Hope this is solved now?
Forum: Extensions 06-09-2020, 10:03
Replies: 800
Views: 415,772
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

I've released a new version detours14 with the mentioned crash fixed and more.


Fix regression crash with post-only detours from recursive call fix in detours11 (Thanks Crasher_3637...
Forum: Extensions 06-04-2020, 06:39
Replies: 800
Views: 415,772
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

That looks like a regression from the recursive call fixes in detours11. I've pushed a fix (https://github.com/peace-maker/DHooks2/commit/568ada2533bd6b96443e6a3bed232892e5ed31f3) for it, but would...
Forum: Extensions 06-02-2020, 06:42
Replies: 79
Views: 40,116
Posted By Peace-Maker
Re: REST in Pawn - Communicate with JSON REST APIs

You'll have to check the request body in PHP instead of the request parameters. Check this (https://github.com/ErikMinekus/sm-ripext/issues/17#issuecomment-478371908).

The request Content-Type is...
Forum: Extensions 05-30-2020, 03:36
Replies: 800
Views: 415,772
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

Argh, you're right. I've tested it this time.. Sorry for the untested changes and thanks for the quick reports. Try detours13.
Showing results 1 to 25 of 500

 
Forum Jump

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


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