Advanced Experience System 0.5

Статус
В этой теме нельзя размещать новые ответы.
Сообщения
11
Реакции
0
Неверный раздел форума
Ошибка
[AMXBans] amxbans.cfg успешно выполнен!
L 09/29/2019 - 01:54:12: [aes_bonus_system.amxx] [ERROR] can't find function "GiveHP" on line 76
L 09/29/2019 - 01:54:12: [aes_bonus_system.amxx] [ERROR] can't find function "GiveArmor" on line 84
L 09/29/2019 - 01:54:12: [aes_bonus_system.amxx] [ERROR] can't find function "pointBonus_GiveMegaGrenade" on line 92
L 09/29/2019 - 01:54:12: [aes_bonus_system.amxx] [ERROR] can't find function "pointBonus_GiveMegaDeagle" on line 98
L 09/29/2019 - 01:54:12: [aes_bonus_system.amxx] [ERROR] can't find function "roundBonus_Dmgr" on line 139
L 09/29/2019 - 01:54:12: [aes_bonus_system.amxx] [ERROR] can't find function "roundBonus_GiveDefuser" on line 145
L 09/29/2019 - 01:54:12: [aes_bonus_system.amxx] [ERROR] can't find function "roundBonus_GiveNV" on line 151
L 09/29/2019 - 01:54:12: [aes_bonus_system.amxx] [ERROR] can't find function "roundBonus_GiveArmor" on line 157
L 09/29/2019 - 01:54:12: [aes_bonus_system.amxx] [ERROR] can't find function "roundBonus_GiveHP" on line 163
[ReAuthCheck] Success: Configuration executed.
Список плагинов
[ 1] Admin Commands 1.8.2 AMXX Dev Team admincmd.amxx running 
[ 2] Slots Reservation 1.8.2 AMXX Dev Team adminslots.amxx running
[ 3] Admin Votes 1.8.2 AMXX Dev Team adminvote.amxx running
[ 4] Commands Menu 1.8.2 AMXX Dev Team cmdmenu.amxx running
[ 5] Maps Menu 1.8.2 AMXX Dev Team mapsmenu.amxx running
[ 6] Multi-Lingual System 1.8.2 AMXX Dev Team multilingual.am running
[ 7] New Kick Menu 1.3.2 Radius newkickmenu.amx running
[ 8] Players Menu 1.8.2 AMXX Dev Team plmenu.amxx running
[ 9] Stats Configuration 1.8.2 AMXX Dev Team statscfg.amxx running
[ 10] CSDM Spawn Editor 2.1.3d CSDM Team spawn_editor.am running
[ 11] Map Manager RU 1.2.2 Mistrick mapmanager_ru.a running
[ 12] unknown unknown unknown test_timevote.a running
[ 13] Back Weapons RBS 15.07.15 hoboman313/cheap backweapons_rbs running
[ 14] unknown unknown unknown test_autoteam.a running
[ 15] Reset Score 0.2 Silenttt / CepeH RESET_SCORE_V0. running
[ 16] [ZP] Extra: Unlimited 1.0 MeRcyLeZZ zp_extra_unlimi running
[ 17] Remove Drop Weapons 0.0.2 Athix Remove_Drop_Wea running
[ 18] Auto recording demo 2.0 IzI | Bonaqua (R amx_autodemorec running
[ 19] chec_hp 1.0 Sanja chec_hp.amxx running
[ 20] custom.hpk Control 2.0 Northon customhpk_contr running
[ 21] Fix AutoBuy Bug 1.1 PomanoB & UFPS.T autobuyfix.amxx running
[ 22] Autoresponder/Advertis 0.5 MaximusBrood ad_manager.amxx running
[ 23] Admin Check 1.51 OneEyed admin_check.amx running
[ 24] auto_change_map 1.0 Black_Hawk auto_change_map running
[ 25] V.I.P Custom Weapons 1.0.0 TaPaHTyL vip_custom.amxx running
[ 26] V.I.P Custom AK-47 1.0.0 TaPaHTyL custom_ak47.amx running
[ 27] V.I.P Custom AWP 1.0.0 TaPaHTyL custom_awp.amxx running
[ 28] V.I.P Custom DEAGLE 1.0.0 TaPaHTyL custom_deagle.a running
[ 29] V.I.P Custom KNIFE 1.0.0 Vaqtincha custom_knife.am running
[ 30] V.I.P Custom M4A1 1.0.0 TaPaHTyL custom_m4a1.amx running
[ 31] Advanced Experience Sy 0.5 Vega serfreeman1337 aes_main.amxx running
[ 32] AES: CStrike Addon 0.5 Vega serfreeman1337 aes_exp_cstrike running
[ 33] AES: Informer 0.5 Vega serfreeman1337 aes_informer.am running
[ 34] AES: Admin Tools 0.5 Vega serfreeman1337 aes_exp_editor. running
[ 35] AES: Bonus System 0.5.9 Vega serfreeman1337/s aes_bonus_syste running
[ 36] unknown unknown unknown aes_bonus_cstri error
[ 37] AES Bonus: Flags 0.2 Sonyx aes_bonus_flags running
[ 38] AES: StatsX 0.5+1 serfreeman1337 aes_statsx_cstr running
[ 39] Block Radio Commands 1.00 MaTTe radio_blok_tapa running
[ 40] Advert Messages 1.22 neygomon adverts.amxx running
[ 41] unknown unknown unknown admchat.amxx running
[ 42] Menus Front-End 1.5 neugomon menufront_end.a running
[ 43] MultiJump 1.1 twistedeuphoria multijump.amxx running
[ 44] AMXBans: Core Gm 1.6 Larte Team amxbans_core.am running
[ 45] AMXBans: Main Gm 1.6 Larte Team amxbans_main.am running
[ 46] Parachute 1.3 KRoT@L/JTP10181 amx_parachute.a running
[ 47] Kill Rewards 1.6 HoLLyWooD kill_rewards.am running
[ 48] Unlimited ChooseTeam ( 1.0 ConnorMcLeod & p live_to_spec.am running
[ 49] Quake Sounds 3.0 Hattrick QuakeSounds.amx running
[ 50] Death Sprite 1.0 DarkGL skull.amxx running
[ 51] Chat Manager 1.1.1-11 Mistrick chatmanager.amx running
[ 52] [ReAPI] Custom Models 1.6.1 neugomon custom_models.a running
[ 53] Killer screen fade 1.0 Flazh killerscreenfad running
[ 54] AMXX Gag 1.4.9 xPaw & Exolent amx_gag.amxx running
[ 55] Admin Spectator ESP 1.3 KoST admin_spec_esp. running
[ 56] I am AFK 1.0 Waleed i_am_afk.amxx running
[ 57] Auto-Give Privileges 1.0 SerGrib night_vips.amxx running
[ 58] Weapon Model + Sound R 1.2 GHW_Chronic new_weapons.amx running
[ 59] custom sky 1.1 cheap_suit customsky.amxx running
[ 60] Chat Logger 2.1a Jim chat_logger.amx running
[ 61] Ultimate Gore 1.6 JTP10181 amx_gore_ultima running
[ 62] VOTEBAN_BY_SLIMSHADY 3.0 SLIMSHADY_MOD voteban_by_slim running
[ 63] CSDM Main 2.1.1 CSDM Team csdm_main.amxx running
[ 64] CSDM Equip 2.1.1 CSDM Team csdm_equip.amxx running
[ 65] CSDM Mod 2.1.1 CSDM Team csdm_spawn_pres running
[ 66] CSDM Misc 2.1.1 CSDM Team csdm_misc.amxx running
[ 67] CSDM Protection 2.1.1 BAILOPAN csdm_protection running
[ 68] CSDM Main 2.1.1 CSDM Team csdm_ffa.amxx running
[ 69] AMXBans: Screens Gm 1.6 Larte Team amxbans_ssban.a running
( 36) Error: [ReAPI]: Api minor version mismatch; expected at least 10, real 2
69 plugins, 68 running
Версия SourceMod
ReHLDS
ОС
Linux
Версия Metamod
Metamod-r build: 18:09:02 Nov 19 2017 
Metamod-r from: https://github.com/theAsmodai/metamod-r/commit/3ff4f67
Исходный код
aes bonus cstrike

/*
Advanced Experience System
by serfreeman1337 http://gf.hldm.org/
*/

/*
Random CSTRIKE Bonuses
*/

#include <amxmodx>
#include <aes_v>
#include <engine>
#include <reapi>

#define PLUGIN "AES: Bonus CSTRIKE"
#define VERSION "0.5.9.1 [REAPI]"
#define AUTHOR "serfreeman1337/sonyx"
#define LASTUPDATE "12, March (03), 2018"

#if AMXX_VERSION_NUM < 183
#include <colorchat>

#define print_team_default DontChange
#define print_team_grey Grey
#define print_team_red Red
#define print_team_blue Blue

#define MAX_NAME_LENGTH 32
#define MAX_PLAYERS 32

#define client_disconnected client_disconnect
#endif

enum _:
{
SUPER_NICHEGO,
SUPER_NADE,
SUPER_DEAGLE
};

enum DamagerModes
{
Disable,
ModeAll,
ModeIfVisible
};

new g_PlayerPos[MAX_PLAYERS + 1], g_iSyncMsg, g_iSyncMsg2, DamagerModes:g_ModeDam[MAX_PLAYERS + 1];
new const Float:g_flCoords[][] = { {0.55, 0.55}, {0.5, 0.55}, {0.55, 0.5}, {0.45, 0.5}, {0.45, 0.45}, {0.5, 0.45}, {0.55, 0.45}, {0.45, 0.55} };
new g_players[MAX_PLAYERS + 1];
new bool: g_PointDam[MAX_PLAYERS + 1] = false;

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);

RegisterHookChain(RG_CBasePlayer_TakeDamage, "CBasePlayer_TakeDamage", false);
RegisterHookChain(RG_CBasePlayer_Killed, "CBasePlayer_Killed_Post", true);
register_event ("Damage", "EventDamage", "b", "2!0");

g_iSyncMsg = CreateHudSyncObj();
g_iSyncMsg2 = CreateHudSyncObj();
}

public client_disconnected(id)
g_players[id] = SUPER_NICHEGO; // сбрасываем возможности на дисконнекте

public CBasePlayer_Killed_Post(const victim, const killer)
g_players[victim] = SUPER_NICHEGO; // сбрасываем возможности при смерти

public CBasePlayer_TakeDamage(const id, idinflictor, idattacker, Float:damage)
{
if(!is_user_connected(idattacker))
return HC_CONTINUE;

if(g_players[idattacker])
{
if(idattacker == idinflictor && get_member(get_member(idattacker, m_pActiveItem), m_iId) == WEAPON_DEAGLE && (g_players[idattacker] & (1 << SUPER_DEAGLE)))
{
damage *= 2.0;
}
else if(FClassnameIs(idinflictor, "grenade") && (g_players[idattacker] & (1 << SUPER_NADE)))
{
set_task(0.5,"deSetNade",idattacker);
damage *= 3.0;
}

SetHookChainArg(4, ATYPE_FLOAT, damage);
}
return HC_CONTINUE;
}

public EventDamage(iVictim)
{
static iKiller;
iKiller = get_user_attacker(iVictim);

if(!iKiller || iKiller > MAX_PLAYERS) return;

new iPos = ++g_PlayerPos[iKiller];

if(iPos == sizeof(g_flCoords))
iPos = g_PlayerPos[iKiller] = 0;

if (g_PointDam[iKiller] && iVictim != iKiller)
{
if (g_ModeDam[iKiller] == ModeAll || (g_ModeDam[iKiller] == ModeIfVisible && is_visible(iVictim, iKiller)))
{
set_hudmessage(0, 100, 200, Float:g_flCoords[iPos][0], Float:g_flCoords[iPos][1], 0, 0.0, 1.0, 0.0, 0.0);
ShowSyncHudMsg(iKiller, g_iSyncMsg, "%i^n", read_data(2));
}
}
if (g_PointDam[iVictim])
{
set_hudmessage(200, 100, 0, Float:g_flCoords[iPos][0], Float:g_flCoords[iPos][1], 0, 0.0, 1.0, 0.0, 0.0);
ShowSyncHudMsg(iVictim, g_iSyncMsg2, "%i^n", read_data(2));
}
}

public deSetNade(id)
g_players[id] &= ~(1<<SUPER_NADE);

public roundBonus_GiveDefuser(id,cnt)
{
if(!cnt)
return false;

if(get_member(id, m_iTeam) != TEAM_CT)
return false;

rg_give_item(id, "item_thighpack");

return true;
}

public roundBonus_GiveNV(id,cnt)
{
if(!cnt)
return false;

set_member(id, m_bHasNightVision, 1);

return true;
}

public roundBonus_Dmgr(id,DamagerModes:cnt)
{
if(cnt <= Disable)
return false;

g_PointDam[id] = true;
g_ModeDam[id] = (ModeAll < cnt <= ModeIfVisible) ? cnt : ModeAll;

return true;
}

public GiveArmor(id,cnt)
{
if(!is_user_alive(id))
{
client_print_color(id,0,"%L %L",id,"AES_TAG",id,"AES_ANEW_ALIVE");
return false;
}

if(!cnt)
return false;

new iArmor = rg_get_user_armor(id);

switch(cnt)
{
case 1:rg_set_user_armor(id, max(100, iArmor), ARMOR_KEVLAR);
case 2:rg_set_user_armor(id, max(100, iArmor), ARMOR_VESTHELM);
default:rg_set_user_armor(id, max(cnt, iArmor), ARMOR_VESTHELM);
}

return true;
}

