Added support for JC2 and M2MP
I have added two files into protocols jc2.php and m2mp.php for games Just Cause 2 Multiplayer and Mafia 2 Multiplayer .
JC2 query works great but m2mp have some issue hope ryan can adjust it more.
Images below.
http://puu.sh/6aQAw.png
http://puu.sh/6aQzx.png
JC2 query works great but m2mp have some issue hope ryan can adjust it more.
Well, what issue?
M2MP works when you try to query server manually but on game panel always shows offline and it won't get server status http://puu.sh/6aQAw.png
I also noticed some query issues on few servers. It sometimes shows them as offline for about 5 minutes and they go online status again, though they are always online.. clearly something is wrong with the query. But this doesn't happen so often, maybe once in 20 minutes or so. I had this issue on Minecraft and SA-MP servers.
GameQ is an interesting piece of code. It's also trying to be a 1-stop-spot for all types of gameservers and their different quirks, so, there will certainly be some inconsistencies.
In the GameQ code, you can turn up the timeout delay on queries, which produces more accurate Online/Offline results; it just takes slightly longer to get a real query response.
Could you update GameQ with the latest one from github? I can see a lot of recent changes: https://github.com/Austinb/GameQ/tree/v2 I tried tweaking the timeout but no luck so far.
I have included Austin gameq to my gpanel with some changes. From what i have tested so far all works as it should. Ryan you should include jc2 into your master as its new game and query works. As for m2mp austin did query based on files i have sent to him. For some reason query fails with gpanel.
Could you also do pull request for the latest GameQ please? For some reason it is not working for me. I guess it needs some tweaking.
Yea it's not working as you can't just copy/paste Austin's files to Gpanel. I will do it later today
The latest GameQ is now in this codebase. Let me know if you have any issues with it. Seems to work fine for me.
JC2 works. But i have problem with M2MP
http://puu.sh/6iCAR.png
Server is online but showing offline. Also it will be possible to add support for config.xml files?
Xml support is already in for saving settings. Change your config separator to X (capital X) in default games, and the config will be saved properly if Xml. On Jan 12, 2014 10:27 AM, "rststeam" [email protected] wrote:
JC2 works. But i have problem with M2MP
http://puu.sh/6iCAR.png
Server is online but showing offline. Also it will be possible to add support for config.xml files?
— Reply to this email directly or view it on GitHubhttps://github.com/devryan/GamePanelX-V3/pull/58#issuecomment-32129390 .
Nice that you for that tip !!! Still on new installation m2mp shows offline even server is running