question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parsing rating from title is not a good idea

See original GitHub issue

I just tried to host a coop game with title "all welcome 3-4 players " and on second try "3-4 players all welcome ". It seems like the client tries to parse the title and misinterprets the “3-4 players” as rating range, and subsequently sets the rating range to “3-4”. If the parsing of desired rating from title is basically [0-9]*-[0-9]*, it should be removed. This way of parsing rating from title is WAY too pimitive. Or ut should at least require there to be an “r” or “rating” after the number range.

Client version 0.10.5

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Brutus5000commented, May 12, 2019

It’s not a client issue, it’s a lack of server support to create a game with a dedicated rating range. While you can set it in the create game form, right now it has no effect on the server.

1reaction
Askaholiccommented, Jun 23, 2019

If you want server support for rating ranges, make a server issue or ping me in slack if one already exists

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parsing rating from title is not a good idea #1245 - Issuehunt
It seems like the client tries to parse the title and misinterprets the "3-4 players" as rating range, and subsequently sets the rating...
Read more >
Template parse errors: Can't bind to 'rating' since it isn't a ...
Im trying to make a rating system in a component, to import it in other pages in my app. this is my the...
Read more >
Don't Make These ATS Formatting Mistakes - Jobscan
However, non-traditional bullet points like stars, diamonds, and checkboxes do not always get parsed correctly. The quick fix? Use the good ...
Read more >
M121: Bringing it all together sort issue - parse error - MongoDB
Hi, I'm new and struggling on this lab and am confused. I can project the output after converting rating and votes and calculating...
Read more >
javascript - Parse a string with titles and subitems to an object
if line starts with "\s**" this is a subdivision associated with the previous title; all entries are trimmed and no "*" character should...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found