Author Topic: Server List  (Read 1227 times)

Dark_Phantasmagorical

  • The Official Ghost
  • Administrator
  • This Man Has No Life
  • *****
  • Posts: 1160
  • Awards SWBFspy SWBF1-Player of the Month To recognize Modders that make a most excellent contribution within the Month A member of the winning team of ICW6 Administered events in ICW5 A member of the winning team of ICW5 Special Award for those that play the original SWBF ICW4 Participant Recognizes someone who most generously donated funds to the site or the site ICW3 Participant
    • View Profile
    • The BOBclan
    • Awards
  • PSN: phantom567459
  • Steam ID:
  • Origin ID: phantom567459
Server List
« on: February 13, 2019, 09:47:23 PM »
I have added the server list to the home page.  Please take a look at it and judge it harshly.
Sometimes it doesn't load in the iframe.  You can go to https://stats.swbfgamers.net to see it in its full glory.

If you want to see expanded functionality, go ahead and ask.  I'm not afraid to try stuff, considering I have a different version of this page on my personal server.
« Last Edit: February 13, 2019, 09:50:01 PM by Dark_Phantom »
The BOBclan:  A Rich History


'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

{PLA}gdh92

  • Moderators
  • This Man Has No Life
  • ****
  • Posts: 1639
  • Awards Participated in the ICW6 Participated in the ICW5 Special Award for those that play the original SWBF ICW4 Participant Recognizes someone who most generously donated funds to the site or the site ICW3 Participant Just for Gdh, because he is awesome. ICW2 Participant Intergalactic Clan War 1 Participant
    • View Profile
    • Awards
  • Steam ID:
Re: Server List
« Reply #1 on: February 14, 2019, 03:34:37 AM »
Nice work, makes it much easier to check if anyone's online. Only suggestion, if it's not already, is to order them by number of players.

Also maybe put the logo outside the box as you have to scroll past it to see the list on mobile browsers.
I play less now but I'll always be around, lets keep this site and battlefront going. :)

Dark_Phantasmagorical

  • The Official Ghost
  • Administrator
  • This Man Has No Life
  • *****
  • Posts: 1160
  • Awards SWBFspy SWBF1-Player of the Month To recognize Modders that make a most excellent contribution within the Month A member of the winning team of ICW6 Administered events in ICW5 A member of the winning team of ICW5 Special Award for those that play the original SWBF ICW4 Participant Recognizes someone who most generously donated funds to the site or the site ICW3 Participant
    • View Profile
    • The BOBclan
    • Awards
  • PSN: phantom567459
  • Steam ID:
  • Origin ID: phantom567459
Re: Server List
« Reply #2 on: February 14, 2019, 06:48:05 AM »
Tis already ordered by Number of Players.  I can move the picture to the bottom of the page to make scrolling easier.
--Update: Moved picture.  The site now looks like it was made for an iframe.
« Last Edit: February 14, 2019, 10:05:20 AM by Dark_Phantom »
The BOBclan:  A Rich History


'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

{PLA}gdh92

  • Moderators
  • This Man Has No Life
  • ****
  • Posts: 1639
  • Awards Participated in the ICW6 Participated in the ICW5 Special Award for those that play the original SWBF ICW4 Participant Recognizes someone who most generously donated funds to the site or the site ICW3 Participant Just for Gdh, because he is awesome. ICW2 Participant Intergalactic Clan War 1 Participant
    • View Profile
    • Awards
  • Steam ID:
Re: Server List
« Reply #3 on: February 14, 2019, 12:55:49 PM »
Thanks. Looks good. :cheers:
I play less now but I'll always be around, lets keep this site and battlefront going. :)

Dark_Phantasmagorical

  • The Official Ghost
  • Administrator
  • This Man Has No Life
  • *****
  • Posts: 1160
  • Awards SWBFspy SWBF1-Player of the Month To recognize Modders that make a most excellent contribution within the Month A member of the winning team of ICW6 Administered events in ICW5 A member of the winning team of ICW5 Special Award for those that play the original SWBF ICW4 Participant Recognizes someone who most generously donated funds to the site or the site ICW3 Participant
    • View Profile
    • The BOBclan
    • Awards
  • PSN: phantom567459
  • Steam ID:
  • Origin ID: phantom567459
Re: Server List
« Reply #4 on: February 21, 2019, 01:02:31 PM »
There is a syncing issue currently - The time delay is too long on the top list if a server closes.  This messes up when you select the dropdown menu (because one of the servers is not responding).  Will look to adjust delay soon.

Edit: Syncing issue is a little bit better now.  Also, it was requested to make it static rather than scroll on the front page.  You will now be able to see other servers, but to see more information you will have to go to the bottom of the page or the website.
Also, the PS2 servers are on there as well, marked with PS2 or PC.  Default puts PS2 at the bottom but if it has players it will shoot up to the top so PS2 players know.
« Last Edit: February 22, 2019, 07:26:56 AM by Dark_Phantom »
The BOBclan:  A Rich History


'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

