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

clan_name is empty everywhere #430

Open
r0ma opened this issue Oct 3, 2023 · 5 comments
Open

clan_name is empty everywhere #430

r0ma opened this issue Oct 3, 2023 · 5 comments

Comments

@r0ma
Copy link

r0ma commented Oct 3, 2023

Hello!

I have an issue with CS2. I can't use team clan_name because it is empty.
For example.

p.RegisterEventHandler(func(e events.Kill) {
  fmt.Println("Killer clan_name: ", e.Killer.TeamState.ClanName()) # empty
}

or on any other events:

p.RegisterEventHandler(func(e events.SomeEvent) {
  fmt.Println("Terrorists clan_name: ", parser.GameState().TeamTerrorists().ClanName()) # empty
}

Is there any other way to get clan_name?

Version v4.0.0-beta.2

Thanks for your support!

@IOExceptional
Copy link

That's because there's no way to set the clan name in the game at the moment

@r0ma
Copy link
Author

r0ma commented Oct 3, 2023

@IOExceptional thanks for your answer! Is there another way to separate teams during the all match independent on team sides?

@IOExceptional
Copy link

Not that I'm aware of just yet

@researchersec
Copy link

was this solved?

@r0ma
Copy link
Author

r0ma commented Dec 14, 2023

Was this solved?

According to my observations - sometimes clan_name exists. But in some cases, that I don't know (maybe during the game creating creator not set clan_names), clan_name is absent.

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

No branches or pull requests

4 participants