Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Peace-Maker
Forum: Extensions 02-13-2021, 18:30
Replies: 831
Views: 456,948
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

What's the problem? Do you have a crash trace / accelerator installed?
Forum: Extensions 01-28-2021, 13:46
Replies: 831
Views: 456,948
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

I was able to reproduce it and reuploaded the release.
Forum: Extensions 01-28-2021, 13:01
Replies: 831
Views: 456,948
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

I can't reproduce those crashes. Could you manually attach a debugger and post a full backtrace of the crash please?

Edit: nevermind, the problem was in the gamedata "Functions" section parser....
Forum: Extensions 01-28-2021, 11:51
Replies: 831
Views: 456,948
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

Oh, I didn't mean to link STL dynamically. Please have a try with this binary, which is compiled using -static-libstdc++ against SM1.10.
Forum: Extensions 01-28-2021, 05:51
Replies: 831
Views: 456,948
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

A new maintenance version detours16 is up. This one includes a fix for a frequent crash on shutdown as well as improve post-mortem debugging of crashes on linux.



Changelog:



Fix crash...
Forum: Extensions 12-29-2020, 22:09
Replies: 13
Views: 2,889
Posted By Peace-Maker
Re: [CS:GO] [Linux] Hitbox Changer

IVModelInfo received two more overloads of GetVCollide at the end with some additonal float parameter. The vtable layout on msvc puts all overloads next to each other instead of keeping them at the...
Forum: Scripting 12-29-2020, 18:30
Replies: 1
Views: 419
Posted By Peace-Maker
Re: Purpose of CRC GameData Section?

It's an old feature to restrict a "#default" section to only apply on certain versions of a game. It's obsolete due to steamcmd always keeping the servers up to date and clients not supporting old...
Forum: Extensions 12-02-2020, 09:12
Replies: 23
Views: 9,224
Posted By Peace-Maker
Re: SRCDS command-line autocompletion 1.0.1

No, because SourceMod itself doesn't provide the autocompletion information for the "sm" command that would be used by this extension. The proposal to add support for this...
Forum: Extensions 12-01-2020, 12:29
Replies: 23
Views: 9,224
Posted By Peace-Maker
Re: SRCDS command-line autocompletion 1.0.1

Did you download the gamedata file from the first post?
Forum: Extensions 11-21-2020, 13:33
Replies: 23
Views: 9,224
Posted By Peace-Maker
Forum: General 11-09-2020, 12:37
Replies: 4
Views: 946
Posted By Peace-Maker
Re: does sm supports utf8mb4?

You have to set the characterset (https://sm.alliedmods.net/new-api/dbi/Database/SetCharset) you want to use for every connection and during creation of the database and tables.
Forum: Plugins 11-05-2020, 08:55
Replies: 6
Views: 4,862
Posted By Peace-Maker
Re: [ANY] Connect 4 minigame

No, it should run fine on any upcoming SourceMod version. What problems did you encounter?
Old .smx will always load on newer SourceMod versions on the gameserver.
Forum: Extensions 10-28-2020, 20:42
Replies: 831
Views: 456,948
Posted By Peace-Maker
Re: DHooks (Dynamic Hooks - Dev Preview)

https://forums.alliedmods.net/showthread.php?p=2442574#post2442574
https://forums.alliedmods.net/showthread.php?p=2616934#post2616934...
Forum: Extensions 10-28-2020, 09:01
Replies: 23
Views: 9,224
Posted By Peace-Maker
Re: SRCDS command-line autocompletion 1.0.1

Does it crash when you press tab or on load?

Here's another build compiled with clang, but the one in the release was as well, so not sure why those loading errors occur.
Forum: Extensions 10-25-2020, 11:42
Replies: 831
Views: 456,948
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, 04:32
Replies: 4
Views: 946
Posted By Peace-Maker
Forum: Extensions 10-17-2020, 06:28
Replies: 831
Views: 456,948
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, 13:12
Replies: 9
Views: 820
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, 05:55
Replies: 9
Views: 820
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, 11:32
Replies: 2
Views: 601
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, 11:01
Replies: 2
Views: 565
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, 09:27
Replies: 26
Views: 8,629
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, 09:40
Replies: 2
Views: 597
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, 11:56
Replies: 5
Views: 708
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, 11:26
Replies: 122
Views: 60,313
Posted By Peace-Maker
Re: CollisionHook

Have you tried this updated version?
https://forums.alliedmods.net/showthread.php?p=2592634#post2592634
Showing results 1 to 25 of 500

 
Forum Jump

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


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