I need an ingame server list for my servers. Just a simple one with gametracker banners and a join button over them. I think I've seen something like that but I can't find it. Does anyone know of something similar?
This would be a combination of a lot of vgui such as the main frame, check-boxes and text-boxes for filtering, a list panel which holds other panels, a sub-panel which holds information about each server such as the mod, the ping, server-name, icon, etc.
What have you tried so far? You should be able to query the server-list; I'm just not sure if it returns JSON or what. Additionally you'd need to query game-tracker for information..
Now, you could go a different route such as setting up a list of your servers, then instead of building a list then building panels for that, you'd go through your list and could query the game-tracker directly etc.
But, it comes down to exactly what you want; a simple one with x number of known servers, or querying the master server and building the list based off of that.
What have you tried so far?
The only thing I tried is googling around to find one. I just meant a simple derma menu like this: [IMG]http://gyazo.kennethd.net/i/UoUrW.png[/IMG]
Well, if you are using your own list of servers instead of making a "server-list" of all servers; then you'd just need DImageButton for the image to click on, and put those inside of one of the list views which will eventually show a scrollbar if you add more; if the list is short then you can simply open a DPanel and add DImageButtons to it and position them where-ever.
Sorry, you need to Log In to post a reply to this thread.