some people havent been respawning

Ask questions and share info about GunGame 5

Re:

Postby daggerclan » Tue May 25, 2010 11:28 pm

satoon101 wrote: Try this daggerclan, if you would, please change the following (in your ../addons/eventscripts/gungame51/scripts/custom/gg_assist/gg_assist.py )and see if the error persists:

def award_points(userid, victim, points):
    # Calculate the points based on the percent set up
    points = points * (int(gg_assist_percent) / 100.0)


Change that to:

def award_points(userid, victim, points):
    if not es.getuserid(userid): return
    # Calculate the points based on the percent set up
    points = points * (int(gg_assist_percent) / 100.0)

Satoon


Looks like this did the trick. I've been running gg_assist on 3 servers since last night and NO ERRORS !

*******************************************************************************
*                                                                    v5.1.449 *
*                          GUNGAME v5.1 ERROR LOGGING                         *
*                           HTTP://WWW.GUNGAME5.COM/                          *
*                                                                             *
*       GG VERSION: 5.1.449                           IP: 205.234.153.42      *
*      SPE VERSION: 1.5.0f r75                      PORT: 27015               *
*         PLATFORM: NT                              DATE: 05-25-2010          *
*       ES VERSION: 2.0.0.252            ES CORE VERSION: 2.0.0.250i          *
*       MM VERSION: 1.8.1V                    SM VERSION: 1.3.2               *
*     MANI VERSION: 1.2T VSP                 EST VERSION: 0                   *
*                                                                             *
*******************************************************************************


 




.
daggerclan

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

Postby satoon101 » Tue May 25, 2010 11:55 pm

And people are respawning properly? If so, that's great news!!! Glad to hear!!

Satoon
satoon101

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

Postby XE_ManUp » Wed May 26, 2010 12:09 am

Awesome. I'll have to add that bug fix.

Also, when you "redeem" your points, let's say you have 150, after you redeem the points, are 100 points removed to where you have 50 left? I was told that when people redeem points, they can just keep redeeming. When I tested, that never happened to me. Then again, when I tested, neither did the respawn thing. ;)
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Re: some people havent been respawning

Postby daggerclan » Wed May 26, 2010 3:19 am

Well, it's been 24 hours and still no errors on any of the 3 servers. And no problem with redeeming points or respawning. If I have 130 points and select redeem I level up and have 30 points remaining.
Seems to be working fine. Initially, I thought you loose all points when the round ends but that's not the case. You keep gaining points until you redeem them or the map ends. And that seems to be the best way anyhow. I've tried numorous settings and currently have it where you can't level up on nade or knife, works fine but with that setting the points are pretty much useless if you haven't used them by then. I have added adverts using Mani to tell players how to redeem their points or just bind a key to the !assist menu. i.e. bind "t" "say !assist"

My players love this. It is totally awesome. Thanks.

p.s. I know you guys must go through some tremendous frustrastion with errors like this but I want you all to know your hard work is greatly appreciated.
daggerclan

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

Postby XE_ManUp » Wed May 26, 2010 9:59 am

That's one of the features that I am planning to add - advertisements, that is. I have to add the bug fix that satoon101 so graciously provided, advertisements, and the ability to download custom sounds (forgot to do that in the first place, but if you leave the default sound it is fine).

And awesome...I'm glad that is working. Looking at the code, the only reason I could figure it wouldn't work is if there was some unknown error.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Postby XE_ManUp » Thu May 27, 2010 1:37 am

FYI - Updated gg_assist to 1.1. Should have nailed everything down.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Re: some people havent been respawning

Postby PabloP » Thu May 27, 2010 11:01 pm

So this will fix respawning issue? dont need r449?
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Re: some people havent been respawning

Postby XE_ManUp » Thu May 27, 2010 11:24 pm

PabloP wrote:So this will fix respawning issue? dont need r449?

As long as you have revision 445 or higher, you should be fine. However, I do always suggest keeping your GunGame installation as up-to-date as possible considering that most revisions are updated with bug fixes. However, in some cases, we simply add small performance increases or enhancements like updated translations or requests. Either way, you should be okay if you have 5.1.445 or higher.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Postby PabloP » Thu May 27, 2010 11:32 pm

sounds good. i just read the assist post, but 448 is the latest public release right
PabloP

Private 1st Class
Private 1st Class
 
Posts: 141
Joined: Tue Mar 02, 2010 1:02 am

Re:

Postby XE_ManUp » Fri May 28, 2010 12:15 am

PabloP wrote:sounds good. i just read the assist post, but 448 is the latest public release right

Correct. We are actually up to revision 450, but haven't created a zip for it as of yet. So 448 will certainly do.
XE_ManUp

Site Admin
Site Admin
 
Posts: 662
Joined: Sat Sep 06, 2008 3:36 am

Previous


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 10 guests

cron