Approved Boss Wins [num]

Plug-ins compatibility with Zombie Escape 1.x only!


User avatar
Urban
Member
Member
Ukraine
Posts: 12
Joined: 3 years ago
Contact:

Boss Wins [num]

#1

Post by Urban » 3 years ago

Since I have no skills in using mysql, it is based on the coin system plugin
The plugin counts the number of killed bosses. Then you can display this in your hud informer

Let's see how this can be used, For example, I'll take the CSO_Cronowing plugin
1. Add native save_wins(id)
2. Looking for function

Code: Select all

public Fw_Cronowing_Killed(Oberon, attacker)
3. Find the line
3.1 Find the condition

Code: Select all

if (!Fix_Death_Boss)
3.2 Paste the following code

Code: Select all

		new Count, i, player
		get_players(Players, Count, "ah")
		for (i=0; i<Count; i++) 
		{
			player = Players[i]
			save_wins(player);
		}
That's all. Survivors will now count as victory when killing a boss!


To display in the hud informer, use the

Code: Select all

native get_boss_wins(id); //Returns the number of boss wins
ze_boss_wins.zip
(9.12 KiB) Downloaded 369 times
ze_boss_wins.zip
(9.12 KiB) Downloaded 369 times

ngamerz
Member
Member
Philippines
Posts: 37
Joined: 3 years ago
Location: Philippines From South Korea

#2

Post by ngamerz » 3 years ago

Is this a plugin? or a tutorial? Because it seems a tutorial to me.

BandiT
Member
Member
Romania
Posts: 59
Joined: 4 years ago
Contact:

#3

Post by BandiT » 3 years ago

Do you have even a boss plugin if you posted this ?

User avatar
Urban
Member
Member
Ukraine
Posts: 12
Joined: 3 years ago
Contact:

#4

Post by Urban » 3 years ago

I posted a plugin and an example on how to use it. If you need a boss plugin, I'll attach it later.

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#5

Post by z0h1r-LK » 3 years ago

There a lot plugin bosses and they disagree
I was create map boss but boss just from default entities located in FGD Counter-Strike 1.6

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

#6

Post by Raheem » 3 years ago

Good job [mention]Urban[/mention], you tested it and it is fully working so I put approved tag?
He who fails to plan is planning to fail

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

#7

Post by Raheem » 3 years ago

Did anyone try this bros?
[mention]ngamerz[/mention],
[mention]BandiT[/mention],
[mention]czirimbolo[/mention],
[mention]Z0uha1r_LK[/mention],
[mention]karan[/mention]
He who fails to plan is planning to fail

User avatar
z0h1r-LK
Mod Developer
Mod Developer
Morocco
Posts: 477
Joined: 5 years ago
Location: The Red City ❤
Contact:

#8

Post by z0h1r-LK » 3 years ago

Raheem wrote: 3 years ago Did anyone try this bros?
@ngamerz,
@BandiT,
@czirimbolo,
@Z0uha1r_LK,
@karan
He need register native or put API
i don't try it
but if want add points when killed the boss

like it :
  1. // Forward called when npc death
  2. public npc_death(iEnt, iKiller)
  3. {
  4.     // Invalid entity
  5.     if (!pev_valid(iEnt))
  6.         return
  7.        
  8.     // Give players the npc
  9.     const iPoint = 10
  10.     ze_set_user_level(iKiller, ze_get_user_level(iKiller) + iPoint)
  11. }

User avatar
sPe3doN
Senior Member
Senior Member
Algeria
Posts: 258
Joined: 7 years ago
Contact:

#9

Post by sPe3doN » 3 years ago

Is there anyone here have Boss plugin ?
Image

BandiT
Member
Member
Romania
Posts: 59
Joined: 4 years ago
Contact:

#10

Post by BandiT » 3 years ago

I had one covreted, but my pc is gone and i can’t no more recover the data...buy maybe i will can found, when i will
Get a new pc i will provide the code
@raheem , i didn’t try it

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#11

Post by czirimbolo » 3 years ago

we need good boss plugin working with amxx 1.8.3+...
Image

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

#12

Post by Raheem » 3 years ago

czirimbolo wrote: 3 years ago we need good boss plugin working with amxx 1.8.3+...
There are many by many authors like dias, are they not working?

[mention]Urban[/mention], if you can share a working boss will be nice for others.
He who fails to plan is planning to fail

czirimbolo
Veteran Member
Veteran Member
Poland
Posts: 598
Joined: 7 years ago
Contact:

