Raised This Month: $51 Target: $400
 12% 

[ANY] SteamWorks


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
dubbeh
Senior Member
Join Date: Jul 2007
Old 08-17-2017 , 21:56   Re: [ANY] SteamWorks
Reply With Quote #11

The error logs didn't return any type of problems from what I was told - I'll double check tomorrow.

Just fixed the Plugin_Handled on the command callback, was an overlook on my part and same with forgetting to use the macro .

Quote:
You're raw printing strings and double formatting strings, MOTDFLogMessage(szJSONResMsg); is a disaster.
Do you mean to strlen then print to avoid possible buffer overflows? Doing it this way to check if logging is enabled inside MOTDFLogMessage (Saves code clutter checking if logging is enabled). I also thought that SMJansson already had them checks with defining data types.

https://github.com/dubbeh/motd-fixer...tdf/helpers.sp - Can see them functions here.

Basically just passes over the buffers to fill from the JSON response data for ease of use

Thanks Kyle
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome
dubbeh is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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