Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
GSGoal.QuestionClient sends message to wrong client #7534
CmdGoalQuestion uses client index instead of client id but indexes are not synced on network so whoever receives it is somewhat random.
After a bit of though imo best solution atm would be to somehow do a 8-bit client id. After all there can only be 255 clients and 32-bit client id is only useful during connection phase. As how to do that I think of moving client creation into command queue as it's done for companies so that indexes will automatically become synced. Or mb just do some kind of sync index / set id command.