Raised This Month: $ Target: $400
 0% 

[FIX REQ] Bazooka plugin error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dare.Devil
Member
Join Date: May 2014
Old 08-15-2014 , 10:30   [FIX REQ] Bazooka plugin error
Reply With Quote #1

hi all,

I get this error written in my logs.txt file when I play the server with bazooka plugin:
L 08/14/2014 - 18:21:04: [AMXX] Displaying debug trace (plugin "bazooka_fixed.amxx")
L 08/14/2014 - 18:21:04: [AMXX] Run time error 4: index out of bounds
L 08/14/2014 - 18:21:04: [AMXX] [0] bazooka_fixed.sma::player_bazooka (line 1283)

below is the PHP code ..line 1283 starts at the first line u see below..
hmm error: index out of bounds .. I can compile the plugin successfully as it is with no error..
but when I start playing it logs errors that can go over 20 MB in size
please help!!

PHP Code:
if (user_controll[id] > 0) { 
        new 
RocketEnt user_controll[id
        if (
is_valid_ent(RocketEnt)) { 
            new 
Float:Velocity[3
            
VelocityByAim(id500Velocity
            
entity_set_vector(RocketEntEV_VEC_velocityVelocity
            new 
Float:NewAngle[3
            
entity_get_vector(idEV_VEC_v_angleNewAngle
            
entity_set_vector(RocketEntEV_VEC_anglesNewAngle
        } 
        else { 
            
attach_view(idid
        } 
    } 
    return 
FMRES_IGNORED 


Last edited by Dare.Devil; 08-16-2014 at 09:36.
Dare.Devil is offline
 


Thread Tools
Display Modes

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 13:16.


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