Author Topic: Windows 95 startup and shutdown WAV  (Read 11572 times)

Bumped. Someone needs to fix the server.cs.

Basically you just need to replace the strange quotes with normal quote (") and fix a letter's case and the server.cs will work.

Quote the strange quotes in the code so I can see.

So like this?
Code: [Select]
datablock AudioProfile(Win95start)
{
filename = “Win95start.wav”
};

datablock AudioProfile(Win95end)
{
filename = “Win95end.wav"
};

So like this?
Code: [Select]
datablock AudioProfile(Win95start)
{
filename = “Win95start.wav”
};

datablock AudioProfile(Win95end)
{
filename = “Win95end.wav"
};
Tried it out with new code, checked console.
Another Syntax error.

just use the normal quotes

""

it looks like you're using weird unicode forward and backward quotes

So like this?
Code: [Select]
datablock AudioProfile(Win95start)
{
filename = “Win95start.wav”
};

datablock AudioProfile(Win95end)
{
filename = “Win95end.wav"
};
That's a start. Now do the other 3...

Well, my god Mac only allows me for the Unicode forward and back and not the normal quote.

Well, my god Mac only allows me for the Unicode forward and back and not the normal quote.
Actually, I just disabled smart quotes.

I Can't do it.
Someone PLEASE FIX THE SERVER.CS

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.

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.
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
« Last Edit: November 06, 2013, 05:00:42 PM by Mr Queeba »

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

Maybe that's what's breaking the script.
« Last Edit: November 06, 2013, 05:45:39 PM by QuadStorm »

Maybe that's what's breaking the script.
Code: [Select]
datablock AudioProfile(Win95start)
{
filename = “./win95start.wav”;
};

datablock AudioProfile(Win95end)
{
filename = “./Win95end.wav";
};
In the server.cs, the d is there.

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
you didn't have any semi colons after the filename = ""
however here you do:
Code: [Select]
datablock AudioProfile(Win95start)
{
filename = “./win95start.wav”;
};

datablock AudioProfile(Win95end)
{
filename = “./Win95end.wav";
};
In the server.cs, the d is there.
so I don't know at this point whats going on can you post your full code and not the error messages?

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.