Author Topic: Exactly what settings are changed in the FS/O multi connection config?  (Read 1963 times)

0 Members and 1 Guest are viewing this topic.

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Exactly what settings are changed in the FS/O multi connection config?
Just wondering what settings are altered for Dial-up / DSL / LAN etc etc, and if said settings are still set appropriately for today (wondering if some possible issues with multi lie there in addition to anything else).

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Exactly what settings are changed in the FS/O multi connection config?
Right now it's mostly used to configured the FS2NetD settings, the webapi settings, and a few other various multiplayer settings.

Code: [Select]
+name SCP WebUI Test Server
+pxo #Eleh
+no_voice
+high_update
+max_players 12
+use_pxo
+pxo_login <user>
+pxo_password <password>
+webui_root /usr/share/games/fs2source/fs2open_webui
+webapi_username <user>
+webapi_password <password>
+webapi_server_port 8080

That's what I have going on the standalone server I've been running (when it hasn't crashed).
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Exactly what settings are changed in the FS/O multi connection config?
Just wondering what settings are altered for Dial-up / DSL / LAN etc etc, and if said settings are still set appropriately for today (wondering if some possible issues with multi lie there in addition to anything else).
Connection type (the "NetworkConnection" setting) can only be one of three options: None, Dialup, or Broadband/LAN (which is just recorded as "LAN" in the registry). This affects very few things; object update speed is, as far as I can tell, the only actual setting that's affected. Connection speed has a wider range of values, but the only place they seem to be applied is to the server list (telling you what speed setting the server was created with; that's it).
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Exactly what settings are changed in the FS/O multi connection config?
Update speed is probably part of the reason why multiplayer is so unplayable at the moment. But every time I try looking at that code I end up closing it without a clue what it's actually doing.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Exactly what settings are changed in the FS/O multi connection config?
Ever think of trying an Aperture Labs approach to that section of code?  (Muck with it and make a bunch of special test builds until you can figure out what does what.)

I should be able to help a little with that (running builds and providing logs) but I think we'd need more as we would need to have a multiplayer connection to accurately test, right?

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Exactly what settings are changed in the FS/O multi connection config?
I've been trying to keep a retail standalone running that could theoretically be used by one person against AI, but until the issue of it crashing when my internet hiccups is addressed, its availability is questionable.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays

 

Offline jg18

  • A very happy zod
  • 210
  • can do more than spellcheck
Re: Exactly what settings are changed in the FS/O multi connection config?
Update speed is probably part of the reason why multiplayer is so unplayable at the moment. But every time I try looking at that code I end up closing it without a clue what it's actually doing.

If it is a significant factor in multi being unplayable, can't we test that by trying a client/server setup set to "Dialup" connection type and then again set to Broadband/LAN" type?  IIRC Dialup has a much lower object update speed. Probably should exclude FS2NetD as a factor by setting it up as a direct IP game instead of going through FS2NetD.

The option names for connection type/speed in wxL differ slightly from retail, which IIRC are the options listed in 5.5g. I worked with KyadCK a long time ago to come up with better option names than what appear in 5.5g, to more accurately reflect current common connection/speeds types.

If object update speed really is an issue, we may have to come up with new options for types/speeds and/or map them to new values for object update speeds, for example taking both connection type and speed into account when determining object update speed. . But that's probably out of the scope of this thread.

 

Offline chief1983

  • Still lacks a custom title
  • Moderator
  • 212
  • ⬇️⬆️⬅️⬅️🅰➡️⬇️
    • Minecraft
    • Skype
    • Steam
    • Twitter
    • Fate of the Galaxy
Re: Exactly what settings are changed in the FS/O multi connection config?
Unless we completely don't understand how FS2NetD works, using it shouldn't be a factor once in game.  It should just be a means to avoid having to know the IP of the host.
Fate of the Galaxy - Now Hiring!  Apply within | Diaspora | SCP Home | Collada Importer for PCS2
Karajorma's 'How to report bugs' | Mantis
#freespace | #scp-swc | #diaspora | #SCP | #hard-light on EsperNet

"You may not sell or otherwise commercially exploit the source or things you created based on the source." -- Excerpt from FSO license, for reference

Nuclear1:  Jesus Christ zack you're a little too hamyurger for HLP right now...
iamzack:  i dont have hamynerge i just want ptatoc hips D:
redsniper:  Platonic hips?!
iamzack:  lays