Skocz do zawartości
PyNiO

[Brak rozwiązania] Samowyłączające się pluginy

Rekomendowane odpowiedzi

Siema.

Od kilku dni mam problem z 1 serwerem i nie wiem co na to poradzić.

Sprawa jest taka: Na serwerze jest trochę pluginów, przez większość czasu działają one bez problemów, ale są takie chwile kiedy nagle się po prostu wywalą i trzeba z 30-40 minut poczekać i zresetować serwer aby nagle zaskoczyły.

Ma ktoś pomysł co tam może się dziać?

 

Lista pluginów:

Spoiler
sm plugins list
[SM] Listing 70 plugins:
  01 "HLStatsX API" (1.7.0) by NomisCZ (-N-)
  02 "Server Clean Up _Xnet CS:GO" (1.2.2) by Jamster
  03 "[CSGO] Team Limit Bypass" (1.1) by Zephyrus
  04 "Player Commands" (1.10.0.6455) by AlliedModders LLC
  05 "SuperLogs: CS:GO" (1.7.2) by psychonic, NomisCZ (-N-)
  06 "sprawdzanie_tagi.smx"
  07 "Special Skins" (1.0) by PyNiO
  08 "HANSE-Balance" (1.6.6) by red!
  09 "[CSGO] HLstatsX plugin" (1.6.19) by psychonic
  10 "Gloves" (1.0.4) by kgns | oyunhost.net
  11 "Anticamp CS:S and CS:GO" (2.5.2) by stachi
  12 "Reserved Slots" (1.10.0.6455) by AlliedModders LLC
  13 "[CS:GO] VIP Info" (1.0) by Yamakashi
  14 "PodnoszenieScara" (1.0) by Inext 
  15 "SMAC Spinhack Detector" (0.8.6.0) by SMAC Development Team
  16 "SourceBans++: SourceComms" (1.6.3) by Alex, SourceBans++ Dev Team
  17 "Basic Comm Control" (1.10.0.6455) by AlliedModders LLC
  18 "Usun Wiadomosci o Kasie" by EMCE
  19 "Admin Help" (1.10.0.6455) by AlliedModders LLC
  20 "Team Bets" (2.6) by GrimReaper - Original by ferret
  21 "SMAC AutoTrigger Detector" (0.8.6.3) by SMAC Development Team (original), Mr. Silence (updated)
  22 "Radar and loading screen downloader" (1.0.0) by Mad
  23 "SourceBans++: Main Plugin" (1.6.3) by SourceBans Development Team, SourceBans++ Dev Team
  24 "REPORTET.smx"
  25 <Failed> "[CSGO] Zaawansowany system VIP na serwery CSGO" (1.9) by Mesharsky
  26 "CSGO Anti Team Flash" (1.3) by Franc1sco franug, Twisted|Panda (Orig: SAMURAI16/Kigen)
  27 "Sound Commands" (1.10.0.6455) by AlliedModders LLC
  28 "AbNeR ResetScore" (1.4) by AbNeR_CSS
  29 "SMAC Aimbot Detector" (0.8.6.0) by SMAC Development Team
  30 "Basic Votes" (1.10.0.6455) by AlliedModders LLC
  31 "AFK MANAGER edit version" by Dr. Api
  32 "Basic Commands" (1.10.0.6455) by AlliedModders LLC
  33 "Basic Chat" (1.9.0.6281) by AlliedModders LLC
  34 "Sloneczne Powitanie" by EMCE edit PyNiO ™
  35 <Failed> "BombSite" (0.1) by naXe
  36 "Chat Colors CSGO" (1.2) by Phoenix - Феникс
  37 "Reklama Say" (1.2) by rs edit emce
  38 "Tagi" (1.3) by That One Guy
  39 "Basic Info Triggers" (1.10.0.6455) by AlliedModders LLC
  40 "SourceMod Anti-Cheat" (0.8.6.0) by SMAC Development Team
  41 "Simple Chat Processor (Redux)" (1.1.5) by Simple Plugins, Mini
  42 "Disable Game Sounds"
  43 "[VIP] Dodatki dla Vipa" by PyNiO
  44 "[VIP] Dodatki dla Vipa" by PyNiO
  45 "Admin File Reader" (1.10.0.6455) by AlliedModders LLC
  46 "SwapTeam" by Rogue - Originally by MistaGee
  47 "SourceBans++: SourceSleuth" (1.6.3) by ecca, SourceBans++ Dev Team
  48 "Admin all spec" (1.0.2) by Dr!fter
  49 "[CS:GO/CSS] AbNeR Round End Sounds" (4.0.1) by abnerfs
  50 "SMAC EAC Global Banlist" (0.8.6.0) by SMAC Development Team
  51 "Weapons & Knives" (1.5.0) by kgns | oyunhost.net
  52 "SMAC Anti-Speedhack" (0.8.6.3) by SMAC Development Team (original), Mr. Silence (updated)
  53 "Weapon Restrict" (3.1.7) by Dr!fter
  54 "SklepCS.pl" (1.2.7) by Adi - live4net
  55 "Simple Stealth" (1.0) by Potatoz
  56 "HIGH PING KICKER edit version" by Dr. Api
  57 "CS:GO Double Jump" (1.3OPRC) by Darkranger,(original Script from Peagus)
  58 "KickZaNick" (1.00) by PyNiO ™
  59 "SourceBans++ Report Plugin" (1.6.3) by RumbleFrog, SourceBans++ Dev Team
  60 "Anti-Flood" (1.10.0.6455) by AlliedModders LLC
  61 "Client Preferences" (1.10.0.6455) by AlliedModders LLC
  62 "Lista Administracji" (1.00) by Inext
  63 <Failed> "GOTV fix | EMCE" by Sloneczny-Dust.pl
  64 <Error> "Rank System [FINAL]" (4.0.3 FINAL) by Mesharsky / Charlie W.
  65 <Failed> "Admin Menu" (1.10.0.6455) by AlliedModders LLC
  66 "Team Names" (1.1) by Internet Bully
  67 "SourceBans++: Admin Config Loader" (1.6.3) by AlliedModders LLC, SourceBans++ Dev Team
  68 "Vip Menu" (1.7)
  69 <Failed> "Rank System - Hazard Module" (4.0.3) by Charlie W. / Mesharsky
  70 "SourceBans++: Bans Checker" (1.6.3) by psychonic, Ca$h Munny, SourceBans++ Dev Team
Errors:
H2K_Vip (1).smx ([CSGO] Zaawansowany system VIP na serwery CSGO): Fatal error during plugin initialization (ext req)
bombsite.smx (BombSite): Fatal error during plugin initialization (ext req)
gotv_map_fix.smx (GOTV fix | EMCE): Fatal error during plugin initialization (ext req)
h2k_rangi.smx (Rank System [FINAL]): Error detected in plugin startup (see error logs)
adminmenu.smx (Admin Menu): Fatal error during plugin initialization (ext req)
h2k_rangi-Hazard.smx (Rank System - Hazard Module): Could not find required plugin "h2k_rangi"

 

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Gość
Napisano (edytowane)

Wygląda na to, że siada Ci jakiś extension. Nie jestem co do tego pewny, bo z zawartości którą dodałeś wróżyć, to trochę jak z wróżyć z fusów.

Nie mam kodów tych pluginów, więc nie jestem w stanie powiedzieć jaki to extension.

Jaka wersja SM? 😛 

Edytowane przez Gość

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Wersja SM:

1.10.0.6488

Pluginy, te które się wyłączają:

 

H2K_Vip (1).smx - 

 

bombsite.smx (BombSite): Fatal error during plugin initialization (ext req)
Spoiler

#pragma semicolon 1

#include <sourcemod>
#include <sdktools>
#include <multicolors>

public Plugin:myinfo = {
    name = "BombSite",
    author = "naXe",
    description = "Blokuje jeden Bombside, gdy jest mniej CT",
    version = "0.1",
    url = "http://mygo.pl/
Hej! Skorzystałeś z linku lub pobrałeś załącznik? Uhonoruj naszą pracę poprzez rejestrację na forum i rośnij razem z nami!
"
};

const numCT = 5; //jeśli będzie mniej CT niż wartość tej zmiennej to bombsite B zostanie zablokowany

new BombSiteEnt[2];
new bool:BombSiteStatus;
new String:BombSiteName[2][7];

public OnPluginStart() {
    HookEvent("round_start", RoundStart, EventHookMode_Post);
    HookEvent("bomb_pickup", BombPickup);
}

public OnMapStart() {
    new BombSite[2], String:MapName[32];
    GetCurrentMap(MapName, 32);

    if(StrEqual(MapName, "de_dust2")) {
        BombSite[0] = 1;
        BombSiteName[0] = "B";

        BombSite[1] = 0;
        BombSiteName[1] = "A";
    }
    else if(StrEqual(MapName, "de_dus2_old")) {
        BombSite[0] = 0;
        BombSiteName[0] = "A";

        BombSite[1] = 1;
        BombSiteName[1] = "B";
    }
    else if(StrEqual(MapName, "de_nuke")) {
        BombSite[0] = 0;
        BombSiteName[0] = "Dolny";

        BombSite[1] = 1;
        BombSiteName[1] = "Górny";
    }
    else if(StrEqual(MapName, "de_inferno")) {
        BombSite[0] = 0;
        BombSiteName[0] = "Mały";

        BombSite[1] = 1;
        BombSiteName[1] = "Duży";
    }
    else if(StrEqual(MapName,  "cs_")) {
        
    }
    else if(StrEqual(MapName, "de_dust2")) {
        BombSite[0] = 0;
        BombSiteName[0] = "Dolny";

        BombSite[1] = 1;
        BombSiteName[1] = "Górny";
    }
    else {
        BombSite[0] = 0;
        BombSiteName[0] = "A";

        BombSite[1] = 1;
        BombSiteName[1] = "B";
    }

    BombSiteEnt[BombSite[0]] = FindEntityByClassname(-1, "func_bomb_target");
    BombSiteEnt[BombSite[1]] = FindEntityByClassname(BombSiteEnt[BombSite[0]], "func_bomb_target");
}

public Action:RoundStart(Handle:event, const String:name[], bool:dontBroadcast) {
    CreateTimer(20.0, BombLock); 
}

public Action:BombLock(Handle:timer)
{
    BombSiteStatus = GetTeamClientCount(3) < numCT ? true : false;

    AcceptEntityInput(BombSiteEnt[1], BombSiteStatus ? "Disable" : "Enable");
    if(BombSiteStatus) CPrintToChatAll("\x04BombSite %s\x01 został zablokowany, ponieważ jest mniej niż\x02 %i CT!", BombSiteName[0], numCT);
}


public Action:BombPickup(Handle:event, const String:name[], bool:dontBroadcast) {
    new id = GetClientOfUserId(GetEventInt(event, "userid"));

    if(!(1 <= id <= MaxClients) || !IsClientInGame(id) || !IsPlayerAlive(id) || !BombSiteStatus) return;

    CPrintToChat(id, "\x03WAŻNE!\x01 BombSite %s jest zablokowany!", BombSiteName[0]);
}

gotv_map_fix.smx (GOTV fix | EMCE): Fatal error during plugin initialization (ext req)
Spoiler

#include <sourcemod>
#pragma semicolon 1

new String:mapname[64];
new MapIsReloading;

public Plugin myinfo = 
{ 
  name = "GOTV fix | EMCE"
  author = "Sloneczny-Dust.pl"
}; 

public OnMapStart()
{
    HookEvent("player_disconnect", PlayerDisconnected,EventHookMode_Post);
    GetCurrentMap(mapname, sizeof(mapname));
    MapIsReloading = 0;
}

public Action:PlayerDisconnected(Handle:event, const String:name[], bool:dontBroadcast)
{
    decl String:s_reason[256];
    GetEventString(event,"reason", s_reason, sizeof(s_reason));
    if(StrContains(s_reason, "Punting bot", false) != -1)
    {
        if(GetClientCount() < 2 && MapIsReloading == 0)
        {
            ForceChangeLevel(mapname,"Restarting map");
            LogMessage("Restarting map");
            MapIsReloading = 1;
        }
    }
    return Plugin_Continue;
}  

h2k_rangi.smx (Rank System [FINAL]): Error detected in plugin startup (see error logs)
adminmenu.smx (Admin Menu): Fatal error during plugin initialization (ext req) [Podstawowy plugin z czystej paczki SM]
Spoiler

