Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for JC2 and M2MP #58

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

rststeam
Copy link

@rststeam rststeam commented Jan 5, 2014

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

@devryan
Copy link
Owner

devryan commented Jan 6, 2014

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

Well, what issue?

@rststeam
Copy link
Author

rststeam commented Jan 6, 2014

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

@antoniobenedetti
Copy link
Contributor

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.

@devryan
Copy link
Owner

devryan commented Jan 6, 2014

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.

@antoniobenedetti
Copy link
Contributor

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.

@rststeam
Copy link
Author

rststeam commented Jan 7, 2014

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.

@antoniobenedetti
Copy link
Contributor

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.

@rststeam
Copy link
Author

rststeam commented Jan 7, 2014

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

@devryan
Copy link
Owner

devryan commented Jan 8, 2014

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

@rststeam
Copy link
Author

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?

@devryan
Copy link
Owner

devryan commented Jan 12, 2014

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" notifications@github.com 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//pull/58#issuecomment-32129390
.

@rststeam
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants