Steamworks inc 215 error 147 new style declarations are required

SteamWorks & "new style declaration" Scripting
Author

Message

AlliedModders Donor

Old

09-27-2019

, 06:11

 

SteamWorks & «new style declaration»

Reply With Quote

#1


Is there a SteamWorks version out using the «new-style declarations»! I’ve got a problem with compiling when I use this version:
http://users.alliedmods.net/~kyles/builds/SteamWorks/

Is there any problem in just switching «#pragma newdecls required» off?

fragnichtnach is offline

AlliedModders Donor

CrazyHackGUT's Avatar

Join Date: Feb 2016

Location: Izhevsk, Russia

Old

09-27-2019

, 06:17

 

Re: SteamWorks & «new style declaration»

Reply With Quote

#2


… or move include directives before requiring newdecls?

__________________

My english is very bad. I am live in Russia. Learning english language — very hard task for me…

CrazyHackGUT is offline

AlliedModders Donor

Old

09-27-2019

, 06:36

 

Re: SteamWorks & «new style declaration»

Reply With Quote

#3


Yes, the include is before the «pragma newdecals required». Still getting errors. :-/

fragnichtnach is offline

AlliedModders Donor

8guawong's Avatar

Join Date: Dec 2013

Location: BlackMarke7

Old

09-27-2019

, 07:25

 

Re: SteamWorks & «new style declaration»

Reply With Quote

#4


Post your code

__________________

8guawong is offline

AlliedModders Donor

Old

09-27-2019

, 07:48

 

Re: SteamWorks & «new style declaration»

Reply With Quote

#5


It is the actual get5 code:
https://github.com/splewis/get5

with the newest:
http://users.alliedmods.net/~kyles/builds/SteamWorks/

Code:

// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(215) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(216) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(217) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(218) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(219) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(219) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(220) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(220) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(221) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(221) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(222) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(223) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(223) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(223) : error 147: new-style declarations are required
// E:sourcemod-1.8.0-git6050-windows (4)addonssourcemodscriptingincludeSteamWorks.inc(223) : fatal error 190: too many error messages on one line

Code:

#include "include/get5.inc"
#include "include/logdebug.inc"
#include "include/restorecvars.inc"
#include <cstrike>
#include <json>  // github.com/clugg/sm-json
#include <sdktools>
#include <sourcemod>
#include <testing>

#undef REQUIRE_EXTENSIONS
#include <SteamWorks>

#define CHECK_READY_TIMER_INTERVAL 1.0
#define INFO_MESSAGE_TIMER_INTERVAL 29.0

#define DEBUG_CVAR "get5_debug"
#define MATCH_ID_LENGTH 64
#define MAX_CVAR_LENGTH 128
#define MATCH_END_DELAY_AFTER_TV 10

#define TEAM1_COLOR "{LIGHT_GREEN}"
#define TEAM2_COLOR "{PINK}"
#define TEAM1_STARTING_SIDE CS_TEAM_CT
#define TEAM2_STARTING_SIDE CS_TEAM_T
#define KNIFE_CONFIG "get5/knife.cfg"
#define DEFAULT_TAG "[{YELLOW}Get5{NORMAL}]"

#pragma semicolon 1
#pragma newdecls required
[..]

Last edited by fragnichtnach; 09-27-2019 at 07:50.

fragnichtnach is offline

AlliedModders Donor

Maxximou5's Avatar

Old

09-27-2019

, 17:02

 

Re: SteamWorks & «new style declaration»

Reply With Quote

#6


That’s because you’re using the json include. Place the SteamWorks include above the json include or vice versa.

You can also go through each of the json include files and remove the line #pragma newdecls required

__________________

Maxximou5 is offline

AlliedModders Donor

Timocop's Avatar

Join Date: Mar 2013

Location: Germany

Timocop is offline

AlliedModders Donor

Old

09-28-2019

, 04:09

 

Re: SteamWorks & «new style declaration»

Reply With Quote

#8


Quote:

Originally Posted by Timocop
View Post

PHP Code:



#pragma newdecls optional

#include <SteamWorks>

#pragma newdecls required 




that works. really easy. thanks

fragnichtnach is offline

Junior Member

clug's Avatar

Join Date: May 2016

Location: Australia

Old

09-29-2019

, 02:31

 

Re: SteamWorks & «new style declaration»

Reply With Quote

#9


Quote:

Originally Posted by fragnichtnach
View Post

that works. really easy. thanks

Just so you know, sm-json has been updated to fix this issue (here). You can safely remove the optional pragma now.

clug is offline

Всем привет,
Обновил сурсмод, начал компилировать свои старые плагины, но тут ошибки. Понял, что-то изменилось, начал гуглить, на всех англ.форумах что-то не понятно стало откуда-куда что менять. Прошу помочь… Компилятор шумит на счёт нативов:

native void Store_RegisterHandler(String:type[], String:uniquekey[], Function:mapstart, Function:reset, Function:config, Function:use, Function:remove, bool:equipable = true, bool:raw = false);
native Store_RegisterMenuHandler(String:identifier[], Function:menu, Function:handler);
native Store_SetDataIndex(itemid, index);
native Store_GetDataIndex(itemid);
native Store_GetEquippedItem(client, String:type[], slot=0);
native Store_IsClientLoaded(client);
native Store_DisplayPreviousMenu(client);
native Store_SetClientMenu(client, num);
native Store_GetClientCredits(client);
native Store_SetClientCredits(client, credits);
native Store_IsClientVIP(client);
native Store_IsItemInBoughtPackage(client, itemid, uid=-1);
native Store_ShouldConfirm();
native Store_DisplayConfirmMenu(client, String:title[], Function:callback, data);
native Store_GetItem(itemid, output[Store_Item]);
native Store_GetHandler(index, output[Type_Handler]);
native Store_GiveItem(client, itemid, purchase=0, expiration=0, price=0);
native Store_RemoveItem(client, itemid);
native Store_GetClientItem(client, itemid, output[Client_Item]);
native Store_GetClientTarget(client);
native Store_GiveClientItem(client, recipient, itemid);
native Store_HasClientItem(client, itemid);
native Store_IterateEquippedItems(client, &start, bool:attributes=false);

Компилятор их всех карает:

// C:UsersvalerDesktopscriptingincludestore.inc(24) : error 050: constant 'szName' already defined
// C:UsersvalerDesktopscriptingincludestore.inc(55) : error 050: constant 'iId' already defined
// C:UsersvalerDesktopscriptingincludestore.inc(64) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(65) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(66) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(67) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(68) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(69) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(70) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(71) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(72) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(73) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(74) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(75) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(76) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(77) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(78) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(79) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(80) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(81) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(82) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(83) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(84) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(85) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(86) : error 147: new-style declarations are required
// C:UsersvalerDesktopscriptingincludestore.inc(88) : error 147: new-style declarations are required

Спасибо всем, кто поможет

Содержание

  1. Steamworks inc 215 error 147 new style declarations are required
  2. Steamworks inc 215 error 147 new style declarations are required
  3. Steamworks inc 215 error 147 new style declarations are required
  4. Steamworks inc 215 error 147 new style declarations are required
  5. Steamworks inc 215 error 147 new style declarations are required

Steamworks inc 215 error 147 new style declarations are required

I am trying to do a plugin for CS:GO that with a command next round is only with deagle, but i am getting this error:

#include
#include
#include
#pragma semicolon 1
#pragma newdecls required
#define PLUGIN_TAG «[ deagleround ]»
#define NAME «Deagle Round»
#define AUTHOR «dias di Ghetto»
#define DESC «Deagle Rounds by a command for VIPs»
#define VERSION «0.1»

ConVar g_bAllowedFlags , g_iTimesPerMap ;

Handle : ClientTimer [ MAXPLAYERS + 1 ] = < INVALID_HANDLE , . >;

bool isdeagleround = false ;
bool deagleroundScheduled = false ;
int deaglerounds = 0 ;
public Plugin myinfo =
<
name = NAME ,
author = AUTHOR ,
description = DESC ,
version = VERSION ,
url = «https://diasdighetto.pt»
>;

public void OnPluginStart () <
LoadTranslations ( «deagleround.phrases» );
RegConsoleCmd ( «sm_deagleround» , Command_deagleround );
g_bAllowedFlags = CreateConVar ( «deagleround_allowedflags» , «b» , «Allowed flags to start a Deagle Round or a vote for it» , _ , true , 0.0 , true , 1.0 );
g_iTimesPerMap = CreateConVar ( «deagleround_maxtimespermmap» , «0» , «Max amount of times a Deagle round can occur. 0 for unlimited» , _ , true , 0.0 , false );
AutoExecConfig ( true , «deagleround» );
HookEvent ( «round_start» , OnRoundStart );
HookEvent ( «item_pickup» , OnWeaponPickup );
SetDefaultValues ();
>

public Action OnWeaponPickup ( Event event , const char [] name , bool dontBroadcast )
<
if ( isdeagleround ) <
int client = GetClientOfUserId ( GetEventInt ( event , «userid» ));
StripAllWeapons ( client );
>
>

public Action Command_deagleround ( int client , int args ) <
if (! IsValidClient ( client )) <
return Plugin_Handled ;
>
char allowedFlags [ 16 ];
GetConVarString ( g_bAllowedFlags , allowedFlags , sizeof ( allowedFlags ));
if (! HasClientFlag ( client , allowedFlags )) <
return Plugin_Handled ;
>
int maxdeaglerounds = GetConVarInt ( g_iTimesPerMap );
if ( deaglerounds == maxdeaglerounds && maxdeaglerounds != 0 ) <
return Plugin_Handled ;
>
Scheduledeagleround ();
return Plugin_Handled ;
>

void Scheduledeagleround () <
deagleroundScheduled = true ;
CPrintToChatAll ( «%s %t» , PLUGIN_TAG , «deagleround Scheduled» );
>

public void OnMapStart () <
SetDefaultValues ();
>

public void SetDefaultValues () <
deaglerounds = 0 ;
isdeagleround = false ;
deagleroundScheduled = false ;
>

public Action OnRoundStart ( Event event , const char [] name , bool dontBroadcast ) <
if ( isdeagleround ) <
isdeagleround = false ;
>
if ( deagleroundScheduled ) <
CreateTimer ( 0.5 , Timer_RemoveOtherWeapons , _ );
CreateTimer ( 0.5 , Timer_GiveDeagle , _ );
deagleroundScheduled = false ;
isdeagleround = true ;
deaglerounds ++;
CPrintToChatAll ( «%s %t» , PLUGIN_TAG , «deagleround Started» );
>
>

public Action Timer_RemoveOtherWeapons ( Handle timer , any data ) <
StripAllPlayers ();
>

public Action Timer_GiveDeagle ( Handle timer , any client )
<
ClientTimer [ client ] = INVALID_HANDLE ;

ServerCommand ( «sm_give @all weapon_deagle» , client );
>

public void StripAllPlayers () <
for ( int i = 1 ; i MaxClients ; i ++) <
if ( IsValidClient ( i )) <
StripAllWeapons ( i );
>
>
>
public void StripAllWeapons ( int client ) <
int wp ;
for ( int i = 0 ; i 5 ; i ++) <
wp = GetPlayerWeaponSlot ( client , i );
if ( i != 2 ) <
if( IsValidEntity ( wp )) <
RemovePlayerItem ( client , wp );
>
>
>
>

Источник

Steamworks inc 215 error 147 new style declarations are required

I wanned to add a check on «mp_humanteam» before adding teams to prevent exploiting, when that command allows on CTs for example.

#pragma semicolon 1

#define PLUGIN_NAME «[CSGO] Team Limit Bypass»
#define PLUGIN_AUTHOR «Zephyrus»
#define PLUGIN_DESCRIPTION «Bypasses hardcoded team limits»
#define PLUGIN_VERSION «1.1»
#define PLUGIN_URL «»

#include
#include
#include
#pragma newdecls required

enum EJoinTeamReason
<
k_OneTeamChange = 0 ,
k_TeamsFull = 1 ,
k_TTeamFull = 2 ,
k_CTTeamFull = 3
>

int g_iTSpawns =- 1 ;
int g_iCTSpawns =- 1 ;
int g_iSelectedTeam [ MAXPLAYERS + 1 ];

public Plugin myinfo =
<
name = PLUGIN_NAME ,
author = PLUGIN_AUTHOR ,
description = PLUGIN_DESCRIPTION ,
version = PLUGIN_VERSION ,
url = PLUGIN_URL
>;

public void OnPluginStart ()
<
HookEvent ( «jointeam_failed» , Event_JoinTeamFailed , EventHookMode_Pre );
AddCommandListener ( Command_JoinTeam , «jointeam» );
>

public void OnMapStart ()
<
g_iTSpawns =- 1 ;
g_iCTSpawns =- 1 ;

// Give plugins a chance to create new spawns
CreateTimer ( 0.1 , Timer_OnMapStart );
>

public void OnClientConnected ( int client )
<
g_iSelectedTeam [ client ]= 0 ;
>

public Action Timer_OnMapStart ( Handle timer , any data )
<
g_iTSpawns = 0 ;
g_iCTSpawns = 0 ;

int ent = — 1 ;
while(( ent = FindEntityByClassname ( ent , «info_player_counterterrorist» )) != — 1 ) ++ g_iCTSpawns ;
ent = — 1 ;
while(( ent = FindEntityByClassname ( ent , «info_player_terrorist» )) != — 1 ) ++ g_iTSpawns ;

public Action Event_JoinTeamFailed ( Event event , const char [] name , bool dontBroadcast )
<
int client = GetClientOfUserId ( GetEventInt ( event , «userid» ));
if(! client || ! IsClientInGame ( client ))
return Plugin_Continue ;

new EJoinTeamReason : m_eReason = EJoinTeamReason : GetEventInt ( event , «reason» );

char teamcvar [ 4 ];
int m_iTs = GetTeamClientCount ( CS_TEAM_T );
int m_iCTs = GetTeamClientCount ( CS_TEAM_CT );
GetConVarString ( FindConVar ( «mp_humanteam» ), teamcvar , sizeof ( teamcvar ));

switch( m_eReason )
<
case k_OneTeamChange :
<
return Plugin_Continue ;
>

default:
<
return Plugin_Continue ;
>
>

ChangeClientTeam ( client , g_iSelectedTeam [ client ]);

public Action Command_JoinTeam ( int client , char [] command , int args )
<
if(! args || ! client || ! IsClientInGame ( client ))
return Plugin_Continue ;

char m_szTeam [ 8 ];
GetCmdArg ( 1 , m_szTeam , sizeof ( m_szTeam ));
int m_iTeam = StringToInt ( m_szTeam );

if( CS_TEAM_SPECTATOR m_iTeam CS_TEAM_CT )
g_iSelectedTeam [ client ]= m_iTeam ;

Источник

Steamworks inc 215 error 147 new style declarations are required

hello, first of all the main plugin from: https://forums.alliedmods.net/showthread.php?t=326093
Im trying to change color processor to simple chat processor, (insurgency trouble) so i want to do with scp. I have already done some corrects with errors, via spider.limetech .io/.

(41) : error 147: new-style declarations are required.
how to do work it correctly. HELP ME PLS.

hello, first of all the main plugin from: https://forums.alliedmods.net/showthread.php?t=326093
Im trying to change color processor to simple chat processor, (insurgency trouble) so i want to do with scp. I have already done some corrects with errors, via spider.limetech .io/.

(41) : error 147: new-style declarations are required.
how to do work it correctly. HELP ME PLS.

Источник

Steamworks inc 215 error 147 new style declarations are required

hello, first of all the main plugin from: https://forums.alliedmods.net/showthread.php?t=326093
Im trying to change color processor to simple chat processor, (insurgency trouble) so i want to do with scp. I have already done some corrects with errors, via spider.limetech .io/.

(41) : error 147: new-style declarations are required.
how to do work it correctly. HELP ME PLS.

hello, first of all the main plugin from: https://forums.alliedmods.net/showthread.php?t=326093
Im trying to change color processor to simple chat processor, (insurgency trouble) so i want to do with scp. I have already done some corrects with errors, via spider.limetech .io/.

(41) : error 147: new-style declarations are required.
how to do work it correctly. HELP ME PLS.

Источник

Steamworks inc 215 error 147 new style declarations are required

hello, first of all the main plugin from: https://forums.alliedmods.net/showthread.php?t=326093
Im trying to change color processor to simple chat processor, (insurgency trouble) so i want to do with scp. I have already done some corrects with errors, via spider.limetech .io/.

(41) : error 147: new-style declarations are required.
how to do work it correctly. HELP ME PLS.

hello, first of all the main plugin from: https://forums.alliedmods.net/showthread.php?t=326093
Im trying to change color processor to simple chat processor, (insurgency trouble) so i want to do with scp. I have already done some corrects with errors, via spider.limetech .io/.

(41) : error 147: new-style declarations are required.
how to do work it correctly. HELP ME PLS.

Источник

Adblock
detector

Recommend Projects

  • React photo

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo

    Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo

    Django

    The Web framework for perfectionists with deadlines.

  • Laravel photo

    Laravel

    A PHP framework for web artisans

  • D3 photo

    D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Visualization

    Some thing interesting about visualization, use data art

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo

    Microsoft

    Open source projects and samples from Microsoft.

  • Google photo

    Google

    Google ❤️ Open Source for everyone.

  • Alibaba photo

    Alibaba

    Alibaba Open Source for everyone

  • D3 photo

    D3

    Data-Driven Documents codes.

  • Tencent photo

    Tencent

    China tencent open source team.

The original idea was that server owners could easily fork my project, and in their cfg/sourcemod/lilac_config.cfg file, set the update link to their own fork.
That way, server owners who had lots of servers could automatically update all of their servers with the version of Lilac that they trust.


Lets say that you had 30 servers, and you want to be able to update all of them with a single version of Lilac.
But, you don’t trust my updates, you wanna test out each update before applying it to all of your servers.

As an example, lets say you are using version 1.6.0 in all your servers, and I’ve released version 1.7.0.
You would like to have the convenience of updating all of your servers at once, but you don’t trust version 1.7.0.
So, you’ve set your servers to download from your own fork.
You could test out version 1.7.0 in a local server or on a test server, and once you’ve tested it out and you trust that version 1.7.0 is safe, doesn’t have any bugs and doesn’t contain any malicious code, you can then pull from me to your own fork.
All your servers will then later see that your own fork has an update (which you trust) and they will then download and use that.


Using a ConVar means that even if you pull directly from me, the CFG file will still have the link to your own fork and not mine, which means that you don’t have to change the URL in the sourcecode before pulling from me.
It just makes it more convenient.


And yeah, when it comes to not trusting this official repo…
There are server owners who don’t trust me.
I’m unsure how much you know about me, but I used to cheat a lot in TF2 back in 2015-2018, and people would really hate me.
Because of this, to this day a lot of people don’t trust me, and that’s fair.

If you do trust me, that’s nice ^-^
But it’s not the most secure thing you can do.

You shouldn’t trust random people online with direct access to your servers.
Even if it is open source and you can see the changes I make, it may be too late if I suddenly go rouge (which I won’t) or my account gets hacked.
It is far safer to use your own fork of Lilac and set your servers to update from that.


That’s the reasoning behind the ConVar controlling the URL.
But as previously discussed, sm_rcon might cause this to be a security flaw, so it is now hardcoded in version 1.6.0-RC 4 (Which is out now, and you should use that version).

In terms of using your own fork for security reasons…
I guess you could fork directly from me into a different branch, change the URL in the sourcecode and then merge from that branch into your master branch…
That should be fairly easy to do.

