[Updated] Nemesis Round v1.1

Useless Stuffs, Spam ... etc
User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

Re: Nemesis Round

#11

Post by Mohamed Alaa » 4 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.
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 399
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#12

Post by Muhammet20 » 4 Months Ago

Jack GamePlay wrote:
4 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
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 399
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#13

Post by Muhammet20 » 4 Months Ago

Ok i will work on it more , and i will make another version
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
lizoumapper
Senior Member
Senior Member
Morocco
Posts: 150
Joined: 9 Months Ago
Location: Morocco
Has thanked: 3 times
Been thanked: 7 times
Age: 17
Contact:

#14

Post by lizoumapper » 4 Months Ago

NiiiiiiiiiiiiiiCe
Bro
I can add an adjustment in the plugin
I Love Learn Languages Programmations

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 399
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#15

Post by Muhammet20 » 4 Months Ago

lizoumapper wrote:
4 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
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 399
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#16

Post by Muhammet20 » 4 Months Ago

Fixed all bugs and problems and added longjump plugin
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Mohamed Alaa
Mod Developer
Mod Developer
Egypt
Posts: 622
Joined: 2 Years Ago
Location: Egypt
Has thanked: 34 times
Been thanked: 48 times
Age: 19
Contact:

#17

Post by Mohamed Alaa » 4 Months Ago

For real, have you tested this plugin?
Want your own mod edition? PM me.
Accepting web projects.
CS 1.6 hosting: powergamingtech.com

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 399
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#18

Post by Muhammet20 » 4 Months Ago

Jack GamePlay wrote:
4 Months Ago
For real, have you tested this plugin?
yes and it's working , do you see any false ?
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

User avatar
Raheem
Mod Developer
Mod Developer
Egypt
Posts: 1962
Joined: 2 Years Ago
Location: Egypt
Has thanked: 32 times
Been thanked: 108 times
Age: 21
Contact:

#19

Post by Raheem » 4 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.
These users thanked the author Raheem for the post:
Muhammet20 (4 Months Ago)
You don't know? Learn and you will know.

User avatar
Muhammet20
Veteran Member
Veteran Member
Syria
Posts: 399
Joined: 1 Year Ago
Location: Turkey
Has thanked: 36 times
Been thanked: 5 times
Age: 13
Contact:

#20

Post by Muhammet20 » 4 Months Ago

Raheem wrote:
4 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
.::Kaya Gaming || Never Give Up || Zombie Escape::. [Server is Under The Work]
https://kaya-gaming.ga/

I just believe in two things, First thing is who i see in the mirror, second thing is who i don't see in the sky.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests