This might be a simple answer. I’m trying to build a modified LoadBalancing server using MonoDevelop and I’m not 100% sure where the build directory should be so that it replaces the existing LoadBalancing server. There’s a deploy.prompter cmd file (maybe it’s a batch, not sure, anyway) that gives options for building and copying but it gives a TON of dumb errors when I try to use it. I’ve got all my references in MonoDevelop and it builds just fine so I’m using that. Currently I’m building to “…\server-dir\deploy\Loadbalancing\Master\bin”. Is that right? There’s 2 GameServer directories in there as well. Would I build them separately and overwrite them or are they the same DLLs as the MasterServer? Visual comparison looks like they’re just the same contents.
Hi,
we don’t support Mono at the moment. Please use Visual Studio / .NET and check our list of requirements here: Fusion 2 Introduction | Photon Engine
For your questions: The DLLs of the Loadbalancing solution need to be copied into 3 different locations:
/(yourPhotonDir)/deploy/LoadBalancing/Master/bin
/(yourPhotonDir)/deploy/LoadBalancing/GameServer1/bin
/(yourPhotonDir)/deploy/LoadBalancing/GameServer2/bin
The DLLs are the same, but please note that they are using different configs (copied from /src-server/Loadbalancing/Config).
If you have more questions about the server side, please post in our forum. The server girls and guys monitor that more frequently.
http://forum.exitgames.com/viewforum.php?f=5
Well, I was actually able to get it to build just fine. Are there some under-the-hood issues I should be aware of?
So am I copying the same DLLs into all 3 directories? Another question: Are there detailed instructions on increasing the gameserver count? Looks like I’d have to manually add gameserver folders and add them to the PhotonControl.config.
As far as monitoring more frequently, I’ve posted a couple times in the Exit Games forums and received 0 responses. This forum seems significantly more active, even if it’s not from an official photon dev.
Hi,
as Photon does not supporting Mono, we can not guarantee if everything works as expected. I really can’t say much about it, sorry.
Yes, you need to copy the same DLL to all 3 directories. That is what the deploy.prompter.cmd usually does for you, as well as copying the config files from the /config folder.
The 2 Gameserver directories only exist for demonstration purposes.
In a real-world scenario, it does not make sense to run multiple GameServer apps on the same physical machine (and even less to run them in a single Photon process).
Instead, you would deploy single Gameserver instances to separate machines to spread your load evenly across all servers. Please check out this article for Loadbalancing concepts:
And finally, we are sorry that you did not receive a timely response on the official forums, but we do our best to provide free support as good as we can, and we would appreciate it if you keep using the official forums. Makes life a bit easier for us as well.
Hope this helps!