Raised This Month: $120 Target: $400
 30% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: DJ Tsunami
Forum: SourceBans / SourceBans++ 11-14-2021, 08:53
Replies: 3
Views: 260
Posted By DJ Tsunami
Re: 1064 Error on 1.6.4

I guess it's in includes/CSystemLog.php (https://github.com/sbpp/sourcebans-pp/blob/1.6.4/web/includes/CSystemLog.php). Line 89, 103 and maybe 129.

Best to create an issue...
Forum: SourceBans / SourceBans++ 11-14-2021, 07:56
Replies: 3
Views: 260
Posted By DJ Tsunami
Re: 1064 Error on 1.6.4

"function" became a reserved word in MySQL 8.0.1, so you probably need to surround it with backticks (`function`) in includes/xajax.inc.php on line 739.
Forum: SourceBans / SourceBans++ 09-18-2021, 09:55
Replies: 13
Views: 1,646
Posted By DJ Tsunami
Re: TF2 Error Connecting [after today's update]

This was implemented in PHP-Source-Query nine months ago, it's SB++ that hasn't had a new release in over three years.

If your web server is running PHP 7.4+, you can replace the...
Forum: Extensions 08-24-2021, 12:48
Replies: 110
Views: 68,123
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, 06:42
Replies: 2
Views: 427
Posted By DJ Tsunami
Re: One sound works, one doesn't , why?

OnMapStart needs to be public.
Forum: Scripting 07-31-2021, 15:51
Replies: 5
Views: 940
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, 03:55
Replies: 5
Views: 940
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, 04:11
Replies: 182
Views: 88,218
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, 16:05
Replies: 182
Views: 88,218
Posted By DJ Tsunami
Re: [EXTENSION][L4D2] Left4Fix (2.0.3)

Then you're not logged into GitHub.
Forum: Extensions 06-13-2021, 07:01
Replies: 110
Views: 68,123
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, 06:10
Replies: 2,186
Views: 1,457,180
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, 16:40
Replies: 110
Views: 68,123
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, 08:35
Replies: 110
Views: 68,123
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, 12:54
Replies: 1
Views: 355
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, 10:41
Replies: 2
Views: 336
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, 08:15
Replies: 8
Views: 2,011
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, 07:21
Replies: 4
Views: 482
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, 07:05
Replies: 2
Views: 556
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, 07:01
Replies: 4
Views: 482
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, 18:18
Replies: 3
Views: 456
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, 08:46
Replies: 8
Views: 881
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, 08:07
Replies: 12
Views: 997
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, 06:54
Replies: 12
Views: 997
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, 05:17
Replies: 12
Views: 997
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, 05:03
Replies: 12
Views: 997
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.
Showing results 1 to 25 of 500

 
Forum Jump

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


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