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

Does SteamTools no longer work? I've got a deprecated error with steamtools.inc


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
El Diablo War3Evo
Veteran Member
Join Date: Jun 2013
Old 12-27-2021 , 16:55   Does SteamTools no longer work? I've got a deprecated error with steamtools.inc
Reply With Quote #1

Hi, I'm trying to get my old mod TF2 War3Source Evolution back up and running... ran into an error dealing with steamtools.inc can someone please help?

It's been years since I've done scripting for sourcemod... so, I was wondering if there was an update to steamtools.inc or ??


/addons/sourcemod/scripting/include/steamtools.inc(270) : fatal error 196: deprecated syntax; see https://wiki.alliedmods.net/SourcePa...yntax#Typedefs

It points to this part of the code:


Code:
-->> funcenum HTTPRequestComplete

{

	public(HTTPRequestHandle:HTTPRequest, bool:requestSuccessful, HTTPStatusCode:statusCode),

	public(HTTPRequestHandle:HTTPRequest, bool:requestSuccessful, HTTPStatusCode:statusCode, any:contextData),

};
I've downloaded steamtools-0.10.0-git179-54fdc51-linux.zip from https://builds.limetech.io/?p=steamtools

I'm using the steamtools.inc from steamtools-0.10.0-git179-54fdc51-linux.zip
__________________
El Diablo War3Evo is offline
El Diablo War3Evo
Veteran Member
Join Date: Jun 2013
Old 12-27-2021 , 17:09   Re: Does SteamTools no longer work? I've got a deprecated error with steamtools.inc
Reply With Quote #2

Ok... fixed that issue by updating part of that code:

Code:
typeset HTTPRequestComplete

{

	function Action (HTTPRequestHandle HTTPRequest, bool requestSuccessful, HTTPStatusCode statusCode);

	function Action (HTTPRequestHandle HTTPRequest, bool requestSuccessful, HTTPStatusCode statusCode, any contextData);

};
hope it doesn't give me errors later... lol
__________________

Last edited by El Diablo War3Evo; 12-27-2021 at 17:31.
El Diablo War3Evo is offline
Reply


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 05:48.


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