the-marenga / sf-server

A Shakes & Fidget server in the very early stages of developement
3 stars 1 forks source link

Deserialization error due to decimal point symbol #1

Closed GutZuFusss closed 2 days ago

GutZuFusss commented 3 days ago

This one actually took me long to figure out, but the official SF client seems to seriously use a comma instead of a point (german notation) for (at least) the "rnd" parameter in the /req.php requests.

I am at a loss of words, I want my 1 POINT 5 hours back.

GutZuFusss commented 3 days ago

Changing the type from float to string seems to to the trick. After some more fiddeling I am able to get ingame with the current, official client 🥳

Although I can't yet load up the quests, but thats for another issue :D

the-marenga commented 2 days ago

Server uses axum now and completely ignores the rnd part, so this should be fixes on main already