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

QuickSetup Demo - How to add custom lobby factories for custom lobbies (other than the existing 4 "Deathmatch", "1vs1" etc) #214

Open
AjaxTheOne opened this issue Jul 20, 2018 · 0 comments

Comments

@AjaxTheOne
Copy link

Hello!

I ran into a problem when I was messing around with the QuickStart example. I was trying to add my own factory (in addition to the other 4 that are already in there), and I kept getting an error "Failed to create lobby: Unavailable lobby factory (Factory: FactoryName)".

So, I searched in the files for a place to register my factories, and I actually found the DemoLobbyFactories.cs with all the forementioned factories. I made a copy for my custom factory, added teams, max & min players etc. But the problem was still there, my factory was unavailable.

I also tried to add the factory via the script DemoFactoriesSetup.cs in RoomsDemo (I don't know if it has any connection with the QuickSetup one), and the again my factory was unavailable. I even tried to comment out all other factories, in DemoLobbyFactories.cs and DemoFactoriesSetup.cs, to see if the QuickSetup is still working, and it was indeed working!

So, my question is, where I can add my factories (like, where is the .cs file that I need to modify, in order to add more factories) and where can I load them in a LobbyModule, when I run the game?

Any help is appreciated!

@AjaxTheOne AjaxTheOne changed the title QuickSetup Demo - How to add custom factories (other than the existing 4 "Deathmatch", "1vs1" etc) QuickSetup Demo - How to add custom lobby factories for custom lobbies (other than the existing 4 "Deathmatch", "1vs1" etc) Jul 20, 2018
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

1 participant