Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: Skullhead860 on June 30, 2007, 02:01:17 PM

Title: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 02:01:17 PM
Hey i'm running a listen server on Gmod 10 and using version 3.11 of ulx. I got the playsound to function, but im the only who can hear it. I added
ulx addForceDownload "sound/NFR.wav"
ulx addForceDownload "sound/LS.wav"   at the bottom of the server configuration file in garrysmod\garrysmod\addons\ulx\lua\ulx\configs.  I want to make it so that everyone in my server can hear it. Is there something that im not doing right? thx :)
Title: Re: ULX Playsound Question
Post by: Megiddo on June 30, 2007, 02:45:34 PM
Are people actually downloading it when they join? Do they get an error in the console when you play it?
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 02:49:40 PM
I will check this and get back to you
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 03:06:59 PM
Ok when the players are connecting i see the SWEPs that are being sent to the client.. but i dont see the sound file..
When i tried to play the sound they got
 [LC ULX ERROR] Received invalid sound 
and
B Failed to load sound "friends\friend_ingame.wav", file probably missing from disk/repository
in the console
Title: Re: ULX Playsound Question
Post by: atomicspark on June 30, 2007, 03:37:33 PM
Are you using sv_downloadurl? If so, are the wav's on the host? You must have all maps, sounds, etc. (whatever loads before urls) on the sv_downloadurl host if it is enabled. It basically disables downloads from the server.
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 03:50:23 PM
Uhh  im really noobish when it comes to stuff like this  :-\  So i dont know what sv_downloadurl is. Which means im probably not using it...
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 04:01:40 PM
Here is a screenshot of what i have so far...
(http://img407.imageshack.us/img407/6048/ulxhelpzd2.th.png) (http://img407.imageshack.us/my.php?image=ulxhelpzd2.png)
Title: Re: ULX Playsound Question
Post by: Megiddo on June 30, 2007, 04:19:02 PM
It's ulx addForcedDownload not ulx addForceDownload.

Hope that fixes it for you! ;)
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 04:30:22 PM
I didn't realize that i made that mistake... but unfortunately it still doesn't work. My clients are still getting
[LC ULX ERROR] Received invalid sound  when i try to play it
Title: Re: ULX Playsound Question
Post by: Megiddo on June 30, 2007, 04:54:48 PM
What do you have in your config now?
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 05:00:17 PM
Here is what i have after the changes...
(http://img187.imageshack.us/img187/5045/ulxhelpic3.th.png) (http://img187.imageshack.us/my.php?image=ulxhelpic3.png)
Title: Re: ULX Playsound Question
Post by: Megiddo on June 30, 2007, 05:04:00 PM
You need a space between forceddownload and the filename.
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 05:07:44 PM
Yea i just noticed that after i posted the image... if that was my problem im gonna feel really dumb  :P
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 05:16:16 PM
I fixed the problem with the space.. but they still get the invalid sound error.... :(
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 05:18:29 PM
// You can also add forced downloads here. Make sure you put quotes around the path/filename, and take out the comment string '//'.
// Add as many as you want. You can also add these to your map- or game-specific files.
//ulx addForcedDownload "sound/cheeseman.mp3"
ulx addForcedDownload "sound/NFR.wav"
ulx addForcedDownload "sound/LS.wav"
ulx addForcedDownload "sound/MW.wav"

 It Looks right to me... Is there any other file that could possibly cause the error?
Title: Re: ULX Playsound Question
Post by: Megiddo on June 30, 2007, 05:23:42 PM
Did you restart the server after fixing the config?
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 05:42:51 PM
Yes i did :(
Title: Re: ULX Playsound Question
Post by: Megiddo on June 30, 2007, 05:44:04 PM
Are people downloading the file when they join? Post a console dump of your server start.
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 05:54:24 PM
Mounting Apps From /settings/mount/*.txt
   Mounting App 240 (cstrike) - Ok!
   Mounting App 300 (dod) - No Permission!
   Mounting App 340 (lostcoast) - Not Installed!
   Mounting App 220 (hl2) - Ok!
   Mounting App 380 (episodic) - No Permission!
   Mounting App 320 (hl2mp) - Not Installed!
   Mounting App 280 (hl1) - No Permission!
   Mounting App 360 (hl1mp) - No Permission!
Done!
Not mounting addon/gamemode 'day-of-defeat', requires missing GCF file (300)
Parent cvar in server.dll not allowed (sk_apc_missile_damage)
Garry's Mod client.dll Build #0027 [May 17 2007 16:35:02]
maxplayers set to 1
Heap: 256.00 Mb
Parsed 23 text messages
Not mounting addon/gamemode 'day-of-defeat', requires missing GCF file (300)
Adding Font resource/fonts/akbar.ttf
Adding Font resource/fonts/coolvetica.ttf
Adding Font resource/fonts/csd.ttf
Render Targets.. Done!
Couldn't find custom font file 'resource/HL2EP2.ttf'
Couldn't find custom font file 'materials/vgui/fonts/buttons_32.vbf'
Garry's Mod server.dll Build #0027 [May 17 2007 16:35:01]
execing config.cfg
Can't use cheat cvar dsp_dist_max in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar dsp_dist_min in multiplayer, unless the server has sv_cheats set to 1.
Can't use cheat cvar r_ambientfraction in multiplayer, unless the server has sv_cheats set to 1.
2 CPUs (1 physical), Frequency: 3.4 Ghz,  Features: GenuineIntel SSE SSE2 MMX RDTSC CMOV FCMOV
GetAllManifestFiles:  Unable to load maplist.txt
execing valve.rc
execing autoexec.cfg
Starting Level gm_construct (Gamemode Override 'sandbox')
maxplayers set to 4
Unknown command "sbox_allownpcs"
Unknown command "sbox_maxprops"
Unknown command "sbox_maxragdolls"
Unknown command "sbox_maxnpcs"
Unknown command "sbox_maxballoons"
Unknown command "sbox_maxeffects"
Unknown command "sbox_maxdynamite"
Unknown command "sbox_maxlamps"
Unknown command "sbox_maxthrusters"
Unknown command "sbox_maxwheels"
Unknown command "sbox_godmode"
Unknown command "sbox_plpldamage"
Unknown command "sbox_playergod"
Unknown command "sbox_noclip"
Unknown command "sbox_maxhoverballs"
Unknown command "sbox_maxvehicles"
Unknown command "sbox_maxbuttons"
Unknown command "sbox_maxsents"
Unknown command "sbox_maxemitters"
Unknown command "sbox_maxspawners"
Unknown command "sbox_maxturrets"
Unknown command "contraptionary_intermission_time"
Unknown command "contraptionary_guess_time"
Unknown command "contraptionary_max_guesses"
execing game.cfg
Network: IP 192.168.1.136, mode MP, dedicated No, ports 27015 SV / 27005 CL
Spawn Server gm_construct
Begin loading faces (loads materials)
End loading faces (loads materials)
Lua initialized (Lua 5.1)
ERROR: Couldn't open Lua file 'particletrace.lua' (Path: 'weapons/weapon_flamethrower')
///////////////////////////////
//      Ulysses Library      //
///////////////////////////////
// Loading...                //
//  shared/defines.lua       //
//  shared/misc.lua          //
//  shared/util.lua          //
//  shared/table.lua         //
//  shared/player.lua        //
//  server/player.lua        //
//  shared/messages.lua      //
//  shared/concommand.lua    //
//  server/concommand.lua    //
//  server/util.lua          //
//  shared/sh_ucl.lua        //
//  server/ucl.lua           //
//  server/phys.lua          //
//  server/player_ext.lua    //
//  server/entity_ext.lua    //
// Load Complete!            //
///////////////////////////////
[ULIB] Loading module: ulx_init.lua
///////////////////////////////
//       ULX Admin Mod       //
///////////////////////////////
// Loading...                //
//  sh_defines.lua           //
//  base.lua                 //
//  util.lua                 //
//  fun.lua                  //
//  vote.lua                 //
//  toolmode.lua             //
//  slots.lua                //
//  log.lua                  //
//  end.lua                  //
// Load Complete!            //
///////////////////////////////
1 active EHandles!
Registering gamemode 'sandbox' derived from 'base'
ScriptEnforce: gamemodes/sandbox/clientscripts.txt wasn't found. This gamemode is unprotected.
ERROR: Couldn't open Lua file 'particletrace.lua' (Path: 'weapons/weapon_flamethrower')
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
Unknown command "ulx"
execing ulx_aliases.cfg
execing skill_manifest.cfg
execing skill.cfg
Executing listen server config file
Executing listen server config file
Precache of sprites/light_glow02_add_noz ambigious (no extension specified)
Precache of sprites/light_glow02_add_noz ambigious (no extension specified)
Section [Scenes]: 1096 resources total 17.54 KB, 0.84 % of limit (2.10 MB)
4 player server started
couldn't exec listenserver.cfg
couldn't exec listenserver.cfg
No challenge from 68.142.232.33:27243.
Client "Veritas" connected (127.0.0.1:27005).
Connected to 127.0.0.1:27015
Adding master server 68.142.72.250:27011
Adding master server 72.165.61.190:27011
Connection to Steam servers successful.
   VAC secure mode is activated.
No challenge from 68.142.232.32:27243.

[L] Sandbox
Map: gm_construct
Players:  1 / 4
Build 3152
Server Number 1
No pure server whitelist. sv_pure = 0
CSoundEmitterSystem::AddSoundsFromFile:  No such file scripts/sounds/game_sounds_phx.txt
CSoundEmitterSystem::AddSoundsFromFile:  No such file scripts/sounds/dod_game_sounds.txt
CSoundEmitterSystem::AddSoundsFromFile:  No such file scripts/sounds/dod_game_sounds_ger_commands.txt
CSoundEmitterSystem::AddSoundsFromFile:  No such file scripts/sounds/dod_game_sounds_us_commands.txt
CSoundEmitterSystem::AddSoundsFromFile:  No such file scripts/sounds/dod_game_sounds_weapons.txt
CAsyncWavDataCache:  2 .wavs total 0 bytes, 0.00 % of capacity
Initializing renderer...
Precaching Spawn Icons... DONE!
--- Missing Vgui material vgui/entities/weapon_annabelle
--- Missing Vgui material vgui/entities/weapon_alyxgun
--- Missing Vgui material vgui/entities/weapon_citizenpackage
--- Missing Vgui material vgui/entities/weapon_citizensuitcase
Server is running Garry's Mod Version 27 - gamemode 'sandbox'
Waiting for String Tables..
Lua initialized (Lua 5.1)
Creating RT Texture 'GModToolgunScreen'..DONE!
ERROR: Couldn't open Lua file 'particletrace.lua' (Path: 'weapons/weapon_flamethrower')
Registering gamemode 'sandbox' derived from 'base'
ERROR: Couldn't open Lua file 'particletrace.lua' (Path: 'weapons/weapon_flamethrower')
Joining Game..
[UCL] Access set.
This server is running ULib version 2.05.
--- Missing Vgui material
ULX version 3.11 loaded.
Client "Pojo226" connected (141.150.179.175:50822).
Pojo226 has joined the game
Title: Re: ULX Playsound Question
Post by: Megiddo on June 30, 2007, 06:14:13 PM
It's not loading your ULX correctly for some reason... What other mods are you running?
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 06:19:07 PM
Hmmm i hope the picture helps... phx is phoenix mod

(http://img137.imageshack.us/img137/6605/ulxhelpji2.th.png) (http://img137.imageshack.us/my.php?image=ulxhelpji2.png)
Title: Re: ULX Playsound Question
Post by: Skullhead860 on June 30, 2007, 07:03:43 PM
The vehicle folders contain gmow, vmod, and car mod as far as i know