Raised This Month: $51 Target: $400
 12% 

Nade Modes (Nomexous) v11.2


Post New Thread Reply   
 
Thread Tools Display Modes
MeRcyLeZZ
Veteran Member
Join Date: Dec 2007
Old 10-15-2008 , 23:22   Re: Nade Modes (Nomexous) v7.0
Reply With Quote #131

Hey, I figured why the nades aren't being removed sometimes when turning into zombie. Take a look closely at this code:
Code:
    while ((ent = engfunc(EngFunc_FindEntityByString, ent, strtype, classname)) && pev(ent, pev_owner) == id)     {         if(is_grenade(ent) && get_grenade_type(ent) != NADE_NORMAL)             set_pev(ent,pev_flags,pev(ent,pev_flags) | FL_KILLME)     }
If it finds a grenade which doesn't belong to the infected player, it will stop there even if it hasn't looped through the entirety of nades in the map yet.

So you should do something like:
Code:
while ((ent = engfunc(EngFunc_FindEntityByString, ent, strtype, classname)))     {         if (pev(ent, pev_owner) != id)             continue;                 if(is_grenade(ent) && get_grenade_type(ent) != NADE_NORMAL)             set_pev(ent,pev_flags,pev(ent,pev_flags) | FL_KILLME)     }
__________________
MeRcyLeZZ is offline
vcwz
Member
Join Date: Sep 2008
Old 11-18-2008 , 13:51   Re: Nade Modes (Nomexous) v7.0
Reply With Quote #132

I installed the plugin, and works great but i get these errors:

L 11/18/2008 - 15:26:02: [AMXX] Displaying debug trace (plugin "nademodes.amxx")
L 11/18/2008 - 15:26:02: [AMXX] Run time error 10: native error (native "engfunc")
L 11/18/2008 - 15:26:02: [AMXX] [0] 31820.attach::play_sound (line 1971)
L 11/18/2008 - 15:26:02: [AMXX] [1] 31820.attach::trip_activation (line 1907)
L 11/18/2008 - 15:40:07: [FAKEMETA] Invalid entity
L 11/18/2008 - 15:40:07: [AMXX] Displaying debug trace (plugin "nademodes.amxx")
L 11/18/2008 - 15:40:07: [AMXX] Run time error 10: native error (native "pev")
L 11/18/2008 - 15:40:07: [AMXX] [0] 31820.attach::get_grenade_type (line 1770)
L 11/18/2008 - 15:40:07: [AMXX] [1] 31820.attach::fw_touch (line 1107)
__________________
vcwz is offline
smoothjazz
Senior Member
Join Date: Jul 2008
Old 11-19-2008 , 09:54   Re: Nade Modes (Nomexous) v7.0
Reply With Quote #133

Quote:
Originally Posted by MeRcyLeZZ View Post
Hey, I figured why the nades aren't being removed sometimes when turning into zombie. Take a look closely at this code:

Code:
&nbsp;&nbsp;&nbsp;&nbsp;while ((ent = engfunc(EngFunc_FindEntityByString, ent, strtype, classname)) && pev(ent, pev_owner) == id) </p><p>&nbsp;&nbsp;&nbsp;&nbsp;{</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;if(is_grenade(ent) && get_grenade_type(ent) != NADE_NORMAL)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_pev(ent,pev_flags,pev(ent,pev_flags) | FL_KILLME)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;}


If it finds a grenade which doesn't belong to the infected player, it will stop there even if it hasn't looped through the entirety of nades in the map yet.

So you should do something like:

Code:
while ((ent = engfunc(EngFunc_FindEntityByString, ent, strtype, classname))) </p><p>&nbsp;&nbsp;&nbsp;&nbsp;{</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;if (pev(ent, pev_owner) != id)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;continue;</p><p>&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;if(is_grenade(ent) && get_grenade_type(ent) != NADE_NORMAL)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_pev(ent,pev_flags,pev(ent,pev_flags) | FL_KILLME)</p><p>&nbsp;&nbsp;&nbsp;&nbsp;}
MeRcyLeZZ thx for ur help!
I was the first person that found the problem!
But I don;t know how to fix it!
Thx for ur help!
smoothjazz is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 11-19-2008 , 10:40   Re: Nade Modes (Nomexous) v7.0
Reply With Quote #134

Dutch tranlation:

Quote:
[nl]
NADE_HTML :
<body bgcolor=black><div><font face=Tahoma color=#ffb000>Wat moet ik doen?</div>
<div>Wanneer je een granaat in je hand hebt, klik je op je rechtermuisknop: Trip Laser Modus.</div>
<div>Nadat je een modus gekozen hebt en je hebt de granaat gegooit zal je zien dat het gedrag van de granaat zal veranderen.</div>
<div><br \></div>
<div>Wat doet elke modus?</div>
<div>1. Normaal</div>
<div>- normale granaat, diegene die iedereen kent</div>
<div>2. Nabijheid</div>
<div>- deze granaat ontploft alleen als er iemand in de buurt is</div>
<div>3. Effect</div>
<div>- deze granaat ontploft waneer het iets aanraakt (een muur of een speler)</div>
<div>4. Vastklemmende laser</div>
<div>- deze granaat houd zich vast aan iets (zoals een muur), daarna zal het activeren wanneer een speler langs de laser loopt en de granaat zal ontploffen</div>
<div>5. Motie</div>
<div>- hetzelfde als nabijheid, maar de granaat ontploft waneer de speler snelheid heeft</div>
<div>6. Op afstand bestuurbare granaat</div>
<div>- deze granaat ontploft wanneer je op de +use toets druks (default e)</font></div>
:
Hope i helped
If you appreciate this, +karma
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
vcwz
Member
Join Date: Sep 2008
Old 11-26-2008 , 09:23   Re: Nade Modes (Nomexous) v7.0
Reply With Quote #135

My server get crashes with this plugin.

Any with the same problem?

I get this error logs:
L 11/18/2008 - 15:26:02: [AMXX] Displaying debug trace (plugin "nademodes.amxx")
L 11/18/2008 - 15:26:02: [AMXX] Run time error 10: native error (native "engfunc")
L 11/18/2008 - 15:26:02: [AMXX] [0] 31820.attach::play_sound (line 1971)
L 11/18/2008 - 15:26:02: [AMXX] [1] 31820.attach::trip_activation (line 1907)
L 11/18/2008 - 15:40:07: [FAKEMETA] Invalid entity
L 11/18/2008 - 15:40:07: [AMXX] Displaying debug trace (plugin "nademodes.amxx")
L 11/18/2008 - 15:40:07: [AMXX] Run time error 10: native error (native "pev")
L 11/18/2008 - 15:40:07: [AMXX] [0] 31820.attach::get_grenade_type (line 1770)
L 11/18/2008 - 15:40:07: [AMXX] [1] 31820.attach::fw_touch (line 1107)

My plugins:
Nade Modes Version v7.0 + Zombie Plague v4.10

Any help will be appreciated!

Thanks
__________________
vcwz is offline
1sland
BANNED
Join Date: Nov 2008
Location: Who cares
Old 11-27-2008 , 11:19   Re: Nade Modes (Nomexous) v7.0
Reply With Quote #136

hm on my server lasermines dissapear with this plugin and also my server get crashed with petFollowers by GHW+This plugin. hm its ok ?
PS Zombie Plague 4.1
1sland is offline
Send a message via ICQ to 1sland Send a message via Skype™ to 1sland
koleos
Senior Member
Join Date: Jul 2008
Old 12-03-2008 , 00:02   Re: Nade Modes (Nomexous) v7.0
Reply With Quote #137

can u please add heatseeking grenade ? PLEASE
thanks
koleos is offline
Eclipse.
Junior Member
Join Date: Dec 2008
Old 12-15-2008 , 02:35   Re: Nade Modes (Nomexous) v7.0
Reply With Quote #138

Can you tell me the exact steps to enable the nade modes?
i tried & tried & i cant seems to enable the nade modes , im going insane -,-"
Eclipse. is offline
benamo6
Veteran Member
Join Date: Aug 2008
Location: NeverLand
Old 12-15-2008 , 08:16   Re: Nade Modes (Nomexous) v7.0
Reply With Quote #139

Here you have ES version for lang

[es]

NADE_HTML :
<body bgcolor=black><div><font face=Tahoma color=#ffb000>Que tengo que hacer?</div>
<div>Cuando tengas una granada en tu mano nada mas apreta click derecho : Modo Trip Laser.</div>
<div>Despues que elejiste un modo y tiraste la granada vas a ver que su comportamiento cambiara.</div>
<div><br \></div>
<div>Que hace cada modo?</div>
<div>1. Normal</div>
<div>- La granada comun</div>
<div>2. Proximidad</div>
<div>- La granada no explota, almenos que halla alguien cerca</div>
<div>3. Impacto</div>
<div>- La granda explota cuando toca algo (una pared, un jugador, etc.)</div>
<div>4. Trip Laser</div>
<div>- La granada se pega a algo solido (pared, etc.), se activara si un jugador pasa atraves del laser, entonces la granada explotara</div>
<div>5. Movimiento</div>
<div>- Igual que la de proximidad, pero la granada explota cuando el jugador llega a una determinada velocidad</div>
<div>6. Mina</div>
<div>- La granada explota cuando usas la E (+use)</font></div>
__________________
Please help me with this Thread
I am 70% addicted to Counterstrike. What about you?
Ill make any spanish translation of a plugin. Just ask for it
benamo6 is offline
Send a message via MSN to benamo6
Reverse
Junior Member
Join Date: Dec 2008
Old 12-16-2008 , 11:49   Re: Nade Modes (Nomexous) v7.0
Reply With Quote #140

Hello, i have a little problem (that in part is already fixed) I install the plugin, I enter in my server... then, when I press Right Click, dont change the mode at all, I press too many times and nothing!!


But....


When I Look up a bit and later I press right click... it start to change!! weirdo Error... huh...

And I want that it change when I press right click T_T...


I hope that you understand me... I speak a little english :S
Reverse is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode