New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dedimania problems. #791
Comments
Where is your server located? Did you check your connection to the dedimania servers from your server? Could you please run this:
|
Based on the data I can't figure out what it could be, it misses the data, which is not normal. |
@TheLongLife You still suffer from this issue? Could it be related to the instability of the dedimania servers and your internet? I personally have a lower upload rate sometimes at locations and can still get it working without problems. It might be an problem with an unstable connection from your location to the dedimania api. |
I haven't used the server/PyPlanet in a while (as I usually start the server only when I hunt the maps) The last time I used it I was still having those problems. What I can tell you is that when I tried using the EvoSC controller I haven't had the issues with records sending to Dedimania, which leads me to believe that there is no problem with my connection. |
Does the map contain custom blocks/embedded blocks? There is currently a well know issue with dedimania rejecting large replays with hacked maps (maps with unlimited embedded objects or hacked validation status). @TheLongLife |
Hi. I've updated the PyPlanet to the latest version and I tested it again on a few maps and I haven't had the issue with PyPlanet sending the times but I still had the problem where it won't load the times when I change the map (like this https://camo.githubusercontent.com/5e537c03531b85f30d6763c27284bf03f3d2a5d8/68747470733a2f2f692e696d6775722e636f6d2f327134757649312e706e67) it loads the times when I do //res again though. |
@TheLongLife Anything in the console during this error now? |
I forgot to copy/screenshot the console when I got that error...from what I remember it said something about the timeout. I just tried with like ~20 maps and I had no problems this time. If I run into that error again I'll let you know. |
That is what i get in the console and in the game it says : "Error: Dedimania error ocurred!" Edit:
Happened on these 2 maps so far: |
@TheLongLife Perfect. This is what I need ;-) |
@TheLongLife We narrow it down to a //restart. Can you try to see if the //replay works or doesn't work? |
If I do:
It fails to send the record that way too even thought it says it was sent successfully in the chat. Note: The only way for it to send the dedi record succesfully is to restart the map before 5 minutes. Console output from the moment I type //replay:
|
Thank you for the details, 0.8.0 is ready for release, I will make this part of the first bugfix version 0.8.1 because I need more time to investigate and narrowing down in the code. Thank you very very much for the detailed reports |
Regarding these issues with Dedimania, i'm not much on servers so i don't notice them much. Though i played and finished several times a RPG map along many others players and apparently no record has been sent to Dedimania :/.
May not be too strange, seems to occur often and be the standard behavior if a map was played for 6+ hours when the last player disconnects it instantly switches. Maybe this is a part of the issue though? That Pyplanet doesn't handle properly the records upload to Dedimania when Maniaplanet does the "at least 6h played map & no more player switch". Not tied to the issue the OP has though, but if it can help to fix one of the Dedimania issues, always good i guess. Update: A new case confirms the issue with what i described in the previous § with that "at least 6h played map & no more player switch". I added a new RPG map on 2 servers. The map was played on one of them (_Harest_RPG_Beg) from 2020/05/19 18:46:37 to 2020/05/20 02:02:46 (GMT+2 ; when the last player left). 53 players finished the map during that time. No record was updated to Dedimania despite at least 37 should have (it's a maxed server on Dedimania so top 80 is registered, and only 43 records atm).
|
I've also been encoutering this issue quite often on my servers running PyPlanet Version 0.9.2. My moderators told me that they noticed that the issue does also happen especially when the time is extended by //extend or vote. I did also notice, that the servers are often shown as offline on http://dedimania.net/tm2stats/?do=stat maybe that has something to do with it. |
Looks like the update loop - sending current server information to Dedimania every four minutes - did not work correctly (it got blocked on retrieving the maximum players/spectators). |
Since it's been a while, I want to give some new feedback. We haven't really been encountering this issue a lot or at all anymore. BUT the interesting thing is that we didn't run into the issue anymore (or maybe so rare that no one of my moderators and myself noticed it), after our server accounts were upgraded to unlock claming top 80 dedimania records. |
Cf. my message above, there's at least the case where Pyplanet doesn't send anything when ManiaPlanet switch the map with the condition: "at least 6h played map (just need a no time limit server for it to always happen) & no more player on the server" that would still need to be solved if possible. Not related to the OP issue directly though. Just a regular case on RPG servers. |
What I wanted to say with my comment above is that we didn't have an issue anymore with extending the map time and having records not being sent, it's weird that it didn't occure anymore after the server were upgraded. I did just dig through some of the servers logs. The timeout error is still there. Here is the log of one of my servers since the upgrade to 0.9.5: https://pastebin.com/ZrUgGuhC |
For now we can not reproduce this error, please reopen a new case if this persists. |
PyPlanet fails to send the times to Dedimania in ~80% of the time and sometimes it also fails to load the records.
Expected Behavior
When the map changes or you restart the current one, the record times should be sent to Dedimania
Actual Behavior
PyPlanet fails to send the times.
Steps to Reproduce (including precondition)
Screenshot on This Problem (if possible)
This is what it looks like when it fails to send the times.
In game:
Console:
This is what it looks like when it fails to load the Dedimania records.
In game:
Console:
Your Environment
The text was updated successfully, but these errors were encountered: