Author Topic: New lobby server  (Read 11814 times)

0 Members and 1 Guest are viewing this topic.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
New lobby server
« on: January 29, 2011, 09:35:08 pm »
Please join me in thanking jrgp for his hard work over the past few days.  We now have a new lobby server which appears much more stable, efficient, and bug-free compared to the ones that have been running since 1.4.0 was released.

In order to address other issues with MM's server, I wanted to upgrade the version of Ubuntu on it.  In order to do that, I need to stop using vmware server 1.0.x, but the current lobby server ran inside a virtual machine on that.  jrgp offered to rewrite the lobby server and he has done it in a few days.  It uses the same protocol enesce and I came up with for 1.4.0, and he based it off of my existing code for the lobby, but with some improvements I've been meaning to incorporate.

Great job jrgp, this will be a big help.

In other news, these people need to fix their servers:
Ignoring server with invalid port: server [!PKS CSSC Tournament #1] (88.198.25.26:83001)
Ignoring server with invalid port: server [HOME OF THE RAGE] (204.80.93.33:75000)
Ignoring server with invalid port: server [(WM)Wracko's Sniper Box] (85.214.158.14:85214)
Ignoring server with invalid port: server [(WM)CW server ::] (204.80.93.33:99999)
Ignoring server with invalid port: server [#Soldat.Fr Gather] (88.198.25.26:76567)
Ignoring server with invalid port: server [!PKS CSSC Tournament #2] (88.198.25.26:93001)


You can't have a port over 65535.  The soldat server should be updated to refuse to stat when a too-high port is specified.

Offline Boblekonvolutt

  • Soldier
  • **
  • Posts: 222
  • "YOU are a CAR."
Re: New lobby server
« Reply #1 on: January 29, 2011, 09:39:29 pm »
[03:38] <Boblekonvolutt> Hey, you fixed the ports
[03:39] <Boblekonvolutt> after I whined at that
[03:39] <Boblekonvolutt> the system works :D

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: New lobby server
« Reply #2 on: January 29, 2011, 09:39:49 pm »
Thanks jrgp, many of us very much appreciate your hard work.

Relating to the port issue. Maybe the Soldat server shouldn't be able to start up with invalid ports (as it does with already 'binded' ports, for lack of a better word).

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #3 on: January 29, 2011, 09:42:42 pm »
Thanks jrgp, many of us very much appreciate your hard work.

You're welcome, guys. I really, really enjoy the Soldat work I do.

If anyone notices anything unusual with the new lobby, please tell us in this thread.
There are other worlds than these

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: New lobby server
« Reply #4 on: January 29, 2011, 09:46:31 pm »
Thanks jrgp, many of us very much appreciate your hard work.

Relating to the port issue. Maybe the Soldat server shouldn't be able to start up with invalid ports (as it does with already 'binded' ports, for lack of a better word).

.... someone didn't read my post before responding.  well played [ass]

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: New lobby server
« Reply #5 on: January 29, 2011, 09:51:30 pm »
What about iptocountry database? I think it was a very old db and updating it was very hard as you said.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: New lobby server
« Reply #6 on: January 29, 2011, 09:54:03 pm »
same one but it was updated recently

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: New lobby server
« Reply #7 on: January 29, 2011, 09:57:28 pm »
uhm ok. I haven't checked for a long time ^^
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline Prodigyx

  • Soldier
  • **
  • Posts: 188
    • SoldatX Brasil
Re: New lobby server
« Reply #8 on: January 29, 2011, 11:30:24 pm »
SoldatX - SX Brasil - www.soldatx.com

Offline Blacksheepboy

  • Veteran
  • *****
  • Posts: 1813
Re: New lobby server
« Reply #9 on: January 29, 2011, 11:56:09 pm »
A virtual machine inside a virtual machine? I dun even know... Whatever you meant sounds pissy.

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #10 on: January 30, 2011, 12:22:53 am »
A virtual machine inside a virtual machine? I dun even know... Whatever you meant sounds pissy.

The vmware he mentioned is the program vmware running under ubuntu which hosts the virtual machine the lobby used. It isn't a vm inside of a vm.....dawg.
There are other worlds than these

Offline Monsteri

  • Artist
  • Flagrunner
  • ******
  • Posts: 769
  • Strange thing
Re: New lobby server
« Reply #11 on: January 30, 2011, 03:50:37 am »
Quote
Please join me in thanking jrgp
Thank you.
Sorry if I'm insolent.

Offline TheV

  • Soldier
  • **
  • Posts: 236
Re: New lobby server
« Reply #12 on: January 30, 2011, 06:44:16 am »
Is it online now? Cause I just loaded up soldat and... I can't seem to connect to the lobby ;\

Offline Furai

  • Administrator
  • Veteran
  • *****
  • Posts: 1908
    • TransHuman Design
Re: New lobby server
« Reply #13 on: January 30, 2011, 07:55:34 am »
Dunno if I spotted the bug or it should be like this but it displays mapnames of some servers with some random numbers in end. (Look like addresses)
"My senses are so powerful that I can hear the blood pumping through your veins."

Offline SyavX

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 338
Re: New lobby server
« Reply #14 on: January 30, 2011, 08:14:26 am »
Ok, what we have:
Quote
[12:41]   SyavX: "If anyone notices anything unusual with the new lobby, please tell us in this thread."
[12:41]   SyavX: jrgp_ there is smth wrong, look at map names on some servers. like:
[12:41]   SyavX: ctf_Nuubiaa84a3, ctf_Laosa4b0e, ctf_Guardianaf36f
[12:41]   SyavX: etc.
[12:42]   Gizd: random chars are added to mapname to make lobby less boring
[12:49]   dnmr`: sweet, new maps!
[14:48]   SyavX: does any1 have problems with servers atm?
[14:50]   Beo: lobby not responding
[14:53]   CurryWurst: yeah several ppl on sf complain about the lobby being down
[14:56]   SyavX: no, i mean server hosting
[14:56]   SyavX: i know that lobby is down now
[14:57]   CurryWurst: no, my soldat server just runs fine
[15:05]   SyavX: looks like ive found the reason - LOBBY
[15:05]   SyavX: ta-da
[15:05]   minus: servers running fine
[15:05]   SyavX: my servers were crashing right after restarting
[15:06]   SyavX: but after disabling lobby registration looks like it’s gone
[15:07]   SyavX: “Thread creation error: Resource temporarily unavailable”
[15:08]   dnmr`: great stuff
[15:08]   SyavX: and it looks like lobby server error
[15:08]   SyavX: not local

FreeBSD 8.2-PRERELEASE
« Last Edit: January 30, 2011, 08:23:30 am by SyavX »

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #15 on: January 30, 2011, 08:55:48 am »
Dunno if I spotted the bug or it should be like this but it displays mapnames of some servers with some random numbers in end. (Look like addresses)

That isn't going to happen again.

Is it online now? Cause I just loaded up soldat and... I can't seem to connect to the lobby ;\

I think it may have frozen somehow. I just restarted it and it seems fine. I'm going to obviously be investigating things.

FreeBSD 8.2-PRERELEASE

What?
« Last Edit: January 30, 2011, 09:06:05 am by jrgp »
There are other worlds than these

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: New lobby server
« Reply #16 on: January 30, 2011, 10:16:13 am »
.... someone didn't read my post before responding.  well played [ass]
I do apologize for missing the small piece of text when reading (common simple mistake), but the name calling was uncalled for.


I figured I would let everybody know that the weapon mod filtering bug is already known of:
Quote from: jrgp
<jrgp> for those who remember the lobby discussion earlier, the WM filtering thing is a bug in the soldatserver and acts exactly the same way in the previous lobby

Offline SyavX

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 338
Re: New lobby server
« Reply #17 on: January 30, 2011, 11:04:45 am »
FreeBSD 8.2-PRERELEASE
What?
Did you read the quoted part of my previous message?.. That one where I was talking about server crashing caused by lobby errors.

FreeBSD 8.2-PRERELEASE - is the OS version used on the server where those soldat servers are hosting.
« Last Edit: January 30, 2011, 11:06:41 am by SyavX »

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #18 on: January 30, 2011, 11:14:44 am »
You're running the linux version of the soldatserver under freebsd? I tried that two years ago and it didn't work well.

The lobby should be fine now.
There are other worlds than these

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #19 on: January 31, 2011, 09:37:26 am »
Just added some minor new functionality (that will essentially only have effect on third party apps which request the server list) to the lobby server: in the request string, if you specify 0 for the version, instead of, say, 50, you'll get servers of any version instead of just 1.5.0.
« Last Edit: January 31, 2011, 09:39:46 am by jrgp »
There are other worlds than these

Offline KYnetiK

  • Camper
  • ***
  • Posts: 314
  • Something Else
    • KYnetiK ART
Re: New lobby server
« Reply #20 on: January 31, 2011, 09:55:25 am »
I cannot find any local (Australian) servers using the in-game lobby, but can find them perfectly well @ soldat.thd.vg/en/lobby.

Has been like this for almost a week now.
I asked God for a bike, but I know God doesn’t work that way. So I stole a bike and then asked for forgiveness.
_____________
WARNING! This user may use sarcasm and cynicism in a way you are not accustomed to.

[Barret]  /  [saw]
*Shakes Fist*

Offline Monsteri

  • Artist
  • Flagrunner
  • ******
  • Posts: 769
  • Strange thing
Re: New lobby server
« Reply #21 on: January 31, 2011, 09:57:27 am »
I just realized that I haven't loaded lobby for weeks.
Sorry if I'm insolent.

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #22 on: January 31, 2011, 10:00:49 am »
I cannot find any local (Australian) servers using the in-game lobby, but can find them perfectly well @ soldat.thd.vg/en/lobby.

Has been like this for almost a week now.

See attached screenshot. I've verified that the server list at http://soldat.thd.vg/en/lobby is identical to the one the client receives.
« Last Edit: January 31, 2011, 10:02:56 am by jrgp »
There are other worlds than these

Offline KYnetiK

  • Camper
  • ***
  • Posts: 314
  • Something Else
    • KYnetiK ART
Re: New lobby server
« Reply #23 on: January 31, 2011, 10:20:13 am »
Not in Australia, mate.

Check the attached shot - Gamearena wont even show up. No Australian servers do. Anything <200ping does not appear. I have modified absolutely nothing in regard to my network. Net speeds are unchanged. My ISP also owns GA.

« Last Edit: January 31, 2011, 10:23:56 am by KYnetiK »
I asked God for a bike, but I know God doesn’t work that way. So I stole a bike and then asked for forgiveness.
_____________
WARNING! This user may use sarcasm and cynicism in a way you are not accustomed to.

[Barret]  /  [saw]
*Shakes Fist*

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: New lobby server
« Reply #24 on: January 31, 2011, 10:28:17 am »
Well just checking it myself and it seems to work(I'm not in au)

Im chill like that

Offline KYnetiK

  • Camper
  • ***
  • Posts: 314
  • Something Else
    • KYnetiK ART
Re: New lobby server
« Reply #25 on: January 31, 2011, 10:32:38 am »
Exactly... and so I repeat the sentiment of my first post :

W T F


EDIT: I thought, maybe somethings weird with my filters (which I had NOT altered) so I checked em. I had BE secure filter on. I flicked it off, and GA servers appear - with Japanese flags. Go figure.

Im guessing the lobby system itself was having parameter changes in regard to BE, and/or so were the GA admins, thus requiring me to readjust my filter settings.
« Last Edit: January 31, 2011, 10:40:32 am by KYnetiK »
I asked God for a bike, but I know God doesn’t work that way. So I stole a bike and then asked for forgiveness.
_____________
WARNING! This user may use sarcasm and cynicism in a way you are not accustomed to.

[Barret]  /  [saw]
*Shakes Fist*

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #26 on: January 31, 2011, 11:02:30 am »
Does anyone else have that problem? Maybe it's your isp's fault.

I'm going to be releasing a standalone lobby requester soon. That should yield interesting results for you.
There are other worlds than these

Offline Beowulf Agate

  • Major
  • *
  • Posts: 73
Re: New lobby server
« Reply #27 on: January 31, 2011, 11:34:45 am »
I can see australian servers, sure, but with japanese flags  :)

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #28 on: January 31, 2011, 11:53:08 am »
Ok, download/extract this somewhere: http://jrgp.us/misc/lobbyClient.zip

It requires java, so make sure you have that installed. Open cmd.exe, cd to where you extracted it, run windows.bat

Same works for linux/bsd/mac; run unix.sh instead.

Show me a screenshot of it and tell me if it shows your game arena aus servers.

(it kinda looks like this on windows)


New native windows lobby tester: (compiled under linux with gcc-mingw32) http://jrgp.us:89/misc/serverLister.exe
Cross platform source: http://jrgp.us:89/misc/client.cpp.txt
« Last Edit: February 14, 2011, 05:46:50 pm by jrgp »
There are other worlds than these

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: New lobby server
« Reply #29 on: February 19, 2011, 07:29:06 am »
(...)
New native windows lobby tester: (compiled under linux with gcc-mingw32) http://jrgp.us:89/misc/serverLister.exe
Cross platform source: http://jrgp.us:89/misc/client.cpp.txt
Gives 404 Not Found error for me.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #30 on: February 22, 2011, 08:35:22 am »
(...)
New native windows lobby tester: (compiled under linux with gcc-mingw32) http://jrgp.us:89/misc/serverLister.exe
Cross platform source: http://jrgp.us:89/misc/client.cpp.txt
Gives 404 Not Found error for me.

Unfortunately I had a few hard drive crashes and never thought of backing up the web root of that machine. :-/
There are other worlds than these

Offline Monsteri

  • Artist
  • Flagrunner
  • ******
  • Posts: 769
  • Strange thing
Re: New lobby server
« Reply #31 on: February 22, 2011, 08:53:48 am »
Hmm, thought to say, that I have noticed that homepage is updated. It's a lot better now, may I know, who did it?
Sorry if I'm insolent.

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #32 on: February 22, 2011, 09:02:35 am »
Hmm, thought to say, that I have noticed that homepage is updated. It's a lot better now, may I know, who did it?
me/MM, as usual.
There are other worlds than these

Offline Monsteri

  • Artist
  • Flagrunner
  • ******
  • Posts: 769
  • Strange thing
Re: New lobby server
« Reply #33 on: February 22, 2011, 09:06:44 am »
Thanks. It's a bit boasty though, but I like it more now.
Sorry if I'm insolent.

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #34 on: February 22, 2011, 05:52:49 pm »
(...)
New native windows lobby tester: (compiled under linux with gcc-mingw32) http://jrgp.us:89/misc/serverLister.exe
Cross platform source: http://jrgp.us:89/misc/client.cpp.txt
Gives 404 Not Found error for me.

Unfortunately I had a few hard drive crashes and never thought of backing up the web root of that machine. :-/

hmm scratch that, I actually did: http://jrgp.us/misc/lclient/
There are other worlds than these

Offline Prodigyx

  • Soldier
  • **
  • Posts: 188
    • SoldatX Brasil
Re: New lobby server
« Reply #35 on: February 26, 2011, 11:20:40 pm »
SoldatX.com Advanced Lobby:

http://www.soldatx.com/lobby/

You can see details of the players inside servers. Just move mouse over the players/playerlimit info.

:)
SoldatX - SX Brasil - www.soldatx.com

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #36 on: February 27, 2011, 02:13:15 am »
SoldatX.com Advanced Lobby:

http://www.soldatx.com/lobby/

You can see details of the players inside servers. Just move mouse over the players/playerlimit info.

:)

hmm. interesting. You're using the lobby client socket protocol to get a list of servers and then querying each one for gamestat.txt (hence why the page takes forever to generate), correct?
There are other worlds than these

Offline Prodigyx

  • Soldier
  • **
  • Posts: 188
    • SoldatX Brasil
Re: New lobby server
« Reply #37 on: February 27, 2011, 09:06:07 am »
SoldatX.com Advanced Lobby:

http://www.soldatx.com/lobby/

You can see details of the players inside servers. Just move mouse over the players/playerlimit info.

:)

hmm. interesting. You're using the lobby client socket protocol to get a list of servers and then querying each one for gamestat.txt (hence why the page takes forever to generate), correct?

Correct, but if gamestat.txt download is not possible I try to get info using ASE protocol.

Also my system uses cache(if lot of people are using the page at same time) and uses latest list of servers from cache if official Soldat lobby is offline. So this lobby is perfect =P
SoldatX - SX Brasil - www.soldatx.com

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #38 on: February 27, 2011, 12:20:27 pm »
SoldatX.com Advanced Lobby:

http://www.soldatx.com/lobby/

You can see details of the players inside servers. Just move mouse over the players/playerlimit info.

:)

hmm. interesting. You're using the lobby client socket protocol to get a list of servers and then querying each one for gamestat.txt (hence why the page takes forever to generate), correct?

Correct, but if gamestat.txt download is not possible I try to get info using ASE protocol.

Also my system uses cache(if lot of people are using the page at same time) and uses latest list of servers from cache if official Soldat lobby is offline. So this lobby is perfect =P

Protips:
 - Make specifying the country be in GET, not POST, so you can share the url with friends and refresh without having to deal with "are you sure you want to resubmit this form?" stuff
 - Make an english version
 - Add column sorting
 - Get a new padlock icon
 - I see that with each join link you have /open at the end of the Soldat url. What's with that?
 - Make getting player info optional since the majority of people will not wait for the page to load Use ajax such that player information for each server is only fetched when you hover over it
 - It's 2011, not 2000; tags such as <font> and <center> are way out of style, in favor of CSS
« Last Edit: February 27, 2011, 12:31:01 pm by jrgp »
There are other worlds than these

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #39 on: March 11, 2011, 09:41:06 am »
Updated lobby request protocol slightly: http://devs.soldat.pl/wiki/index.php?title=Client-Lobby_Protocol#101_Request_List

I've added support for the ! (exclamation point) character, in place of 1 and 0 for several of the fields, which essentially does the reverse of 1.

This will add support for future versions of Soldat (as well as fan apps) to, for example, choose to request realistic servers or not realistic servers.
There are other worlds than these

Offline demoniac93

  • Veteran
  • *****
  • Posts: 1554
Re: New lobby server
« Reply #40 on: March 11, 2011, 02:45:15 pm »
I'm no longer seeing the server list getting stuck half-way through server search/pinging.
Way to go, jrgp.
b&

Offline jrgp

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 5036
Re: New lobby server
« Reply #41 on: March 11, 2011, 02:47:20 pm »
I'm no longer seeing the server list getting stuck half-way through server search/pinging.
Way to go, jrgp.

Ii still don't know what caused/is causing that.
There are other worlds than these

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: New lobby server
« Reply #42 on: March 11, 2011, 02:56:33 pm »
I'm no longer seeing the server list getting stuck half-way through server search/pinging.
Way to go, jrgp.

...as far as I know it's client-side bug because it's fixed in 1.5.1 and mentioned in the changelog.
Fight! Win! Prevail!

Offline demoniac93

  • Veteran
  • *****
  • Posts: 1554
Re: New lobby server
« Reply #43 on: March 11, 2011, 03:54:20 pm »
I'm no longer seeing the server list getting stuck half-way through server search/pinging.
Way to go, jrgp.

...as far as I know it's client-side bug because it's fixed in 1.5.1 and mentioned in the changelog.

I didn't stop getting it until jrgp tweaked the lobby  ???
b&