Raised This Month: $214 Target: $400
 53% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: DJ Tsunami
Forum: Extensions 06-26-2021, 03:11
Replies: 181
Views: 83,171
Posted By DJ Tsunami
Re: [EXTENSION][L4D2] Left4Fix (2.0.3)

The extension was compiled on Ubuntu 20.04, which somehow causes it to fail to load on older Ubuntu versions. If spumer changes ubuntu-latest to ubuntu-18.04, it will load on 18.04 and below.
Forum: Extensions 06-25-2021, 15:05
Replies: 181
Views: 83,171
Posted By DJ Tsunami
Re: [EXTENSION][L4D2] Left4Fix (2.0.3)

Then you're not logged into GitHub.
Forum: Extensions 06-13-2021, 06:01
Replies: 107
Views: 60,452
Posted By DJ Tsunami
Re: REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/06/06)

I've attached debug builds for Linux and Windows. It would also be useful to know what webserver you're using (Apache / nginx / Caddy?), and which version.

Laravel should automatically fill the...
Forum: Plugins 06-12-2021, 05:10
Replies: 2,181
Views: 1,419,760
Posted By DJ Tsunami
Re: Advertisements 2.1 (Updated 2021/02/06)

Different game engines have support for different chat colors, so it's difficult to document them all in a forum post.

There are links to a general list of supported colors in the first post, and...
Forum: Extensions 06-07-2021, 15:40
Replies: 107
Views: 60,452
Posted By DJ Tsunami
Re: REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/06/06)

How are you reading the POST data in Laravel? This works for me with both Postman and REST in Pawn:


