Author Topic: Need help with server.cs  (Read 404 times)

So, i was going to make a sound add-on (multiple sounds). I put everything in the zip file: the sounds, description, namecheck, server.cs. So i think everything is OK, i went to blockland, checked my add-ons list, it was not there! I checked my server.cs for coding/proofing errors. Found one, but it didn't fix it.
Could somebody tell me what I'm doing wrong?

Code: [Select]
datablock AudioProfile(CBSBattlecry)
{
filename = "./CBSBattlecry.wav";
description = AudioClosest3d;
preload = false;
};

datablock AudioProfile(DemomanBattlecry : CBSBattlecry)
{
filename = "./DemomanBattlecry.wav";
};

datablock AudioProfile(DemopanBattlecry : CBSBattlecry)
{
filename = "./DemopanBattlecry.wav";
};

datablock AudioProfile(DOBattlecry : CBSBattlecry)
{
filename = "./DOBattlecry.wav";
};

datablock AudioProfile(DukeNukemBattlecry : CBSBattlecry)
{
filename = "./DukeNukemBattlecry.wav";
};

datablock AudioProfile(EngineerBattlecry : CBSBattlecry)
{
filename = "./EngineerBattlecry.wav";
};

datablock AudioProfile(FVBattlecry : CBSBattlecry)
{
filename = "./FVBattlecry.wav";
};

datablock AudioProfile(HeavyBattlecry : CBSBattlecry)
{
filename = "./HeavyBattlecry.wav";
};

datablock AudioProfile(MauritsioBattlecry : CBSBattlecry)
{
filename = "./MauritsioBattlecry";
};

datablock AudioProfile(MedicBattlecry : CBSBattlecry)
{
filename = "./MedicBattlecry.wav";
};

datablock AudioProfile(MeltBattlecry : CBSBattlecry)
{
filename = "./MeltBattlecry.wav";
};

datablock AudioProfile(PainisCupcakeBattlecry : CBSBattlecry)
{
filename = "./PainisCupcakeBattlecry.wav";
};

datablock AudioProfile(PyroBattlecry : CBSBattlecry)
{
filename = "./PyroBattlecry.wav";
};

datablock AudioProfile(SaxtonHaleBattlecry : CBSBattlecry)
{
filename = "./SaxtonHaleBattlecry.wav";
};

datablock AudioProfile(ScoutBattlecry : CBSBattlecry)
{
filename = "./ScoutBattlecry.wav";
};

datablock AudioProfile(SeriousSamBattlecry : CBSBattlecry)
{
filename = "./SeriousSamBattlecry.wav";
};

datablock AudioProfile(SniperBattlecry : CBSBattlecry)
{
filename = "./SniperBattlecry.wav";
};

datablock AudioProfile(SoldierBattlecry : CBSBattlecry)
{
filename = "./SoldierBattlecry.wav";
};

datablock AudioProfile(SpyBattlecry : CBSBattlecry)
{
filename = "./SpyBattlecry.wav";
};

datablock AudioProfile(SSpyBattlecry : CBSBattlecry)
{
filename = "./SSpyBattlecry";
};

datablock AudioProfile(VagineerBattlecry : CBSBattlecry)
{
filename = "./VagineerBattlecry.wav";
};


Temporarily remove RTB from your add-ons and check your console log to see why it is being ignored.

This belongs in coding help.

Temporarily remove RTB from your add-ons and check your console log to see why it is being ignored.

Sorry. I will see if Pecon's solution work and if it doesn't, I'll move this to coding help.

I couldn't find anything... locking and moving.