alexander.zubov Posted January 30, 2012 Share Posted January 30, 2012 Does Unigine have built-in server browser, so players can see if game servers (a particular game that is built with Unigine) are running, how many players on them, ping, etc. ? Link to comment
ulf.schroeter Posted January 30, 2012 Share Posted January 30, 2012 No, this is game-specific code. If you have access to oilrush game source there might be an example for scripting this based on raknet plug-in. Link to comment
Guest anet Posted February 1, 2012 Share Posted February 1, 2012 Ulf is right, you can see an example of doing this in oilrush sources. With current network plugin you can do this for LAN servers only. Also see https://developer.unigine.com/en/docs/1.0/code/api/plugins/network/network_api, LAN Server Discovery and Offline Ping part for reference. Link to comment
alexander.zubov Posted February 1, 2012 Author Share Posted February 1, 2012 Are you saying we can't have users browsing servers on WAN and joining online games in the way it's done in Quake? Link to comment
Guest anet Posted February 2, 2012 Share Posted February 2, 2012 To enable browsing games hosted on the internet you'll need a separate server, where game servers can register. There is no such service in our SDK right now. Thus, oilrush users who do not use Steam can connect over Internet only using "Lookup by ip" feature. Where host user tells his/her ip-address to clients. This solution also requires setting up port forwarding on the host side from most users (because players are usually behind NAT). Another way is setting up a VPN server that emulates LAN like linux oilrush players did ;). Link to comment
alexander.zubov Posted February 2, 2012 Author Share Posted February 2, 2012 That sounds .. less than optimal solution :/ I suppose Unigine is just not ready for performance driven multiplayer FPS games yet. Alright, I guess we can work on single player component first and hope that maybe SDK will get better in that direction rather sooner. Thanks. Link to comment
Recommended Posts