Jump to content
The simFlight Network Forums

No more sounds in Lua scripts


Recommended Posts

Hello,

I use Prepar3d and have recently updated from version 1.3 to 1.4. As suggested by Lockheed Martin, I did a clean installation, completely removing the old version and installing the newer one.

So I had to reinstall FSUIPC (v.4.853) as wel. No problems here, everything works as a bell. Exept for the .lua scripts that I made before (GF modules; avionics handling, APU handling,...) and where sound is used (APU startup,Cabin signs,...). Before upgrading Prepar3d all sounds invoked thrue the sound.play(filename) function worked fine, sounds were played normaly. However after the upgrade the sounds won't play anymore. The scripts work fine, there are no errors, the sounddevice is recognised and the soundref value is assigned. However the sound.query function returns as "false".

The sound files are in the default "\Prepare3D\Sound" map and I tried using the sound.path function, no effect. I have tried reinstalling FSUIPC, no effect.

All other simulator sounds, as well as PM Sounds, are played normaly. Any help would be greatly appreciated. Thanks!

Link to comment
Share on other sites

  • 3 weeks later...

Hallo Pete,

Sorry for the long post but i have tried to attach the requested files, that didn't work, error: "You aren't permitted to upload this kind of file". So i just copy & paste everything.

I made a simple LUA script to test the sound facility, it looks lke this (very basic, i know, just for testing)

-- Soundtest.lua

SR=0

SD=""

SP=0

PLY=false

SD=sound.device(0)

SR=sound.play("CabinAlert",0,100)

PLY=sound.query(SR)

if PLY==true then

SP=1

end

ipc.sleep(2000)

The sleep function is only to let the sounfile play out and to watch what happens in de console window.

I have also pasted the output in the console window:

Console Started ...

[Log closed by user request, and continued in new file]

362172 System time = 09/11/2012 14:41:00, Simulator time = 14:38:19 (22:38Z)

362172 *** FSUIPC log file being closed

Average frame rate for running time of 198 secs = 13.9 fps

G3D fix: Passes 20548, Null pointers 0, Bad pointers 0, Separate instances 0

Memory managed: 97 Allocs, 94 Freed

********* FSUIPC Log file closed ***********

********* FSUIPC4, Version 4.853 by Pete Dowson *********

User Name="Paul Van Dyck"

User Addr="falconxx@pandora.be"

FSUIPC4 Key is provided

WideFS7 Key is provided

362172 System time = 09/11/2012 14:41:00, Simulator time = 14:38:19 (22:38Z)

[Continuation log requested by user]

Running inside Prepar3D on Windows 7

Module base=51F90000

366306 LUA.0: beginning "H:\PREPAR3D\Modules\Soundtest.lua"

366306 LUA.0: H:\PREPAR3D\Modules\Soundtest.lua:2

366306 LUA.0: Global: ipcPARAM = 0

366306 LUA.0: H:\PREPAR3D\Modules\Soundtest.lua:3

366306 LUA.0: Global: SR = 0

366306 LUA.0: H:\PREPAR3D\Modules\Soundtest.lua:4

366306 LUA.0: Global: SD =

366306 LUA.0: H:\PREPAR3D\Modules\Soundtest.lua:5

366306 LUA.0: Global: SP = 0

366306 LUA.0: H:\PREPAR3D\Modules\Soundtest.lua:7

366306 LUA.0: H:\PREPAR3D\Modules\Soundtest.lua:9

366306 LUA.0: Global: SD = Primary Sound Driver

366368 LUA.0: H:\PREPAR3D\Modules\Soundtest.lua:10

366368 LUA.0: Global: SR = 1

366384 LUA.0: H:\PREPAR3D\Modules\Soundtest.lua:12

366384 LUA.0: H:\PREPAR3D\Modules\Soundtest.lua:16

368193 LUA.0: ended "H:\PREPAR3D\Modules\Soundtest.lua"

As you can see, the sound driver is found and recognised, however no sound is played and the program does not execute line 13 in the IF..THEN block.

So the PLY variable must be false. The SR variable (soundref) however is set to 1. Strange...

