Blockland Forums > Help

Need help with server.cs

Pages: (1/1)

Mauritsio:

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: ---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";
};
--- End code ---


ScratchTehEPICSpaceDude:

This belongs in coding help.

pecon98:

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

Mauritsio:


--- Quote from: ScratchTehEPICSpaceDude on March 12, 2012, 08:25:46 PM ---This belongs in coding help.

--- End quote ---


--- Quote from: pecon98 on March 13, 2012, 01:21:46 AM ---Temporarily remove RTB from your add-ons and check your console log to see why it is being ignored.

--- End quote ---

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

Mauritsio:

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

Pages: (1/1)

Go to full version