Raised This Month: $202 Target: $400
 50% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: DJ Tsunami
Forum: Extensions 08-24-2021, 11:48
Replies: 109
Views: 63,430
Posted By DJ Tsunami
Re: REST in Pawn 1.3 - HTTP client for JSON REST APIs (Updated 2021/06/06)

Have you tried request.SetHeader("Transfer-Encoding", "");? I'm not sure if it will work, since it puts a space after the colon.
Forum: Scripting 08-14-2021, 05:42
Replies: 2
Views: 385
Posted By DJ Tsunami
Re: One sound works, one doesn't , why?

OnMapStart needs to be public.
Forum: Scripting 07-31-2021, 14:51
Replies: 5
Views: 792
Posted By DJ Tsunami
Re: Make a Color include which works on both CSS/CSGO |help

Well none of those colors are supported in CS:GO. It only supports the 16 colors listed in the README.

CS:S supports all these colors (https://www.doctormckay.com/morecolors.php).
Forum: Scripting 07-29-2021, 02:55
Replies: 5
Views: 792
Posted By DJ Tsunami
Re: Make a Color include which works on both CSS/CSGO |help

ColorVariables supports every color and game that More Colors supports, as mentioned at the bottom of the README...
Forum: Extensions 06-26-2021, 03:11
Replies: 182
Views: 85,498
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: 182
Views: 85,498
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: 109
Views: 63,430
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,183
Views: 1,439,291
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: 109
Views: 63,430
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: 109
Views: 63,430
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: 337
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: 318
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: 1,294
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: 439
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: 467
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: 439
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: 406
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: 832
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: 909
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: 909
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: 909
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: 909
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: 109
Views: 63,430
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: 109
Views: 63,430
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: 109
Views: 63,430
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....
Showing results 1 to 25 of 500

 
Forum Jump

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


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