asherkin / steamtools Goto Github PK
View Code? Open in Web Editor NEWSteamWorks for SourceMod
Home Page: https://forums.alliedmods.net/forumdisplay.php?f=147
SteamWorks for SourceMod
Home Page: https://forums.alliedmods.net/forumdisplay.php?f=147
Likely needs a recompile against updated tf2 sdk I believe some Steam funcs were removed in TF2, no clue though
I would like to try to compile a MacOS version of SteamTools, but I run into this:
.../SteamTools/extension/extension.cpp:668:28: error: no matching function for call to 'CreateDetour'
g_pGetCallbackDetour = DETOUR_CREATE_STATIC( DetourGetCallback, GetCallback);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../SteamTools/extension/CDetour/detours.h:135:46: note: expanded from macro 'DETOUR_CREATE_STATIC'
#define DETOUR_CREATE_STATIC(name, gamedata) CDetourManager::CreateDetour(GET_STATIC_CALLBACK(name), GET_STATIC_TRAMPOLINE(name), gamedata);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
.../SteamTools/extension/CDetour/detours.h:247:18: note: candidate function not viable: no known conversion from 'GetCallbackFn' (aka 'bool (*)(int, CallbackMsg_t *)') to 'void *' for 3rd argument; take the address of the argument with &
static CDetour *CreateDetour(void *callbackfunction, void **trampoline, void *pAddress);
^
.../SteamTools/extension/CDetour/detours.h:246:18: note: candidate function not viable: no known conversion from 'GetCallbackFn' (aka 'bool (*)(int, CallbackMsg_t *)') to 'const char *' for 3rd argument
static CDetour *CreateDetour(void *callbackfunction, void **trampoline, const char *signame);
^
Is there anything I'm doing wrong or can it not be compiled for mac?
EDITS: Changed the issue
L 08/08/2020 - 01:48:43: SourceMod error session started
L 08/08/2020 - 01:48:43: Info (map "bhop_sleepless") (file "/home/ogp_agent/OGP_User_Files/1/cstrike/addons/sourcemod/logs/errors_20200808.log")
L 08/08/2020 - 01:48:43: [STEAMTOOLS] Server Gameplay Stats received with an unexpected eResult. (eResult = 20)
I'm getting this several times a day and I couldn't really find anything on google on how to fix that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.