Route::post('/post', function (Request $request) {
return new...
Forum: Extensions 06-06-2021, 07:35
Replies: 107
Views: 60,452
Posted By DJ Tsunami
Re: REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/06/06)

Version 1.3 has been released with the following changes:


Deprecated HTTPClient methodmap
Introduced HTTPRequest methodmap
Added ability to append query parameters to the URL
Added...
Forum: General 05-31-2021, 11:54
Replies: 1
Views: 327
Posted By DJ Tsunami
Re: How to get details of a CSGO workshop map from it's file ID ?

You can make an HTTP POST request to https://api.steampowered.com/ISteamRemoteStorage/GetPublishedFileDetails/v1/.

See https://steamapi.xpaw.me/#ISteamRemoteStorage/GetPublishedFileDetails for...
Forum: General 05-29-2021, 09:41
Replies: 2
Views: 295
Posted By DJ Tsunami
Re: Nextmap is pendig vote in...

Sounds like you installed Advertisements and didn't change the default advertisements.txt.
Forum: SourceBans / SourceBans++ 05-17-2021, 07:15
Replies: 8
Views: 843
Posted By DJ Tsunami
Re: Help sbpp_main error

Well you need to install the web panel to create those tables.
Forum: Scripting 05-16-2021, 06:21
Replies: 4
Views: 412
Posted By DJ Tsunami
Re: error 017: undefined symbol "client"

Sure, here you go: https://wiki.alliedmods.net/Format_Class_Functions_(SourceMod_Scripting)#Format_Specifiers
Forum: General 05-16-2021, 06:05
Replies: 2
Views: 424
Posted By DJ Tsunami
Re: Sourcemod !admin

Post your admins.cfg or admins_simple.ini so we can see what's wrong.
Forum: Scripting 05-16-2021, 06:01
Replies: 4
Views: 412
Posted By DJ Tsunami
Re: error 017: undefined symbol "client"

If you just want their name instead of name<X><Y><Z>, change %L to %N in your LogToFile call.

As for the error, your variable is called iClient, not client.
Forum: General 04-30-2021, 17:18
Replies: 3
Views: 387
Posted By DJ Tsunami
Re: Sigscan for TerminateRound failed

This was already fixed in the SourceMod gamedata, so make sure "DisableAutoUpdate" is set to "no" in core.cfg and restart your server.
Forum: Scripting 04-04-2021, 07:46
Replies: 8
Views: 801
Posted By DJ Tsunami
Re: Checking for flag in script

This is wrong:
public Action TimerHit_CallBack(Handle timer, int userid, int client)
The Timer callback only has two parameters: https://sourcemod.dev/#/timers/typeset.Timer
You need to use a...
Forum: Scripting 02-24-2021, 07:07
Replies: 12
Views: 840
Posted By DJ Tsunami
Re: KeyValues not working

I don't know, works fine for me:

char filePath[PLATFORM_MAX_PATH + 1];
char scoreTag[MAXPLAYERS + 1][64];
char chatColor[MAXPLAYERS + 1][64];
char nameColor[MAXPLAYERS + 1][64];

public void...
Forum: Scripting 02-24-2021, 05:54
Replies: 12
Views: 840
Posted By DJ Tsunami
Re: KeyValues not working

See the last example on the wiki: https://wiki.alliedmods.net/KeyValues_(SourceMod_Scripting)#KeyValue_Creation

You need to use SetString to store values under the steamID key. An empty section...
Forum: Scripting 02-24-2021, 04:17
Replies: 12
Views: 840
Posted By DJ Tsunami
Re: KeyValues not working

Yes, although I don't see any reason why JumpToKey would ever return false here, so I think the if statement is unnecessary.

return; at the end of a function is also unnecessary.
Forum: Scripting 02-24-2021, 04:03
Replies: 12
Views: 840
Posted By DJ Tsunami
Re: KeyValues not working

You're passing true to JumpToKey to create the key if it doesn't exist, so naturally it will always return true. Then you need to use ExportToFile to make the key show up in the file.
Forum: Extensions 02-20-2021, 06:24
Replies: 107
Views: 60,452
Posted By DJ Tsunami
Re: REST in Pawn 1.2 - HTTP client for JSON REST APIs (Updated 2021/02/07)

If a LogMessage at the top of FrameHook doesn't spam your log file or the server console, then your game frame hook isn't firing, which explains why requests aren't processed.

If it's a public...
Forum: Extensions 02-18-2021, 10:42
Replies: 107
Views: 60,452
Posted By DJ Tsunami
Re: REST in Pawn 1.2 - HTTP client for JSON REST APIs (Updated 2021/02/07)

Which game is your server running, and what Linux distribution and version are you using?

I can send a debug version for Linux that prints everything that happens during the HTTP request, but if...
Forum: Extensions 02-15-2021, 10:04
Replies: 107
Views: 60,452
Posted By DJ Tsunami
Re: REST in Pawn 1.2 - HTTP client for JSON REST APIs (Updated 2021/02/07)

I did the same with version 1.2.3 and it works fine:


Maybe try another HTTP extension like SteamWorks to see if it really is an issue with REST in Pawn, or if there is an issue with your server....
Forum: Extensions 02-15-2021, 08:35
Replies: 107
Views: 60,452
Posted By DJ Tsunami
Re: REST in Pawn 1.2 - HTTP client for JSON REST APIs (Updated 2021/02/07)

You are missing http:// in your URL. I would also check your sourcemod/logs folder for errors.
Forum: Plugin/Gameplay Ideas and Requests 02-14-2021, 01:34
Replies: 5
Views: 462
Posted By DJ Tsunami
Re: [L4D2] - Problem in the .sp code

You don't need the path to SourceMod to load a translations file, just call LoadTranslations(sTranslationFile);
Forum: General 02-11-2021, 06:26
Replies: 5
Views: 334
Posted By DJ Tsunami
Re: SourcePawn compiler suggestion

You are storing strings in an integer array. So those warnings are not so useless after all.

To use different variable types in an array probably want to use enum structs...
Forum: Scripting 01-23-2021, 09:43
Replies: 3
Views: 254
Posted By DJ Tsunami
Re: Stripping everything but knife [CS:GO]

Because you used || instead of &&, so even if the string doesn't contain "knife", it will still continue if the string also doesn't contain "bayonet".
Showing results 1 to 25 of 500

 
Forum Jump

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


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