Raised This Month: $ Target: $400
 0% 

[HELP] NanoSuit Advanced


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hellmoss
Senior Member
Join Date: Oct 2009
Location: ZOMBIE PLAGUE
Old 03-03-2010 , 11:41   [HELP] NanoSuit Advanced
Reply With Quote #1

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 "*****"
hellmoss is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-03-2010 , 11:49   Re: [HELP] NanoSuit Advanced
Reply With Quote #2

you need to make sure player is at least connected.
__________________
Arkshine is offline
hellmoss
Senior Member
Join Date: Oct 2009
Location: ZOMBIE PLAGUE
Old 03-03-2010 , 11:53   Re: [HELP] NanoSuit Advanced
Reply With Quote #3

How to?
hellmoss is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-03-2010 , 12:07   Re: [HELP] NanoSuit Advanced
Reply With Quote #4

is_user_connected()
__________________
Arkshine 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 08:44.


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