Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How having xonotic server to make client download custom characters' sounds?

#1
Hi there,
I successfully changed some sounds on various players in default .pk3 data file (xonotic-20150113-data.pk3 in my case), and I changed files such as, eg., death1.ogg, death2.ogg,pain100.ogg, ecc. sounds in /player/soldier/player/ for example.
Then I repacked using the same name xonotic-20150113-data.pk3 in my case.
Now, when I locally run xonotic (0.8.0), I can hear the sounds I changed, but if I raise up a server, how can I have client to download my updated, custom sounds?
Have I to change/set some options in my server.cfg?

I'd really appreciate any suggestion.

Thanks in advance?
Gabo
Reply

#2
to ship different models/sounds/textures by server you have to pack them into a pk3 file and transfer it like maps by using:

Code:
sv_curl_defaulturl "your_http_ftp_server"
sv_curl_serverpackages "your_package"

GreetZ Su
Reply

#3
(01-24-2015, 02:46 PM)-maniac|Su- Wrote: to ship different models/sounds/textures by server you have to pack them into a pk3 file and transfer it like maps by using:

Code:
sv_curl_defaulturl "your_http_ftp_server"
sv_curl_serverpackages "your_package"

GreetZ Su

Hi first of all thank you very much for your reply.

To be honest, I'm just a little bit confused....
I tried to set sv_curl_defaulturl "http://<my_publicIP>/" and in sv_curl_serverpackeges "zzzmetalgabo.pk3" (that is my package with custom sounds).
I figure out, my webserver (apache2) should be up and running to make my pk3 available on port 80 and I put my pk3 under web server's document root.
When I raise up server, I don't find any information about my zzzmetalgabo.pk3 in the server log, and when a client connects to my server, it runs with default sounds with its characters.
I also tried to copy zzzmetalgabo.pk3 in root's ~/.xonotic/data (since I run server with root), but with no luck.

Any other things I can check? I tried to google around, but didn't find any useful information to custom sounds to client of already present characters.

Thank you in advance for your help.
Gabo

(01-24-2015, 02:46 PM)-maniac|Su- Wrote: to ship different models/sounds/textures by server.....

BTW, another weird thing... I set an 'hostname' variable in server.cfg to name my server (say, "Server Gabo 1234"). If I locally run client in my local network, I can see my server name in the multiplayer server list, but when a friend try to search/filter it from internet, doesn't. If I tell him my public-ip:port (es. "78.100.200.300:26000"), he can succesfully connect and play into my server, though.
I can I my server listed in the public server list?

Thanks in advance for your help.
Gabo
Reply

#4
first of all - make sure your map/webserver is working

sec - insert a file zzzmetalgabo.txt into pk3 file

zzzmetalgabo.txt only contains something like

Code:
File used for package ID in sv_curl_serverpackages.

edit your server-config too:

sv_curl_serverpackages "zzzmetalgabo.pk3 zzzmetalgabo.txt"

restart server

should be working (at leas it does 4 me)

GreetZ Su
Reply

#5
(01-25-2015, 08:04 AM)-maniac|Su- Wrote: first of all - make sure your map/webserver is working

sec - insert a file zzzmetalgabo.txt into pk3 file

zzzmetalgabo.txt only contains something like

Code:
File used for package ID in sv_curl_serverpackages.

edit your server-config too:

sv_curl_serverpackages "zzzmetalgabo.pk3 zzzmetalgabo.txt"

restart server

should be working (at leas it does 4 me)

GreetZ Su

Wow, thank you very much, we are achieveing a result!! Big Grin
Now, locally it works, zzzmetalgabo.pk3 is correctly loaded, but when a public users connects, it is displayed for a while "downloading dlcache/zzzmetalgabo.pk3 0/??? K " and it fails, and he plays with standard sounds. When it looks into his ~/.xonotic/data/dlcache, he can see a 0 length file zzzmetalgabo.pk3, so something didn't work with webserver. Webserver is up and running (apache), and if I target "http://myaddress/zzzmetalgabo.pk3" it a "wget" command, for example, I can normally download the file...
Thanks for any further suggestions.

Any idea for make my server appear in multiplayer server list??

Thanks again.
Gabo
Reply

#6
(01-25-2015, 08:04 AM)-maniac|Su- Wrote: first of all - make sure your map/webserver is working
....

Hi mate, there's an update! Smile
Now clients can succesfully download my .pk3. Smile It is stored in their ~/.xonotic/data/dlcache dir.

The weird thing now, is that the clients can hear announcers' custom sounds, but not players' custom sounds (e.g. soldier,marine,robot etc.).
My pk3 structure is like following:

