GG knife pro

Ask questions and share info about GunGame 5

GG knife pro

Postby MikE3D » Mon Jul 19, 2010 11:48 pm

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
 
Image
MikE3D

Private
Private
User avatar
 
Posts: 13
Joined: Mon Feb 16, 2009 2:46 pm
Steam Friends Name: -=BwA=- MikE3D

Postby daggerclan » Tue Jul 20, 2010 3:11 pm

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
daggerclan

Corporal
Corporal
User avatar
 
Posts: 250
Joined: Mon Jul 13, 2009 7:54 pm
Location: United States

Postby MikE3D » Tue Jul 20, 2010 9:21 pm

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.
MikE3D

Private
Private
User avatar
 
Posts: 13
Joined: Mon Feb 16, 2009 2:46 pm
Steam Friends Name: -=BwA=- MikE3D



Return to General Discussion

Who is online

Users browsing this forum: No registered users and 34 guests