AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   uq_jumpstats v2.42 (https://forums.alliedmods.net/showthread.php?t=141586)

edgaras85 11-16-2010 13:00

Re: uq_jumpstats
 
Still errors..
Quote:

11/16/2010 - 15:05:13: [AMXX] Run time error 4: index out of bounds
L 11/16/2010 - 15:05:13: [AMXX] [0] uq_jumpstats.sma::fwdPlayerPostThink (line 5954)
L 11/16/2010 - 15:05:13: [AMXX] Displaying debug trace (plugin "uq_jumpstats.amxx")
Quote:

1/16/2010 - 15:05:14: [AMXX] Run time error 4: index out of bounds
L 11/16/2010 - 15:05:14: [AMXX] [0] uq_jumpstats.sma::fwdPlayerPostThink (line 5980)
L 11/16/2010 - 15:05:14: [AMXX] Displaying debug trace (plugin "uq_jumpstats.amxx")
Quote:

L 11/16/2010 - 15:05:14: [AMXX] Run time error 4: index out of bounds
L 11/16/2010 - 15:05:14: [AMXX] [0] uq_jumpstats.sma::fwdPlayerPostThink (line 5993)
L 11/16/2010 - 15:05:14: [AMXX] Displaying debug trace (plugin "uq_jumpstats.amxx")
Quote:

L 11/16/2010 - 15:05:15: [AMXX] Run time error 4: index out of bounds
L 11/16/2010 - 15:05:15: [AMXX] [0] uq_jumpstats.sma::fwdPlayerPostThink (line 5967)
L 11/16/2010 - 15:05:15: [AMXX] Displaying debug trace (plugin "uq_jumpstats.amxx")
And flooding many errors with this lines...

borjomi 11-16-2010 13:18

Re: uq_jumpstats
 
Quote:

Originally Posted by edgaras85 (Post 1350669)
Still errors..
And flooding many errors with this lines...

you help me if you see what player do, when this errors goes, cause i set array num to 100, so i think players cant do 100+ stafes so i need some demo or you explain what pepole do when erorrs goes.

borjomi 11-16-2010 13:20

Re: uq_jumpstats
 
Quote:

Originally Posted by keitHy (Post 1350657)
Good job... But, is it possible to remove legal settings thingy? I'd want to try some different settings :)

use cvar kz_uq_legal_settings 0 and kz_uq_fps 0

edgaras85 11-16-2010 13:24

Re: uq_jumpstats
 
Quote:

Originally Posted by borjomi (Post 1350684)
you help me if you see what player do, when this errors goes, cause i set array num to 100, so i think players cant do 100+ stafes so i need some demo or you explain what pepole do when erorrs goes.

Try in scripting help write this errors and write code
Maybe people will help, because i don't know when this error made...

borjomi 11-16-2010 13:29

Re: uq_jumpstats
 
Quote:

Originally Posted by edgaras85 (Post 1350692)
Try in scripting help write this errors and write code
Maybe people will help, because i don't know when this error made...

i know whats this error mean, i can do some protect form error but, its not fix, i need some info what people doing when errors goes)

gladius 11-16-2010 13:32

Re: uq_jumpstats
 
Quote:

Originally Posted by edgaras85 (Post 1350669)
And flooding many errors with this lines...

PreThink is called ~30 times per second flooding many errors with this...

Quote:

Originally Posted by borjomi (Post 1350684)
you help me if you see what player do, when this errors goes, cause i set array num to 100, so i think players cant do 100+ stafes so i need some demo or you explain what pepole do when erorrs goes.

Cuz you don't check if is a player

1 <= id <= get_maxplayers() or is_user_connected(id)

then the index will be between 1 and 32

borjomi 11-16-2010 13:40

Re: uq_jumpstats
 
hm but anyway i check is_user_alive(id) and anyway id 0-32 and array have Size [33] i think problem not in id) and why erorr doesnt goes on other varibles in postthink that use id num.

borjomi 11-16-2010 14:14

Re: uq_jumpstats
 
error goes on varible type_button_what[id][strafe_num[id]], and i think problem in strafe_num[id], but as i said i set type_button_what[33][100], but if strafe_num[id]>cvar kz_uq_max_strafes(def 14) plug doing reset and set strafe_num[id]=0..... so dont know why we have index out of bounds.

borjomi 11-17-2010 07:39

Re: uq_jumpstats
 
update 2.12
Changes
-Replaced cvar kz_uq_port on kz_uq_url, now you can write the path to the php file directly, I advise you to update the configuration file.
-Made a small optimization plugin
-Corrected some errors

edgaras85 11-17-2010 12:02

Re: uq_jumpstats
 
Finally no errors :)


All times are GMT -4. The time now is 09:33.

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