PCS Game Hosting
  Forum Index    Search    Usergroups    Edit your profile    Members    Arcade    Ranks

 Reputation    Medals    Staff    Statistics    Board Rules    Forum FAQ    Private MessagesLogin, Check Messages    Log in 

Search for at
Soldier Of Fortune 2 Advanced Search

Post new topicReply to topicprinter-friendly viewThank Post
   Soldier Of Fortune 2 Forum Index » Soldier Of Fortune 2 - Double Helix - SOF2 General Support » SOF2 Mods » 1fx. Mod Gold - Client Addition
 View previous topic :: View next topic  
Author Message

In Game: The Punisher
Gender: Gender:Male
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Age: 22
Posts: 740

Reputation: 4027
votes: 3
Medals: 2 (View more...)
Distinguished Uploader (Amount: 1)

Status: Offline
PostPosted: Mon Nov 09, 2015 1:27 pm
PostPost subject: No icon 1fx. Mod Gold - Client Addition
Reply with quote

Thanks to the awesome work boe!man is providing, we are going to have some new features.
For the full update topic and to keep you up to date for the latest releases, suggestions, bug fixes.

Status update. 1fx. Client Additions are now as good as finished. I put up a test server so you guys can test the new system thoroughly. Smile To introduce the new additions, I'm going to put a few words here. In time, this will be moved to the future 1fx. Mod documentation.

1fx. Client Additions, what are they?
The client additions that come with 1fx. Mod are built to extend the functionality of the base system or existing client mods. That means existing client mods can also use the new functionality provided.

Feature list
There are quite a few notable features:

   Broad Windows compatibility - compatible with Windows versions as low as Windows 2000. No extra redist packages or other programs are needed on the client PC.
   Can be downloaded directly from the server without any other manual tweaks, only one .pk3 package is required in order to use the additions. The .pk3 is only ~400 KB. The rest is all handled automatically.
   Provided as DLL instead of QVM. In general this means a boost in FPS of about 25-50% without any other tweaks.
   Extra grenades embedded in code. This means compatibility with the extra v1.00 gametypes Hide&Seek and Zombies. Those are also automatically enabled on servers that enforce the new Client Additions.
   HTTP downloader. The server can specify extra pk3 files to be downloaded from any webhost. Only .pk3 files are allowed, other file types won't be downloaded automatically. Servers can also specify a maximum download speed so no other services on the host are affected. Clients can use the ESCAPE key to cancel the HTTP downloader.
   Self updating system. The Client Additions perform checks upon initialization, and will update directly from 1fxmod.org if an update is available. This ensures future compatibility with new 1fx. Mod features and live bug fixes without any client interaction.
   Third person allowed in servers that have g_allowThirdPerson set to 1. Clients can switch between view state using /3rd and /1st. If the server disables this, clients won't be able to play in third person.

There are also a few drawbacks when using the 1fx. Client Additions:

   Clients that don't have the 1fx. Client Additions are automatically kicked from the server. There's no way for them to properly play on a server that enforces these client additions. They are informed to turn on downloading and reconnecting.
   Regular server downloads are disabled (the ones you receive when you set /cl_allowDownload to 1). Not really an issue since I can't imagine anyone wanting to download anything directly off the server with HTTP downloads enabled.
   Your regular settings are gone after an initial connect. For example, a 1fx. Server with ROCmod client and 1fx. Client Additions enabled will force the client to use the "1fx.rocmod" directory instead of "rocmod". This is a restriction because you can't have the regular files interfere with the 1fx. Client Additions embedded in the target mod. No worries, they won't reset every time, just this one time when you join a 1fx. Mod server that enforces 1fx. Client Additions.
   One additional reconnect when connecting to a server for the first time. This is necessary to download additional pk3s from the server and to update the 1fx. Client Additions if necessary. This only happens when switching from one server to another, a /reconnect won't make you reconnect twice.

Server settings
Any future 1fx. Mod server on Gold can make the necessary changes to enforce the clients to use the 1fx. Additions. These are the CVARs that you can set on the server:

   g_enforce1fxAdditions: When set to 1, you enable the client additions on the server. This also enables Hide&Seek and Humans&Zombies and forces sv_allowDownload to 1 (with only the CoreUI package exposed to clients). If this is not set to 1, the other CVAR settings below have no effect.
   g_httpRefPaks: A space delimited list of .pk3 files you want the client to download when connecting to your server. If pk3 files contain a space, don't worry. The client automatically detects this and makes changes accordingly. Set to "none" to disable. It is recommended to exclude map packs because that way a client may download duplicates. Example: "A Bridge To Far.pk3 mp_northport.pk3 mp_office.pk3"
   g_httpBaseURL: The base URL clients download maps from. This needs to be accessible from the web, or clients won't be able to download any maps from your server. This needs a leading slash in order to correctly work. Set to "none" to disable. For example: "http://boeboe.uk.to/pub/maps/"
   g_httpMaxSpeed: Maximum speed client is allowed to download from the base URL in KBps. Set to "0" to disable. Example: you'd set it to 5000 to enforce a maximum client download speed of 5 MB/s or 500 for 500 KB/s.

Client settings
1fx. Client Additions only add a few essential things to the client:

   /1st and /3rd commands. Use this to switch your view state. The client respects the 1fx. Mod server's g_allowThirdPerson value. If this is set to 0, setting to /3rd has no effect.
   Recommendation message for clients when in a Hide&Seek or Zombies gametype server and g_allowThirdPerson is set to 1 on the server. The message will state that playing in third person is recommended at every spawn.
   Extra grenades for additional gametypes.

Source code
These additions are open source, you can find it here.

Test server
A test server is available on the following IP: /connect boeboe.uk.to:20106
This test server runs an internal build with H&S with some custom maps. The server doesn't run ROCmod, it runs vanilla SoF2 with the client additions enabled. The upcoming preview will of course include a ROCmod build with the client additions. The following maps are downloaded from here, but then in-game:


It totals to about 25 MB to download. I have a 200 Mbit fibre connection at home, so people close to NL should get their maximum speeds.

The server itself is a bit slow though, since I host it on my old (t)rusty Abit BP6 - it's a system from 1999!

You are encouraged to connect to this server without any configuration beforehand and let SoF2MP handle everything automatically for you. Please report if anything went wrong (or right! Feedback is most welcome!).


I hope you're impressed with the new additions, and hope servers will soon enforce these additions so we can make more exiting updates later on with even more functionality, and players can finally play on servers with custom maps enabled this way. Clans must understand this can only properly work if servers will indeed force these additions - if no server is bothered to enable them this is doomed to fail before it even gets released.

We'll see what the future brings after I release the next preview. I plan to release the next preview in the upcoming weeks, with lots of bugs fixed that were reported earlier. Enjoy testing the client additions for now!

Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist


Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic printer-friendly viewThank Post
Soldier Of Fortune 2 Forum Index » Soldier Of Fortune 2 - Double Helix - SOF2 General Support »  SOF2 Mods
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Hi guys 12 Rockertjen 7411 Wed Dec 18, 2013 9:47 am
Punisher View latest post
No new posts Hey guys if anyone remembers playing with me hit me up 1 playdoh 3306 Thu Dec 05, 2013 9:07 am
Teo View latest post
No new posts Sup guys!!! 5 VenOm 5825 Thu Sep 12, 2013 12:01 pm
Hoffers View latest post
No new posts have a good week end guys....dont drink and drive.. 1 LilJoe 3040 Thu Aug 29, 2013 10:58 pm
Teo View latest post
No new posts hello guys! 1 crusher 3076 Sun May 26, 2013 8:25 pm
Teo View latest post

Back to Top

SOF2.ORG Multiplayer Community © 2020 All times are UTC + 2 Hours [DST enabled]

Copyright ©