Author Topic: New lobby server  (Read 11983 times)

0 Members and 2 Guests 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: 5037
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: 1815
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: 5037
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: 5037
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: 5037
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: 5037
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