Распространенная ошибка распространяемых компонентов Steamworks характерна не только для одного игрока, с ней сталкивался практически каждый любитель игр.

Этот бесплатный набор инструментов доступен для всех на платформе Steam, и его основная функция — помочь разработчикам игр легко распространять свои продукты. Steamworks — одна из самых популярных онлайн-платформ, на которой игроки могут играть, создавать и управлять различными играми.

Всякий раз, когда вы загружаете игру, ожидается, что она будет оптимизирована для ОС вашего устройства для оптимальной производительности. Steam автоматически добавляет все необходимые файлы для бесперебойной работы на ваше устройство при загрузке игры из своей облачной базы данных.

Как избавиться от распространенных распространяемых файлов Steamworks?

Многие пользователи платформы Steam, увидевшие уведомление об общей ошибке распространяемых файлов Steamworks, находятся в таком же замешательстве, как и вы в данный момент. Они не уверены, нужно ли им беспокоиться об этом или нет.

Вот в чем дело: если у вас нет проблем при запуске какой-либо игры, загруженной или запущенной на платформе Steam, вам не о чем беспокоиться. Однако есть способ скрыть папку, чтобы она не портила удовольствие от игры.

Как исправить распространенные ошибки Steamworks Redistributables?

1. Распространенная ошибка записи на диск распространяемых файлов Steamworks

1.1. Перезапустите приложение Steam.

  • Если вы впервые сталкиваетесь с ошибкой, закройте клиент Steam.
  • Снова откройте приложение и попробуйте снова загрузить игру.

1.2. Запустите Steam от имени администратора

  • Проверьте начальный экран вашей системы, чтобы найти значок Steam.

  • Щелкните правой кнопкой мыши значок, выберите «Запуск от имени администратора».

  • Выберите «Да» в окне контроля учетных записей пользователей.

1.3. Снять защиту от записи в приложении Steam

  • Откройте проводник, нажав Windowsклавишу + E.
  • Найдите папку, в которой Steam хранится на вашем компьютере.
  • Щелкните правой кнопкой мыши на. Теперь вы увидите всплывающее окно со списком параметров, выберите «Свойства».

  • В свойствах Steam выберите Общие. Затем снимите флажок «Только для чтения» в разделе «Атрибуты», если он отмечен. Затем выберите ОК, чтобы сохранить.

1.4. Избавьтесь от поврежденных файлов

  • Найдите значок Steam на главном экране.

  • Щелкните его правой кнопкой мыши. Это вызовет список опций, выберите «Открыть расположение файла».

  • В папке Steam найдите папку Steamapps.
  • Проверьте папку на наличие файлов размером 0 КБ и с тем же именем, что и игра, которую вы пытаетесь запустить.
  • Если вы найдете такие файлы, удалите их и попробуйте перезапустить игру.

1.5. Проверьте системный брандмауэр

  • Откройте Настройки, нажав Windows клавишу + I.
  • Выберите Конфиденциальность и безопасность. Затем выберите Безопасность Windows.

  • Выберите Защита от вирусов и угроз.

  • В разделе «Параметры защиты от вирусов и угроз» выберите «Управление параметрами».

  • Прокрутите список, чтобы найти «Исключения», затем нажмите «Добавить или удалить исключения».

  • Добавьте исключение, щелкнув крестик и выбрав расположение файлов.

Эту проблему также можно решить, полностью отключив брандмауэр (антивирус/антивредоносное ПО), но мы не рекомендуем этого делать, так как это может подвергнуть вашу систему атакам.

2. Распространенные распространяемые файлы Steamworks не загружаются/загружаются медленно

2.1. Проверьте интернет-соединение и скорость

  • Проверьте, подключена ли ваша сеть, попытавшись загрузить что-нибудь в браузере.
  • Проверьте скорость интернета, используя любую онлайн-проверку, например Fast.

  • Проверьте, подключен ли VPN. Отключите его.
  • Повторите загрузку.
  • Если все так же, попробуйте метод ниже.

