Jump to content


Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  bing bang blaow : (18 August 2026 - 01:18 PM) any way to see pics from the baked cakes when some guys joined amex? remembered that fun stuff haha
@  oz0rs : (03 August 2026 - 08:06 PM) feking eggs kosmks :@
@  Fastlain : (10 July 2026 - 02:14 PM) https://www.mediafir...o/DEMO.zip/file
@  Fastlain : (10 July 2026 - 02:14 PM) /connect 85.144.232.228:20100 8 pm ces
@  Fastlain : (10 July 2026 - 02:13 PM) https://www.youtube....h?v=5rXCwsV_3bc
@  Fastlain : (10 July 2026 - 02:13 PM) we still play everyday hitmans 8 a clock
@  RAx* : (03 July 2026 - 04:02 PM) I played this game like 10-15 years ago :D
@  RAx* : (03 July 2026 - 04:01 PM) Hi is this game still working?
@  TRUE : (13 June 2026 - 12:51 AM) candyman
@  dAN-G_ : (03 June 2026 - 05:35 AM) Prsk & Dan-G still going at it
@  Kyro : (25 May 2026 - 10:01 AM) https://www.demobase...vive-the-scene/
@  kansta : (18 May 2026 - 03:03 PM) https://sof2aftermath.online/
@  kansta : (18 May 2026 - 03:02 PM) We play nowdays mix in full https://discord.gg/RF6ukKWNB Join if want play. Firstperson only
@  kansta : (01 May 2026 - 04:17 PM) https://discord.gg/RF6ukKWNB
@  Kyro : (01 May 2026 - 03:21 PM) hop in boys its gonna start soon
@  Fastlain : (01 May 2026 - 03:19 PM) full tournament 1000 price pool, if ppl intrested
@  Fastlain : (01 May 2026 - 03:19 PM) discord.gg/sof2aftermath
@  Fastlain : (21 April 2026 - 02:38 PM) Butcher can only play if he sponser hitman fragnet server
@  kansta : (19 April 2026 - 06:03 PM) https://discord.gg/GF73Qv3dc9 if you need sof2 so join my discord
@  kansta : (19 April 2026 - 06:02 PM) 8pm cest we play
@  Butcher : (18 April 2026 - 08:05 PM) I'm gona play sometime in tea, when is it going?
@  Stark.420 : (09 April 2026 - 07:42 AM) for sure its fun
@  luisu : (08 April 2026 - 09:25 PM) Need to come own some day..
@  Stark.420 : (08 April 2026 - 08:04 PM) /connect 85.144.232.228:20100 8 pm cest
@  ZioNi : (07 April 2026 - 08:17 AM) amex sucks btw
@  ZioNi : (07 April 2026 - 08:17 AM) sup ross
@  Stark.420 : (06 April 2026 - 07:56 PM) https://imgur.com/a/SaGdmwP 20 players in demo tonight, 8 pm CEST
@  Fastlain : (06 April 2026 - 04:01 PM) yo jaron is there away we can do it for you , or help you ?
@  shift : (06 April 2026 - 04:23 AM) dont have the time to maintain it unfortunately
@  kansta : (05 April 2026 - 09:23 AM) yo, can you put fairplay back? :D

Photo

Sof2 server on linux


3 replies to this topic

#1 wirdo

wirdo

    Advanced

  • Members
  • PipPip
  • 165 posts
  • Location:The Netherlands
  • Full Clan:-|HsS|-
  • Fairplay Guid:w1rdo

Posted 21 October 2010 - 08:57 PM

Hi Guys,

Does anyone of you know how to fix the segmentation fault that shows up when you try running the sof2ded file on linux?
Seems that there are a few people that know how to fix it, but they don't want to give it to the ''public"
For example 2k3 fixed it, asked them a few times some years ago but no answer came out :o

#2 XILLAX

XILLAX

    Super Elite

  • Administrators
  • PipPipPipPipPipPipPipPipPipPip
  • 6,018 posts
  • Location:Scotland
  • Demo Clan:c4
  • Demo Team:-aMeX-
  • Fairplay Guid:p3n1s

Posted 21 October 2010 - 09:05 PM

Maybe try these:
chmod a+x sof2ded

Make sure you copy the libcxa.so.1 to you /lib directory. depending on which distro your using it may be /usr/lib

found them @ http://forums.filefr...rt-sof2ded.html

ALSO, make sure all pk3 files are in "binary" mode
R.I.P. Wombat, Hokie & Haapis Never Forgotten...
Posted Image

#3 wirdo

