[B3.1][Stadium] Bug on converting TMF maps to TM2

Moderator: NADEO

Locked
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

[B3.1][Stadium] Bug on converting TMF maps to TM2

Post by undef.de »

I found some problems on converting maps from TMF to TMStadium:
  • The UID is only different to the original map, when the Editor require to confirm the map (orange flag)
  • The Authorzone is unset in the same case from above
At this map i just calculate the shadows, the flag was still green:
TMStadium: http://tm.mania-exchange.com/tracks/295 ... ord-castle
TMF: http://tmnforever.tm-exchange.com/main. ... 56085#auto
UID is the same in both and authorzone is empty.

At this map the editor forced me to confirm this map (organge flag):
TMStadium: http://tm.mania-exchange.com/tracks/295 ... mperamento
TMF: http://tmnforever.tm-exchange.com/main. ... 41517#auto
UID are different and authorzone was setup.


In the case of my project tm-karma.com i running currently into trouble, because my database is based upon to the UID and now i can not identify from which game the votes come from. Or if a map exists only in TMF or TMStadium... :oops:
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: [B3.1][Stadium] Bug on converting TMF maps to TM2

Post by undef.de »

I have edited the title, because i think it is a bug.

Anyway can someone confirm this please?
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
User avatar
hacki65
Posts: 80
Joined: 20 Mar 2012, 12:56

Re: [B3.1][Stadium] Bug on converting TMF maps to TM2

Post by hacki65 »

I can confirm this Bug. UID is the same and Authorzone is empty.
User avatar
Electron
Posts: 797
Joined: 15 Jun 2010, 18:02
Contact:

Re: [B3.1][Stadium] Bug on converting TMF maps to TM2

Post by Electron »

I can confirm this. In addition to this, maps that are not changed (same UID) do not have the title ID in chunk 03043003 and the title element in the XML chunk has the value "Unassigned". The Map also keeps the old TMUF author login.

But not changing the UID if you only calculated the shadows, changed the mod, some signs and the music is not a bug. It is necessary! Without that you can not update external dependencies and sites like MX or Dedimania interprets the map as a different one.

Not storing the author zone is also not a bug because if you only calculated the shadow or changed some signs, the author login of the map stays the same. This is correct because the track itself was not changed. And because the original author login is a TMUF login (can be different to MP login), no one knows the author zone of that login. The game is not able to determine the author zone from TMUF.

And because the track itself isn't changed, TM-Karma can use the old UID to store the data. Why do you want to differentiate between TM1 Stadium and TM2 Stadium? If you really need this, you can test the header "type" or "exever" element of the XML chunk (the GBXDataFetcher class provides these values).
Image
TM²: TrackMania Telemetry Monitor version 1.2.4
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: [B3.1][Stadium] Bug on converting TMF maps to TM2

Post by undef.de »

Electron wrote:The Map also keeps the old TMUF author login.
Ok... i have the same and therefore i was not able to see that.
Electron wrote: But not changing the UID if you only calculated the shadows, changed the mod, some signs and the music is not a bug. It is necessary! Without that you can not update external dependencies and sites like MX or Dedimania interprets the map as a different one.
Sure, in case of the same "Game" this makes sense, but in my thinking the TMStadium is a different "Game" and therefor all maps should become a new UID. Also at some maps the editor forced me to confirm the map (orange flag). I don't know why, but it got a new UID and authorzone was setup...
Electron wrote: And because the track itself isn't changed, TM-Karma can use the old UID to store the data. Why do you want to differentiate between TM1 Stadium and TM2 Stadium?
1. To be able to link to servers where the map is installed, but if i do not know which game i can't link with tmtp:// and maniaplanet://, because i don't know which one is the right one.

2. To be able to retrieve the times from dedimania.net

3. To be able to send the right votes to mania-exchange.com or tm-exchange.com

Electron wrote: If you really need this, you can test the header "type" or "exever" element of the XML chunk (the GBXDataFetcher class provides these values).
Sure i could do this, but not all admins update the plugins soon. I have disabled the APIv2 at 2012-08-15 and there are still a lot of servers running this. For me it is too late to do something, i have to life with this situation. :teub:
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
Locked

Return to “Trackmania² Canyon Reports”

Who is online

Users browsing this forum: No registered users and 1 guest