Page 2 of 6

Re: Nemesis Round

Posted: 18 Jun 2019, 16:39
by Jack GamePlay
1) Let's assume that mp_maxrounds cvar is 0
From your code:
  1. if(RoundLimit - RoundCount == random_num(Min,Max))
So while min & max are positive values, roundlimit which is 0, its below code will never be executed.


2)
  1. precache_model(v_model)
v_model is not defined so error while compiling.


3)
  1. cs_set_user_model(id, "Kaya_Co-Owner_Zombie")
This model is not precached & we use rg_set_user_model not cs_set_user_model.


4)
  1. precache_model("models/player/Nemesis_Zombie/Nemesis_Zombie.mdl")
You precached the model and didn't use it.


5) From your code:
  1. g_maxplayers = get_maxplayers()
  1. if (g_maxplayers > 0)
From THE API OF THE AMXMODX:
Returns the maxplayers setting of the current server, that is how many
clients it supports.

6)
  1. for (id = 0; id <= g_maxplayers; id++)
You didn't skip dead & not connected players which would result into error with invalid ids.


7)
  1. register_event("DeathMsg", "deathmsg", "a")
  2.                 register_event("CurWeapon", "CurWeapon", "be", "1=1")
Why didn't you register them in plugin_init() ?!


8)
  1. if(ze_is_user_zombie(id) && get_user_weapon(id)==CSW_KNIFE)
By this code, you just change the model of any zombie's claws.


9)
  1. public deathmsg(id)
  2. {  
  3.     new g_attacker = read_data(1);
  4.     new g_victim = read_data(2);
  5.    
  6.     if((1 <= g_attacker <= g_maxplayers))
  7.     {
  8.         if(g_victim != g_attacker)
  9.         {
  10.             user_silentkill(g_victim)
  11.         }
  12.     }
  13. }
This code is meaningless.

Re: Nemesis Round

Posted: 18 Jun 2019, 18:42
by Muhammet20
Jack GamePlay wrote:
2 Months Ago
1) Let's assume that mp_maxrounds cvar is 0
From your code:
  1. if(RoundLimit - RoundCount == random_num(Min,Max))
So while min & max are positive values, roundlimit which is 0, its below code will never be executed.


2)
  1. precache_model(v_model)
v_model is not defined so error while compiling.


3)
  1. cs_set_user_model(id, "Kaya_Co-Owner_Zombie")
This model is not precached & we use rg_set_user_model not cs_set_user_model.


4)
  1. precache_model("models/player/Nemesis_Zombie/Nemesis_Zombie.mdl")
You precached the model and didn't use it.


5) From your code:
  1. g_maxplayers = get_maxplayers()
  1. if (g_maxplayers > 0)
From THE API OF THE AMXMODX:
Returns the maxplayers setting of the current server, that is how many
clients it supports.

6)
  1. for (id = 0; id <= g_maxplayers; id++)
You didn't skip dead & not connected players which would result into error with invalid ids.


7)
  1. register_event("DeathMsg", "deathmsg", "a")
  2.                 register_event("CurWeapon", "CurWeapon", "be", "1=1")
Why didn't you register them in plugin_init() ?!


8)
  1. if(ze_is_user_zombie(id) && get_user_weapon(id)==CSW_KNIFE)
By this code, you just change the model of any zombie's claws.


9)
  1. public deathmsg(id)
  2. {  
  3.     new g_attacker = read_data(1);
  4.     new g_victim = read_data(2);
  5.    
  6.     if((1 <= g_attacker <= g_maxplayers))
  7.     {
  8.         if(g_victim != g_attacker)
  9.         {
  10.             user_silentkill(g_victim)
  11.         }
  12.     }
  13. }
This code is meaningless.
I saw the all you said is Right
but the 9th i don't understand it

Re: Nemesis Round

Posted: 18 Jun 2019, 18:44
by Muhammet20
Ok i will work on it more , and i will make another version

Re: Nemesis Round

Posted: 19 Jun 2019, 12:17
by lizoumapper
NiiiiiiiiiiiiiiCe
Bro
I can add an adjustment in the plugin

Re: Nemesis Round

Posted: 19 Jun 2019, 18:41
by Muhammet20
lizoumapper wrote:
2 Months Ago
NiiiiiiiiiiiiiiCe
Bro
I can add an adjustment in the plugin
I Fixed so much bugs with @Jack's help
and still adding somethings + testing

i will make another version better than this

Re: [Updated] Nemesis Round v1.1

Posted: 19 Jun 2019, 19:56
by Muhammet20
Fixed all bugs and problems and added longjump plugin

Re: [Updated] Nemesis Round v1.1

Posted: 20 Jun 2019, 15:11
by Jack GamePlay
For real, have you tested this plugin?

Re: [Updated] Nemesis Round v1.1

Posted: 20 Jun 2019, 16:00
by Muhammet20
Jack GamePlay wrote:
2 Months Ago
For real, have you tested this plugin?
yes and it's working , do you see any false ?

Re: [Updated] Nemesis Round v1.1

Posted: 21 Jun 2019, 08:57
by Raheem
Hello,

The nemesis will infect or kill players? It should kill but i can't find the usage of: ze_user_infected_pre() forward. Explain me how this will works.

Also upload files on our website better than using external links like Mediafire.

Re: [Updated] Nemesis Round v1.1

Posted: 21 Jun 2019, 20:31
by Muhammet20
Raheem wrote:
2 Months Ago
Hello,

The nemesis will infect or kill players? It should kill but i can't find the usage of: ze_user_infected_pre() forward. Explain me how this will works.

Also upload files on our website better than using external links like Mediafire.
ok i will edit it