Re: [ANY] SteamWorks
It seems like HTTP Requests are not working if they are inside OnPluginStart() and the server is still starting... if I reload the plugin after the server has fully loaded, using "sm plugins reload <pluginName>", then the HTTP Request retrieves the wanted data just fine. It has something to do with the server yet loading when an HTTP Request is called.
I didn't want to use a timer to fix it... Do you know if it's fixable or if there's an alternative to OnPluginStart(), some ServerLoaded() callback? |
Re: [ANY] SteamWorks
Try this forward
https://sm.alliedmods.net/new-api/so...lPluginsLoaded |
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
L 02/01/2020 - 16:34:37: SourceMod error session started
L 02/01/2020 - 16:34:37: Info (map "workshop/1485209481/de_dust2_fo") (file "/data/service8783/data/service_item_1178369/csgo/addons/sourcemod/logs/errors_20200201.log") L 02/01/2020 - 16:34:37: [SM] Exception reported: This plugin requires one of the cURL, Socket, SteamTools, or SteamWorks extensions to function. L 02/01/2020 - 16:34:37: [SM] Blaming: updater.smx L 02/01/2020 - 16:34:37: [SM] Call stack trace: L 02/01/2020 - 16:34:37: [SM] [0] SetFailState L 02/01/2020 - 16:34:37: [SM] [1] Line 102, D:\Downloads\Unsorted\sourcemod-1.6.3-windows\addons\sourcemod\scripting\updater.sp ::OnPluginStart L 02/01/2020 - 16:34:37: [SM] Unable to load plugin "updater.smx": Error detected in plugin startup (see error logs) L 02/01/2020 - 16:34:37: [SM] Unable to load plugin "CowAntiCheat.smx": Required extension "SteamWorks" file("SteamWorks.ext") not running L 02/01/2020 - 16:34:41: Error log file session closed. any help? |
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
Quote:
Edit: altho as i look now in sm exts list, steamworks is not there :( Edit2: Nevermind, im an idiot pff, i have a hosted server on linux and i kept downloading windows version, then after 5hrs i remember its linux and not windows. sorry, im braindead.. |
Re: [ANY] SteamWorks
I have a similar problem but i installed the linux version on a linux server, was working the other day and it just stopped.
|
Re: [ANY] SteamWorks
Ok i had to do "sm exts load SteamWorks", why it does not load automatically when server launch ??? I have installed all files.
edit: solved with SteamWorks.autoload file |
Re: [ANY] SteamWorks
Extensions are loaded automatically when a plugin needs them, it won’t be loaded unless you have a plugin that wants to use it.
|
Re: [ANY] SteamWorks
i tried the latest version on my css server but it crashes the server ,, any ideas what i have missed ?
|
Re: [ANY] SteamWorks
Native SteamWorks_SetGameDescription doesn't work in L4D2, GameDescription doesn't changed
|
Re: [ANY] SteamWorks
So, I'm not being able to send a HTTP PUT Request.
Here's my code: Code:
public Action Event_Round_End_Post(Handle event, const char[]name, bool dontBroadcast) Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> Any help is appreciated. |
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
|
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
2 Attachment(s)
"There is no spoon"
|
Re: [ANY] SteamWorks
can anyone fix the link?
|
Re: [ANY] SteamWorks
hi, this link broken :(
The latest development builds can be found here: http://users.alliedmods.net/~kyles/builds/SteamWorks/ |
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
Code:
EGCResults SteamWorks_GCRetrieveMessage(int punMsgType, const char[] pubDest, int cubDest, int pcubMsgSize) Looking at the source on Github it seems to be the fault of lines 132 and 134. Code:
this->pGCSendMsg Code:
this->pGCRetMsg |
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
Quote:
Other than that I don't think there are any more problems, though I could be missing something. |
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
Quote:
This simple plugin does not output anything, while NetHook2 clearly says there are incoming GC messages: Code:
#include <sourcemod> |
Re: [ANY] SteamWorks
Quote:
This definitely worked on CSGO at one point as people were intercepting/sending GC messages way back when. |
Re: [ANY] SteamWorks
Quote:
In the meanwhile I did another test to try and maybe narrow down the problem further: - Tested on Windows & Ubuntu for both games - All 64-bit - All SourceMod 1.11 (build 6522) - All MetaMod 1.11 (build 1130) - All updated and validated minutes before doing the test I added a "SteamWorks_GCSendMessage" and "SteamWorks_GCMsgAvailable" forward to my test plugin and turns out CSGO doesn't log anything at all while TF2 only logs GCMsgAvailable and GCSendMessage but no GCRetrieveMessage, it also repeatedly sends out a GCMessage every 30 seconds for some reason. According to NetHook2 it keeps sending out GCHello messages, Steam sends a GCWelcome back but it seems to get swallowed somewhere. |
Re: [ANY] SteamWorks
Quote:
Quote:
|
Re: [ANY] SteamWorks
Quote:
Quote:
A small correction as well: CSGO behaves the same way TF2 does but only if the server is not hibernating. If the CSGO server is hibernating none of the forwards work, this is why I thought it wasn't working. Both games now repeatedly send out a GC Hello message but Steam's response never reaches the server, it does get logged in "SteamWorks_GCMsgAvailable" though. So I assume "SteamWorks_GCRetrieveMessage" is swallowing the response somewhere. |
Re: [ANY] SteamWorks how to install
Hey Ho,
i would really need some help about SteamWorks. I dont know where to put the Stuffs in my Server. Nothing works.... I would really appreaciate all help i can have. |
Re: [ANY] SteamWorks
Hi KyleS,
Is L4D1 supported? as every version of steamworks.ext.dll I try crashes my server. I've tried all of these - http://users.alliedmods.net/~kyles/builds/SteamWorks/ with these two plugins: [Any] Veterans Only (v1.0, 2015-01-22) https://forums.alliedmods.net/showthread.php?t=255871 [ANY] Profile Status https://forums.alliedmods.net/showthread.php?t=323407 It would be really nice to run these plugins ... hoping you may offer some help with this problem. Thanks for your time TiTz |
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
I looked why SteamWorks_GCRetrieveMessage does not work.
First, the number of arguments in the forward must be 4, instead of 5 (https://github.com/KyleSanderson/Ste...chooks.cpp#L42). Secondly, we should not call the original function if we did SH_CALL, because the message is removed from the queue and calling the original function again will return k_EGCResultNoMessage. |
Re: [ANY] SteamWorks
Since the last CSGO update yesterday ( https://blog.counter-strike.net/inde...2020/05/30199/ )
– Updated Steamworks SDK and Steam libraries to the latest versions released in May 2020. The SteamWorks_GetPublicIP is returning false and 0,0,0,0 PHP Code:
PHP Code:
Also: PHP Code:
So I think the gamedata is off? |
Re: [ANY] SteamWorks
Quote:
|
Re: [ANY] SteamWorks
Thanks for the heads up guys. Sucks that this happened again with csgo. I've asked a peer to help me out with updating the SDK on the buildslaves, there might need to be a minor code change but I expect it to be trivial.
|
All times are GMT -4. The time now is 04:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.