Posts: 437 Joined: Sun Mar 22 2009, 06:53AM Registered Member #4938
It's basically the same protocol as BFBC2 or BF3, so you can just use the bfbc2 gametype in the unmodified LGSL5.8, but make sure you specify the correct query port. Default is c_port = q_port = 30000 and no need to change anything in protocols.
If you'd rather have BF4 as it's own gametype, you'll have to edit lgsl_protocol.php like I did, find
This way you can only fill in c_port in the admin panel and q_port will automatically be given the same value, unlike BF3 or BFBC2. Edit: Some admins use q_port = c_port + 22000, while others use arbitrary query ports, so don't count on q_port to always be the same as c_port! I guess there's no way to be sure unless you ask the server admin. Not working for you? Don't forget to share the IP/ports of the offending server so that people can do tests and help you. Oh, and if you're using a modified lgsl_protocol.php, make sure you disable the feed or it may NOT work!
Posts: 437 Joined: Sun Mar 22 2009, 06:53AM Registered Member #4938
It works if you put in the correct query port (q_port). If you don't, it doesn't but then you get to read my signature. Not working for you? Don't forget to share the IP/ports of the offending server so that people can do tests and help you. Oh, and if you're using a modified lgsl_protocol.php, make sure you disable the feed or it may NOT work!
Posts: 437 Joined: Sun Mar 22 2009, 06:53AM Registered Member #4938
Like I said: make sure you put in the correct query port! ask the server admin for it if you are not sure, because q_port is not always the same as c_port.
The protocol is working, just try a random server like 176.57.170.18:25200 with q_port = 47200 to see for yourself.
In your case, you could try q_port = 25100+22000 = 47100 for your server, or ask the admin for the real port. Not working for you? Don't forget to share the IP/ports of the offending server so that people can do tests and help you. Oh, and if you're using a modified lgsl_protocol.php, make sure you disable the feed or it may NOT work!
Posts: 437 Joined: Sun Mar 22 2009, 06:53AM Registered Member #4938
A query port is a special port used by the server to communicate informations like maps, player numbers, server names and such. Query port has a numeric value which can be different from connect port and is usually specified in the server config, so your server admin is the only guy who would know for sure what's your server's query port number. I have no way of knowing it, but I already gave you a suggestion and that's about all I can give you. Plus I have no idea what blaze emulator is. Just ask your server admin for the query port number. Not working for you? Don't forget to share the IP/ports of the offending server so that people can do tests and help you. Oh, and if you're using a modified lgsl_protocol.php, make sure you disable the feed or it may NOT work!