Zombie Escape Releases

Official Releases
User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#171

Post by Raheem » 6 years ago

New version out: 1.1
Read news: http://escapers-zone.xyz/viewtopic.php?f=20&t=1976

Please take time to read changelog and read updates in these topics:

1-How to Install the Mod?
2-Zombie Escape - Forwards/Natives
3-Zombie Escape Cvars

With this new version, All extra-item will be broken. In all extra-item you need to edit: TO (With limit)
  • Code: Select all

    ze_register_item("Fire Nade", 30, 0)
And read the links i said to understand more.
He who fails to plan is planning to fail

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#172

Post by Spir0x » 6 years ago

dude my main menu have been killed when i updated to latest works but with old when i press "M" show choose team

johnnysins2000
Veteran Member
Veteran Member
Paraguay
Posts: 678
Joined: 7 years ago
Location: Paraguay
Contact:

#173

Post by johnnysins2000 » 6 years ago

I see

download the mod again...

did u updated the escape leader system
and vip extra items should appear in menu

and also that

escape leader and master of survival hud thing? i shows u an example of how it should be done ?
Nobody Is That Busy If They Make Time :roll:

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#174

Post by Raheem » 6 years ago

Johnny, You can read changelog to know what's added. Also update all your extra-items to use: ze_register_item("Fire Nade", 30, 0)
with limit.

I'll update mines as soon as possible.
He who fails to plan is planning to fail

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#175

Post by Night Fury » 6 years ago

Oh man!
Can't you floatround the version number & jump onto "version 2"?! Egg numbers..
So you think we are gonna make updates every 5 months?!
-_-!
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#176

Post by Raheem » 6 years ago

You need to read about software versioning. Also the version number not so important but for now we will follow that style: 1.0, 1.1, 1.2
He who fails to plan is planning to fail

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#177

Post by Spir0x » 6 years ago

we can hit version 9.9 ?

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#178

Post by Raheem » 6 years ago

Hmm, I think we will not ever reach it. Updates not everyday.
He who fails to plan is planning to fail

User avatar
sam_bhosale4
Mod Tester
Mod Tester
India
Posts: 109
Joined: 7 years ago
Location: INDIA
Contact:

#179

Post by sam_bhosale4 » 6 years ago

Raheem wrote: 6 years ago New version out: 1.1
Read news: http://escapers-zone.xyz/viewtopic.php?f=20&t=1976

Please take time to read changelog and read updates in these topics:

1-How to Install the Mod?
2-Zombie Escape - Forwards/Natives
3-Zombie Escape Cvars

With this new version, All extra-item will be broken. In all extra-item you need to edit: TO (With limit)
  • Code: Select all

    ze_register_item("Fire Nade", 30, 0)
And read the links i said to understand more.
good job! +like +karma
other guys test and report fixes pls! :)
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#180

Post by Raheem » 6 years ago

Sam, If you are lazy to update your server so try the linux full pack it's ZE v1.1: http://escapers-zone.xyz/viewtopic.php?f=6&t=62
He who fails to plan is planning to fail

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#181

Post by Spir0x » 6 years ago

Hey lazy, you tested the p_knife? i tested it doesn't work.

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#182

Post by Raheem » 6 years ago

It's working:
  • Image
He who fails to plan is planning to fail

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#183

Post by Spir0x » 6 years ago

how i can add it ? i find it in zombie_escape.ini

Code: Select all

[Weapon Models]

V_GRENADE FIRE = models/FG_ZE/v_grenade_fire.mdl

P_GRENADE FIRE = models/FG_ZE/p_grenade_fire.mdl

V_GRENADE FROST = models/FG_ZE/v_grenade_frost.mdl

P_GRENADE FROST = models/FG_ZE/p_grenade_frost.mdl

V_KNIFE HUMAN = models/FG_ZE/v_knife_human.mdl

P_KNIFE HUMAN = models/FG_ZE/p_knife_human.mdl

V_KNIFE HUMAN ADMIN = models/FG_ZE/v_knife_human.mdl

V_KNIFE ZOMBIE = models/FG_ZE/v_knife_zombie.mdl

