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

Read Me! Release announcements


Post New Thread Closed Thread   
 
Thread Tools Display Modes
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 04-20-2011 , 13:42   Re: SteamTools - SteamWorks for SourceMod
#11

0.6.1 Has been released.
This fixes a very critical bug present in all recent releases of SteamTools, I strongly advise updating.
__________________
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-03-2011 , 02:29   Re: SteamTools - SteamWorks for SourceMod
#12

Released 0.6.2.

Changes:
  • Fixed silly crash in the crash fix in 0.6.1
  • Added steamtools_dump_unknown_tickets convar (enabled by default) which'll dump unknown tickets to files in the MOD dir, would be helpfull to send any of these files to me (a log message is written with the filename and my email address).
__________________
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-30-2011 , 04:49   Re: SteamTools - SteamWorks for SourceMod
#13

Released yet another update to fix a crash with certain tickets.
Doesn't crash with any of the tickets that I've been sent (a grand total of 3), and should fix Derikk's issue.
Thanks to SuperRaWR for sending me the ticket that helped to fix the bug.
__________________
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-24-2011 , 10:30   Re: SteamTools - SteamWorks for SourceMod
#14

0.7.0 Has been released.
This includes some new natives for reading a clients DLC status and compatibility with the new P2P authentication system.
__________________
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-24-2011 , 12:33   Re: SteamTools - SteamWorks for SourceMod
#15

Another minor update has been release to fix a bug in the new features from 0.7.0.
__________________
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-20-2011 , 11:20   Re: SteamTools - SteamWorks for SourceMod
#16

Version 0.7.2 released.
  • const-qualified all the String parameters that aren't changed.
  • Added CustomSteamID support to Subscription and DLC functions. This can only be used with the Connect extension and the SteamID passed in the OnClientPreConnect forward.
__________________
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-13-2011 , 21:08   Re: SteamTools - SteamWorks for SourceMod
#17

1.7.3 has been released.

Changes:
  • Compatability with today's update.
__________________
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-20-2011 , 20:32   Re: SteamTools - SteamWorks for SourceMod
#18

0.8.0 has been released.

Changelog:
  • Added Steam_SetGameDescription native to replace the broken (and now-removed) SDKHooks functionality.
  • Added HTTP interface.

The HTTP interface is currently undocumented, but here is an example of the common functionality:
PHP Code:
#pragma semicolon 1

#include <sourcemod>
#include <steamtools>

new HTTPRequestHandle:g_HTTPRequest INVALID_HTTP_HANDLE;

public 
Steam_FullyLoaded()
{
    
g_HTTPRequest Steam_CreateHTTPRequest(HTTPMethod_GET"http://dl.dropbox.com/u/6938670/avatar.png");
    
Steam_SendHTTPRequest(g_HTTPRequestOnDownloadComplete);
}

public 
OnGameFrame()
{
    static 
Float:lastPctDone 0.0;
    
    if (
g_HTTPRequest == INVALID_HTTP_HANDLE)
    {
        
lastPctDone 0.0;
        return;
    }
    
    new 
Float:pctDone Steam_GetHTTPDownloadProgressPercent(g_HTTPRequest);
    
    if (
pctDone <= lastPctDone)
        return;
    
    
PrintToServer("[SM] Download progress: %.2f%%"pctDone);
    
    
lastPctDone pctDone;
}

public 
OnDownloadComplete(HTTPRequestHandle:HTTPRequestbool:requestSuccessfulHTTPStatusCode:statusCode)
{
    if (
HTTPRequest != g_HTTPRequest || !requestSuccessful || statusCode != HTTPStatusCode_OK)
        return;
    
    
Steam_WriteHTTPResponseBody(g_HTTPRequest"avatar.png");
    
    
Steam_ReleaseHTTPRequest(g_HTTPRequest);
    
g_HTTPRequest INVALID_HTTP_HANDLE;

__________________
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-22-2011 , 13:14   Re: SteamTools - SteamWorks for SourceMod
#19

0.8.1 released.

Changes:
  • Fixed crash on server reinitialisation (i.e. the "map" command).
  • Fixed missing SteamAPICall callbacks (e.g. HTTP download complete).
  • Added passable data param to HTTP methods.
__________________
asherkin is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 10-29-2011 , 19:49   Re: Release announcements
#20

0.8.2 released.

Changes:
  • Fixed late loading not fully loading SteamTools.
  • Removed SteamAPICall debug spew.
  • Fixed potential crash if a plugin awaiting a HTTP callback is unloaded.
__________________
asherkin is offline
Closed Thread


Thread Tools
Display Modes

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 15:17.


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