Mike

  • Member
  • ***
  • Posts: 49
  • Awards Recognizes someone who most generously donated funds to the site or the site
    • View Profile
    • Awards
Re: Server List
« Reply #5 on: May 05, 2019, 10:31:10 AM »
I have added the server list to the home page.  Please take a look at it and judge it harshly.
Sometimes it doesn't load in the iframe.  You can go to https://stats.swbfgamers.net to see it in its full glory.

If you want to see expanded functionality, go ahead and ask.  I'm not afraid to try stuff, considering I have a different version of this page on my personal server.

I just noticed this somehow but I love it, really useful idea. Could you add the SWBF2 servers to the list also in like a different tab/button maybe?

_DeltaForce_

  • Recruit
  • *
  • Posts: 1
    • View Profile
    • Awards
Re: Server List
« Reply #6 on: May 06, 2019, 03:53:31 AM »
That. Is. Incredible!

I was thinking since quite some time that a proper server list outside of the game - optimally on a website - would be a really great thing to boost activity on SWBFSpy. Being able to check whether someone is on by opening a bookmarked website in your browser is much easier than having to open the entire game. May get a lot of people to play when they otherwise wouldn't bother to check whether someone is on.

I got a couple of suggestions.
  • As Mike said, why only SWBF1? The only difference in querying the master server for SWBF1 and SWBF2 is that the game name identifier becomes "swbfront2pc" (from "swbfrontpc") and that the master server key is "hMO2d4" (instead of "y3Hd2d" for SWBF1). Don't know about game server querying though.
  • I asked this in the Discord server already: would it be possible to place the widget more prominently on the site than at the very bottom? Maybe on the left side at the top or at least underneath "User Info" and "Who's online?"? Would maybe need to fiddle with the layout a bit to squeeze it into the 250px of the side bar, but I reckon it's doable.
  • A bug: the positioning of the player info box is inconsistent. It is displayed underneath the game server info box for the first server in the list. For the second server if two servers have players on, one player box is displayed above, one below. For empty servers both boxes are displayed above. I don't think this is intended? I'd say it would even make more sense if only the player box of the currently selected server is shown, ideally above the game server box.
  • The drop down box read "A Generic Drop Down Menu" when no server is selected. Maybe remove this dummy entry and make the drop down menu select the first server as default (so you don't even need a dummy entry)?
  • It would look a bit nice and less technical if proper strings for the different values in the game server box would be used. Like, "AI difficulty" instead of "aidifficulty" or for the values use "False/True" instead of "0/1".

You did a fantastic job with that!
« Last Edit: May 06, 2019, 03:55:49 AM by _DeltaForce_ »

Led

  • Administrator
  • The Chosen One
  • *****
  • Posts: 7260
  • The 82nd Element
  • Awards For those who play any version of the 2016+ EA games Special Award for those that play the original SWBF
    • View Profile
    • Awards
  • Steam ID:
  • Tunngle ID: _PLA-Led
  • Origin ID: plaled
Re: Server List
« Reply #7 on: May 06, 2019, 05:20:44 AM »
Thanks--we have been able to list SWBF2 with it, but didn't include it since most of that activity is on GoG, at least for PC.

As far as the formatting, we can hook you up with access if you would have time to help  :cheers:
Don't believe everything you read on the internet

Dark_Phantasmagorical

  • The Official Ghost
  • Administrator
  • This Man Has No Life
  • *****
  • Posts: 1160
  • Awards SWBFspy SWBF1-Player of the Month To recognize Modders that make a most excellent contribution within the Month A member of the winning team of ICW6 Administered events in ICW5 A member of the winning team of ICW5 Special Award for those that play the original SWBF ICW4 Participant Recognizes someone who most generously donated funds to the site or the site ICW3 Participant
    • View Profile
    • The BOBclan
    • Awards
  • PSN: phantom567459
  • Steam ID:
  • Origin ID: phantom567459
Re: Server List
« Reply #8 on: May 06, 2019, 05:50:38 AM »
The base of the "more details" portion of the website is GameQ - an open sourced server query tool for php.  I can manually change values but what you see is mostly what is dumped.  I'll try to clean it up some.

I have not been concerned with the actual player list because the query tools a lot of times do not grab all the players.  The numbers in the server list are the most accurate because I pull them straight from the master list.  I intended to make it so that the playerlist only showed up if the server was selected, but I hadn't gotten there yet.  Another issue that happens with that list is that there is no placeholder if a server can't be queried.  It just bumps the next server up causing weird mismatching server issues.

As you can see, I didn't put as much time into this website as probably was appropriate.  When it was built, there was a desire for a separate master list and some other details, and that was it.  I formatted the top of the page to fit into a box and went from there - Placement of the widget is just an iframe box in the News block right now.

I have a testing machine that I work with to implement new features, but I haven't touched it for a while.  Thanks for your suggestions and I'm hoping I can get some of them working soon.

Edit: Added SWBF2 since that was a pretty easy request.  Already had it done on my backup.
« Last Edit: May 06, 2019, 09:00:50 PM by Dark_Phantom »
The BOBclan:  A Rich History


'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.