GamePanelX-V3 icon indicating copy to clipboard operation
GamePanelX-V3 copied to clipboard

Added support for JC2 and M2MP

Open rststeam opened this issue 11 years ago • 12 comments

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

rststeam avatar Jan 05 '14 21:01 rststeam

JC2 query works great but m2mp have some issue hope ryan can adjust it more.

Well, what issue?

devryan avatar Jan 06 '14 20:01 devryan

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

rststeam avatar Jan 06 '14 20:01 rststeam

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.

antoniobenedetti avatar Jan 06 '14 23:01 antoniobenedetti

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.

devryan avatar Jan 06 '14 23:01 devryan

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.

antoniobenedetti avatar Jan 07 '14 00:01 antoniobenedetti

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.

rststeam avatar Jan 07 '14 14:01 rststeam

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.

antoniobenedetti avatar Jan 07 '14 14:01 antoniobenedetti

Yea it's not working as you can't just copy/paste Austin's files to Gpanel. I will do it later today

rststeam avatar Jan 07 '14 14:01 rststeam

The latest GameQ is now in this codebase. Let me know if you have any issues with it. Seems to work fine for me.

devryan avatar Jan 08 '14 19:01 devryan

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?

rststeam avatar Jan 12 '14 18:01 rststeam

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 .

devryan avatar Jan 12 '14 18:01 devryan

Nice that you for that tip !!! Still on new installation m2mp shows offline even server is running

rststeam avatar Jan 12 '14 19:01 rststeam