Not earning grenade if 1x1

Having problems with GunGame5 (NOT FOR BUGS)? Ask here!

Not earning grenade if 1x1

Postby Neka » Sun Feb 05, 2012 10:56 am

Sorry if i post it in wrong place, i dont know different in bugs and troubleshooting.

Problem there (gg_earn_nade,):
def give_nade(userid):
    [...]  

    # Was this the last kill in the round? (CT)
    if not getUseridList('#alive,#ct'):
        return

    # Was this the last kill in the round? (T)
    if not getUseridList('#alive,#t'):
        return

    [...]

Need to check if there 1x1 situation and Deathmatch mode is on
Neka

Private
Private
 
Posts: 40
Joined: Thu Sep 01, 2011 4:22 am

Postby satoon101 » Sun Feb 05, 2012 5:23 pm

I think we have a good solution for this, but I want to test it prior to committing the changes. Thank you for pointing this out.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm

Postby satoon101 » Sun Feb 05, 2012 6:12 pm

Ok, tested and the fix worked. I have committed the changes to the SVN. I'll probably release this version to the public sometime within the next week.

Satoon
satoon101

Site Admin
Site Admin
 
Posts: 1055
Joined: Thu Oct 09, 2008 4:27 pm



Return to Troubleshooting (NOT FOR BUGS)

Who is online

Users browsing this forum: No registered users and 17 guests

cron