Mania Karma votes not uploaded?

UASECO is a fork of the XAseco2/1.03 controller for Trackmania and has been overhauled to support the Modescript Gamemodes of Trackmania².

Moderators: undef.de, NADEO

Post Reply
RelaxedRacer
Posts: 40
Joined: 08 Feb 2011, 02:30

Mania Karma votes not uploaded?

Post by RelaxedRacer » 10 Feb 2019, 11:08

Hi, got this problem with Mania-Karma for a while now,
The votes dont seem to get uploaded to the global database at all anny more?
(also the "/karma export" dont work, posted this before)
It seems i'm not the only one, i seen screens and visited other servers that had more local karma votes than global votes.

If this is already being looked at, than sorry for the bumb :D

:pil
TM¹ Server Link: tmtp://#join=racing_room_speed
TM² Server Link: maniaplanet://#join=racing_room_speed@TMStadium@nadeo
Discord YouTube Twitch

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

Re: Mania Karma votes not uploaded?

Post by undef.de » 11 Feb 2019, 15:49

I just took a look into my database and the last vote (from an random server) was at 2019-02-11 15:47:19, so the votes are stored. Maybe there is a problem on your site.

If you tell my the server login of your server having that problem, I'll take a deeper look.

Btw.: Something in the logfiles?
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.

RelaxedRacer
Posts: 40
Joined: 08 Feb 2011, 02:30

Re: Mania Karma votes not uploaded?

Post by RelaxedRacer » 11 Feb 2019, 16:49

undef.de wrote:
11 Feb 2019, 15:49
I just took a look into my database and the last vote (from an random server) was at 2019-02-11 15:47:19, so the votes are stored. Maybe there is a problem on your site.

If you tell my the server login of your server having that problem, I'll take a deeper look.

Btw.: Something in the logfiles?
Hmm so strange, btw i pm-ed you my log file some time ago, my server login is: racing_room_speed
(Stadium server)

I just pm-ed you the webrequest.log
:D
TM¹ Server Link: tmtp://#join=racing_room_speed
TM² Server Link: maniaplanet://#join=racing_room_speed@TMStadium@nadeo
Discord YouTube Twitch

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

Re: Mania Karma votes not uploaded?

Post by undef.de » 11 Feb 2019, 18:51

Code: Select all

/karma export
works perfectly and also for you, but you already exported the votes and the export is allowed only once. Anyway, the ManiaKarma returns an HTTP-Status (409) which lets the WebRequest worker think that the connection got an "Conflict". The design of the API was a fail from my side... I really need to change that.

Anyway, I just visited your server and voted for the map "Turbo_Strobe" and my vote was stored into my database (was watching it live).
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.

RelaxedRacer
Posts: 40
Joined: 08 Feb 2011, 02:30

Re: Mania Karma votes not uploaded?

Post by RelaxedRacer » 11 Feb 2019, 19:08

undef.de wrote:
11 Feb 2019, 18:51

Code: Select all

/karma export
works perfectly and also for you, but you already exported the votes and the export is allowed only once. Anyway, the ManiaKarma returns an HTTP-Status (409) which lets the WebRequest worker think that the connection got an "Conflict". The design of the API was a fail from my side... I really need to change that.

Anyway, I just visited your server and voted for the map "Turbo_Strobe" and my vote was stored into my database (was watching it live).
Ok cool, nice it worked, yesterday it wasn't (voted on a new added map), but ok good to hear this.

The Mania Karma plugin tels me to export when i join the server, i did paste the export http adress in browser once (2 months ago) to see if that worked, maybe i triggerd the "allowed once" (you can see i have little knowledge of this) :roflol:

Thanx for testing it
TM¹ Server Link: tmtp://#join=racing_room_speed
TM² Server Link: maniaplanet://#join=racing_room_speed@TMStadium@nadeo
Discord YouTube Twitch

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

Re: Mania Karma votes not uploaded?

Post by undef.de » 11 Feb 2019, 20:12

RelaxedRacer wrote:
11 Feb 2019, 19:08
The Mania Karma plugin tels me to export when i join the server[...]
Currently and everytime you join?
RelaxedRacer wrote:
11 Feb 2019, 19:08
[...] i did paste the export http adress in browser once (2 months ago) to see if that worked, maybe i triggerd the "allowed once"
No you can't export with a GET request, a POST with collected data is required. 8-)
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.

RelaxedRacer
Posts: 40
Joined: 08 Feb 2011, 02:30

Re: Mania Karma votes not uploaded?

Post by RelaxedRacer » 11 Feb 2019, 20:18

undef.de wrote:
11 Feb 2019, 20:12
Currently and everytime you join?
Yes, just tested
TM¹ Server Link: tmtp://#join=racing_room_speed
TM² Server Link: maniaplanet://#join=racing_room_speed@TMStadium@nadeo
Discord YouTube Twitch

RelaxedRacer
Posts: 40
Joined: 08 Feb 2011, 02:30

Re: Mania Karma votes not uploaded?

Post by RelaxedRacer » 11 Feb 2019, 23:00

The karma votes still dont seem to work, i voted on a new map, it showed global 1 vote, local 1 vote cool.
Than reloaded the map, global have 0 votes, local has 1 vote.
undef.de wrote:
11 Feb 2019, 18:51
Anyway, I just visited your server and voted for the map "Turbo_Strobe" and my vote was stored into my database (was watching it live).
That map has 4 global votes and 10 local. :|
TM¹ Server Link: tmtp://#join=racing_room_speed
TM² Server Link: maniaplanet://#join=racing_room_speed@TMStadium@nadeo
Discord YouTube Twitch

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

Re: Mania Karma votes not uploaded?

Post by undef.de » 12 Feb 2019, 15:47

RelaxedRacer wrote:
11 Feb 2019, 23:00
[...] reloaded the map [...]
Ah... maybe that's the problem, because the votes are only send to my global database on a map change. But it should store the votes on reload instead of replacing it. Need to check that, added to the to do list.
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.

RelaxedRacer
Posts: 40
Joined: 08 Feb 2011, 02:30

Re: Mania Karma votes not uploaded?

Post by RelaxedRacer » 12 Feb 2019, 16:01

undef.de wrote:
12 Feb 2019, 15:47
Ah... maybe that's the problem, because the votes are only send to my global database on a map change. But it should store the votes on reload instead of replacing it.
Hmm ok, does this also happen when the map gets skipped?
TM¹ Server Link: tmtp://#join=racing_room_speed
TM² Server Link: maniaplanet://#join=racing_room_speed@TMStadium@nadeo
Discord YouTube Twitch

Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 2 guests