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

Civilians don't work on dedicated with HC #44

Closed
Auge103 opened this issue Feb 14, 2019 · 5 comments
Closed

Civilians don't work on dedicated with HC #44

Auge103 opened this issue Feb 14, 2019 · 5 comments

Comments

@Auge103
Copy link
Contributor

Auge103 commented Feb 14, 2019

Just tested this, if an HC is connected, no civilians are being spawned at all.
Just the dedicated without HC works fine.

I also have the feeling that something is off regarding the civilian unit count. I set

Civ enabled: true
Civ unit count: 2
Civ group count: 5

and there were at least 30 civilian units present in the MT. This doesn't sound right?

@Xeno69
Copy link
Owner

Xeno69 commented Feb 14, 2019

Well, they are created by BI modules, what did you expect? :D

@longtimegamer
Copy link
Collaborator

Uh oh... what did I break? :)

Looks like two issues. I will open a separate issue for civ count.

Regarding HC+civ... If possible, can we discuss that here? What should I do to fix it? I have not tested civs with HCs but I will try. However, any advice is appreciated.

@Xeno69
Copy link
Owner

Xeno69 commented Feb 14, 2019

I have completely refactored the code and moved it so it only runs on the server even if there is a headless client @longtimegamer, please wait till I push the changes in a few hours (still at work for some hours)

Server only should be better for BI modules

@longtimegamer
Copy link
Collaborator

Understood. I will watch for commits, thanks.

@Xeno69
Copy link
Owner

Xeno69 commented Feb 17, 2019

Fixed by moving it to server side (because of BI modules) on case a HC is connected

@Xeno69 Xeno69 closed this as completed Feb 17, 2019
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

No branches or pull requests

3 participants