public GiveHP(id,cnt)
{
if(!is_user_alive(id))
{
client_print_color(id,0,"%L %L",id,"AES_TAG",id,"AES_ANEW_ALIVE");
return false;
}

if(!cnt)
return false;

set_entvar(id, var_health, (Float:get_entvar(id, var_health) + float(cnt)));
return true;
}

public GiveMoney(id,cnt)
{
if(!cnt)
return false;

rg_add_account(id, cnt);

return true;
}


public pointBonus_Dmgr(id)
{
g_PointDam[id] = true;

return true;
}


public pointBonus_GiveMegaGrenade(id)
{
if(!is_user_alive(id))
{
client_print_color(id,0,"%L %L",id,"AES_TAG",id,"AES_ANEW_ALIVE");
return false;
}

if(!user_has_weapon(id,CSW_HEGRENADE))
{
rg_give_item(id, "weapon_hegrenade");
}

g_players[id] |= (1<<SUPER_NADE);

client_print_color(id,0,"%L %L",id,"AES_TAG",id,"AES_BONUS_GET_MEGAGRENADE");

return true;
}

public pointBonus_GiveMegaDeagle(id){
if(!is_user_alive(id))
{
client_print_color(id,0,"%L %L",id,"AES_TAG",id,"AES_ANEW_ALIVE");
return false;
}

rg_give_item(id, "weapon_deagle", GT_REPLACE);
rg_set_user_bpammo(id, WEAPON_DEAGLE, 35);

g_players[id] |= (1<<SUPER_DEAGLE);
client_print_color(id,0,"%L %L",id,"AES_TAG",id,"AES_BONUS_GET_MEGADEAGLE");

return true;
}


/**
* Совместимость со старым bonus.ini
*/
public pointBonus_Give10000M(id)
GiveMoney(id, 10000);

public pointBonus_Set200HP(id)
GiveHP(id, 200);

public pointBonus_Set200CP(id)
GiveArmor(id, 200);

public roundBonus_GiveArmor(id,cnt)
GiveArmor(id,cnt);

public roundBonus_GiveHP(id,cnt)
GiveHP(id,cnt);
Доброго времени суток форумчане, у меня такая вот проблема, поставил на csdm сервер aes 0.5.9 и поперли ошибки, хотя само меню anew работает, но не выдает хп, броню, мегадигл и мегагранату, а бонусы за них списываются, reapi из темы ставил но потом пришлось откатить на ту версию которая стояла ибо перестал работать плагин custom_models а точнее он как бы работал но модельки игроков не прогружал, я уже не знаю что делать, часа два сидел мучался а толку ноль, прошу у вас помощи, заранее спасибо)
p.s сильно не ругайте, я новичок в этом деле и еще не во всем разбираюсь
 

Download all Attachments

Статус
В этой теме нельзя размещать новые ответы.

Пользователи, просматривающие эту тему

Сейчас на форуме нет ни одного пользователя.
Сверху Снизу