Page 1 of 1

utstasdb problem

Posted: Fri Jul 03, 2009 7:54 am
by seven69
dedicated UT2004 3369
Linux-32bits
UTStatsDB + OLStats
UT2Vote51

Hi,

i've recently created 2 new games in deathmatch with GameMaker3. I still have a problem with UTStatsDB
here is screenshot.

at the top: the result after a match with my new games
at the bottom: a match in a default game.

if someone have an idea :)

Thanks for all.

Re: utstasdb problem

Posted: Fri Jul 03, 2009 9:09 am
by Panther
You're not giving much information. What do you mean by a new game? A new game type? A new map?

Re: utstasdb problem

Posted: Fri Jul 03, 2009 10:38 am
by horndog

Re: utstasdb problem

Posted: Fri Jul 03, 2009 2:18 pm
by Panther
I'm not certain I see the point as all that seems to do is create new game classes with specific mutators enabled. Either way, anyone using this would have to add their new game classes to the types table, or edit the one that is created automatically. There is some documentation on the database tables in the SVN trunk under docs/DATABASE.txt.

Re: utstasdb problem

Posted: Fri Jul 03, 2009 2:28 pm
by horndog
I'm not certain I see the point as all that seems to do is create new game classes with specific mutators enabled. Either way,anyone using this would have to add their new game classes to the types table, or edit the one that is created automatically. There is some documentation on the database tables in the SVN trunk under docs/DATABASE.txt.
Actually the idea behind this is to have more than one map list per game type. You can have a map list for small map, urban maps, maps with low G and so on... and all would be vote-able.

Unlike the version for ut2003 the current version is suppose to advertise on the game browser under the base game type. I have not tried the current one.

Re: utstasdb problem

Posted: Sat Jul 04, 2009 10:45 am
by seven69
hi guys,

sorry i've not seen your replies before.

so i watched at the DATABASE.txt
and seen this:

to include an entry in the ut_type table with tp_desc set to match
the game type description ("Death Arena") and tp_type set to "1"

On my database i've my 2 new GameTypes but "tp_type" was set to 0
i've modified it by 1 but i still have the problem.
tp_team is set to 1 i have to change it ?

and i noticed at the ut_matches table, gm_type is set to 40 or 39 but not to 1 like DeathMatch...

Re: utstasdb problem

Posted: Sat Jul 04, 2009 12:43 pm
by Panther
tp_type is the game type. 1 = Deathmatch, 2 = CTF, 3 = Bombing Run, etc. Just check the existing rows.
tp_team is simply whether it's a team game. 0 = No, 1 = Yes.

Those are the only values you want to modify.

Re: utstasdb problem

Posted: Sat Jul 04, 2009 3:07 pm
by seven69
it's ok i think there was a conflict i changed tp_team (because my 2 gametypes are not a team game) to 0 and now it's good :)

thanks.