I have tried with other sounddevices, always recognised but nothing is played.

Hereby also the FSUIPC installation log:

Installer for FSUIPC4.DLL version 4.853

Looking in registry for FSX install path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Games\Flight Simulator\10.0

Parameter"SetupPath"

... >>> OK! FOUND FSX! <<< ...

Looking in registry for ESP install path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft ESP\1.0

Parameter"SetupPath"

Not there, so looking in:

HKEY_CURRENT_USER\ESP

Parameter"AppPath"

... NOT found! ...

Looking in registry for Prepar3D install path:

HKEY_LOCAL_MACHINE\SOFTWARE\LockheedMartin\Prepar3D

Parameter"SetupPath"

... >>> OK! FOUND Prepar3D! <<< ...

===========================================================

INSTALLATION FOR FSX:

SetupPath="X:\FS_X\"

Checking version of FSX.EXE:

... Version 10.0.61472.0 (Need at least 10.0.60905.0)

Checking compatibility with installed SimConnect:

Found SimConnect build 60905 (Original)

Found SimConnect build 61242 (SP1 May07)

Found SimConnect build 61259 (Acc/SP2 Oct07)

Checking if there's already a version of FSUIPC4 installed in:

X:\FS_X\Modules\FSUIPC4.DLL

... Version 4.853 found.

FSX Modules folder already exists.

Okay -- installed FSUIPC4 into "X:\FS_X\Modules\FSUIPC4.DLL"

Looking for the current user's Application Data path:

... found as "C:\Users\Pilot\AppData\Roaming"

Now finding \Microsoft\FSX\FSX.CFG for all users, including this one

Looking in "C:\Users\All Users\AppData\Roaming"

... No FSX.CFG there

Looking in "C:\Users\Default\AppData\Roaming"

... No FSX.CFG there

Looking in "C:\Users\Default User\AppData\Roaming"

... No FSX.CFG there

Looking in "C:\Users\Paul\AppData\Roaming"

... No FSX.CFG there

Looking in "C:\Users\Pilot\AppData\Roaming"

Found FSX.CFG in "C:\Users\Pilot\AppData\Roaming\Microsoft\FSX\FSX.CFG"

Now checking DLL.XML ...

... There is a previous DLL.XML, checking for FSUIPC4 section.

... FSUIPC4 section already exists but will be replaced.

(for FSUIPC4, without Loader)

... FSUIPC4 section of DLL.XML written okay

Now checking for a SimConnect.XML file ...

... No SimConnect.XML file found. This is okay.

Looking in "C:\Users\Public\AppData\Roaming"

... No FSX.CFG there

Looking in "C:\Users\UpdatusUser\AppData\Roaming"

... No FSX.CFG there

"Modules\FSUIPC Documents" folder already exists.

Now installing additional files into the "Modules\FSUIPC Documents" folder:

Installed "FSUIPC4 User Guide.pdf" okay

Installed "FSUIPC4 for Advanced Users.pdf" okay

Installed "FSUIPC4 History.pdf" okay

Installed "List of FSX controls.pdf" okay

Installed "GlobalSign Root.exe" okay

Installed "FSUIPC Lua Library.pdf" okay

Installed "FSUIPC Lua Plug-Ins.pdf" okay

Installed "Lua License.pdf" okay

Installed "Lua Plugins for VRInsight Devices.pdf" okay

Installed "LuaFileSystem.pdf" okay

Installed "Example LUA plugins.zip" okay

Installed "Offset Mapping for PMDG 737NGX.pdf" okay

FSUIPC4.DLL installed and signature checked out okay!

Deleted GlobalSign Root fix program ... no longer relevant

===========================================================

INSTALLATION FOR Prepar3D:

SetupPath="H:\PREPAR3D\"

Checking version of Prepar3D.EXE:

... Version 1.4.4747.0 (Need at least 1.0.677.0)

Checking compatibility with installed SimConnect:

Found SimConnect build 60905 (Original)

Found SimConnect build 195 (ESP Orig)

Found SimConnect build 61242 (SP1 May07)

