Allied Modders en español

Versión completa: [ZP] Ayuda human class error
Actualmente estas viendo una versión simplificada de nuestro contenido. Ver la versión completa con el formato correcto.
Hola, estaba intentando colocar el menu de class meno asi como el de zombie class menu, basandome con un zombie palgue 4.3 + class humans, hice zp_hclasses40.sma me dio errores y agrege lo que hacia falta en el inc del zombie plague y copilo sin problemas pero fui a colocar el menu en el sma del zombie plague cuando termine lo copile y me salen muchos errores Cutecry ayudaaa xd im new :'v

errores al copilar:

Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "load_customization_from_files" on line 1123
Error: Undefined symbol "native_register_extra_item2" on line 1128
Error: Undefined symbol "native_register_extra_item2" on line 1129
Error: Undefined symbol "native_register_extra_item2" on line 1130
Error: Undefined symbol "native_register_extra_item2" on line 1131
Error: Undefined symbol "native_register_extra_item2" on line 1137
Error: Undefined symbol "fm_set_kvd" on line 1549
Error: Undefined symbol "fm_set_kvd" on line 1550
Error: Undefined symbol "load_spawns" on line 2000
Error: Undefined symbol "save_customization" on line 2051
Error: Undefined symbol "fm_cs_get_user_team" on line 2131
Error: Undefined symbol "save_stats" on line 2137
Error: Undefined symbol "ambience_sound_stop" on line 2160
Error: Undefined symbol "fnGetZombies" on line 2165
Error: Undefined symbol "PlaySound" on line 2173
Error: Undefined symbol "fnGetHumans" on line 2179
Error: Undefined symbol "PlaySound" on line 2187
Error: Undefined symbol "PlaySound" on line 2201
Error: Undefined symbol "PlaySound" on line 2215
Error: Undefined symbol "balance_teams" on line 2222
Error: Undefined symbol "fm_cs_get_user_team" on line 2324
Error: Undefined symbol "do_random_spawn" on line 2341
Error: Undefined symbol "reset_vars" on line 2358
Error: Undefined symbol "zombieme" on line 2364
Error: Undefined symbol "fm_set_user_health" on line 2367
Error: Undefined symbol "zombieme" on line 2370

Compilation aborted.
26 Errors.
Could not locate output file C:\Users\pc\Desktop\cs-palmas\plugins copilados listos\zombie_plague_advance_v1-6-1.amx (compile failed).
Los 26 errores, Te faltó cerrar alguna condición, alguna "}" (llave), fijate con las últimas modificaciones que le hiciste y lo vas a encontrar
(19/01/2019, 12:57 AM)warrior escribió: [ -> ]Los 26 errores, Te faltó cerrar alguna condición, alguna "}" (llave), fijate con las últimas modificaciones que le hiciste y lo vas a encontrar

si pero no se donde ya vi y vi y no veo donde >_< creo que me equivoque en algo nahh Ragestart
Deja el código para verificarlo . ?
-comentario eliminado-
gracias... Whatdone
buehh Whatever como nadie me ayudo pos intente volverlo hacer y pos vi que me faltaron unas cosas que pase por alto, pero ahora me dan 4 errores Whatdone ayuda pls xD

errores:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright © 1997-2006 ITB CompuPhase, AMX Mod X Team

Error: Undefined symbol "MENU_PAGE_HCLASS" on line 4150
Error: Undefined symbol "MENU_PAGE_HCLASS" on line 4150
Error: Expected token: ";", but found ")" on line 4150
Error: Too many error messages on one line on line 4150

Compilation aborted.
4 Errors.
Could not locate output file C:\Users\pc\Desktop\cs-palmas\plugins copilados listos\zombie_plague_advance_v1-6-1.amx (compile failed).

pd: gracias warrior, lo volví hacer porque como dijiste que verificara xd pues vi muchas veces y no vi nada de erroes en los símbolos, así que mejor lo hice desde el principio otra vez y lo que vi fue que pase muchas partes por alto y no las coloque entonces con razón daban errores seguro habías partes que no coincidían, fue como por la mitad del sma creo que fue cuando pensé que no había nada importante y pase rápido sin leer con cuidado y ahí fue donde vi que me comí varias partes :3 pero ahora me salen esos 4 errores >_<

ah no perdon, listo. era que estaba de mas eso.. siguiendo la configuración del menu zombie del zpa es distinto, es decir esa parte no la tiene xd solo eliminar y listo gracias igual.

