Sockets & A2S
im all confused.. how do those a2s things work? :?
im trying to get A2S_INFO from a cs 1.6 server.. tried this, but it just says: "Lenght: 0, Text: ", which means that the server responds to me but why won't it send any data? Code:
if i replace the "TSource Engine Query" with "W" (which is the challenge request thingy) i get "Lenght: 6, Text: " (in spite of that recv[4] is "A", but thats it..) |
come on, surely sum1 knows about that A2S stuff ..? :o
just give me anything to get on with this.. or another way of getting the server status :) |
each command that is send to the server and back has 4 special digits in front. you need to send them infront of your command if you want the server to respond.
here they are in php code: pack('N', 0xFFFFFFFF) sry i dont know how to make them with small |
umm, yeah, but isnt that the same as this ? :o
Code:
|
| All times are GMT -4. The time now is 15:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.