utstasdb problem

General forum for discussions regarding UTStatsDB
seven69
Posts: 6
Joined: Thu Jun 11, 2009 7:58 am

utstasdb problem

Postby seven69 » Fri Jul 03, 2009 7:54 am

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.
Attachments
1245670134.JPG
1245670134.JPG (26.45 KiB) Viewed 4546 times

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: utstasdb problem

Postby Panther » Fri Jul 03, 2009 9:09 am

You're not giving much information. What do you mean by a new game? A new game type? A new map?

horndog
Posts: 40
Joined: Mon Mar 23, 2009 11:39 am
Location: 127.0.0.1
Contact:

Re: utstasdb problem

Postby horndog » Fri Jul 03, 2009 10:38 am


Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: utstasdb problem

Postby Panther » Fri Jul 03, 2009 2:18 pm

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.

horndog
Posts: 40
Joined: Mon Mar 23, 2009 11:39 am
Location: 127.0.0.1
Contact:

Re: utstasdb problem

Postby horndog » Fri Jul 03, 2009 2:28 pm

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.

seven69
Posts: 6
Joined: Thu Jun 11, 2009 7:58 am

Re: utstasdb problem

Postby seven69 » Sat Jul 04, 2009 10:45 am

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

Panther
Site Admin
Posts: 500
Joined: Sat Dec 08, 2007 12:51 am
Contact:

Re: utstasdb problem

Postby Panther » Sat Jul 04, 2009 12:43 pm

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.

seven69
Posts: 6
Joined: Thu Jun 11, 2009 7:58 am

Re: utstasdb problem

Postby seven69 » Sat Jul 04, 2009 3:07 pm

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.


Return to “UTStatsDB”