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

Guests: 34

157.55.x.x dilbertplus
37.115.x.x forum
46.229.x.x forum
46.229.x.x news
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
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
54.225.x.x forum
54.36.x.x user
54.36.x.x user
54.36.x.x forum
54.36.x.x dilbertplus
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x top
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
62.210.x.x forum
62.210.x.x rss
77.75.x.x comment

Last Seen

Wussie Fri 01:57
suzain lian Fri 07:52
85filip58 Wed 12:37
mmotony Sat 04:27
Dodgeitorelse Fri 12:48

Newest Members

Forums
America's Army Proving Grounds
Dodgeitorelse
Mon Sep 02 2013, 04:51PM
Posts: 246
Joined: Sun Dec 12 2010, 09:16AM
Registered Member #6457
anyone know which protocol for this game? just released and is run on steam.

lack of effort on your part requires less effort on my part
Website
Dodgeitorelse
Tue Sep 03 2013, 01:20PM
Posts: 246
Joined: Sun Dec 12 2010, 09:16AM
Registered Member #6457
huh, maybe someone could point me to a good tutorial or 2 on how to write protocols or server requests??

lack of effort on your part requires less effort on my part
Website
Wussie
Wed Sep 04 2013, 10:31AM

Posts: 436
Joined: Sun Mar 22 2009, 06:53AM
Registered Member #4938
Hey, I can help with the writing part but...

Are there any public servers online for testing? do we know their IPs?
Do we know how to make the requests to the servers?
Do we know at least what are their query ports? tcp/udp?

P.S.: I just noticed this: we both have the same number of posts on this forum. how come u got more stars?? haaaxxx

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
Wed Sep 04 2013, 11:19AM
Posts: 246
Joined: Sun Dec 12 2010, 09:16AM
Registered Member #6457
huh
1) yes servers are showing on battletrackers.com
2) yes shows ip's there too
3) connection ports are 8777, query I believe is 7778 which does give a conflict if you are running a aa 2.8.5 version at same time on same box
4) same number of posts and you almost a year longer than me so not sure how the stars work
5) I think it is using unreal engine 3 for the game
6) I would really like to know how to write these protocols as I have never done it before.
I know this game is running on steam and have seen the valve protocol data but no idea how to use it. Way too many XOOFF00xx stuff lol, will grab some ip's for servers and post them here


lack of effort on your part requires less effort on my part
Website
Dodgeitorelse
Wed Sep 04 2013, 11:21AM
Posts: 246
Joined: Sun Dec 12 2010, 09:16AM
Registered Member #6457
There are several in the list such as halflife or source that will let tracker show server is online but no server info what so ever not even player count or names or map names

lack of effort on your part requires less effort on my part
Website
Dodgeitorelse
Wed Sep 04 2013, 11:29AM
Posts: 246
Joined: Sun Dec 12 2010, 09:16AM
Registered Member #6457
AA: Proving Grounds LHR
178.157.201.34:8777

AA: Proving Grounds FRA11
91.109.26.3:8777

AA: Proving Grounds JFK11
216.155.153.35:8777

three ips to try with, they all are 5 starred at battletracker and seem to be stable servers

edit: typos fixed

lack of effort on your part requires less effort on my part
Website
Wussie
Wed Sep 04 2013, 02:37PM

Posts: 436
Joined: Sun Mar 22 2009, 06:53AM
Registered Member #4938
OOOOOOOK I think I know your secret now... It must be triple posting!!

... and here I was, using edit in my posts, unaware that I've been losing stars in the process

Anyway, I'll give it a try with those IPs.

Edit: there are typo's in the first 2 IPs/ports

Edit2: looks like the Source protocol works about right using 27020 as default query port, for Steam servers at least. Are there any non-steam servers? The only thing that seems wrong is the parameter 'playersmax' which needs to be corrected, right now I'm not sure how.

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
Wed Sep 04 2013, 09:12PM
Posts: 246
Joined: Sun Dec 12 2010, 09:16AM
Registered Member #6457
huh, tried third ip with q_port at 27020 and set to source . it says no response but does show map name, shows correct max players in both lgsl_zone.php and lgsl_details.php however no player info for either file nor any extra info on lgsl_details.php. Do you see different?


EDIT: I made a bit of progress .. however a temporary one .... and now can see players name even when it is 25/24 and now shows online and has some extra info. will keep you posted .....

P.S.
Notice the edit? ~


EDIT 2:

in lgsl_protocol.php in function lgsl_query_05
I changed ...

else
{
$challenge_code = isset($lgsl_need['challenge']) ? $lgsl_need['challenge'] : "\x00\x00\x00\x00";

if ($lgsl_need['s']) { fwrite($lgsl_fp, "\xFF\xFF\xFF\xFF\x54Source Engine Query\x00"); }
elseif ($lgsl_need['p']) { fwrite($lgsl_fp, "\xFF\xFF\xFF\xFF\x55{$challenge_code}"); }
elseif ($lgsl_need['e']) { fwrite($lgsl_fp, "\xFF\xFF\xFF\xFF\x56{$challenge_code}"); }
}



to


else
{
$challenge_code = isset($lgsl_need['challenge']) ? $lgsl_need['challenge'] : "\x00\x00\x00\x00";

if ($lgsl_need['s']) { fwrite($lgsl_fp, "\xFF\xFF\xFF\xFF\x54Source Engine Query\x00"); }
elseif ($lgsl_need['p']) { fwrite($lgsl_fp, "\xFF\xFF\xFF\xFF\x55{$challenge_code}"); }
elseif ($lgsl_need['e']) { fwrite($lgsl_fp, "\xFF\xFF\xFF\xFF\x56\x4B\xA1\xD5\x22"); }
}


so I assume it is something to do with challenge code variable. no idea how this would affect other games as I have none of them to test on.

lack of effort on your part requires less effort on my part
Website
Wussie
Fri Sep 06 2013, 08:39AM

Posts: 436
Joined: Sun Mar 22 2009, 06:53AM
Registered Member #4938
I see you are still using the original source protocol which has a bug.

Try the bugfix I wrote back in 2012 and see if that works for you.

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
goodboy
Sat Mar 22 2014, 06:10AM
Posts: 3
Joined: Sat Mar 22 2014, 06:06AM
Registered Member #7948
Do we know at least what are their query ports? tcp/udp?

_________________________

Fut 14 Coins | Fut Coins | Fifa 14 Ultimate Team Coins| Fifa Coins
Website
adneycandy
Sat Apr 02 2016, 03:58AM
Posts: 1
Joined: Sat Apr 02 2016, 03:57AM
Registered Member #8453
very nice
 

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