Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Online
Members: 0

Guests: 18

178.255.x.x user
207.46.x.x download
216.244.x.x forum
3.80.x.x forum
35.192.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x user
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
54.36.x.x forum
54.36.x.x forum

Last Seen

85filip58 Tue 15:15
4Rsercom Thu 21:49
Apophis01 Fri 10:15
Bommel Wed 09:39
frob Sat 21:14

Newest Members

Forums
Battlefield 4
Wussie
Sun Oct 27 2013, 06:38PM

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
"bf3" => "Battlefield 3",
and AFTER this add
"bf4" => "Battlefield 4",

then find
"bf3" => "30",
and AFTER this add
"bf4" => "30",

then find
"bf3" => "http://en.wikipedia.org/wiki/Battlefield_3",
and AFTER this add
"bf4" => "http://en.wikipedia.org/wiki/Battlefield_4",


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!
Website
lycanwrath
Mon Dec 02 2013, 11:29AM
Posts: 18
Joined: Tue Jun 04 2013, 04:43AM
Registered Member #7741
great

Has anyone shared the map files as well?
Website
qwas
Wed Mar 16 2016, 08:47AM

Posts: 46
Joined: Sat Sep 08 2012, 05:20PM
Registered Member #7384
Human-readable "mapnames" for bf4:

        $map_check = strtolower($server['s']['map']);

        if (strpos($map_check, "mp_abandoned") !== false)
        {
            $server['s']['map'] = "Zavod 311";
        } elseif (strpos($map_check, "mp_damage") !== false)
        {
            $server['s']['map'] = "Lancang Dam";
        } elseif (strpos($map_check, "mp_flooded") !== false)
        {
            $server['s']['map'] = "Flood Zone";
        } elseif (strpos($map_check, "mp_journey") !== false)
        {
            $server['s']['map'] = "Golmud Railway";
        } elseif (strpos($map_check, "mp_naval") !== false)
        {
            $server['s']['map'] = "Paracel Storm";
        } elseif (strpos($map_check, "mp_prison") !== false)
        {
            $server['s']['map'] = "Operation Locker";
        } elseif (strpos($map_check, "mp_resort") !== false)
        {
            $server['s']['map'] = "Hainan Resort";
        } elseif (strpos($map_check, "mp_siege") !== false)
        {
            $server['s']['map'] = "Siege of Shanghai";
        } elseif (strpos($map_check, "mp_thedish") !== false)
        {
            $server['s']['map'] = "Rogue Transmission";
        } elseif (strpos($map_check, "mp_tremors") !== false)
        {
            $server['s']['map'] = "Dawnbreaker";
        } elseif (strpos($map_check, "xp0_caspian") !== false)
        {
            $server['s']['map'] = "Caspsian Border 2014";
        } elseif (strpos($map_check, "xp0_firestorm") !== false)
        {
            $server['s']['map'] = "Firestorm 2014";
        } elseif (strpos($map_check, "xp0_metro") !== false)
        {
            $server['s']['map'] = "Operation Metro 2014";
        } elseif (strpos($map_check, "xp0_oman") !== false)
        {
            $server['s']['map'] = "Gulf of Oman 2014";
        } elseif (strpos($map_check, "xp1_001") !== false)
        {
            $server['s']['map'] = "Silk Road";
        } elseif (strpos($map_check, "xp1_002") !== false)
        {
            $server['s']['map'] = "Altai Range";
        } elseif (strpos($map_check, "xp1_003") !== false)
        {
            $server['s']['map'] = "Guilin Peaks";
        } elseif (strpos($map_check, "xp1_004") !== false)
        {
            $server['s']['map'] = "Dragon Pass";
        } elseif (strpos($map_check, "xp2_001") !== false)
        {
            $server['s']['map'] = "Lost Islands";
        } elseif (strpos($map_check, "xp2_002") !== false)
        {
            $server['s']['map'] = "Nansha Strike";
        } elseif (strpos($map_check, "xp2_003") !== false)
        {
            $server['s']['map'] = "Wave Breaker";
        } elseif (strpos($map_check, "xp2_004") !== false)
        {
            $server['s']['map'] = "Operation Mortar";
        } elseif (strpos($map_check, "xp3_marketpl") !== false)
        {
            $server['s']['map'] = "Pearl Market";
        } elseif (strpos($map_check, "xp3_prpganda") !== false)
        {
            $server['s']['map'] = "Propaganda";
        } elseif (strpos($map_check, "xp3_urbangdn") !== false)
        {
            $server['s']['map'] = "Lumphini Garden";
        } elseif (strpos($map_check, "xp3_wtrfront") !== false)
        {
            $server['s']['map'] = "Sunken Dragon";
        } elseif (strpos($map_check, "xp4_arctic") !== false)
        {
            $server['s']['map'] = "Operation Whiteout";
        } elseif (strpos($map_check, "xp4_subbase") !== false)
        {
            $server['s']['map'] = "Hammerhead";
        } elseif (strpos($map_check, "xp4_titan") !== false)
        {
            $server['s']['map'] = "Hangar 21";
        } elseif (strpos($map_check, "xp4_wlkrftry") !== false)
        {
            $server['s']['map'] = "Giants Of Karelia";
        } elseif (strpos($map_check, "xp5_night_01") !== false)
        {
            $server['s']['map'] = "Zavod:Graveyard Shift";
        } elseif (strpos($map_check, "xp6_cmp") !== false)
        {
            $server['s']['map'] = "Operation Outbreak";
        } elseif (strpos($map_check, "xp7_valley") !== false)
        {
            $server['s']['map'] = "Dragon Valley 2015";
        }




http://bigshooter.ru
Website
iiiamirrr
Mon Sep 18 2017, 05:48AM
Posts: 6
Joined: Fri Aug 11 2017, 05:18PM
Registered Member #8651
I do all of this but not work
Wussie
Mon Sep 18 2017, 05:56PM

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!
Website
Dodgeitorelse
Mon Sep 18 2017, 06:48PM
Posts: 246
Joined: Sun Dec 12 2010, 09:16AM
Registered Member #6457
does any of the lgsl work for you? what I mean is that lgsl is for mysql not mysqli

lack of effort on your part requires less effort on my part
Website
iiiamirrr
Thu Sep 21 2017, 05:30AM
Posts: 6
Joined: Fri Aug 11 2017, 05:18PM
Registered Member #8651
Wussie wrote ...

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.


no its not work . my server port is 25100 and i added it in query and connection port , its not work
my server works with blazeEmulator
Wussie
Sat Sep 23 2017, 06:33PM

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!
Website
iiiamirrr
Sun Sep 24 2017, 06:41AM
Posts: 6
Joined: Fri Aug 11 2017, 05:18PM
Registered Member #8651
tnx . i open the server with blaze emulator . can u help me what is query port ?
Wussie
Sun Sep 24 2017, 03:42PM

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!
Website
abc123456
Sat May 26 2018, 03:19AM
Posts: 102
Joined: Sat May 26 2018, 03:12AM
Registered Member #8888
[ REQUIRES ADMIN APPROVAL ]
 

Jump:     Back to top


You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © GreyCube.com - Richard Perry - Powered by e107.org