BuzzerBeater Forums

BBAPI Support > New features

New features

Set priority
Show messages by
This Post:
11
163625.1
Date: 11/10/2010 07:17:54
TrenseRI
II.2
Overall Posts Rated:
34743474
Second Team:
ChiLeaders
After some user requests, we've decided to add some new information to the teaminfo.aspx and login.aspx pages. This information is the date when a team has been created - or as it will be in the pages - createDate.
The date will be formatted just like all other dates in BB API and it will appear on the teaminfo page under the "owner" value (both shown only if the team is not bot). On the login page, if the quickinfo option is selected, the value will also be displayed under "owner".
Here's an example:

<bbapi version="1">
<team id="41071" retrieved="2010-11-10T10:44:55Z">
<teamName>TrenseRI</teamName>
<shortName>TRE</shortName>
<owner supporter="1">BB-Marin</owner>
<createDate>2007-11-17T15:04:00Z</createDate>
<league id="1188" level="1">A-1 Superliga</league>
<country id="24">Hrvatska</country>
</team>
</bbapi>

If there are any reasons why we should do this differently, please report here during next 7 days. Once it is implemented, the change will be permanent.

From: Pouah

This Post:
00
163625.2 in reply to 163625.1
Date: 11/10/2010 10:34:31
Overall Posts Rated:
3232
What happens if a team has been created with an ID which has been already used by a team previously deleted ?

It's a good new feature really !
But is there any chance to get those bugs corrected:
- login issue because of special character
- same potential (10) for Legend and HOF player
- "unknown" type for some PL games
- ""cup.semi_or_final"" type for both Cup final and Cup semi final games
- "unknown" type for following games: BBB 1/4 final, BBB 1/2 final, BBB final
- "Unknown" value for offStrategy, if the team used Outside Isolation
- "Unknown" value for defStrategy, if the team used Outside Box and One


Regards,
Pouah

Last edited by Pouah at 11/10/2010 10:35:32

From: B.B.King

This Post:
00
163625.3 in reply to 163625.2
Date: 11/10/2010 11:13:55
Overall Posts Rated:
12061206
What happens if a team has been created with an ID which has been already used by a team previously deleted ?

Of course new element should contain date when current team started to exist (when current owner received club). Only this information has sense. Without this information it is hard (or sometimes even impossible) to make proper statistic (including all matches of current owner and excluding matches of previous owners), because current owner has the same teamid as previous owners. Practically it is still the same club. You could try to analyze changes of club's name in schedule during season, but You can not recognize two different situations:
1. new owner received club after last match in season and before first match in next season
2. the same owner changed club's name between seasons.
And another incredible situation was impossible to discovery - when new owner used the same club's name as previous ;-)

Last edited by B.B.King at 11/10/2010 11:14:51

This Post:
00
163625.4 in reply to 163625.1
Date: 11/10/2010 12:06:03
Le Cotiche
III.1
Overall Posts Rated:
740740
still no way to order the standings in case of WO, i guess

This Post:
00
163625.5 in reply to 163625.4
Date: 11/10/2010 12:40:47
Overall Posts Rated:
3737
Everyone, please, don't use this thread for unrelated bug reports. Feel free to create new threads for existing bugs, or bump old ones if they're previously reported.

This Post:
00
163625.6 in reply to 163625.5
Date: 11/13/2010 03:37:13
TrenseRI
II.2
Overall Posts Rated:
34743474
Second Team:
ChiLeaders
Usually, I don't like offtopik posts like that one and I don't condone it, but in this case, since we have neglected the BB API forum so much, I understand. Also, I'll do what I can to fix those bugs.

From: Pouah

This Post:
00
163625.7 in reply to 163625.6
Date: 11/13/2010 08:08:35
Overall Posts Rated:
3232
Thank you ! You are my hero ! :)

From: BB-Marin

This Post:
00
163625.8 in reply to 163625.7
Date: 11/26/2010 09:55:45
TrenseRI
II.2
Overall Posts Rated:
34743474
Second Team:
ChiLeaders
Don't thank me yet. I still haven't found time to do this.

From: Pouah

This Post:
00
163625.9 in reply to 163625.8
Date: 11/30/2010 07:42:51
Overall Posts Rated:
3232
I doubt you will accept ! But i you need help... just ask :)

From: BB-Marin

This Post:
00
163625.10 in reply to 163625.9
Date: 12/02/2010 07:38:46
TrenseRI
II.2
Overall Posts Rated:
34743474
Second Team:
ChiLeaders
The creation date (of the current owner) has been added, as announced. Will try to fix as many other bugs as possible (probably not all).

This Post:
00
163625.11 in reply to 163625.10
Date: 12/02/2010 08:48:19
TrenseRI
II.2
Overall Posts Rated:
34743474
Second Team:
ChiLeaders
Other changes I plan on making, at least a week from now (based on the bugs you reported):

- I can use a function that strips character accents (basically switches ñ to n, etc) and apply that to the loginName, if there are no objections?
- potential all time great will be 11
- private league games in neutral arenas will be marked "pl.rsneutral"
- can't help you with "cup.semi_or_final", since we don't differentiate those in the database
- BBB 1/4 final, BBB 1/2 final, BBB final games will be marked "bbb.neutral"
- the new defensive strategies (ones that are already available and the ones we *might* add) are: "InsideBoxAndOne", "OutsideBoxAndOne" and "BalancedBoxAndOne"
- new offensive strategies: "InsideIsolation", "OutsideIsolation", "BalancedIsolation"

Let me know if there are some more things that need fixing.