2.2. Проверить целостность

  • Откройте Стим.

  • Щелкните правой кнопкой мыши Общие распространяемые файлы Steamworks.
  • Выберите «Библиотека».
  • Выберите Свойства. Выберите «Локальные файлы».
  • Выберите проверку целостности.

2.3. Очистить кеш загрузки Steam

  • Нажмите Windowsклавишу и введите Steam. Затем выберите «Открыть», чтобы запустить Steam.

  • Перейти к настройкам.

  • Выберите Загрузки.

  • Затем выберите Очистить кэш загрузки. Затем выберите, ОК.

Если какой-либо из методов, выделенных выше, не работает, вы можете переустановить Steam. Некоторые геймеры сообщили, что это устранило проблему после того, как они попробовали разные решения.

3. Распространенные распространяемые файлы Steamworks продолжают загружаться

3.1. Перезапустите клиент Steam.

Если проблема возникает впервые, разрешите приложению завершить загрузку. Эта операция используется Steam для обновления ваших файлов.

Но если повторная загрузка идет последовательно и не завершается, закройте приложение Steam и перезапустите его. Это должно решить любую некритическую проблему.

3.2. Перезагрузите компьютер

Для этого решения вы можете перезагрузить или полностью отключить систему. Это будет иметь тот же эффект.

После перезапуска или перезагрузки системы перезапустите Steam, чтобы проверить, исчезла ли проблема.

3.3. Изменить регион загрузки

  • Запустите Стим.
  • Выберите Настройки. Далее нажмите на вкладку «Загрузить».

  • Проверьте регион загрузки и выберите регион, который, по вашему мнению, ближе всего к вам.

  • Попробуйте разные регионы ближе к вам, чтобы увидеть, есть ли разница.

3.4. Запустите команду Steam://flushconfig

  • Откройте Run, нажав Windows клавишу + R.

  • Введите команду ниже и нажмите Enter: Steam://flushconfig

  • Подождите несколько минут. Теперь перезагрузите компьютер.
  • Запустите Steam.exe из папки Steam в проводнике (прокрутите вверх, чтобы узнать, как найти папку).

3.5. Переустановите Steam

  • Перейдите в папку «Загрузки» в проводнике. Затем найдите SteamSetup.

  • Щелкните его правой кнопкой мыши и запустите от имени администратора.
  • Следуйте подсказкам системы, чтобы переустановить Steam.

4. Общие распространяемые файлы Steamworks имеют общий контент

4.1. Проверьте, доступна ли папка Steamapp

Steam хранит некоторые важные файлы, необходимые для запуска вашей игры, в папке Steamapp. Некоторые геймеры предпочитают иметь эту папку в отдельной папке помимо основной папки Steam.

Проблемы обычно возникают, когда папка удалена по ошибке и Steam больше не может ее найти. Для быстрого исправления создайте папку в основной папке Steam и назовите ее Steamapp, а затем перезапустите приложение.

4.2. Удалить ключ реестра

  • Откройте Run, нажав Windows клавишу + R.
  • Введите команду ниже: regedit
  • Это откроет редактор реестра.
  • Найдите любой из ключей реестра ниже (в зависимости от вашего процессора Windows):
    HKEY_LOCAL_MACHINESOFTWAREValveSteamAppsCommonRedistHKEY_LOCAL_MACHINESOFTWAREWow6432NodeValveSteamAppsCommonRedist

  • При обнаружении удалите его.

Как бы ни раздражали ошибки в Steam, мы надеемся, что вы найдете все решения, описанные до сих пор, простыми в использовании.

Прежде чем идти, прокомментируйте свой опыт использования любого из этих методов, и если вы пытались найти другое решение, поделитесь им с другими ниже.


Понравилась статья? Поделить с друзьями:
  • Steamwebhelper exe ошибка приложения
  • Steamvr ошибка 203
  • Steamvr failed initialization with error code vrlniterror lnit path registry not found
  • Steamvr failed initialization with error code vrlniterror lnit hmd not found presence failed 126
  • Steamvr failed initialization with error code vrlniterror lnit hmd not found 110