Raised This Month: $ Target: $400
 0% 

Showing results 1 to 14 of 14
Search took 0.01 seconds.
Search: Posts Made By: clug
Forum: Snippets and Tutorials 04-15-2020, 04:06
Replies: 5
Views: 2,969
Posted By clug
Re: [INC] sm-json

No worries! How are you finding it?

I have just released v3.0.0 (https://github.com/clugg/sm-json/releases/tag/v3.0.0) which makes it a lot easier to convert between native arrays and JSON_Arrays,...
Forum: Snippets and Tutorials 04-12-2020, 05:08
Replies: 0
Views: 1,044
Posted By clug
[INC] sm-testsuite

https://github.com/clugg/sm-testsuite

A very niche include I'm sure, but handy for those of you who build include libraries and want to write tests for them.
I am currently using it in sm-json...
Forum: Scripting 09-29-2019, 01:31
Replies: 8
Views: 1,133
Posted By clug
Re: SteamWorks & "new style declaration"

Just so you know, sm-json has been updated to fix this issue (here) (https://github.com/clugg/sm-json/pull/5). You can safely remove the optional pragma now.
Forum: General 09-24-2019, 20:11
Replies: 7
Views: 917
Posted By clug
Re: Methodmap Circular Dependency

You are correct, I meant to say compile without warnings sorry. For CI purposes I like clean compiles with no warnings or errors.
Forum: General 09-24-2019, 13:07
Replies: 7
Views: 917
Posted By clug
Re: Methodmap Circular Dependency

I appear to have arrived at this topic once again (by forgetting I had even asked this question and finding it on Google!). This suggestion has worked for me, except in my _Array methodmap I get a...
Forum: General 03-11-2019, 08:56
Replies: 11
Views: 1,184
Posted By clug
Re: SQL queries are single-threaded. Any way to circumvent this?

Not to discount what you are saying, but you should only need one query to figure out X data for every player on the server. Without knowing your database schema, something like this might do:
...
Forum: Snippets and Tutorials 09-03-2018, 23:42
Replies: 5
Views: 2,969
Posted By clug
Re: [INC] sm-json

Thanks for that, fixed :)
Forum: Snippets and Tutorials 04-01-2018, 12:50
Replies: 5
Views: 2,969
Posted By clug
[INC] sm-json

https://github.com/clugg/sm-json

Hi guys,
I wasn't happy with the current solutions for creating objects nor classes in SourcePawn, and didn't really love how the existing JSON extensions worked...
Forum: General 03-04-2018, 01:53
Replies: 7
Views: 917
Posted By clug
Re: Methodmap Circular Dependency

Thanks for that, I ended up merging them into one methodmap with a boolean to denote which it should represent.
Forum: General 03-03-2018, 06:21
Replies: 7
Views: 917
Posted By clug
Methodmap Circular Dependency

Hi guys,
I've been working on an include for some custom data structures I need that other extensions/includes don't seem to solve. However, I've hit a roadblock, as I have two methodmaps that...
Forum: Scripting 02-23-2017, 06:05
Replies: 8
Views: 1,520
Posted By clug
Re: [CS:GO] SetClientName bug

This worked perfectly, thanks! Specifically, I forced the first name to begin with a tab character (not a replicable character in Steam names, so cannot be 'bypassed').

char alias[32];...
Forum: Scripting 02-23-2017, 01:39
Replies: 3
Views: 465
Posted By clug
Re: Simple Error help

When using sizeof on an array of strings, you don't need to specify an index, just that it is an array.
e.g. sizeof(info[i]) won't work, but sizeof(info[]) will.
Also, you are using old-style...
Forum: Scripting 02-20-2017, 22:13
Replies: 8
Views: 1,520
Posted By clug
[CS:GO] SetClientName bug

Hey guys,
I've been dealing with this bug for a while now and have only found one reference to it (https://forums.alliedmods.net/showpost.php?p=2408735&postcount=5).
Using SetClientName in CS:GO...
Forum: Snippets and Tutorials 05-18-2016, 11:12
Replies: 2
Views: 1,386
Posted By clug
HTTPRequests: HTTP Wrapper for Socket Extension

Hi all,

I was experiencing some performance issues when stacking up lots of requests using the SteamWorks extension so I decided to put together a fairly lightweight HTTP wrapper for the sockets...
Showing results 1 to 14 of 14

 
Forum Jump

All times are GMT -4. The time now is 08:09.


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