Merhaba Arkadaşlar Server'de Oyuncu Varken Zm Haritasindan de_dust2 Haritasina Geçiş Yaptığımda Bu Hatayı Alıyorum..
Sadece Bu Pluginde Değil Daha Bi Sürü Plugin Debug Hatasi Veriyor Ama Hepsinde Yazan Yazı Aynı (native "zp_get_user_zombie") Yazıyor Hepsinde Demekki Hepsinin Ana Sorunu Bu "zp_get_user_zombie" Neyse Artık Bu Hata Anlamadım.
Debug Mesajı Bu ;
Kod:
L 02/13/2014 - 19:41:47: Start of error session.
L 02/13/2014 - 19:41:47: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20140213.log")
L 02/13/2014 - 19:41:47: [ZP] Invalid Player (1)
L 02/13/2014 - 19:41:47: [AMXX] Run time error 10 (plugin "zp_extra_radar.amxx") (native "zp_get_user_zombie") - debug not enabled!
L 02/13/2014 - 19:41:47: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
L 02/13/2014 - 19:41:49: [ZP] Invalid Player (1)
L 02/13/2014 - 19:41:49: [AMXX] Run time error 10 (plugin "zp_extra_radar.amxx") (native "zp_get_user_zombie") - debug not enabled!
L 02/13/2014 - 19:41:49: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
Debug Ayarı Yaptıktan Sonraki Hata ;
Kod:
L 02/13/2014 - 20:41:45: [ZP] Invalid Player (1)
L 02/13/2014 - 20:41:45: [AMXX] Displaying debug trace (plugin "zp_extra_radar.amxx")
L 02/13/2014 - 20:41:45: [AMXX] Run time error 10: native error (native "zp_get_user_zombie")
L 02/13/2014 - 20:41:45: [AMXX] [0] zp_extra_radar_experimental.sma::radar_scan (line 107)
İlgili Eklenti ;
Kod:
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "event_round_start", "a")
RegisterHam(Ham_Killed, "player", "fw_PlayerKilled")
g_msgHostageAdd = get_user_msgid("HostagePos")
g_msgHostageDel = get_user_msgid("HostageK")
cvar_zp_radar_beep = register_cvar("zp_radar_beep", "1")
cvar_zp_radar_single_round = register_cvar("zp_radar_single_round", "0")
cvar_zp_radar_show_dead = register_cvar("zp_radar_show_dead", "0")
cvar_zp_radar_sound = register_cvar("zp_radar_sound", "zombie_plague/nes_8bit_alien3_radar_beep1.wav")
static new_sound[2]
get_pcvar_string(cvar_zp_radar_sound, new_sound, charsmax(new_sound))
strtolower(new_sound)
copy(sound_radar_beep, 255, new_sound)
g_maxplayers = get_maxplayers()
g_itemid_radar = zp_register_extra_item("Radar Scanner", 10, ZP_TEAM_HUMAN)
for (new i = 1; i<=g_maxplayers;i++) player_has_radar[i] = false;
set_task (2.0,"radar_scan",_,_,_,"b");
}
public radar_scan()
{
new zombie_count = 0;
new zombie_list[32];
new ZombieCoords[3];
new id, i;
for (new id=1; id<=g_maxplayers; id++)
{
if (zp_radar_show_dead)
{
if (zp_get_user_zombie(id))
{
zombie_count++;
zombie_list[zombie_count]=id;
}
}
else
{
if ((zp_get_user_zombie(id))&&(is_user_alive(id)))
{
zombie_count++;
zombie_list[zombie_count]=id;
}
}
}
for (id=1; id<=g_maxplayers; id++)
{
if ((!is_user_alive(id))||(!player_has_radar[id])) continue;
for (i=1;i<=zombie_count;i++)
{
get_user_origin(zombie_list[i], ZombieCoords)
message_begin(MSG_ONE_UNRELIABLE, g_msgHostageAdd, {0,0,0}, id)
write_byte(id)
write_byte(i)
write_coord(ZombieCoords[0])
write_coord(ZombieCoords[1])
write_coord(ZombieCoords[2])
message_end()
message_begin(MSG_ONE_UNRELIABLE, g_msgHostageDel, {0,0,0}, id)
write_byte(i)
message_end()
}
if (zp_radar_beep) emit_sound(id, CHAN_ITEM, sound_radar_beep, 1.0, ATTN_NORM, 0, PITCH_NORM);
}
}
Amxx Plugins
Kod:
Zombie Plague ext 1.3 Sonic Son'edit zp_extra_radar. debug
[ZP] Alev zombi 1.2 LARP zp_class_flame. running
[ZP] Reflects Zom 1.0 MaTeO zp_class_kamufl running
No crosshair for 1.0 Sn!ff3r zp_no_crosshair running
Extra Item Jetpac 3.2 B!gBud zp_extra_jetpac running
Camera Changer 1.1.1 SeCkIn camera.amxx ru
Amxx Modules
Kod:
Engine 1.8.2 AMX Mod X Dev Team running
FakeMeta 1.8.2 AMX Mod X Dev Team running
GeoIP 1.8.2 AMX Mod X Dev Team running
nVault 1.8.2 AMX Mod X Dev Team running
CStrike 1.8.2 AMX Mod X Dev Team running
CSX 1.8.2 AMX Mod X Dev Team running
Ham Sandwich 1.8.2 AMX Mod X Dev Team running
Orpheu 2.5.1 joaquimandrade & Ar running
Fun 1.8.2 AMX Mod X Dev Team running
Sma Dosyası ;
zp_extra_radar.sma