SteamCore: Add config autoexec and error reporting.
This commit is contained in:
parent
750e203c22
commit
a85fa2981c
@ -12,7 +12,7 @@
|
||||
#include <SteamWorks>
|
||||
|
||||
#define PLUGIN_URL ""
|
||||
#define PLUGIN_VERSION "1.7"
|
||||
#define PLUGIN_VERSION "1.7.1"
|
||||
#define PLUGIN_NAME "SteamCore"
|
||||
#define PLUGIN_AUTHOR "Statik"
|
||||
|
||||
@ -91,6 +91,8 @@ public OnPluginStart()
|
||||
HookConVarChange(cvarDebug, OnDebugStatusChange);
|
||||
|
||||
timeSinceLastLogin = TOKEN_LIFETIME;
|
||||
|
||||
AutoExecConfig(true, "plugin.steamcore");
|
||||
}
|
||||
|
||||
public OnLoginInfoChange(Handle:cvar, const String:oldVal[], const String:newVal[])
|
||||
@ -671,6 +673,9 @@ public cbkGroupInvite(Handle:response, bool:failure, bool:requestSuccessful, EHT
|
||||
|
||||
if (!StrEqual(result, "OK"))
|
||||
{
|
||||
PrintDebug(caller, "Error: ");
|
||||
PrintDebug(caller, result);
|
||||
|
||||
if (StrEqual(result, "The invitation to that player failed. Please try again.\n\nError code: 19"))
|
||||
{
|
||||
PrintDebug(caller, "Invite failed. Incorrect invitee id on request or another error.");
|
||||
|
Loading…
Reference in New Issue
Block a user