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

uq_jumpstats v2.42


Post New Thread Reply   
 
Thread Tools Display Modes
kiarfuzzy
Member
Join Date: Aug 2009
Old 08-29-2017 , 07:23   Re: uq_jumpstats v2.42
Reply With Quote #581

Quote:
Originally Posted by need100fps View Post
can you update one more time? it is a big problem now because you cant see your prestrafe if it is low pre like 230 or 240 pre this is a must thing because when you play kz climb maps and there is some places where no space for pre and all you get is 240, 230 prestrafers and you cant see them it is bad it only shows pre when you do 260+ need to make it to show low prestrafe too
There is a setting for that in config.cfg: kz_uq_min_pre
kiarfuzzy is offline
need100fps
Junior Member
Join Date: Apr 2017
Old 09-02-2017 , 18:16   Re: uq_jumpstats v2.42
Reply With Quote #582

Quote:
Originally Posted by kiarfuzzy View Post
There is a setting for that in config.cfg: kz_uq_min_pre
thank you ;D now it is all good
need100fps is offline
wAyz
Senior Member
Join Date: Feb 2010
Location: Germany
Old 10-19-2017 , 11:51   Re: uq_jumpstats v2.42
Reply With Quote #583

Small Update.
Attached Files
File Type: zip uq_jumpstats_v2.51.zip (654.7 KB, 852 views)

Last edited by wAyz; 10-24-2017 at 12:27.
wAyz is offline
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 10-22-2017 , 05:15   Re: uq_jumpstats v2.42
Reply With Quote #584

Quote:
Originally Posted by wAyz View Post
Small Update.
Why so?
__________________
Relaxing is offline
Old 11-19-2017, 07:05
ZEDD_Intensity
This message has been deleted by ZEDD_Intensity.
ZEDD_Intensity
Senior Member
Join Date: Jun 2016
Old 12-05-2017 , 16:19   Re: uq_jumpstats v2.42
Reply With Quote #585

Greetings!

Just here to ask for a little help with this? Would much appreciate it. Running AMXX 1.8.2

PHP Code:
L 12/05/2017 07:04:51Start of error session.
L 12/05/2017 07:04:51Info (map "deathrun_minecraft_fg") (file "addons/amxmodx/logs/error_20171205.log")
L 12/05/2017 07:04:51: [AMXXDisplaying debug trace (plugin "uq_jumpstats.amxx")
L 12/05/2017 07:04:51: [AMXXRun time error 4index out of bounds 
L 12
/05/2017 07:04:51: [AMXX]    [0colorchat.inc::ColorChat (line 74)
L 12/05/2017 07:04:51: [AMXX]    [1uq_jumpstats.sma::Color_Chat_Lang (line 8166)
L 12/05/2017 07:04:51: [AMXX]    [2uq_jumpstats.sma::Color_Chat_Lang (line 8164)
L 12/05/2017 07:04:51: [AMXX]    [3uq_jumpstats.sma::ResetHUD (line 8758
Thanks!

EDIT : Yep I found this reply :
Quote:
Originally Posted by wAyz View Post
Code:
L 06/27/2013 - 14:49:16: [AMXX] Displaying debug trace (plugin "uq_jumpstats.amxx")
L 06/27/2013 - 14:49:16: [AMXX] Run time error 4: index out of bounds 
L 06/27/2013 - 14:49:16: [AMXX] [0] colorchat.inc::ColorChat (line 74)
L 06/27/2013 - 14:49:16: [AMXX] [1] uq_jumpstats.sma::Color_Chat_Lang (line 8166)
L 06/27/2013 - 14:49:16: [AMXX] [2] uq_jumpstats.sma::Color_Chat_Lang (line 8164)
L 06/27/2013 - 14:49:16: [AMXX] [3] uq_jumpstats.sma::ResetHUD (line 8754)
I've managed to fix those errors listed above with a little edit in colorchat.inc:


Code:
/* Fun functions
*
* by Numb
*
* This file is provided as is (no warranties).
*/


enum Color
{
        NORMAL = 1, // clients scr_concolor cvar color
        GREEN, // Green Color
        TEAM_COLOR, // Red, grey, blue
        GREY, // grey
        RED, // Red
        BLUE, // Blue
}

new TeamName[][] = 
{
        "",
        "TERRORIST",
        "CT",
        "SPECTATOR"
}

ColorChat(id, Color:type, const msg[], {Float,Sql,Result,_}:...)
{
        static message[256];

        switch(type)
        {
                case NORMAL: // clients scr_concolor cvar color
                {
                        message[0] = 0x01;
                }
                case GREEN: // Green
                {
                        message[0] = 0x04;
                }
                default: // White, Red, Blue
                {
                        message[0] = 0x03;
                }
        }

        vformat(message[1], 251, msg, 4);

        // Make sure message is not longer than 192 character. Will crash the server.
        message[192] = '^0';

        static team, ColorChange, index, MSG_Type;
        
        if(id)
        {
                MSG_Type = MSG_ONE;
                index = id;
        } else {
                index = FindPlayer();
                MSG_Type = MSG_ALL;
        }
        
        team = get_user_team(index);
        
        if( team >= 0 && team < 4 )
        {
           ColorChange = ColorSelection(index, MSG_Type, type);

           ShowColorMessage(index, MSG_Type, message);
                
           if(ColorChange)
           {
                Team_Info(index, MSG_Type, TeamName[team]);
           }
        }
}

ShowColorMessage(id, type, message[])
{
        message_begin(type, get_user_msgid("SayText"), _, id);
        write_byte(id)                
        write_string(message);
        message_end();        
}

Team_Info(id, type, team[])
{
        message_begin(type, get_user_msgid("TeamInfo"), _, id);
        write_byte(id);
        write_string(team);
        message_end();

        return 1;
}

ColorSelection(index, type, Color:Type)
{
        switch(Type)
        {
                case RED:
                {
                        return Team_Info(index, type, TeamName[1]);
                }
                case BLUE:
                {
                        return Team_Info(index, type, TeamName[2]);
                }
                case GREY:
                {
                        return Team_Info(index, type, TeamName[0]);
                }
        }

        return 0;
}

FindPlayer()
{
        static i;
        i = -1;

        while(i <= get_maxplayers())
        {
                if(is_user_connected(++i))
                {
                        return i;
                }
        }

        return -1;
}

Anyways, if the author might come active again: There's still a random 'No stats bug' which
appears once in a while (mostly while jumping on block). Hope someone is able to fix that random bug.
For now, it seems like this is the way to go, and I've done what is mentioned up here, Thanks for your post wAyz. Hope this will be my final edit.

Regards
__________________

Last edited by ZEDD_Intensity; 12-05-2017 at 19:31. Reason: testing a solution
ZEDD_Intensity is offline
GrenKain
New Member
Join Date: Oct 2012
Old 01-20-2018 , 11:18   Re: uq_jumpstats v2.42
Reply With Quote #586

Hello. Could somebody help me?
I need to show just pre for everyone (like speed)

Quote:
Originally Posted by wAyz View Post
Small Update.
By the way
ERROR LOGS flooding
debug:
Code:
L 01/20/2018 - 20:11:07: [AMXX] Displaying debug trace (plugin "uq_jumpstats_v2.51.amxx")
L 01/20/2018 - 20:11:07: [AMXX] Run time error 10: native error (native "message_begin")
L 01/20/2018 - 20:11:07: [AMXX]    [0] colorchat.inc::ShowColorMessage (line 82)
L 01/20/2018 - 20:11:07: [AMXX]    [1] colorchat.inc::ColorChat (line 72)
L 01/20/2018 - 20:11:07: [AMXX]    [2] uq_jumpstats_v2.51.sma::fwdPreThink (line 5167)
L 01/20/2018 - 20:11:07: Plugin called message_begin with an invalid message id (0).

L 01/20/2018 - 20:11:07: [AMXX] Run time error 10: native error (native "message_begin")
L 01/20/2018 - 20:11:07: [AMXX]    [0] colorchat.inc::Team_Info (line 90)
L 01/20/2018 - 20:11:07: [AMXX]    [1] colorchat.inc::ColorSelection (line 108)
L 01/20/2018 - 20:11:07: [AMXX]    [2] colorchat.inc::ColorChat (line 70)
L 01/20/2018 - 20:11:07: [AMXX]    [3] uq_jumpstats_v2.51.sma::fwdPreThink (line 5153)
L 01/20/2018 - 20:11:07: Plugin called message_begin with an invalid message id (0).

L 01/20/2018 - 20:11:07: [AMXX]    [0] colorchat.inc::Team_Info (line 90)
L 01/20/2018 - 20:11:07: [AMXX]    [1] colorchat.inc::ColorSelection (line 104)
L 01/20/2018 - 20:11:07: [AMXX]    [2] colorchat.inc::ColorChat (line 70)
L 01/20/2018 - 20:11:07: [AMXX]    [3] uq_jumpstats_v2.51.sma::fwdPreThink (line 5134)
L 01/20/2018 - 20:11:07: Plugin called message_begin with an invalid message id (0).
amxmodx 1.8.1.
build 5787
__________________


Last edited by GrenKain; 01-20-2018 at 12:19.
GrenKain is offline
Send a message via ICQ to GrenKain Send a message via Skype™ to GrenKain
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 01-20-2018 , 14:36   Re: uq_jumpstats v2.42
Reply With Quote #587

Outdated server, dproto, unapproved plugin. 3 reasons for errors.
There is a reason why it is in this section and there is a reason to use latest binaries and not dproto.
__________________

Mordekay is offline
KingZed
New Member
Join Date: Apr 2011
Old 04-12-2018 , 11:08   Re: uq_jumpstats v2.42
Reply With Quote #588

Quote:
Originally Posted by wAyz View Post
Small Update.
i edited the sma,why i save the ''kz_uq_connect" to "ablhn",but i paly cs to the default "ad",i cant change it
KingZed is offline
metallsatanist
New Member
Join Date: Jun 2018
Old 06-16-2018 , 13:18   Re: uq_jumpstats v2.42
Reply With Quote #589

Guys, help me with the next problem. I play in 255aa server, and there jumps in 260+ unit LJ, 277+ unit CJ/SCJ are the norm. But beginning with 2.18 version this statistic is considered a bug. I do not want to disable kz_uq_bug_check, how can you solve this problem differently?

P.S. sorry for my bad english.
metallsatanist is offline
gil5587
Member
Join Date: Apr 2018
Old 08-16-2018 , 21:35   Re: uq_jumpstats v2.42
Reply With Quote #590

Can anyone help me pls?
I'm using the version 2.51 and the sounds are not working..

edit: sounds fixed, but "impressive" sound not working.

Last edited by gil5587; 08-18-2018 at 22:32.
gil5587 is offline
Reply


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 11:27.


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