| Blockland Forums > Suggestions & Requests |
| Windows 95 startup and shutdown WAV |
| << < (6/7) > >> |
| Mr Queeba:
--- Quote from: QuadStorm on November 06, 2013, 03:31:26 PM ---datablock AudioProfile(Win95start) { filename = "Win95start.wav" }; datablock AudioProfile(Win95end) { filename = "Win95end.wav" }; Was it too hard to copy paste the normal quote to replace the unicode quotes? Anyways, this should work just fine. --- End quote --- I tried this and... [Posted from console.log] Loading Add-On: Sound_Win95 (CRC:963253973) Add-Ons/Sound_Win95/server.cs Line: 4 - Syntax error. >>> Some error context, with ## on sides of error halt: atablock AudioProfile(Win95start) { filename = "Win95start.wav" }##;## <------------------- This Seems to be the problem. datablock AudioProfile(Win95end) { filename = "Win95end.wav" }; >>> Error report complete. ADD-ON "Sound_Win95" CONTAINS SYNTAX ERRORS Things in bold were not actually in the console.log |
| QuadStorm:
--- Quote from: Mr Queeba on November 06, 2013, 04:57:11 PM ---Loading Add-On: Sound_Win95 (CRC:963253973) Add-Ons/Sound_Win95/server.cs Line: 4 - Syntax error. >>> Some error context, with ## on sides of error halt: atablock AudioProfile(Win95start) (atablock...should be datablock) { filename = "Win95start.wav" }##;## datablock AudioProfile(Win95end) { filename = "Win95end.wav" }; >>> Error report complete. ADD-ON "Sound_Win95" CONTAINS SYNTAX ERRORS Things in bold were not actually in the console.log --- End quote --- Maybe that's what's breaking the script. |
| Mr Queeba:
--- Quote from: QuadStorm on November 06, 2013, 05:43:53 PM ---Maybe that's what's breaking the script. --- End quote --- --- Code: ---datablock AudioProfile(Win95start) { filename = “./win95start.wav”; }; datablock AudioProfile(Win95end) { filename = “./Win95end.wav"; }; --- End code --- In the server.cs, the d is there. |
| Swollow:
--- Quote from: Mr Queeba on November 06, 2013, 04:57:11 PM ---I tried this and... [Posted from console.log] Loading Add-On: Sound_Win95 (CRC:963253973) Add-Ons/Sound_Win95/server.cs Line: 4 - Syntax error. >>> Some error context, with ## on sides of error halt: atablock AudioProfile(Win95start) { filename = "Win95start.wav" }##;## <------------------- This Seems to be the problem. datablock AudioProfile(Win95end) { filename = "Win95end.wav" }; >>> Error report complete. ADD-ON "Sound_Win95" CONTAINS SYNTAX ERRORS Things in bold were not actually in the console.log --- End quote --- you didn't have any semi colons after the filename = "" however here you do: --- Quote from: Mr Queeba on November 06, 2013, 07:21:45 PM --- --- Code: ---datablock AudioProfile(Win95start) { filename = “./win95start.wav”; }; datablock AudioProfile(Win95end) { filename = “./Win95end.wav"; }; --- End code --- In the server.cs, the d is there. --- End quote --- so I don't know at this point whats going on can you post your full code and not the error messages? |
| SWAT One:
For some reason, I haven't been able to make any audio datablocks easily and have gotten similar messages, so thi is interesting. Also, don't code on a mac unless you have no other choice. It includes all kinds of pesky dot files and nests add-ons. |
| Navigation |
| Message Index |
| Next page |
| Previous page |