V_KNIFE ZOMBIE ADMIN = models/FG_ZE/v_knife_zombie_vip_new.mdl

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#184

Post by Raheem » 6 years ago

You use the Special Models plugin and it's not compatible yet with our ZE v1.1 When i update it to be compatible i'll notice you.
He who fails to plan is planning to fail

User avatar
Spir0x
Veteran Member
Veteran Member
Tunisia
Posts: 641
Joined: 7 years ago
Location: Tunisia
Contact:

#185

Post by Spir0x » 6 years ago

what i do ? disabling special models? ok i'll wait till updates

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#186

Post by Raheem » 6 years ago

I reviewed the special models plugin it have nothing which mean problem maybe because you don't use latest ze_resources.amxx
He who fails to plan is planning to fail

User avatar
sam_bhosale4
Mod Tester
Mod Tester
India
Posts: 109
Joined: 7 years ago
Location: INDIA
Contact:

#187

Post by sam_bhosale4 » 6 years ago

Raheem please change the ze_coin_system code as it has bug of resetting coins after player disconn/mapchange..

code i changed to old one,
use this.

Code: Select all

#include <zombie_escape>

// Static (Change it if you need)
new const g_szVaultName[] = "Escape_Coins"

// Variables
new g_iMaxClients, g_iEscapeCoins[33], Float:g_fDamage[33]

// Cvars
new Cvar_Escape_Success, Cvar_Human_Infected, Cvar_Damage, Cvar_Damage_Coins, Cvar_Start_Coins, Cvar_Max_Coins,
Cvar_Earn_ChatNotice

public plugin_natives()
{
	register_native("ze_get_escape_coins", "native_ze_get_escape_coins", 1)
	register_native("ze_set_escape_coins", "native_ze_set_escape_coins", 1)
}

public plugin_init()
{
	register_plugin("[ZE] Escape Coins System", ZE_VERSION, AUTHORS)
	
	// Hook Chains
	RegisterHookChain(RG_CBasePlayer_TakeDamage, "Fw_TakeDamage_Post", 1)
	
	// Commands
	register_clcmd("say /EC", "Coins_Info")
	register_clcmd("say_team /EC", "Coins_Info")
	
	// Static Values
	g_iMaxClients = get_member_game(m_nMaxPlayers)
	
	// Cvars
	Cvar_Escape_Success = register_cvar("ze_escape_success_coins", "15")
	Cvar_Human_Infected = register_cvar("ze_human_infected_coins", "5")
	Cvar_Damage = register_cvar("ze_damage_required", "300")
	Cvar_Damage_Coins = register_cvar("ze_damage_coins", "4")
	Cvar_Start_Coins = register_cvar("ze_start_coins", "50")
	Cvar_Max_Coins = register_cvar("ze_max_coins", "200000")
	Cvar_Earn_ChatNotice = register_cvar("ze_earn_chat_notice", "1")
}

public Coins_Info(id)
{
	ze_colored_print(id, "%L", LANG_PLAYER, "COINS_INFO", g_iEscapeCoins[id])
}

public client_putinserver(id) 
{
	if (is_user_bot(id) || is_user_hltv(id))
		return
	
	LoadCoins(id)
}

public client_disconnect(id) 
{
	if (is_user_bot(id) || is_user_hltv(id))
		return
	
	SaveCoins(id)
}

public ze_roundend(WinTeam)
{
	for(new id = 1; id <= g_iMaxClients; id++)
	{
		if (!is_user_alive(id) || ze_is_user_zombie(id))
			continue
		
		if (WinTeam == ZE_TEAM_HUMAN)
		{
			g_iEscapeCoins[id] += get_pcvar_num(Cvar_Escape_Success)
			
			if (get_pcvar_num(Cvar_Earn_ChatNotice) != 0)
				ze_colored_print(id, "%L", LANG_PLAYER, "ESCAPE_SUCCESS_COINS", get_pcvar_num(Cvar_Escape_Success))
		}
	}
}

public ze_user_infected(iVictim, iInfector)
{
	if (iInfector == 0) // Server ID
		return

	g_iEscapeCoins[iInfector] += get_pcvar_num(Cvar_Human_Infected)
	
	if (get_pcvar_num(Cvar_Earn_ChatNotice) != 0)
		ze_colored_print(iInfector, "%L", LANG_PLAYER, "HUMAN_INFECTED_COINS", get_pcvar_num(Cvar_Human_Infected))
}

