lythx / trakman

Trackmania Forever server controller written in TypeScript
https://trakman.ptrk.eu
MIT License
26 stars 5 forks source link

Dedimania on TMUF #190

Closed Skorlok closed 1 year ago

Skorlok commented 1 year ago

Yo,

After trying this controller on TMUF (snow server)

I have this error: <ERROR> [19 Feb 2023 21:28:18] (Dedimania.js:111) Failed to fetch dedimania records for map Snow 2011 Lolly Jump (eY8soznlJRerRcKFVWvUfZvLXni), received error: Dedimania server responded with an error Error in method_handler.php(926): Invalid Environment: TMU,Snow Code: that all

Skorlok commented 1 year ago

It works when i hardcode it: ./built/plugins/dedimania/Dedimania.js:87

replacing { string: environment }, with { string: 'Alpine' },

the error is the parameter sent to the function getRecords (id, name, ENVIRONMENT, author)

lythx commented 1 year ago

It works when i hardcode it: ./built/plugins/dedimania/Dedimania.js:87

replacing { string: environment }, with { string: 'Alpine' },

the error is the parameter sent to the function getRecords (id, name, ENVIRONMENT, author)

Ah its 'Snow' instead of 'Alpine' in the controller, will fix in the next version thank you

wsrvn commented 1 year ago

should be fixed on main rn, if you find any more united related bugs would be nice if you reported them on here