Found SimConnect build 61259 (Acc/SP2 Oct07)

Checking if there's already a version of FSUIPC4 installed in:

H:\PREPAR3D\Modules\FSUIPC4.DLL

... Version 4.853 found.

Prepar3D Modules folder already exists.

Okay -- installed FSUIPC4 into "H:\PREPAR3D\Modules\FSUIPC4.DLL"

Looking for the current user's Application Data path:

... found as "C:\Users\Pilot\AppData\Roaming"

Now finding \Lockheed Martin\Prepar3D\Prepar3D.CFG for all users, including this one

Looking in "C:\Users\All Users\AppData\Roaming"

... No Prepar3D.CFG there

Looking in "C:\Users\Default\AppData\Roaming"

... No Prepar3D.CFG there

Looking in "C:\Users\Default User\AppData\Roaming"

... No Prepar3D.CFG there

Looking in "C:\Users\Paul\AppData\Roaming"

... No Prepar3D.CFG there

Looking in "C:\Users\Pilot\AppData\Roaming"

Found Prepar3D.CFG in "C:\Users\Pilot\AppData\Roaming\Lockheed Martin\Prepar3D\Prepar3D.CFG"

Now checking DLL.XML ...

... There is a previous DLL.XML, checking for FSUIPC4 section.

... FSUIPC4 section already exists but will be replaced.

(for FSUIPC4, without Loader)

... FSUIPC4 section of DLL.XML written okay

Now checking for a SimConnect.XML file ...

... No SimConnect.XML file found. This is okay.

Looking in "C:\Users\Public\AppData\Roaming"

... No Prepar3D.CFG there

Looking in "C:\Users\UpdatusUser\AppData\Roaming"

... No Prepar3D.CFG there

"Modules\FSUIPC Documents" folder already exists.

Now installing the Prepar3D SimConnect interface for FSUIPC4 into the "Modules" folder:

Installed "SimConnectP3D.dll" okay

Now installing additional files into the "Modules\FSUIPC Documents" folder:

Installed "FSUIPC4 User Guide.pdf" okay

Installed "FSUIPC4 for Advanced Users.pdf" okay

Installed "FSUIPC4 History.pdf" okay

Installed "List of FSX controls.pdf" okay

Installed "GlobalSign Root.exe" okay

Installed "FSUIPC Lua Library.pdf" okay

Installed "FSUIPC Lua Plug-Ins.pdf" okay

Installed "Lua License.pdf" okay

Installed "Lua Plugins for VRInsight Devices.pdf" okay

Installed "LuaFileSystem.pdf" okay

Installed "Example LUA plugins.zip" okay

Installed "Offset Mapping for PMDG 737NGX.pdf" okay

FSUIPC4.DLL installed and signature checked out okay!

Deleted GlobalSign Root fix program ... no longer relevant

===========================================================

All installer tasks completed.

*************** End of Install Log ***************

As i mentioned before, all other sounds are played fine, in Prepar3d and also in Project Magenta's pmSounds.

I hope this will provide some awnsers, i have tried nearly everything...

I leave for a one week holiday starting tomorrow so i wont be able to awnser any question until then...

Thank for your time, much appreciated!

Paul.

Link to comment
Share on other sites

Sorry for the long post but i have tried to attach the requested files

For text files it's best to simply paste them in. Saves me time too, not having to click and download attachments then deleting them from my disk afterwards.

SR=sound.play("CabinAlert",0,100)

Your Lua plug-in sound test works fine here, exactly as you posted it, both in FSX and Prepar3D 1.4.

All i can think is that it cannot find the "CabinAlert.wav" file. I'd need to see your INI file to check the sound path. Can you check the wave file is where FSUIPC is looking? There's really nothing else to go wrong.

More logging in the FSUIPC sound module is available. Edit the INI file, adding:

Debug=Please

LogExtras=x20

to the [General] section. For me, then running your test Lua, this shows for P3D:

	24648 Sound: Id 1, PlayNow("CabinAlert")
24648 Sound: Id 1, PlayTheSound("E:\Prepar3D 14\Sound\CabinAlert.wav")
26349 Sound: Id 1 DeActivate: sound not playing now ...
26349 Sound: Id 1 EndPlay: releasing buffer
26349 Sound: Id 0 EndPlay: all done!
[/CODE]

You don't need to run the Lua in debug logging mode -- it isn't that complex that it cannot be followed.

Regards

Pete

Link to comment
Share on other sites

Pete,

The "CabinAlert.wav" file was put in the default \Prepar3D\Sound map by me for testing puposes.

I have tried with other, standard, soundfiles in this map. No succes.

The contents of the FSUIPC.INI file:

[General]

UpdatedByVersion=4853

History=H7LXWDHULPIEOPJL63XI4

MouseWheelTrim=No

MouseWheelTrimSpeed=1

JoystickTimeout=20

PollGFTQ6=Yes

BlankDisplays=No

FixControlAccel=No

FixMachSpeedBug=No

VisibilityOptions=No

OneCloudLayer=No

CloudTurbulence=No

CloudIcing=No

GenerateCirrus=No

SuppressCloudTurbulence=No

MaxIce=-4

MinIce=-4

UpperWindGusts=No

SuppressWindTurbulence=No

SuppressWindVariance=No

WindTurbulence=No

TurbulenceRate=1.0,5.0

TurbulenceDivisor=20,20,40,40

SuppressAllGusts=No

MaxSurfaceWind=0

WindLimitLevel=200

WindDiscardLevel=400

WindAjustAltitude=No

WindAjustAltitudeBy=2000

SmoothBySimTime=No

WindSmoothing=Yes

WindSmoothness=2

WindSmoothAirborneOnly=Yes

PressureSmoothness=0

TemperatureSmoothness=0

DisconnTrimForAP=No

ZeroElevForAPAlt=No

ThrottleSyncAll=Yes

WhiteMessages=No

ShowPMcontrols=Yes

SpoilerIncrement=512

MagicBattery=Yes

RudderSpikeRemoval=No

ElevatorSpikeRemoval=No

AileronSpikeRemoval=No

ReversedElevatorTrim=No

ClockSync=No

ClockSyncMins=5

ClearWeatherDynamics=No

OwnWeatherChanges=No

TimeForSelect=5

LoadFlightMenu=No

LoadPlanMenu=No

PauseAfterCrash=No

BrakeReleaseThreshold=75

SaveDataWithFlights=Menu

ZapSound=firework

ShortAircraftNameOk=Substring

UseProfiles=Yes

TCASid=Flight

TCASrange=160

AxisCalibration=No

DirectAxesToCalibs=No

ShowMultilineWindow=Yes

SuppressSingleline=No

SuppressMultilineFS=No

AxisIntercepts=No

DontResetAxes=No

GetNearestAirports=Yes

WeatherReadFactor=2

WeatherRewriteSeconds=1

CustomWeatherModify=No

SimConnectStallTime=1

LuaRerunDelay=66

Console=No

MouseWheelMove=No

DeleteVehiclesForAES=Yes

AutoScanDevices=Yes

EnableMouseLook=No

AxesWrongRange=No

InitDelay=0

InitialStallTime=10

NormalStallTime=1

InitDelayDevicesToo=No

OOMcheck=Yes

DebugLua=Yes

ConsoleWindow=3455,1144,4132,2247

FSVersionUsed="Lockheed Martin® Prepar3D®",1.4.4747.0

SimConnectUsed=1.4.0.0

[JoyNames]

AutoAssignLetters=No

[buttons]

ButtonRepeat=20,10

11=P109,2,CL13:R,0

12=U109,2,CL13:D,0

25=P109,9,CL11:R,0

26=U109,9,CL11:R,0

27=P165,2,CL16:R,0

29=P109,8,Cx01000C79,x01

30=U109,8,Cx01000C79,x00

33=P101,5,C66512,0

45=P175,6,C2999,87

52=P174,17,C65655,0

53=P174,18,C65656,0

54=P165,1,CL16:R,0

66=P101,0,K80,9

67=U101,0,K49,8

68=P101,1,K80,9

69=U101,1,K50,8

70=P101,6,CL14:R,0

71=P101,7,CL14:R,0

93=P175,23,CL18:R,0

95=P101,3,CL14:R,0

96=P101,4,CL14:R,0

100=R1,11,C65615,0

121=P174,4,Cx01000250,x32

126=P2,0,C2020,0

127=P2,1,C2040,0

128=P2,2,C65688,0

129=P2,3,C65690,0

132=R169,2,C65966,0

134=R169,3,C65971,0

135=U169,3,C65972,0

136=U169,2,C65967,0

142=R2,11,C65615,0

144=R2,10,C65607,0

149=P165,0,CL3:R,0

150=U165,0,CL3:R,0

151=P2,9,C65564,0

152=P2,8,C66172,0

161=P174,8,C65688,5

162=P174,9,C65688,1

169=P174,2,Cx01000250,x0A

170=P174,3,Cx01000250,x19

171=P174,11,C65690,5

172=P174,10,C65690,1

173=R174,0,C65689,0

174=P174,1,CL19:R,0

180=P174,6,CL21:R,0

181=P174,7,CL21:R,0

186=U2,0,C65604,0

190=P174,15,C66279,0

191=P1,5,C66653,0

192=P1,6,C65567,0

193=P175,7,Cx0D000C80,x01

194=U175,6,Cx0D000C81,x01

195=P174,14,C66279,0

196=P174,13,C66278,0

197=P174,12,C66278,0

199=U109,7,CL2:R,0

200=P175,10,CL18:R,0

201=P175,9,CL18:R,0

202=P1,9,K123,10

203=P109,12,CL5:R,0

204=U109,12,CL5:R,0

205=P109,0,CL7:R,0

206=U109,0,CL7:R,0

207=P109,11,CL9:R,0

208=U109,11,CL9:R,0

209=P109,13,CL10:R,0

210=U109,13,CL10:R,0

211=P109,15,CL10:R,0

212=U109,15,CL10:R,0

213=P109,14,CL10:R,0

214=U109,14,CL10:R,0

215=P109,10,CL10:R,0

216=U109,10,CL10:R,0

217=P109,6,CL13:R,0

218=U109,6,CL13:R,0

219=P109,5,CL13:R,0

220=U109,5,CL13:R,0

221=P109,4,CL13:R,0

222=U109,4,CL13:R,0

223=P109,3,CL13:R,0

224=U109,3,CL13:R,0

225=P166,0,CL12:R,0

226=P166,1,CL12:R,0

227=P166,2,CL12:R,0

228=P166,5,CL12:R,0

229=P166,6,CL12:R,0

230=P166,7,CL12:R,0

231=R1,0,C65588,0

232=P175,8,CL18:R,0

233=P175,11,CL18:R,0

234=P175,14,CL18:R,0

235=P175,13,CL18:R,0

236=P175,15,CL18:R,0

237=P175,12,CL18:R,0

239=P175,0,K69,9

240=P175,1,K69,9

241=U175,0,K49,8

242=U175,1,K50,8

243=P175,2,K69,9

244=U175,2,K51,8

245=P175,17,CL18:R,0

246=P175,16,CL18:R,0

247=P175,18,CL18:R,0

248=P175,19,CL18:R,0

249=P174,5,CL21:R,0

250=P175,22,CL18:R,0

251=P175,21,CL18:R,0

252=P175,20,CL18:R,0

253=P117,5,CL22:R,0

254=P117,6,CL22:R,0

[AutoSave]

AutoSaveEnabled=No

Next=1

Interval=60

Files=10

SaveOnGround=No

[GPSout]

GPSoutEnabled=No

Port=COM0

Speed=4800

Interval=2000

PosTo6Decimal=No

SimModeIndicator=No

Sentences=

[GPSout2]

GPSoutEnabled=No

Port=<none set>

Speed=4800

Interval=2000

PosTo6Decimal=No

SimModeIndicator=No

Sentences=

[WideServer]

WideFSenabled=Yes

AdvertiseService=1

Port=8002

Port2=9002

[sounds]

Path=H:\Prepare3d\Sound\

Device1=Primary Sound Driver

Device2=Speakers (Realtek High Definition Audio)

Device3=Realtek Digital Output(Optical) (Realtek High Definition Audio)

Device4=SAMSUNG-1 (NVIDIA High Definition Audio)

Device5=Realtek Digital Output (Realtek High Definition Audio)

[ClientNames]

1=CLIENT1

[Axes]

0=0X,256,D,22,0,0,0

1=0R,256,D,23,0,0,0

2=1X,256,D,36,0,0,0

3=2X,256,D,1,0,0,0

4=2Y,256,D,2,0,0,0

[JoystickCalibration]

AllowSuppressForPFCquad=Yes

ExcludeThrottleSet=Yes

ExcludeMixtureSet=Yes

ExcludePropPitchSet=Yes

SepRevsJetsOnly=No

ApplyHeloTrim=No

UseAxisControlsForNRZ=No

FlapsSetControl=0

FlapDetents=No

ReverserControl=66292

Reverser1Control=66422

Reverser2Control=66425

Reverser3Control=66428

Reverser4Control=66431

MaxThrottleForReverser=256

AileronTrimControl=66731

RudderTrimControl=66732

CowlFlaps1Control=66162

CowlFlaps2Control=66163

CowlFlaps3Control=66164

CowlFlaps4Control=66165

SteeringTillerControl=0

MaxSteerSpeed=60

Flaps=-16215,16215/16

Spoilers=-16049,-8025,-512,16384/16

Aileron=-16113,524,786,16252

Elevator=-16384,-1649,324,15572

SlopeElevator=-2

SlopeSpoilers=3

SteeringTiller=-16384,-512,-135,16383

SlopeSteeringTiller=15

Rudder=-15977,-512,512,16252

SlopeRudder=-1

Throttle1=-14986,-14986,-14801,14255

Throttle2=-14986,-14986,-14801,13707

[Keys]

22=86,11,65938,1

24=87,11,65938,0

26=65,11,65932,1

28=66,11,65932,0

29=123,8,L19:R,0

[LuaFiles]

1=MyTestLua

2=Exits

3=Gear

4=ipcInit

5=Battery

6=ipcReady

7=Pass_signs

8=Auto_coord

9=Avionics

10=GFT8_1

11=APU

12=GFMESM

13=GFT8_0

14=GFP8_1

15=GFTQ6

16=P_Brake

17=GFRP48

18=GFRP48_1

19=Soundtest

20=GFRP48_2

21=GFRP48_0

22=GF45_0

[Window.LUA display]

Docked=7347, 2802, 3545, 28

As far as i can see the path to the sound map is correct, so is the sounddevice.

I have to pick this up when i return from my holyday.

Again thanks for the reply.

Kind regards,

Paul

Link to comment
Share on other sites

The "CabinAlert.wav" file was put in the default \Prepar3D\Sound map by me for testing puposes.

I have tried with other, standard, soundfiles in this map. No succes.

The contents of the FSUIPC.INI file:

You didn't do the sound logging i suggested. Of the INI file the only relevant part is:

[Sounds]
Path=H:\Prepare3d\Sound\
Device1=Primary Sound Driver[/CODE]

I'm afraid I don't have a clue why the standard DirectSound facilities aren't working on your system, assuming the wave files are there and the Sound folder is correct and accessible. The logging might help show why, but it may also be a good idea to update your FSUIPC4.DLL to the same version as myself (not that anything should have changed in this area).[b] 4.859d [/b]is available in the Download Links subforum.

On your return, of course.

Regards

Pete

Link to comment
Share on other sites

  • 2 weeks later...

Hi Pete,

Finaly found some time after my vacation to Luxor,Egypt (and a few days of "The Curse of the Pharao") to renew my quest for the missing sound.

I did as you requested and added the lines

Debug=Please

LogExtras=x20

to the FSUIPC.ini file

I started P3D, waited until the aircraft was in 'Ready to fly" modus and then pressed the button to invoke the Soundtest.lua file. Still no sound.

Hereby the complete log file produced by FSUIPC up until that moment:

********* FSUIPC4, Version 4.853 by Pete Dowson *********

Running inside Prepar3D on Windows 7

Module base=5B750000

User Name="Paul Van Dyck"

User Addr="falconxx@pandora.be"

FSUIPC4 Key is provided

WideFS7 Key is provided

0 System time = 24/11/2012 12:54:44

0 FLT UNC path = "\\SERVER\Users\Pilot\Documents\Prepar3D Files\"

0 Trying H:\PREPAR3D\Modules\SimConnectP3D.dll

0 Found it: trying to connect

0 FS UNC path = "H:\PREPAR3D\"

421 LogOptions=00000000 00000211

421 Sound: Path=H:\Prepare3d\Sound\

421 Wind smoothing fix is fully installed

421 G3D.DLL fix attempt installed ok

421 SimConnect_Open succeeded: waiting to check version okay

421 Trying to use SimConnect Prepar3D

780 Ready Flags: Ready-To-Fly=N, In Menu=N, In Dlg=N

796 Running in "Lockheed Martin® Prepar3D®", Version: 1.4.4747.0 (SimConnect: 1.4.0.0)

796 Initialising SimConnect data requests now

796 FSUIPC Menu entry added

811 Ready Flags: Ready-To-Fly=N, In Menu=Y, In Dlg=Y

811 \\SERVER\Users\Pilot\Documents\Prepar3D Files\B7378@DRZA - Test course.FLT

811 H:\PREPAR3D\SimObjects\Airplanes\B737_800\Boeing737-800.AIR

10047 Ready Flags: Ready-To-Fly=N, In Menu=N, In Dlg=N

10577 System time = 24/11/2012 12:54:54, Simulator time = 12:54:44 (12:54Z)

10593 Aircraft="Boeing 737-800"

10593 ***** Nearest Airports *****

10593 Airport1=DRZA, Lat=16.962306, Lon=7.990389, Alt=1656.998114, Dist=1.012702

11061 Starting everything now ...

11139 Using "H:\GoFlight\GFDEV.DLL", version 2.2.1.0

11139 GoFlight GF45 detected: 1 device

11139 GoFlight GFP8 detected: 1 device

11139 GoFlight GFT8 detected: 2 devices

11139 GoFlight GFLGT detected: 1 device

11139 GoFlight GF166 detected: 2 devices

11139 GoFlight GFRP48 detected: 2 devices

11139 GoFlight GFTQ6 detected: 1 device

11139 GoFlight GFMESM detected: 1 device

11139 LUA.0: beginning "H:\PREPAR3D\Modules\ipcReady.lua"

11139 Ready Flags: Ready-To-Fly=Y, In Menu=N, In Dlg=N

12293 Advanced Weather Interface Enabled

12964 LUA.0: ended "H:\PREPAR3D\Modules\ipcReady.lua"

208964 Sound: Id 1, PlayNow("CabinAlert")

208964 Sound: Id 1, PlayTheSound("H:\Prepare3d\Sound\CabinAlert.wav")

Does this provide any awnsers?

Kind regards,

Paul

Link to comment
Share on other sites

I forgot to update to your version of FSUIPC, version 4.859d, before I made the attempt. Sorry!

Just finished updating, started P3D and checked the log again:

********* FSUIPC4, Version 4.859d by Pete Dowson *********

Running inside Prepar3D on Windows 7

Module base=59EA0000

User Name="Paul Van Dyck"

User Addr="falconxx@pandora.be"

FSUIPC4 Key is provided

WideFS7 Key is provided

967 System time = 24/11/2012 13:14:17

967 FLT UNC path = "\\SERVER\Users\Pilot\Documents\Prepar3D Files\"

967 Trying H:\PREPAR3D\Modules\SimConnectP3D.dll

967 Found it: trying to connect

982 FS UNC path = "H:\PREPAR3D\"

1388 LogOptions=00000000 00000211

1388 Sound: Path=H:\Prepare3d\Sound\

1388 Wind smoothing fix is fully installed

1388 G3D.DLL fix attempt installed ok

1388 SimConnect_Open succeeded: waiting to check version okay

1388 Trying to use SimConnect Prepar3D

1887 Ready Flags: Ready-To-Fly=N, In Menu=N, In Dlg=N

1887 Running in "Lockheed Martin® Prepar3D®", Version: 1.4.4747.0 (SimConnect: 1.4.0.0)

1887 Initialising SimConnect data requests now

1887 FSUIPC Menu entry added

1918 Ready Flags: Ready-To-Fly=N, In Menu=Y, In Dlg=Y

1918 \\SERVER\Users\Pilot\Documents\Prepar3D Files\B7378@DRZA - Test course.FLT

1918 H:\PREPAR3D\SimObjects\Airplanes\B737_800\Boeing737-800.AIR

11263 Ready Flags: Ready-To-Fly=N, In Menu=N, In Dlg=N

11575 System time = 24/11/2012 13:14:28, Simulator time = 13:14:18 (13:14Z)

11606 Aircraft="Boeing 737-800"

11606 ***** Nearest Airports *****

11606 Airport1=DRZA, Lat=16.962306, Lon=7.990389, Alt=1656.998114, Dist=1.012702

12277 Starting everything now ...

12292 Using "H:\GoFlight\GFDEV.DLL", version 2.2.1.0

12292 GoFlight GF45 detected: 1 device

12292 GoFlight GFP8 detected: 1 device

12292 GoFlight GFT8 detected: 2 devices

12292 GoFlight GFLGT detected: 1 device

12292 GoFlight GF166 detected: 2 devices

12292 GoFlight GFRP48 detected: 2 devices

12292 GoFlight GFTQ6 detected: 1 device

12292 GoFlight GFMESM detected: 1 device

12292 LUA.0: beginning "H:\PREPAR3D\Modules\ipcReady.lua"

12292 Ready Flags: Ready-To-Fly=Y, In Menu=N, In Dlg=N

13431 Advanced Weather Interface Enabled

14118 LUA.0: ended "H:\PREPAR3D\Modules\ipcReady.lua"

45567 Ready Flags: Ready-To-Fly=Y, In Menu=Y, In Dlg=Y

45567 Sim stopped: average frame rate for last 34 secs = 274.2 fps

50372 Ready Flags: Ready-To-Fly=Y, In Menu=N, In Dlg=N

52525 Sound: Id 1, PlayNow("CabinAlert")

52525 Sound: Id 1, PlayTheSound("H:\Prepare3d\Sound\CabinAlert.wav")

Not to mush change here I think...

Link to comment
Share on other sites

52525 Sound: Id 1, PlayNow("CabinAlert")

52525 Sound: Id 1, PlayTheSound("H:\Prepare3d\Sound\CabinAlert.wav")

Seems it correctly creates the sound object and tells directOutput to play it, but it never gets notification back, to say, for instance, that it's finished as in my case:

4648 Sound: Id 1, PlayNow("CabinAlert")

24648 Sound: Id 1, PlayTheSound("E:\Prepar3D 14\Sound\CabinAlert.wav")

26349 Sound: Id 1 DeActivate: sound not playing now ...

26349 Sound: Id 1 EndPlay: releasing buffer

26349 Sound: Id 0 EndPlay: all done!

With everything working fine here, and no correct action in your setup nor error report, I'm afraid I've no way of knowing how to help. There must be something screwed up in your system, but whether it is sound drivers, Windows DirectX or is related to something wrong in the P3D installation there's no way I can tell. Sorry. All I can suggest is reinstalling or updating DirectX, and your windows sound drivers, and maybe even P3D.

Regards

Pete

Link to comment
Share on other sites

No problem Pete, I'll do as you suggested, try reinstalling DirectX and eventualy Windows sound drivers.

However, reinstalling P3D (and add-ons) is not what i'm looking forward to. Especially because everything works great, except for the lua sounds.

Well, I will continue my quest and keep you informed if and when I find a solution.

Again, thanks for youre time and trouble!

Regards,

Paul

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.