Raised This Month: $183 Target: $400
 45% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Peace-Maker
Forum: Extensions 12-29-2020, 22:09
Replies: 10
Views: 1,711
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: 368
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: 8,639
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: 8,639
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: 8,639
Posted By Peace-Maker
Forum: General 11-09-2020, 12:37
Replies: 4
Views: 926
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,664
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: 815
Views: 444,425
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: 8,639
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: 815
Views: 444,425
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: 926
Posted By Peace-Maker
Forum: Extensions 10-17-2020, 06:28
Replies: 815
Views: 444,425
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: 791
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: 791
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: 558
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: 550
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,351
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: 582
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: 685
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: 112
Views: 57,770
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, 08:07
Replies: 28
Views: 1,646
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, 05:59
Replies: 28
Views: 1,646
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, 11:55
Replies: 28
Views: 1,646
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, 07:26
Replies: 28
Views: 1,646
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, 07:04
Replies: 28
Views: 1,646
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...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 00:41.


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