Code:
Date      Time    Attr         Size   Compressed  Name
------------------- ----- ------------ ------------  ------------------------
2015-01-25 15:02:16 D....            0            0  sound
2015-01-25 15:02:16 D....            0            0  sound/announcer
2015-01-25 15:02:16 D....            0            0  sound/announcer/default
2013-08-22 17:35:52 .....       117567       113455  sound/announcer/default/03kills.ogg
2013-08-22 17:36:24 .....       119799       115829  sound/announcer/default/05kills.ogg
2013-08-22 17:56:08 .....        47119        45802  sound/announcer/default/1.ogg
.....
2015-01-25 15:02:16 D....            0            0  sound/ctf
2013-08-22 19:55:52 .....       138991       135715  sound/ctf/blue_capture.ogg
2013-08-22 19:55:52 .....           38           38  sound/ctf/blue_capture.ogg.sfl
......
2015-01-25 15:02:16 D....            0            0  sound/player
2015-01-25 15:02:16 D....            0            0  sound/player/carni-lycan
2015-01-25 15:02:16 D....            0            0  sound/player/carni-lycan/coms
2015-01-18 16:51:26 .....        24912        23205  sound/player/carni-lycan/coms/attack.ogg
....
2015-01-18 20:39:12 .....        22051        20089  sound/player/carni-lycan/player/death1.ogg
2015-01-18 20:39:12 .....        11391        10344  sound/player/carni-lycan/player/death2.ogg
2015-01-18 20:39:12 .....        12100        11038  sound/player/carni-lycan/player/death3.ogg
........
2015-01-18 20:39:12 .....        22051        20089  sound/player/marine/player/death1.ogg
2015-01-18 20:39:12 .....        11391        10344  sound/player/marine/player/death2.ogg
2015-01-18 20:39:12 .....        12100        11038  sound/player/marine/player/death3.ogg
.......
2015-01-25 15:02:16 D....            0            0  sound/player/robot/player
2015-01-18 20:39:12 .....        22051        20089  sound/player/robot/player/death1.ogg
2015-01-18 20:39:12 .....        11391        10344  sound/player/robot/player/death2.ogg
2015-01-18 20:39:12 .....        12100        11038  sound/player/robot/player/death3.ogg
.......
2015-01-25 14:10:30 .....           52           52  zzz-metalgabo.txt
------------------- ----- ------------ ------------  ------------------------

For having even the custom player/characters sounds working, the clients should have to manually move the downloaded zzz-metalgabo.pk3 from $HOME/.xonotic/data/dlcache to ${XONOTIC_GAME_DIR}/data dir.

Where am I still wrong in your opinion?

Tnx in advance
Gabo
Reply

#7
wasn.t there not something like a file:

Code:
sound/player/default.sounds

which include :

Code:
attack sound/carni-lycan/player/death1 0
attacking sound/player/carni-lycan/player/death2 0
attackinfive sound/player/carni-lycan/player/death3 0

coverme sound/player/carni-lycan/player/death3 0
....

??

GreetZ Su
Reply

#8
(01-25-2015, 04:55 PM)-maniac|Su- Wrote: wasn.t there not something like a file:

Code:
sound/player/default.sounds

which include :

Code:
attack sound/carni-lycan/player/death1 0
attacking sound/player/carni-lycan/player/death2 0
attackinfive sound/player/carni-lycan/player/death3 0

coverme sound/player/carni-lycan/player/death3 0
....

??

GreetZ Su

Yes, it's there, but didn't help. Sad

Thanks anyway.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  [SOLVED] Opensuse Leap 15.1 and Server.cfg ldegroot 3 247 08-01-2019, 02:52 PM
Last Post: ldegroot
  LAN server console commands dbl 1 466 06-13-2019, 04:55 AM
Last Post: martin-t
  How to change server cfg on modified server veecho 4 706 04-24-2019, 08:15 PM
Last Post: BuddyFriendGuy
  Server error "Weapon stats writing failed: -404" FlufyBuny 1 359 04-13-2019, 04:36 AM
Last Post: It'sMe
  Dedicated server setup Rec0d 5 692 04-03-2019, 02:00 PM
Last Post: Rec0d
  South American Dedicated Server Professor 3 713 03-03-2019, 07:02 PM
Last Post: end user
Information [TUTORIAL] Xonotic Server behind OPNSense (and pfSense) gurbe 0 491 01-27-2019, 09:07 AM
Last Post: gurbe
  Xonotic server running behind UDP proxy not working doombringeroperator 2 698 01-07-2019, 02:23 PM
Last Post: doombringeroperator
  [NEED HELP] Server show on the browser list, but I can't connect! Professor 1 706 12-19-2018, 11:39 AM
Last Post: Professor
  Server Setup for Dummies litvinenkotea 7 4,485 12-08-2018, 01:20 PM
Last Post: tehjester78

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-