Rainbow SOLUCIONADO

el problema estaba aqui

Código PHP:
Zombie Class Menu
public menu_zclass(idmenuiditem)
{
    
// Player disconnected?
    
if (!is_user_connected(id))
    {
        
menu_destroy(menuid)
        return 
PLUGIN_HANDLED;
    }
    
    
// Remember player's menu page
    
static menudummy
    player_menu_info
(idmenudummymenudummyMENU_PAGE_ZCLASS)
    
    
// Menu was closed
    
if (item == MENU_EXIT)
    {
        
menu_destroy(menuid)
        return 
PLUGIN_HANDLED;
    }
    
    
// Retrieve zombie class id
    
static buffer[2], dummyclassid
    menu_item_getinfo
(menuiditemdummybuffercharsmax(buffer), __dummy)
    
classid buffer[0]
    
    
// Store selection for the next infection
    
g_zombieclassnext[id] = classid
    
    
static name[32]
    
ArrayGetString(g_zclass_nameg_zombieclassnext[id], namecharsmax(name))
    
    
// Show selected zombie class info and stats
    
zp_colored_print(id"^x04[ZP]^x01 %L: %s"id"ZOMBIE_SELECT"name)
    
zp_colored_print(id"^x04[ZP]^x01 %L: %d %L: %d %L: %d %L: %d%%"id"ZOMBIE_ATTRIB1"ArrayGetCell(g_zclass_hpg_zombieclassnext[id]), id"ZOMBIE_ATTRIB2"ArrayGetCell(g_zclass_spdg_zombieclassnext[id]),
    
id"ZOMBIE_ATTRIB3"floatround(Float:ArrayGetCell(g_zclass_gravg_zombieclassnext[id]) * 800.0), id"ZOMBIE_ATTRIB4"floatround(Float:ArrayGetCell(g_zclass_kbg_zombieclassnext[id]) * 100.0))
    
    
menu_destroy(menuid)
    return 
PLUGIN_HANDLED;
}

// Human Class Menu
public menu_hclass(idmenuiditem)
{
    
// Player disconnected?
    
if (!is_user_connected(id))
    {
        
menu_destroy(menuid)
        return 
PLUGIN_HANDLED;
    }
    
    
// Remember player's menu page
    
static menudummy
    player_menu_info
(idmenudummymenudummyMENU_PAGE_HCLASS)
    
    
// Menu was closed
    
if (item == MENU_EXIT)
    {
        
menu_destroy(menuid)
        return 
PLUGIN_HANDLED;
    }
    
    
// Retrieve zombie class id
    
static buffer[2], dummyclassid
    menu_item_getinfo
(menuiditemdummybuffercharsmax(buffer), __dummy)
    
classid buffer[0]
    
    
// Store selection for the next infection
    
g_humanclassnext[id] = classid
    
    
static name[32]
    
ArrayGetString(g_hclass_nameg_humanclassnext[id], namecharsmax(name))
    
    
// Show selected human class info and stats
    
zp_colored_print(id"^x04[ZP]^x01 En tu proxima reaparición tu clase será: %s"name)
    
zp_colored_print(id"^x04[ZP]^x01 %L: %d | %L: %d | %L: %d"id"HUMAN_ATTRIB1"ArrayGetCell(g_hclass_hpg_humanclassnext[id]),  id"HUMAN_ATTRIB2"ArrayGetCell(g_hclass_spdg_humanclassnext[id]),
    
id"HUMAN_ATTRIB3"floatround(Float:ArrayGetCell(g_hclass_gravg_humanclassnext[id]) * 800.0))
    
    
menu_destroy(menuid)
    return 
PLUGIN_HANDLED;


ahora va así xd tenia eso de "MENU_PAGE_HCLASS" con otras vainas ahi en el human class xd y como vi que el de zomie class no lo tenia ps con razón ahi estaba el problema pacman buehh ahora a probar si sirvio pacman porque soy tan suertudo en la vida, que compila pero no hace nada :'v

Motherofgod por eso dije... maldita sea Oh god why compilo pero aparte de que no hizo nada.. no hagarra el zp Whatdone me rindo en esa mrd.. es imposible poner el menu class human??? Cutecry njd Ragestart
que hice mal Dafuq
https://amxmodx-es.com/Thread-Zombie-Plague-4-3-HCLASS

EDIT: Agregale el debug en plugins.ini al mod después del ".amxx" y pasa los logs
(22/01/2019, 01:35 PM)Skylar escribió: [ -> ]https://amxmodx-es.com/Thread-Zombie-Plague-4-3-HCLASS

EDIT: Agregale el debug en plugins.ini al mod después del ".amxx" y pasa los logs

si ese el que estoy usando para basarme en mi zpa.. pero cuando lo termine sin los errores me salen un pocoton de logs en la consola y para completar el cs ya no es zp es como cs normal.. y ya tiene el debug el zp amxx Cutecry

(22/01/2019, 01:35 PM)Skylar escribió: [ -> ]https://amxmodx-es.com/Thread-Zombie-Plague-4-3-HCLASS

EDIT: Agregale el debug en plugins.ini al mod después del ".amxx" y pasa los logs

logs sin agregar las class humans:

Código:
useradd: user 'OGP_HOME_000000144' already exists

Auto-restarting the server on crash



Console initialized.

Using breakpad crash handler

Setting breakpad minidump AppID = 10

Forcing breakpad minidump interfaces to load

dlopen failed trying to load:

/home/OGP_HOME_000000144/.steam/sdk32/steamclient.so

with error:

/home/OGP_HOME_000000144/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory

Looking up breakpad interfaces from steamclient

Calling BreakpadMiniDumpSystemInit

Protocol version 48

Exe version 1.1.2.7/Stdio (cstrike)

Exe build: 09:47:42 Sep 29 2018 (1631)

STEAM Auth Server


Server IP address 74.91.127.86:27017



Metamod version 1.21p37 Copyright (c) 2001-2013 Will Day

Patch: Metamod-P (mm-p) v37 Copyright (c) 2004-2013 Jussi Kivilinna

Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `meta gpl' for details.





AMX Mod X version 1.8.2 Copyright (c) 2004-2006 AMX Mod X Development Team

AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.

This is free software and you are welcome to redistribute it under

certain conditions; type 'amxx gpl' for details.



[WHB] Version: 1.5.692 Linux (Usage SSE 4.1)

[WHB] Success: Build ReHLDS version defined Linux '1631'

[WHB] Success: Configuration executed.

L 01/22/2019 - 14:07:27: -------- Mapchange to zm_3rooms --------

stray key in process_key: item_getiteminfo 61

[AMXX] 4 administradores cargados del archivo

[ZP] Total de modos de juego personalizados registrados: 1

[ZP] Total de clases de zombies registrados: 6

[ZP] Total de Articulos Extra Registrados: 12

L 01/22/2019 - 14:07:27: Invalid multi-lingual line (file "cstrike/addons/amxmodx/data/lang/bonus_box.txt" line 1)

L 01/22/2019 - 14:07:27: Invalid multi-lingual line (file "cstrike/addons/amxmodx/data/lang/zp_bank.txt" line 1)

Menu item 17 added to Menus Front-End: "Nade Mode Menu" from plugin "NadeModes"

Executing AMX Mod X Configuration File

Frecuencia de aparicion del mensaje rotatorio: 10:00 minutos

[NadeModes] Executing config file ...

[NadeModes] Settings loaded from config file

[ZP] Configuration file zp_bank.cfg has been successfully read

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.

dlopen failed trying to load:

/home/OGP_HOME_000000144/.steam/sdk32/steamclient.so

with error:

/home/OGP_HOME_000000144/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory

Looking up breakpad interfaces from steamclient

Calling BreakpadMiniDumpSystemInit



0 plugins despausados

Menu item 18 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"

Menu item 19 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"

Connection to Steam servers successful.

VAC secure mode is activated.

L 01/22/2019 - 14:07:31: Did not ban any maps from mapstoban.ini file

L 01/22/2019 - 14:07:31: Loaded 0 Maps into the maps that will be picked for the vote

L 01/22/2019 - 14:07:31: 0 Maps were not loaded because they were the last maps played, or defined twice, or banned

L 01/22/2019 - 14:07:31: Found 85 Maps in your mapcycle.txt/allmaps.txt file, 80 are available for filling slots

L 01/22/2019 - 14:07:42: Attention, 0 Maps were found in the standardmaps.ini file. This is no problem, but the words Custom will not be used

Rcon from 201.208.132.88:27005:
'

codigos de logs en el sv y cuando compilo el zp plugin:
-cuando compilo el zp:

Código:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

Header size:           8396 bytes
Code size:           405096 bytes
Data size:           203296 bytes
Stack/heap size:      16384 bytes; max. usage is unknown, due to recursion
Total requirements:  633172 bytes
Done.
SIN ERRORES

los logs de la consola del sv:
Código:
/home/OGP_HOME_000000144/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory

Looking up breakpad interfaces from steamclient

Calling BreakpadMiniDumpSystemInit

Protocol version 48

Exe version 1.1.2.7/Stdio (cstrike)

Exe build: 09:47:42 Sep 29 2018 (1631)

STEAM Auth Server


Server IP address 74.91.127.86:27017



Metamod version 1.21p37 Copyright (c) 2001-2013 Will Day

Patch: Metamod-P (mm-p) v37 Copyright (c) 2004-2013 Jussi Kivilinna

Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.

This is free software, and you are welcome to redistribute it

under certain conditions; type `meta gpl' for details.





AMX Mod X version 1.8.2 Copyright (c) 2004-2006 AMX Mod X Development Team

AMX Mod X comes with ABSOLUTELY NO WARRANTY; for details type `amxx gpl'.

This is free software and you are welcome to redistribute it under

certain conditions; type 'amxx gpl' for details.



[WHB] Version: 1.5.692 Linux (Usage SSE 4.1)

[WHB] Success: Build ReHLDS version defined Linux '1631'

[WHB] Success: Configuration executed.

L 01/22/2019 - 14:28:53: -------- Mapchange to zm_3rooms --------

stray key in process_key: item_getiteminfo 61

[AMXX] 4 administradores cargados del archivo

[ZP] Total de modos de juego personalizados registrados: 1

[ZP] Total de clases de zombies registrados: 6

[ZP] Total de clases de humanos registrados: 5

[ZP] Total de Articulos Extra Registrados: 12

L 01/22/2019 - 14:28:54: Invalid multi-lingual line (file "cstrike/addons/amxmodx/data/lang/bonus_box.txt" line 1)

L 01/22/2019 - 14:28:54: Invalid multi-lingual line (file "cstrike/addons/amxmodx/data/lang/zp_bank.txt" line 1)

Menu item 17 added to Menus Front-End: "Nade Mode Menu" from plugin "NadeModes"

Executing AMX Mod X Configuration File

Frecuencia de aparicion del mensaje rotatorio: 10:00 minutos

[NadeModes] Executing config file ...

[NadeModes] Settings loaded from config file

[ZP] Configuration file zp_bank.cfg has been successfully read

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.

dlopen failed trying to load:

/home/OGP_HOME_000000144/.steam/sdk32/steamclient.so

with error:

/home/OGP_HOME_000000144/.steam/sdk32/steamclient.so: cannot open shared object file: No such file or directory

Looking up breakpad interfaces from steamclient

Calling BreakpadMiniDumpSystemInit



0 plugins despausados

Menu item 18 added to Menus Front-End: "Plugin Cvars" from plugin "pluginmenu.amxx"

Menu item 19 added to Menus Front-End: "Plugin Commands" from plugin "pluginmenu.amxx"

Connection to Steam servers successful.

VAC secure mode is activated.

L 01/22/2019 - 14:28:57: Did not ban any maps from mapstoban.ini file

L 01/22/2019 - 14:28:57: Loaded 0 Maps into the maps that will be picked for the vote

L 01/22/2019 - 14:28:57: 0 Maps were not loaded because they were the last maps played, or defined twice, or banned

L 01/22/2019 - 14:28:58: Found 85 Maps in your mapcycle.txt/allmaps.txt file, 81 are available for filling slots

L 01/22/2019 - 14:29:09: Attention, 0 Maps were found in the standardmaps.ini file. This is no problem, but the words Custom will not be used

Rcon from 201.208.132.88:27005:
Insecure Oh god why Rainbow

Dafuq que idiota soy Roflmao no habia activado el plugin zp_hclass.amxx en zp-plguins Cerealspit nojoda perdon perdon Whatdone es que me estrese por todos los intentos fallidos y cuando me sirvio no hice lo mas basico que tube que hacer njd xD listo ya agarro.

ahora solo un pequeño problema me sale ML_NOTFOUN :'v

con razon salia no hay clases de humanas cargadas Whatever xD ps claro no tenia activo el plugin amxx zp_hclass pacman y me salian como 10 errores de debug y no se que pero ya no sale nada pacman solo el ML_NOTFOUND ayuda con eso pls Excitedeyes tengo que agregar eso al idioma? en zp txt en lang? lo intentare a ver