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

Move #160

Open
R4Z0R49 opened this issue Sep 17, 2013 · 7 comments
Open

Move #160

R4Z0R49 opened this issue Sep 17, 2013 · 7 comments

Comments

@R4Z0R49
Copy link
Owner

R4Z0R49 commented Sep 17, 2013

Move servers to a new file. And read from the config.

So more then one server can be added.

@Marcuzz
Copy link
Collaborator

Marcuzz commented Oct 7, 2013

I am probably going to start doing this soon. There is just one last thing I want to add before I start working on this.

@R4Z0R49
Copy link
Owner Author

R4Z0R49 commented Oct 7, 2013

Id like to get all the system updated to just the one db type first with reality being dropped. Id like to start pushing the hole private side more.

@Marcuzz
Copy link
Collaborator

Marcuzz commented Oct 7, 2013

Yea, that's okay. I sort of wanna rework the amount of links on the admin panel to be somewhat "less". Aka with more servers being able to be added through the config later on we could rename the "Chernarus"(Mapname) dropdown to just "Map" and have the dropdown links to it be in following order: "Instance 1", "Instance 2" etc.

If you then click one of the instances under the map tab you obviously get to the map page, BUT I want to make all the settings on display there, wether or not you're viewing dead, alive, recent players, vehicles, tents/stashes, everything, etc.

The entities tab would also have "Instance 1", "Instance 2" etc, but it would work pretty much like now.

But of course, this is just more work that could be done with less effort later after Reality is dropped.


As we speak I'm working on making the chat show up, only downside is it requires FTP access(Which most hosts do have!). I used ages to try to find out how to catch a packet in php with no luck ;(

@wriley
Copy link
Collaborator

wriley commented Oct 7, 2013

You can do UDP in PHP but not sure you want to go that route. Here is some example code: http://forums.bistudio.com/showthread.php?139398-ArmA2-Operation-arrowhead-Gamespy3-query-script

You have to build the packets to send, see main.c here for packet details: https://github.com/wriley/arma2serverinfo

If you do add this feature, please make it disabled by default in config.php

@R4Z0R49
Copy link
Owner Author

R4Z0R49 commented Oct 7, 2013

i think the priority just now is getting the db updated to one system. Then add in instance and maps.

@wriley
Copy link
Collaborator

wriley commented Oct 7, 2013

Agreed ^^^

I can start work on that unless someone else is wanting to.

@Marcuzz
Copy link
Collaborator

Marcuzz commented Oct 7, 2013

Nope, feel free to do it! Haha.
And I don't think grabbing the server chat is quite easy through php, I know what the packet is from Battleye Extended Controls to grab messages, but you still have to be signed in as admin and all of that to somehow grab it.

And ofcourse I'm making the chat disabled by default. Atleast if I keep the FTP system(Which is more or less ~25 lines of code and can be swapped out with another system later if I all of the sudden figure out how all of this hangs togheter)

@wriley wriley mentioned this issue Oct 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants