| hellmoss |
03-03-2010 11:41 |
[HELP] NanoSuit Advanced
Here are the debug traces:
Code:
L 03/03/2010 - 18:05:16: [CSTRIKE] Invalid player 4
L 03/03/2010 - 18:05:16: [AMXX] Displaying debug trace (plugin "nanosuit_advanced.amxx")
L 03/03/2010 - 18:05:16: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 03/03/2010 - 18:05:16: [AMXX] [0] nanosuit_advanced.sma::fw_traceattack (line 1555)
L 03/03/2010 - 18:05:18: [CSTRIKE] Invalid player 4
L 03/03/2010 - 18:05:18: [AMXX] Displaying debug trace (plugin "nanosuit_advanced.amxx")
L 03/03/2010 - 18:05:18: [AMXX] Run time error 10: native error (native "cs_get_user_team")
L 03/03/2010 - 18:05:18: [AMXX] [0] nanosuit_advanced.sma::fw_traceattack (line 1555)
L 03/03/2010 - 18:05:18: [FUN] Invalid player 4
L 03/03/2010 - 18:05:18: [AMXX] Displaying debug trace (plugin "nanosuit_advanced.amxx")
L 03/03/2010 - 18:05:18: [AMXX] Run time error 10: native error (native "set_user_rendering")
L 03/03/2010 - 18:05:18: [AMXX] [0] nanosuit_advanced.sma::event_death (line 1014)
On line 1555:
Code:
// Strength Mode
if (get_pcvar_num(pcv_nn_ff))
{
if (cs_get_user_team(victim) == cs_get_user_team(attacker))
{
damage /= 2.0
use_strength = 2
}
else
{
use_strength = 1
}
}
else
{
if (cs_get_user_team(victim) == cs_get_user_team(attacker)) // this is line 1555
{
if (get_pcvar_num(pcv_nn_st_can_th))
use_strength = 1
}
else
{
use_strength = 1
}
}
--------------------------------------------------------------
Line 1014
Code:
public event_death()
{
static victim
victim = read_data(2)
if (victim == 0)
return
reset_rendering(victim) // this is line 1014
if (get_pcvar_num(pcv_nn_price) > 0 && get_pcvar_num(pcv_nn_death))
{
cl_nn_has[victim] = NANO_NO
nanosuit_reset(victim)
}
return
}
What happens in game?
Well, sometimes a player becomes invisible, but he is not In-game he's like a ghost. Invisible to others, but you can spectate him. His name when spectating is " " (nothing, no name).. If you aim at him if you are near him his name is "*****"
|