Stránka 1 z 1

Engine 6027

Napsal: 25 srp 2013, 16:32
od scorpione
První výraznější problém s engine 6027, je pád serveru při změně mapy.

Screenlog : Prechace_generic Bad String

Doporučuji fixnout pluginem zde:

Kód: Vybrat vše

#include < amxmodx >

// #pragma semicolon 1

#define PLUGIN "17b Res utf BOM remover"
#define VERSION "0.0.1"

new Trie:g_tDefaultRes

public plugin_init()
{
    register_plugin( PLUGIN, VERSION, "ConnorMcLeod" );
    g_tDefaultRes = TrieCreate()
    TrieSetCell( g_tDefaultRes , "de_storm.res", 1);
    TrieSetCell( g_tDefaultRes , "default.res", 1);

    set_task(10.0, "Clean_Res_Files");
}

public Clean_Res_Files()
{
    new szMapsFolder[] = "maps";
    new const szResExt[] = ".res";
    new szResFile[64], iLen;
    new dp = open_dir(szMapsFolder, szResFile, charsmax(szResFile));
     
    if( !dp )
    {
        return;
    }

    // server_print("Opening %s folder (%s)", szMapsFolder, szResFile)
    new szFullPathFileName[128];
    do
    {
        // server_print("Proceeding %s", szResFile)
        iLen = strlen(szResFile)
        if( iLen > 4 && equali(szResFile[iLen-4], szResExt) )
        {
            if( TrieKeyExists(g_tDefaultRes, szResFile) )
            {
                // server_print("Default %s file, continuing...", szResFile)
                continue
            }
             
            formatex(szFullPathFileName, charsmax(szFullPathFileName), "%s/%s", szMapsFolder, szResFile)
            write_file(szFullPathFileName, "/////////////////////////////////////////////////////////////^n", 0);
            server_print("Proceeded %s", szResFile);
        }
    }
    while( next_file(dp, szResFile, charsmax(szResFile)) )
     
    close_dir(dp)



Stačí jen zkompilovat.

Re: Engine 6027

Napsal: 25 srp 2013, 17:59
od Qefik
Já jsem žádný takový problém nezaznamenal. Jak si měnil mapu? Co máš za verzi amxx a metamodu?

Re: Engine 6027

Napsal: 25 srp 2013, 19:46
od scorpione
Zkus nějakou neoficiální mapu :)

Ono nejde o engine, spíše o mapy, které jsou staré.

Re: Engine 6027

Napsal: 25 srp 2013, 19:55
od Qefik
Chtělo by to vidět co píše v konzoli. Případně konkrétně jaká mapa ti to dělá?

Re: Engine 6027

Napsal: 25 srp 2013, 19:57
od scorpione
Tady jsem to našel, dříve nebo později se na to určitě někdo bude ptát.


http://forums.alliedmods.net/showthread.php?p=1984400

Re: Engine 6027

Napsal: 25 srp 2013, 20:02
od Qefik
Spoiler: zobrazit

Kód: Vybrat vše

hostname: Counter-Strike
version : 48/1.1.2.7/Stdio 6027 secure (10)
tcp/ip : 81.0.217.174:27475
map : awp_gowenna at: 0 x, 0 y, 0 z
players : 0 active (10 max)

# name userid uniqueid frag time ping loss adr
0 users
amx_plugins
Currently loaded plugins:
name version author file status
[ 1] Admin Base 1.8.2 AMXX Dev Team admin.amxx running
[ 2] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running
[ 3] Admin Help 1.8.2 AMXX Dev Team adminhelp.amxx running
[ 4] Slots Reservation 1.8.2 AMXX Dev Team adminslots.amxx running
[ 5] Multi-Lingual System 1.8.2 AMXX Dev Team multilingual.am running
[ 6] Menus Front-End 1.8.2 AMXX Dev Team menufront.amxx running
[ 7] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running
[ 8] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running
[ 9] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running
[ 10] Plugin Menu 1.8.2 AMXX Dev Team pluginmenu.amxx running
[ 11] Admin Chat 1.8.2 AMXX Dev Team adminchat.amxx running
[ 12] Anti Flood 1.8.2 AMXX Dev Team antiflood.amxx running
[ 13] Scrolling Message 1.8.2 AMXX Dev Team scrollmsg.amxx running
[ 14] Info. Messages 1.8.2 AMXX Dev Team imessage.amxx running
[ 15] Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running
[ 16] NextMap 1.8.2 AMXX Dev Team nextmap.amxx running
[ 17] Nextmap Chooser 1.8.2 AMXX Dev Team mapchooser.amxx running
[ 18] TimeLeft 1.8.2 AMXX Dev Team timeleft.amxx running
[ 19] Pause Plugins 1.8.2 AMXX Dev Team pausecfg.amxx running
[ 20] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running
20 plugins, 20 running
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm_i386. v1.8.2 ini Start ANY
1 plugins, 1 running


Já nemám žádný problém. Co máš za metamod, co máš za amxx? Jaký používáš plugin na správu map?

Re: Engine 6027

Napsal: 31 srp 2013, 14:07
od Martin.cz
Ano to co píše v prvním postu je potřeba u některých starých map jako např. awp_gowenna
Již zkompilovaný plugin zde

Re: Engine 6027

Napsal: 01 zář 2013, 01:08
od Qefik
Zajímavé, mě to govennu normálně načetlo...