Raised This Month: $62 Target: $400
 15% 

Showing results 1 to 25 of 500
Search took 0.14 seconds.
Search: Posts Made By: DJ Tsunami
Forum: General 04-29-2019, 04:47
Replies: 4
Views: 506
Posted By DJ Tsunami
Re: [Help] Server info not showing

Are you sure your webhost has allowed incoming UDP traffic on port 27016?

https://github.com/GameConnect/SourceBans/wiki/FAQ#which-ports-does-the-sourcebans-web-panel-require-to-be-open
Forum: SourceBans 01-24-2019, 05:11
Replies: 1
Views: 623
Posted By DJ Tsunami
Re: Table doesnt exist error

Open addons/sourcemod/configs/sourcebans/sourcebans.cfg and make sure DatabasePrefix is set to just "servername".
Forum: Scripting 01-18-2019, 09:40
Replies: 2
Views: 840
Posted By DJ Tsunami
Re: [REQ]MD5 hash salt help!

sPassword1.dewfrtYuzKgfwqr is not valid SourcePawn. Use StrCat (https://sm.alliedmods.net/new-api/string/StrCat) if you want to concatenate strings.
Forum: Snippets and Tutorials 01-12-2019, 10:24
Replies: 470
Views: 261,639
Posted By DJ Tsunami
Re: [INC] More Colors (1.9.1)

There's a " missing at the end of this line:
"ScoreTag" "[КМД]
Forum: Scripting 01-05-2019, 14:20
Replies: 15
Views: 977
Posted By DJ Tsunami
Re: Best way of using or statments

That's what that code does. Each condition is true when the client does not have the license. So if they do have the CS:GO Full Edition, it will not check for Prime.
Forum: Scripting 01-05-2019, 13:08
Replies: 15
Views: 977
Posted By DJ Tsunami
Re: Best way of using or statments

Sounds like you want to kick people if they don't have the CS:GO Full Edition AND they didn't buy Prime either:

if (k_EUserHasLicenseResultDoesNotHaveLicense == SteamWorks_HasLicenseForApp(client,...
Forum: Plugins 01-04-2019, 18:20
Replies: 2,089
Views: 1,178,905
Posted By DJ Tsunami
Forum: Scripting 12-29-2018, 09:54
Replies: 2
Views: 445
Posted By DJ Tsunami
Re: Database tabels are not created

Remove the quotes around your column names.
Forum: Scripting 12-25-2018, 07:35
Replies: 2
Views: 360
Posted By DJ Tsunami
Re: To add server port number to log file name

You need to use %d (or %i) in the format string for the port number.
Forum: Scripting 12-07-2018, 05:44
Replies: 2
Views: 487
Posted By DJ Tsunami
Re: Possible, memory leak in DataPack

CreateDataTimer initializes the DataPack for you (https://github.com/alliedmodders/sourcemod/blob/master/plugins/include/timers.inc#L206). So this:

DataPack pack = new DataPack();

should be:
...
Forum: General 11-23-2018, 08:22
Replies: 6
Views: 385
Posted By DJ Tsunami
Re: sm_rehash wipes admins.cfg

You can disable this by setting BackupConfigs to "0" in configs/sourcebans/sourcebans.cfg.
Forum: Extensions 11-22-2018, 11:00
Replies: 56
Views: 18,281
Posted By DJ Tsunami
Re: REST in Pawn - Communicate with JSON REST APIs

Thanks slekenda, this should be fixed in 1.0.6 (https://github.com/ErikMinekus/sm-ripext/releases/latest).
Forum: Scripting 10-25-2018, 11:00
Replies: 20
Views: 901
Posted By DJ Tsunami
Re: How to set SDKHook on round_start correctly?

Doesn't L4D only have like 8 players? Seems like this should suffice:


public void OnClientPutInServer(int client)
{
SDKHook(client, SDKHook_OnTakeDamage, OnTakeDamage);
}

public Action...
Forum: Scripting 09-30-2018, 10:30
Replies: 7
Views: 475
Posted By DJ Tsunami
Re: Making a non interactive panel

Seems like you could replace that entire switch statement with:

ShowSpecMenu(param1);
ClientCommand(param1, "slot%d", param2);
Forum: Snippets and Tutorials 09-22-2018, 04:18
Replies: 22
Views: 2,874
Posted By DJ Tsunami
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)

Why not just contribute to https://github.com/Dillonb/SublimeSourcePawn instead of making a new package?
Forum: General 09-07-2018, 16:03
Replies: 5
Views: 367
Posted By DJ Tsunami
Re: Can you add someone to multiple groups?

Yes, it's possible with SQL admins.
Forum: Extensions 08-28-2018, 04:00
Replies: 56
Views: 18,281
Posted By DJ Tsunami
Re: REST in Pawn - Communicate with JSON REST APIs

New release:

Possible fix for the crashes (thanks Peace-Maker)
Added ConnectTimeout, FollowLocation and Timeout properties to HTTPClient (thanks CrazyHackGUT)
Added error message to...
Forum: Plugins 08-18-2018, 12:00
Replies: 2,089
Views: 1,178,905
Posted By DJ Tsunami
Re: Advertisements 2.0 (Updated 2016/03/23)

You probably have a typo in your advertisements.txt. We would need to see your full advertisements.txt to be able to point out the exact mistake.
Forum: Scripting 08-03-2018, 11:28
Replies: 10
Views: 499
Posted By DJ Tsunami
Re: SQL create column if not exists

You shouldn't dynamically create columns, that means your database design is wrong.

If you explain what kind of data you're trying to store, someone can probably give you the correct solution.
Forum: Scripting 07-26-2018, 07:33
Replies: 7
Views: 323
Posted By DJ Tsunami
Re: Help, KeysValues get key name

You can't get key names with KeyValues. You need to use SMCParser (https://sm.alliedmods.net/new-api/textparse/SMCParser), which fires an event for every key/value pair.

Or you can write the...
Forum: Scripting 07-02-2018, 07:45
Replies: 7
Views: 382
Posted By DJ Tsunami
Re: Help with KeyValues (I'm n00b)

You need to build the path to your .cfg file, and then import the file into your KeyValues object.

For example:

char path[PLATFORM_MAX_PATH];
BuildPath(Path_SM, path, sizeof(path),...
Forum: Scripting 07-01-2018, 09:55
Replies: 2
Views: 341
Posted By DJ Tsunami
Re: Creating callbacks in Sourcepawn

I believe you have to invoke the callback like so:

public void Save(ActionCallback callback) {
float test[2];

test[0] = 2.0;
test[1] = 1.0;

...
Forum: Scripting 06-24-2018, 16:52
Replies: 6
Views: 363
Posted By DJ Tsunami
Re: is this broken

It simply writes two tabs between the key and value. So if you have keys with different lengths, the values won't necessarily line up.
Forum: Scripting Help 06-24-2018, 03:09
Replies: 9
Views: 669
Posted By DJ Tsunami
Re: Undefined symbol "id"

Here's the code that he PM'ed me. Apparently he's new to coding.


public plugin_init()
{
register_plugin("blAck-pack", "1.0", "blAck.")

new flags = get_user_flags(id)

...
Forum: Scripting Help 06-23-2018, 08:44
Replies: 9
Views: 669
Posted By DJ Tsunami
Re: Undefined symbol "id"

You should create that variable and assign the client index. Since you only posted one line of code, I don't know where the client index is supposed to come from.
Showing results 1 to 25 of 500

 
Forum Jump

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


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