Raised This Month: $138 Target: $400
 34% 

Showing results 1 to 25 of 500
Search took 0.08 seconds.
Search: Posts Made By: DJ Tsunami
Forum: Scripting 07-28-2019, 17:21
Replies: 13
Views: 988
Posted By DJ Tsunami
Re: Player data in not inserting into DB Corectly

There is a backtick between INTO and panel that doesn't belong there.
Forum: General 04-29-2019, 04:47
Replies: 4
Views: 548
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 / SourceBans++ 01-24-2019, 05:11
Replies: 1
Views: 879
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: 881
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: 268,720
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: 18
Views: 1,342
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: 18
Views: 1,342
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,098
Views: 1,209,795
Posted By DJ Tsunami
Forum: Scripting 12-29-2018, 09:54
Replies: 2
Views: 475
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: 396
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: 530
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: 446
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: 57
Views: 20,369
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: 1,063
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: 529
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: 3,289
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: 420
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: 57
Views: 20,369
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,098
Views: 1,209,795
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: 610
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: 380
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: 444
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: 388
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: 437
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: 761
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)

...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 11:21.


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