#13

Post by czirimbolo » 3 years ago

Raheem wrote: 3 years ago
czirimbolo wrote: 3 years ago we need good boss plugin working with amxx 1.8.3+...
There are many by many authors like dias, are they not working?

@Urban, if you can share a working boss will be nice for others.
They are shitty and old
Image

User avatar
Urban
Member
Member
Ukraine
Posts: 12
Joined: 3 years ago
Contact:

#14

Post by Urban » 3 years ago

Try this.
Disable only on the map zs_cronowing_skvd zombie escape mod.

*** This is a slightly revamped and automated boss plugin.

Be sure to install the plugins, which is in the archive. Nextmap too.

Code: Select all

#define WINSXP 		10 	//	Experience gained for killing a boss
#define WINSCOIN 	5 	//	Number of coins issued for killing a boss
#define CRONOWING_HEALTH     17000.0      //BOSS HP
(Cronowing boss menu command)
say /bossmenu

(damage done) - disable only if you have plugin /me
say /me

-------------------------------------------------------------------------------------------------------
[bossfight] _first_round_prepare
plugin used to automatically start countdown before the start of the battle event.
-------------------------------------------------------------------------------------------------------
ze_boss_wins
the plugin saves the victory over the boss to the database
-------------------------------------------------------------------------------------------------------
nextmap
the plugin is needed to change the map after killing the boss, or after the defeat
-------------------------------------------------------------------------------------------------------
BOSS_Cronowing.zip
(7.08 MiB) Downloaded 317 times
BOSS_Cronowing.zip
(7.08 MiB) Downloaded 317 times
In CSO_Cronowing.sma

Code: Select all

public Next_Map()
mp_roundtime change to your
Last edited by Urban 3 years ago, edited 2 times in total.

ngamerz
Member
Member
Philippines
Posts: 37
Joined: 3 years ago
Location: Philippines From South Korea

#15

Post by ngamerz » 3 years ago

Well, didn't try it yet since I don't have boss plugin.

ngamerz
Member
Member
Philippines
Posts: 37
Joined: 3 years ago
Location: Philippines From South Korea

#16

Post by ngamerz » 3 years ago

czirimbolo wrote: 3 years ago
Raheem wrote: 3 years ago
czirimbolo wrote: 3 years ago we need good boss plugin working with amxx 1.8.3+...
There are many by many authors like dias, are they not working?

@Urban, if you can share a working boss will be nice for others.
They are shitty and old
yeah it's old but dias scripting skills improve time to time, maybe you didn't play CSNS? if you play then why you're saying "shitty and old".

ngamerz
Member
Member
Philippines
Posts: 37
Joined: 3 years ago
Location: Philippines From South Korea

#17

Post by ngamerz » 3 years ago

Urban wrote: 3 years ago Try this.
Disable only on the map zs_cronowing_skvd zombie escape mod.

*** This is a slightly revamped and automated boss plugin.

Be sure to install the plugins, which is in the archive. Nextmap too.

Code: Select all

#define WINSXP 		10 	//	Experience gained for killing a boss
#define WINSCOIN 	5 	//	Number of coins issued for killing a boss
#define CRONOWING_HEALTH     17000.0      //BOSS HP
(Cronowing boss menu command)
say /bossmenu

(damage done) - disable only if you have plugin /me
say /me

-------------------------------------------------------------------------------------------------------
[bossfight] _first_round_prepare
plugin used to automatically start countdown before the start of the battle event.
-------------------------------------------------------------------------------------------------------
ze_boss_wins
the plugin saves the victory over the boss to the database
-------------------------------------------------------------------------------------------------------
nextmap
the plugin is needed to change the map after killing the boss, or after the defeat
-------------------------------------------------------------------------------------------------------
BOSS_Cronowing.zip
Just checked the files and i just saw other texts are in ukrainian language, please provide a english translation for it.

User avatar
Urban
Member
Member
Ukraine
Posts: 12
Joined: 3 years ago
Contact:

#18

Post by Urban » 3 years ago

ngamerz, updated archive.

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

#19

Post by Raheem » 3 years ago

So bros I put approved tag?
He who fails to plan is planning to fail

User avatar
Urban
Member
Member
Ukraine
Posts: 12
Joined: 3 years ago
Contact:

#20

Post by Urban » 3 years ago

unsubscribe who works. I have no way to check. well, in fact, it should work, separately everything was checked.

I think you can put approved))

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 0 guests