wirdo

    Advanced

  • Members
  • PipPip
  • 165 posts
  • Location:The Netherlands
  • Full Clan:-|HsS|-
  • Fairplay Guid:w1rdo

Posted 22 October 2010 - 10:22 AM

I packed all files into a .rar file and used binary to transfer the rar into linux.
also gave all files full rights (chown + chmod)

Also the libcxa.so.1 is in the lib folder, but still no succes :o

This is what i've done :

[root@SK Sander]# mkdir /usr/local/games/sof2
[root@SK Sander]# cp /home/Sander/sof2ded /usr/local/games/sof2
[root@SK Sander]# chmod a+x /usr/local/games/sof2/sof2ded
[root@SK Sander]# cd /usr/local/games/sof2
[root@SK sof2]# cp -r /home/Sander/base .
[root@SK sof2]# cp -r /home/Sander/RPM .
[root@SK sof2]# ./sof2ded +set fs_game RPM +exec Config.cfg
SOF2MP V1.00 linux-i386 May 6 2002
Initialising zone memory .....
----- FS_Startup -----
Current search path:
/root/.sof2/RPM
/usr/local/games/sof2/RPM/soundpack5.pk3 (22 files)
/usr/local/games/sof2/RPM/soundpack4.pk3 (12 files)
/usr/local/games/sof2/RPM/soundpack3.pk3 (12 files)
/usr/local/games/sof2/RPM/soundpack2.pk3 (12 files)
/usr/local/games/sof2/RPM/SC_SoundPack1.pk3 (4 files)
/usr/local/games/sof2/RPM/SC_RPM_clientside_0[1].7_b2.pk3 (46 files)
/usr/local/games/sof2/RPM/RPM_SoundPack1.pk3 (42 files)
/usr/local/games/sof2/RPM/RPM_Server_Tool_0.5.pk3 (9 files)
/usr/local/games/sof2/RPM/RPM_clientside_0.5c.pk3 (29 files)
/usr/local/games/sof2/RPM
./sof2ded/RPM
/root/.sof2/base
/usr/local/games/sof2/base/MP/RPM_Server_Mod_Filter.pk3 (4 files)
/usr/local/games/sof2/base/MP
/usr/local/games/sof2/base/therest.pk3 (7125 files)
/usr/local/games/sof2/base/textures1234.pk3 (10843 files)
/usr/local/games/sof2/base/textures0.pk3 (2816 files)
/usr/local/games/sof2/base/skins.pk3 (4117 files)
/usr/local/games/sof2/base/musicandsound.pk3 (3055 files)
/usr/local/games/sof2/base/mp.pk3 (338 files)
/usr/local/games/sof2/base/models.pk3 (3643 files)
/usr/local/games/sof2/base/maps.pk3 (466 files)
/usr/local/games/sof2/base
./sof2ded/base/MP
./sof2ded/base

----------------------
32819 files in pk3 files
execing sof2mp_default.cfg
execing sof2mp.cfg
execing autoexec.cfg
Hunk_Clear: reset the hunk ok
Segmentation fault
[root@SK sof2]#

#4 Mr. Postman

Mr. Postman

    Advanced

  • Members
  • PipPip
  • 174 posts
  • Location:127.0.0.1
  • Full Clan:1fx.

Posted 22 October 2010 - 11:18 AM

Here's your fix, make sure you're in your game directory, in your case '/usr/local/games/sof2'. Also use a SSH client like PuTTY to make the process easier by just copy-pasting (middle-mouse button).

Download the lib that fixes your problem:
wget ftp://ftp.estpak.ee/pub/FreeBSD/ports/i386/packages-6-stable/emulators/linux_base-fc-4_15.tbz

Create directories:
mkdir linux_base
mkdir /opt/fc4libs

Extract to the temporary directory:
tar -xjf linux_base-fc-4_15.tbz -C ./linux_base

Copy the necessary files:
cp -rf ./linux_base/lib/ld-2.3.6.so /opt/fc4libs
cp -rf ./linux_base/lib/ld-linux.so.2 /opt/fc4libs

Delete the temporary folder and downloaded file:
rm -r linux_base
rm linux_base-fc-4_15.tbz

Create new script:
touch Script.sh

Edit the script in an editor like vi:
vi Script.sh

Paste the following contents:
export LD_LIBRARY_PATH=/opt/fc4libs
./sof2ded +set dedicated 2 +set fs_game RPM +exec Config.cfg

With of course some additions here and there.

Run your server:
sh Script.sh

Cheers!

- BoeMan

Edited by Mr. Postman, 22 October 2010 - 12:11 PM.




Reply to this topic



  

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users