public Fw_TakeDamage_Post(iVictim, iInflictor, iAttacker, Float:fDamage, bitsDamageType)
{
	// Player Damage Himself
	if (iVictim == iAttacker)
		return HC_SUPERCEDE
	
	// Two Players From one Team
	if (get_member(iAttacker, m_iTeam) == get_member(iVictim, m_iTeam))
		return HC_SUPERCEDE
	
	// iVictim or iAttacker Not Alive
	if (!is_user_alive(iVictim) || !is_user_alive(iAttacker))
		return HC_SUPERCEDE
	
	// Attacker is Zombie
	if (get_member(iAttacker, m_iTeam) == TEAM_TERRORIST)
		return HC_SUPERCEDE
	
	// Store Damage For every Player
	g_fDamage[iAttacker] += fDamage
	
	// Damage Calculator Equal or Higher than needed damage
	if (g_fDamage[iAttacker] >= get_pcvar_float(Cvar_Damage))
	{
		// Give Player The Coins
		g_iEscapeCoins[iAttacker] += get_pcvar_num(Cvar_Damage_Coins)
		
		// Rest The Damage Calculator
		g_fDamage[iAttacker] = 0.0
	}
	return HC_CONTINUE
}

public LoadCoins(id)
{
	new szAuthID[35], iStartValue
	iStartValue = get_pcvar_num(Cvar_Start_Coins)
	
	get_user_authid(id, szAuthID, sizeof(szAuthID) - 1)
	
	new szData[16]
	
	if(fvault_get_data(g_szVaultName, szAuthID, szData, sizeof(szData) - 1))
	{
		g_iEscapeCoins[id] = str_to_num(szData)
	}
	else
	{
		g_iEscapeCoins[id] = iStartValue
	}
}

public SaveCoins(id)
{
	new szAuthID[35], iMaxValue
	iMaxValue = get_pcvar_num(Cvar_Max_Coins)
	get_user_authid(id, szAuthID, sizeof(szAuthID) - 1)
	
	// Set Him to max if he Higher than Max Value
	if(g_iEscapeCoins[id] > iMaxValue)
	{
		g_iEscapeCoins[id] = iMaxValue
	}
	
	new szData[16]
	num_to_str(g_iEscapeCoins[id], szData, sizeof(szData) - 1)
	
	// Save His SteamID, Escape Coins
	fvault_set_data(g_szVaultName, szAuthID, szData)
}

public native_ze_get_escape_coins(id)
{
	return g_iEscapeCoins[id]
}

public native_ze_set_escape_coins(id, iAmount)
{
	g_iEscapeCoins[id] = iAmount
}
-=SeRious-GaminG|Zombie Escape[Alien vs. Predator]|Asia=-
206.189.132.169:40000
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#188

Post by Raheem » 6 years ago

No need to back to the old, Also what we do in our new update is replacing client_disconnect() Forward with new one that more efficient to detect most drops it's in amxmodx v 1.8.3 client_disconnected() but there is some problems in this forward for ReHLDS/ReGameDLL.

Solution which works for me is:
  1. To make sure you uploaded the whole gamedata folder in data folder.
  2. If problem persist then try this: https://forums.alliedmods.net/showpost. ... stcount=29
Another solution maybe to use ReAMXMODX as it's compatible with Reversed-Engineered stuffs.
He who fails to plan is planning to fail

User avatar
Night Fury
Mod Developer
Mod Developer
Posts: 677
Joined: 7 years ago
Contact:

#189

Post by Night Fury » 6 years ago

Teach Raheem "C++" & he's gonna fix it. :V
Want your own mod edition? PM me.
Accepting private projects.
Discord: Fury#7469
Image

User avatar
Raheem
Mod Developer
Mod Developer
Posts: 2214
Joined: 7 years ago
Contact:

#190

Post by Raheem » 6 years ago

Go sleep bro...
He who fails to plan is planning to fail

Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Who is online

Users browsing this forum: No registered users and 2 guests