Page 1 of 1

GG knife pro

PostPosted: Mon Jul 19, 2010 11:48 pm
by MikE3D
I noticed that when someone is on knife (final level) and someone else that is on nade knifes the knifer, the knifer does not level down. This seemed to work before the OB update but I wanted to post here before I submitted it as a bug.

I took a peek at the gg_knife_pro.py code and noticed what looks like a bug in the code but I'm not familiar with python sythax:
(Notice the "\" in the conditional statement line# 122 of gg_knife_pro.py)

    # If the level difference is higher than the limit, stop here
    if (attackerLevel - ggVictim.level) > int(gg_knife_pro_limit) and \
                                            int(gg_knife_pro_limit) != 0:
        msg(attacker, 'LevelDifferenceLimit',
            {'limit': int(gg_knife_pro_limit)}, prefix=True)
        return
 

PostPosted: Tue Jul 20, 2010 3:11 pm
by daggerclan
That's the way it worked before the OB update also. A player on knife is immune to leveldown from a player on nade. The way to fix it is set gg_knife_pro_always_level 1 in your gg_knife_pro.cfg

PostPosted: Tue Jul 20, 2010 9:21 pm
by MikE3D
Thanks, I guess I've always skipped that config option, since the name is a little deceiving. It looks like it still abides to the gg_knife_pro_limit so that's what I needed.