/**
 * vim: set ts=4 :
 * =============================================================================
 * SourceMod Admin Menu Plugin
 * Creates the base admin menu, for plugins to add items to.
 *
 * SourceMod (C)2004-2008 AlliedModders LLC.  All rights reserved.
 * =============================================================================
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License, version 3.0, as published by the
 * Free Software Foundation.
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * As a special exception, AlliedModders LLC gives you permission to link the
 * code of this program (as well as its derivative works) to "Half-Life 2," the
 * "Source Engine," the "SourcePawn JIT," and any Game MODs that run on software
 * by the Valve Corporation.  You must obey the GNU General Public License in
 * all respects for all other code used.  Additionally, AlliedModders LLC grants
 * this exception to all derivative works.  AlliedModders LLC defines further
 * exceptions, found in LICENSE.txt (as of this writing, version JULY-31-2007),
 * or <http://www.sourcemod.net/license.php>.
 *
 * Version: $Id$
 */

#pragma semicolon 1

#include <sourcemod>
#include <topmenus>

#pragma newdecls required

public Plugin myinfo = 
{
    name = "Admin Menu",
    author = "AlliedModders LLC",
    description = "Administration Menu",
    version = SOURCEMOD_VERSION,
    url = "http://www.sourcemod.net/
Hej! Skorzystałeś z linku lub pobrałeś załącznik? Uhonoruj naszą pracę poprzez rejestrację na forum i rośnij razem z nami!
"
};

/* Forwards */
GlobalForward hOnAdminMenuReady;
GlobalForward hOnAdminMenuCreated;

/* Menus */
TopMenu hAdminMenu;

/* Top menu objects */
TopMenuObject obj_playercmds = INVALID_TOPMENUOBJECT;
TopMenuObject obj_servercmds = INVALID_TOPMENUOBJECT;
TopMenuObject obj_votingcmds = INVALID_TOPMENUOBJECT;

#include "adminmenu/dynamicmenu.sp"

public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max)
{
    CreateNative("GetAdminTopMenu", __GetAdminTopMenu);
    CreateNative("AddTargetsToMenu", __AddTargetsToMenu);
    CreateNative("AddTargetsToMenu2", __AddTargetsToMenu2);
    RegPluginLibrary("adminmenu");
    return APLRes_Success;
}

public void OnPluginStart()
{
    LoadTranslations("common.phrases");
    LoadTranslations("adminmenu.phrases");
    
    hOnAdminMenuCreated = new GlobalForward("OnAdminMenuCreated", ET_Ignore, Param_Cell);
    hOnAdminMenuReady = new GlobalForward("OnAdminMenuReady", ET_Ignore, Param_Cell);

    RegAdminCmd("sm_admin", Command_DisplayMenu, ADMFLAG_GENERIC, "Displays the admin menu");
}

public void OnConfigsExecuted()
{
    char path[PLATFORM_MAX_PATH];
    char error[256];
    
    BuildPath(Path_SM, path, sizeof(path), "configs/adminmenu_sorting.txt");
    
    if (!hAdminMenu.LoadConfig(path, error, sizeof(error)))
    {
        LogError("Could not load admin menu config (file \"%s\": %s)", path, error);
        return;
    }
}

public void OnMapStart()
{
    ParseConfigs();
}

public void OnAllPluginsLoaded()
{
    hAdminMenu = new TopMenu(DefaultCategoryHandler);
    
    obj_playercmds = hAdminMenu.AddCategory("PlayerCommands", DefaultCategoryHandler);
    obj_servercmds = hAdminMenu.AddCategory("ServerCommands", DefaultCategoryHandler);
    obj_votingcmds = hAdminMenu.AddCategory("VotingCommands", DefaultCategoryHandler);
        
    BuildDynamicMenu();
    
    Call_StartForward(hOnAdminMenuCreated);
    Call_PushCell(hAdminMenu);
    Call_Finish();
    
    Call_StartForward(hOnAdminMenuReady);
    Call_PushCell(hAdminMenu);
    Call_Finish();
}

public void DefaultCategoryHandler(TopMenu topmenu, 
                        TopMenuAction action,
                        TopMenuObject object_id,
                        int param,
                        char[] buffer,
                        int maxlength)
{
    if (action == TopMenuAction_DisplayTitle)
    {
        if (object_id == INVALID_TOPMENUOBJECT)
        {
            Format(buffer, maxlength, "%T:", "Admin Menu", param);
        }
        else if (object_id == obj_playercmds)
        {
            Format(buffer, maxlength, "%T:", "Player Commands", param);
        }
        else if (object_id == obj_servercmds)
        {
            Format(buffer, maxlength, "%T:", "Server Commands", param);
        }
        else if (object_id == obj_votingcmds)
        {
            Format(buffer, maxlength, "%T:", "Voting Commands", param);
        }
    }
    else if (action == TopMenuAction_DisplayOption)
    {
        if (object_id == obj_playercmds)
        {
            Format(buffer, maxlength, "%T", "Player Commands", param);
        }
        else if (object_id == obj_servercmds)
        {
            Format(buffer, maxlength, "%T", "Server Commands", param);
        }
        else if (object_id == obj_votingcmds)
        {
            Format(buffer, maxlength, "%T", "Voting Commands", param);
        }
    }
}

public any __GetAdminTopMenu(Handle plugin, int numParams)
{
    return hAdminMenu;
}

public int __AddTargetsToMenu(Handle plugin, int numParams)
{
    bool alive_only = false;
    
    if (numParams >= 4)
    {
        alive_only = GetNativeCell(4);
    }
    
    return UTIL_AddTargetsToMenu(GetNativeCell(1), GetNativeCell(2), GetNativeCell(3), alive_only);
}

public int __AddTargetsToMenu2(Handle plugin, int numParams)
{
    return UTIL_AddTargetsToMenu2(GetNativeCell(1), GetNativeCell(2), GetNativeCell(3));
}

public Action Command_DisplayMenu(int client, int args)
{
    if (client == 0)
    {
        ReplyToCommand(client, "[SM] %t", "Command is in-game only");
        return Plugin_Handled;
    }
    
    hAdminMenu.Display(client, TopMenuPosition_Start);
    return Plugin_Handled;
}

stock int UTIL_AddTargetsToMenu2(Menu menu, int source_client, int flags)
{
    char user_id[12];
    char name[MAX_NAME_LENGTH];
    char display[MAX_NAME_LENGTH+12];
    
    int num_clients;
    
    for (int i = 1; i <= MaxClients; i++)
    {
        if (!IsClientConnected(i) || IsClientInKickQueue(i))
        {
            continue;
        }
        
        if (((flags & COMMAND_FILTER_NO_BOTS) == COMMAND_FILTER_NO_BOTS)
            && IsFakeClient(i))
        {
            continue;
        }
        
        if (((flags & COMMAND_FILTER_CONNECTED) != COMMAND_FILTER_CONNECTED)
            && !IsClientInGame(i))
        {
            continue;
        }
        
        if (((flags & COMMAND_FILTER_ALIVE) == COMMAND_FILTER_ALIVE) 
            && !IsPlayerAlive(i))
        {
            continue;
        }
        
        if (((flags & COMMAND_FILTER_DEAD) == COMMAND_FILTER_DEAD)
            && IsPlayerAlive(i))
        {
            continue;
        }
        
        if ((source_client && ((flags & COMMAND_FILTER_NO_IMMUNITY) != COMMAND_FILTER_NO_IMMUNITY))
            && !CanUserTarget(source_client, i))
        {
            continue;
        }
        
        IntToString(GetClientUserId(i), user_id, sizeof(user_id));
        GetClientName(i, name, sizeof(name));
        Format(display, sizeof(display), "%s (%s)", name, user_id);
        menu.AddItem(user_id, display);
        num_clients++;
    }
    
    return num_clients;
}

stock int UTIL_AddTargetsToMenu(Menu menu, int source_client, bool in_game_only, bool alive_only)
{
    int flags = 0;
    
    if (!in_game_only)
    {
        flags |= COMMAND_FILTER_CONNECTED;
    }
    
    if (alive_only)
    {
        flags |= COMMAND_FILTER_ALIVE;
    }
    
    return UTIL_AddTargetsToMenu2(menu, source_client, flags);
}

 

Dziwi mnie tylko, że to raz na jakiś czas się po prostu wyłącza i nic nie pomaga na to, oprócz oczywiście poczekania tych 30-40 minut i zresetowania serwera.

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach

Wiadomość wygenerowana automatycznie

 

Brak rozwiązania problemu

Jeżeli się z tym nie zgadzasz, raportuj ten post

Udostępnij tę odpowiedź


Odnośnik do odpowiedzi
Udostępnij na innych stronach
Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.

×
×
  • Dodaj nową pozycję...