Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In multiplayer WorldService.GetMarkPanels errors in lua when Game Master role is in use #156

Closed
bitbubbler opened this issue Jun 5, 2022 · 2 comments · Fixed by #157
Closed

Comments

@bitbubbler
Copy link

bitbubbler commented Jun 5, 2022

steps to reproduce:

  • start a blank miz file with dcs-grpc, include at least one game master slot
  • connect to the multiplayer, join the game master slot
  • place a marker using the game master role
  • make an rpc call for WorldService.GetMarkPanels
  • expect lua error below

error from the logs:

stack traceback:
	[string "<redacted>\Saved Games\DCS\Scripts\DCS-gRPC\exporters\object.lua"]:28: in function 'unit'
	[string "<redacted>\Saved Games\DCS\Scripts\DCS-gRPC\exporters\object.lua"]:122: in function 'markPanel'
	[string "<redacted>\Saved Games\DCS\Scripts\DCS-gRPC\methods\world.lua"]:36: in function <[string "<redacted>\Saved Games\DCS\Scripts\DCS-gRPC\methods\world.lua"]:31>
	(tail call): ?
	[C]: in function 'xpcall'
	[string "<redacted>\Saved Games\DCS\Scripts\DCS-gRPC\grpc.lua"]:167: in function <[string "<redacted>\Saved Games\DCS\Scripts\DCS-gRPC\grpc.lua"]:163>
	[C]: in function 'next'
	[string "<redacted>\Saved Games\DCS\Scripts\DCS-gRPC\grpc.lua"]:200: in function <[string "<redacted>\Saved Games\DCS\Scripts\DCS-gRPC\grpc.lua"]:198>
	[C]: in function 'pcall'
	[string "<redacted>\Saved Games\DCS\Scripts\DCS-gRPC\grpc.lua"]:211: in function <[string "<redacted>\Saved Games\DCS\Scripts\DCS-gRPC\grpc.lua"]:209>
2022-06-04 22:42:46.069 ERROR   dcs_grpc: Error retrieving next command: attempt to concatenate a userdata value```
@rkusa
Copy link
Collaborator

rkusa commented Jun 7, 2022

Thanks a lot for the report and especially for writing down steps to reproduce 👍. The error will be fixed by #157

@bitbubbler
Copy link
Author

For future readers: Through research it seem that this also impacts jtac and tac command roles in addition to game master roles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants