UT2StatsDB (again)

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

tdw-socke

Member
Nov 21, 2003
994
0
16
what i found in the changelog to v2.20:
- Added check for UT2Vote modified damage types to convert them to standard damage types.

what is in OL-Stats3.0 Beta changelog:
= Fixed a bug that caused incompatability with certain chat-related mods
(again) - Thanks ProAsm!

but it still seems not to be working, and afaik he still didn't get into further contact, right?

for me it seems, that we are getting near to a point, where nearly all problems are fixed and most whishes are fullfilled, if possible, so maybe we could have a look at this one again sometimes...
 

ProAsm

Active Member
Mar 20, 2002
2,108
0
36
www.proasm.com
I think this guys email is broken.
I must have emailed him I dont know how many times and I get no reply what so ever.
You or somebody must have said something to him as this was his last email I got to which I responded with several questions but still no reply and no nothing.
Hi Ben,

Someone said that you didn’t get my email I sent, so I’m resending it:

Glad to hear you got everything working okay. What was the problem? I haven’t installed the new patch yet, and I’m getting close to releasing OLStats 2.50, so I’d like to make sure it all works.

Thanks for the code fix! It’s been on my to do list for some time, but I hadn’t gotten around to it. One question though: In the code you sent me, was it just a fix for the BroadcastHandler, or did it also have fix for the bug you mentioned earlier? I can’t just drop the code in because I’ve made a lot of changes to my code, so I need to know what exactly changes so I can merge it in…

-Greg
I cannot communicate with someone who has email problems like this.
This guy deletes OlStats just as the game ends and I want to know why he does this but I cannot get a reply.

Here is the offending code from OLStats - check the last line.
Code:
// Send stats for the end of the game
function EndGame(string Reason)
{
    local string out;
    local int i,j;
    local array<PlayerReplicationInfo> PRIs;
    local PlayerReplicationInfo PRI,t;
    local Controller C;

    out = Header()$"EG"$Tab$Reason; // "EndGame"

    // Quick cascade sort.
    for (i=0;i<GRI.PRIArray.Length;i++)
    {
        PRI = GRI.PRIArray[i];
        if ( !PRI.bOnlySpectator && (!PRI.bBot || bLogBots) )
        {
            PRIs.Length = PRIs.Length+1;
            for (j=0;j<Pris.Length-1;j++)
            {
                if (PRIs[j].Score < PRI.Score ||
                   (PRIs[j].Score == PRI.Score && PRIs[j].Deaths > PRI.Deaths) )
                {
                    t = PRIs[j];
                    PRIs[j] = PRI;
                    PRI = t;
                }
            }
            PRIs[j] = PRI;
        }
    }

    // Minimal scoreboard, shows Playernumbers in order of Score
    for (i=0;i<PRIs.Length;i++)
        out $= Tab$Controller(PRIs[i].Owner).PlayerNum;

    Logf(out);

    for( C=Level.ControllerList;C!=None;C=C.NextController )
    {
        if (C.PlayerReplicationInfo != none)
            ReportAccuracy(C.PlayerReplicationInfo);
    }


    // This makes it so the mean gameinfo can't deletes us!
    // It causes an accessed nones but we don't cares!
    // This allows chat to be logged after the match is over.
    Level.Game.Gamestats = none;
}
 
Last edited:

ProAsm

Active Member
Mar 20, 2002
2,108
0
36
www.proasm.com
Communicate anything you like - its his problem - he kills the Stats at Game end for some unknown reason.
There is nothing UT2Vote can do about it.
 

ProAsm

Active Member
Mar 20, 2002
2,108
0
36
www.proasm.com
Ok, I've added my bit there so just keep an eye out if he wants anything else as I just dont have the time to check all these different forums when the problem is not ours in the first place :)
 

ProAsm

Active Member
Mar 20, 2002
2,108
0
36
www.proasm.com
Socke I'm not getting involved with this guy, he's one of those I know it all types.
UT2Vote does in no way control, have any control or mess with any GameStats of any kind, OLStats or any other type of stats.
What originally happened is players asked him to add code that show what maps are voted for at the end of the game.
He then asked me to do that in 41 but I was not sure how to do it as I did not write OLStats so in 42 the mapvoting stats did not show.
In 43 I got it right except then I discovered he deletes OLStats just as the game ends so the Map voting CANNOT be logged anyway so the whole exercise from A - Z was just a waste of time and when players query why, he blames UT2Vote.
This guy is an utter **edit** and I want absolutely nothing to do with him, his OLStats or any other stats that he gets involved in.
 
Last edited:

tdw-socke

Member
Nov 21, 2003
994
0
16
:(
very sad, so i'll just quit on that one.
Very sad, that again, a nice project crashes because of the character-faults of one person :(

as i understand the stats-logging, no matter which one, they all need the standard gametypes, the standard weapontypes and a game-end in the log.

we had some problemes with those in ut2k3, but not that much, as localstats also logged the ttm-weapons, and our ut2vote-gametypes could be fitted in the correct database-descriptions easyly (on own servers of course, not on the epic-stats-server). The endgame is and was a probleme, but patrick wanted to solve that one...

ok, if the standard-stats work, than we are quite shure, that problems with ol-stats are not on our hands... But i must admit, that i don't get the standard-stats working too :rolleyes:
 

ProAsm

Active Member
Mar 20, 2002
2,108
0
36
www.proasm.com
Yes Gamestats only works correctly for standard type games which is stupid to start with and that alone is an Epic problem, because every custom game has to extend a standard game anyway so why can that custom game not show the gamestats for the extended game it represents - again a dumb move by Epic.

OLStats works fine with UT2Vote as it is now, its just that the voting is not recorded in the statlogs and that is because he deletes OLStats the very instant the game ends and that is his problem if he wants to do that and how the hell he can blame UT2Vote for not doing something in its EndGame function when UT2Vote does NOT have and EndGame function, and even if UT2Vote did have an EndGame function, it would be useless as he has already deleted his OLStats so there is no GameStats to call.
Can you emagine if we went around and blamed everyone else's mod when Admin complain about something.
No - I see him as very unprofessional in the way he conducts himself.

Its amazing how some authors get big heads like this the moment their mods become popular, grrrrrrrrr :(
 
Last edited:

tdw-socke

Member
Nov 21, 2003
994
0
16
and that's why im glad, to be part of a team, where this is not the case :D

jerry.gif


hehe, but did someone get utstatsdb working with olstats3.0rc1 or with the standard logging?
 

Imaginos

Deathball addict?
Sep 13, 2000
804
0
0
56
New Joisey, USA
Visit site
Sure, I mentioned this in the previous thread as well. I too was seeng that many of the matches were treated as rejects because they did not end properly. I set bAltSwitch=False and tried again.. Not sure why it allows matches to complete and be logged better, but it does.

Give that a try.
 

tdw-socke

Member
Nov 21, 2003
994
0
16
that was the first thing i tried, after reading your post, but no go... Must have mixed something up :(
 

tdw-socke

Member
Nov 21, 2003
994
0
16
hmm, i nearly tried everything now... i want to use the standard-local-logging, no OLStats, but i don't get any logs :(

I have another server running a TC-Mod without ut2vote, but with the same stats-settings, and that one loggs flawlessly...

did anyone get local logging working and may tell me, how to do it with ut2vote?

if not, i guess, we should have a look, if there is something in ut2vote, which interfears the logging. Yes i know, there is nothing, but why on earth does it log without ut2vote, and not with it?