[Request] Increase MAX_CUSTOM_MODELS to match the CPE protocol
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c
- Domain
- networking
Research direction
Start by reading the CPE handlers for DefineModel, DefineModelPart, and UndefineModel, then find where MAX_CUSTOM_MODELS is defined and used. Check how the client advertises protocol support and how older clients can remain compatible. Done means supporting the requested model ID range and negotiating the supported maximum with servers.
Written by the indexing model from the issue text.
Description
The current network protocol (DefineModel, DefineModelPart and UndefineModel) packets use an unsigned byte for the Model ID (0-255), while the client only supports Model ID's of 0-63. This is not documented on the CPE spec either. I've looked through the commits on the relevant code and can't find any documented reason why it was limited to 64 except the original proposal itself in #671.
I am requesting that MAX_CUSTOM_MODELS be bumped from 64 to 256. If this is implemented, it would make sense to also expand the protocol so servers can request the MAX_CUSTOM_MODELS supported by the client to maintain support with older clients.
- Dominant language
- C
- Stars
- 2.1k
- Forks
- 338
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClassiCube/ClassiCube
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
ClassiCube/ClassiCube#1623 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
ClassiCube/ClassiCube#1573 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 70/100
ClassiCube/ClassiCube#873 · 3 comments ·
-
Cant sign up accountOpen
Difficulty 4/5 3-5 days Newbie friendliness 20/100
ClassiCube/ClassiCube#1617 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
ClassiCube/ClassiCube#1614 · 2 comments ·
All issues in ClassiCube/ClassiCube
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
[BUG] Regression in 9.2.0: `socket.c: error: storage size of 'info' isn't known`Possibly taken @barracuda156 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
valkey-io/valkey#5551 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day