Author Topic: Stunt Plane: Persistent Syntax Error?  (Read 1793 times)

Ah, the stunt plane. An almost necessary vehicle for Blockland. Albeit, mine is having some errors. I have re-downloaded several times. I have seen other servers with the stunt plane fully working. This is annoying, because many of my builds have to do with planes, and this is the only suitable old-fashioned one, with only TWO wings. The biplane just won't do for an American aircraft carrier.

To the Console. Nothing Really, it states it's loading the stunt plane and vaguley states:

Vehicle_Stunt_Plane server.cs.cs has syntax errors!
I did not edit the script, nor will I ever.

Oh yes, and, if you come here and tell me:
"Lern2Search"
<Snip of Search Button>

I have. I even went so far as to personally ask Kaje, with no response.
Help would be greatly appreciated.

Go into the stuntplane .zip file and change the name of "server.cs" to just "server". the .cs is automatically added since it's that type of file.

Pretty sure that should fix your problem

shoot, I meant to say rename server.cs.cs to server.cs

Quote from: Dusty12 link=topic=66805.msg1113186#msg1113186date=1240536361
Ah, the stunt plane. An almost necessary vehicle for Blockland. Albeit, mine is having some errors. I have re-downloaded several times. I have seen other servers with the stunt plane fully working. This is annoying, because many of my builds have to do with planes, and this is the only suitable old-fashioned one, with only TWO wings. The biplane just won't do for an American aircraft carrier.

To the Console. Nothing Really, it states it's loading the stunt plane and vaguley states:

Vehicle_Stunt_Plane server.cs.cs has syntax errors!
I did not edit the script, nor will I ever.

Oh yes, and, if you come here and tell me:
"Lern2Search"
<Snip of Search Button>

I have. I even went so far as to personally ask Kaje, with no response.
Help would be greatly appreciated.
Any people like that simply ignore your message. They probably think they are a lot better than you/me (which they are) and you are an inferior noob, so they don't respond.
I have sent messages but never gotten a response from:
Stratofortress
Truce
Burger
Trader
/rant

On-topic: Does it say anything in the console, like Stunt plane explosion is not a member of...etc? That could give you a clue of what is the problem. Check the Biplane.dts for any possible issues-
Wait a sec- Biplane server.cs. cs? Get rid of the extra .cs!

Badspot

  • Administrator
Post console.log

Quote
//-------------------------- 4/23/2009 -- 21:13:39 -----
Processor Init:
   Intel Pentium III, ~800 Mhz
     (timed at roughly 799 Mhz)
   FPU detected
   MMX detected
   SSE detected
 
Math Init:
   Installing Standard C extensions
   Installing Assembly extensions
   Installing FPU extensions
   Installing MMX extensions
   Installing SSE extensions
 
Input Init:
   DirectInput enabled.

Blockland v11
Module Directory: C:/Program Files/Blockland

--------- Parsing Arguments ---------
Parsing command line arguments: -mod editor
--------- Loading Common ---------
Loading compiled script base/main.cs.
Loading compiled script base/client/defaults.cs.
Loading compiled script base/server/defaults.cs.
Executing config/client/prefs.cs.
Executing config/server/prefs.cs.
--------- Loading MODS ---------
Executing editor/main.cs.
Activating package: editor


--------- Initializing Base ---------
Loading compiled script base/client/init.cs.
Loading compiled script base/server/init.cs.
Loading compiled script base/data/init.cs.
Loading compiled script base/client/canvas.cs.
Loading compiled script base/client/audio.cs.

--------- Initializing Base: Server -----------
Loading compiled script base/server/mainServer.cs.
Loading compiled script base/server/scripts/game.cs.

--------- Initializing Base: Client -----------
Loading compiled script base/client/message.cs.
Loading compiled script base/client/mission.cs.
Loading compiled script base/client/missionDownload.cs.
Loading compiled script base/client/actionMap.cs.
Video Init:
   Accelerated OpenGL display device detected.
   Voodoo 2 display device not detected.

Activating the OpenGL display device...
Activating the OpenGL display device... (NEW)
Setting screen mode to 640x480x32 (w)...
Creating a new window...
Acquiring a new device context...
Pixel format set:
  32 color bits, 24 depth bits, 8 stencil bits
Creating a new rendering context...
Making the new rendering context current...
Setting screen mode to 800x600x32@85hz (fs)...
Killing the texture manager...
Making the rendering context not current...
Deleting the rendering context...
Releasing the device context...
Destroying the window...
Changing the display settings to 800x600x32@85Hz...
Creating a new full-screen window...
Acquiring a new device context...
Pixel format set:
  32 color bits, 24 depth bits, 8 stencil bits
Creating a new rendering context...
Making the new rendering context current...
Resurrecting the texture manager...
OpenGL driver information:
  Vendor: ATI Technologies Inc.
  Renderer: RADEON 7000 DDR x86/SSE
  Version: 1.3.1008 WinXP Release
OpenGL Init: Enabled Extensions
  ARB_multitexture (Max Texture Units: 3)
  EXT_compiled_vertex_array
  EXT_texture_env_combine
  EXT_packed_pixels
  EXT_fog_coord
  ARB_texture_compression
  EXT_texture_compression_s3tc
  (ARB|EXT)_texture_env_add
  EXT_texture_filter_anisotropi c (Max anisotropy: 16.000000)
  WGL_EXT_swap_control
  GL_EXT_multi_draw_arrays
  ARB_occlusion_query
OpenGL Init: Disabled Extensions
  EXT_paletted_texture
  NV_vertex_array_range
  3DFX_texture_compression_FXT1
  GL_ARB_vertex_buffer_object


OpenAL Driver Init:
OpenAL
   Vendor: Creative Labs Inc.
   Version: OpenAL 1.0
   Renderer: Software
   Extensions: EAX 2.0, EAX 3.0, EAX Unified, and EAX-AC3

Loading compiled script base/client/scripts/allClientScripts.cs.
Activating package: CanvasCursor
Loading compiled script base/client/ui/allClientGuis.gui.
Executing config/client/config.cs.

---------  Loading Add-Ons ---------
Loading Add-On: Weapon_Yoke (CRC:-390585883)
Executing Add-Ons/Weapon_Yoke/server.cs.
8 datablocks added.

Loading Add-On: Weapon_TommyGun (CRC:-2121059878)
Executing Add-Ons/Weapon_TommyGun/server.cs.
  Loading Add-On "Weapon_Gun"
Executing Add-Ons/Weapon_Gun/server.cs.
Executing Add-Ons/Weapon_TommyGun/backup.cs.
Executing Add-Ons/Weapon_TommyGun/TommyGun.cs.
19 datablocks added.

Loading Add-On: Weapon_TF2Sniper (CRC:1104069076)
Executing Add-Ons/Weapon_TF2Sniper/server.cs.
ProjectileData - TF2sniperProjectile(718) - invalid value for muzzleVelocity: Must be between 0 and 200
ProjectileData - TF2sniperProjectileCharged(719) - invalid value for muzzleVelocity: Must be between 0 and 200
19 datablocks added.

Loading Add-On: Weapon_TF2Minigun (CRC:-1798227528)
Executing Add-Ons/Weapon_TF2Minigun/server.cs.
Executing Add-Ons/Weapon_TF2Minigun/Weapon_TF2Minigun.cs.
Executing Add-Ons/Weapon_TF2Minigun/Player_Heavy.cs.
8 datablocks added.

Loading Add-On: Weapon_TF2Flamethrower (CRC:-731040304)
Executing Add-Ons/Weapon_TF2Flamethrower/server.cs.
Activating package: flameraltFire
15 datablocks added.

Loading Add-On: Weapon_Taser (CRC:1920335704)
Executing Add-Ons/Weapon_Taser/server.cs.
Executing Add-Ons/Weapon_Taser/Weapon_taser.cs.
WARNING: AddDamageType() - taserDirect file "add-ons/ci/taser.png" does not exist!
10 datablocks added.

Loading Add-On: Weapon_SmokeGrenade (CRC:609324880)
Executing Add-Ons/Weapon_SmokeGrenade/server.cs.
Executing Add-Ons/Weapon_SmokeGrenade/Weapon_smokegrenade.cs.
Object 'SmokeGrenadePinDebris' is not a member of the 'DebrisData' data block class
Object 'SmokeGrenadeFireSound' is not a member of the 'AudioProfile' data block class
Activating package: SmokeGrenadePackage
11 datablocks added.

Loading Add-On: Weapon_Sixshooter (CRC:887309926)
Executing Add-Ons/Weapon_Sixshooter/server.cs.
Executing Add-Ons/Weapon_Sixshooter/Weapon_Sixshooter.cs.
6 datablocks added.

Loading Add-On: Weapon_Shotgun (CRC:-1712373624)
Executing Add-Ons/Weapon_Shotgun/server.cs.
Executing Add-Ons/Weapon_Shotgun/Weapon_Shotgun.cs.
7 datablocks added.

Loading Add-On: Weapon_Rifle (CRC:1015656540)
Executing Add-Ons/Weapon_Rifle/server.cs.
Executing Add-Ons/Weapon_Rifle/Weapon_Rifle.cs.
8 datablocks added.

Loading Add-On: Weapon_P99 (CRC:731302356)
Executing Add-Ons/Weapon_P99/server.cs.
14 datablocks added.

Loading Add-On: Weapon_OldSchoolRifle (CRC:1392198258)
Executing Add-Ons/Weapon_OldSchoolRifle/server.cs.
Executing Add-Ons/Weapon_OldSchoolRifle/Weapon_OldSchoolSniper.cs.
Executing add-ons/weapon_oldschoolrifle/support_spacecasts.cs.
Activating package: RaycastingFire
ParticleData(altRifleExplosionRing2Particl e) lifetimeVariance >= lifetime
14 datablocks added.

Loading Add-On: Weapon_Mp5 (CRC:-126206694)
Executing Add-Ons/Weapon_Mp5/server.cs.
Executing Add-Ons/Weapon_Mp5/Weapon_mp5.cs.
Object 'activateSound' is not a member of the 'AudioProfile' data block class
4 datablocks added.

Loading Add-On: Weapon_m4 (CRC:-674854461)
Executing Add-Ons/Weapon_m4/server.cs.
Executing Add-Ons/Weapon_m4/weapon_m4.cs.
Warning: DamageType "m4" already exists.
Warning: DamageType "m4" already exists.
9 datablocks added.

Loading Add-On: Weapon_Lupara (CRC:-831281478)
Executing Add-Ons/Weapon_Lupara/server.cs.
Executing Add-Ons/Weapon_Lupara/Weapon_lupara.cs.
9 datablocks added.

Loading Add-On: Weapon_HEGrenade (CRC:-884125478)
Executing Add-Ons/Weapon_HEGrenade/server.cs.
Executing Add-Ons/Weapon_HEGrenade/Weapon_HEGrenade.cs.
Activating package: HEGrenadePackage
17 datablocks added.

Loading Add-On: Weapon_GShotgun (CRC:-969693097)
Executing Add-Ons/Weapon_GShotgun/server.cs.
Executing Add-Ons/Weapon_GShotgun/Weapon_AnPShotgun.cs.
WARNING: AddDamageType() - AnPShotgun file "add-ons/Weapon_AnPShotgun/CI_AnPShotgun.png" does not exist!
11 datablocks added.

Loading Add-On: Weapon_Glock (CRC:912855080)
Executing Add-Ons/Weapon_Glock/server.cs.
15 datablocks added.

Loading Add-On: Weapon_Flare (CRC:1333065106)
Executing Add-Ons/Weapon_Flare/server.cs.
WARNING: AddDamageType() - Flare file "base/client/ui/generic.png" does not exist!
ProjectileData - flareProjectile(891) - invalid value for lifetime: Scaled value must be between 0 and 1023
14 datablocks added.

Loading Add-On: Weapon_FlakCannon (CRC:-1506423362)
Executing Add-Ons/Weapon_FlakCannon/server.cs.
  Loading Add-On "Weapon_Rocket_Launcher"
Executing Add-Ons/Weapon_Rocket_Launcher/server.cs.
Executing Add-Ons/Weapon_Rocket_Launcher/weapon_rocket launcher.cs.
Executing Add-Ons/Weapon_FlakCannon/Weapon_FlakCannon.cs.
Activating package: FlakCannon
38 datablocks added.

Loading Add-On: Weapon_DoubleBarrelShotgun (CRC:240179078)
Executing Add-Ons/Weapon_DoubleBarrelShotgun/server.cs.
Executing Add-Ons/Weapon_DoubleBarrelShotgun/Weapon_DoubleBarrelShotgun.cs.
6 datablocks added.

Loading Add-On: Weapon_DBSG (CRC:281995829)
Executing Add-Ons/Weapon_DBSG/server.cs.
Executing Add-Ons/Weapon_DBSG/Weapon_DBSG.cs.
7 datablocks added.

Loading Add-On: Weapon_BattleKnife (CRC:-1384269159)
Executing Add-Ons/Weapon_BattleKnife/server.cs.
8 datablocks added.

Loading Add-On: Weapon_AGrenade (CRC:1376808313)
Executing Add-Ons/Weapon_AGrenade/server.cs.
Executing Add-Ons/Weapon_AGrenade/Weapon-AGrenade.cs.
DebrisData(grenadeDebris)::onAdd: numBounces invalid (valid range 0 to 10)
Executing Add-Ons/Weapon_AGrenade/Weapon-AGrenade1.cs.
Executing Add-Ons/Weapon_AGrenade/Weapon-AGrenadeLauncher.cs.
26 datablocks added.

Loading Add-On: Vehicle_Stunt_Plane (CRC:-2024767140)exec: invalid script file Add-Ons/VehicADD-ON "Vehicle_Stunt_Plane" CONTAINS SYNTAX ERRORSle_Stunt_Plane/server.cs.cs.

Everything leading up to it. In the folder, it is named:
Server
That's all. No server.cs.cs. I couldn't load most. Over the limit. :/

Sorry for double post, but I need to fcorrect the last line. It showed up oddly, and my "Modify" button wasn't there.

Loading Add-On: Vehicle_Stunt_Plane (CRC:-2024767140)
exec: invalid script file Add-Ons/Vehicle_Stunt_Plane/server.cs.cs.
ADD-ON "Vehicle_Stunt_Plane" CONTAINS SYNTAX ERRORS

Badspot

  • Administrator
You renamed server.cs to server.cs.cs.

Try downloading it again and this time don't break it.

While you're at it turn on file extensions so you can tell wtf you're doing to your computer.

Intel Pentium III, ~800 Mhz

Nice processor man! :D

You renamed server.cs to server.cs.cs.

Try downloading it again and this time don't break it.
I believe I already said I did not mess with it.

While you're at it turn on file extensions so you can tell wtf you're doing to your computer.
I'll try that to see if it reveals that server.cs.cs crap.

Oh, and thanks Tails. It don'thelp musch though. It's from the early part of the 21st Century and is equipped with 56k Dial-Up. Wonderful. <Sarcasm>

Again, it is only server.cs. I have no idea where my crappy computer is getting server.cs.cs

Could this cause a syntax error?

f(%error == $Error::AddOn_NotFound)
{
   //we don't have the jeep, so we're screwed
   error("ERROR: Vehicle_Stunt Plane - required add-on Vehicle_Jeep not found");
}
else
{
   exec("./Vehicle_StuntPlane.cs");
}

Heres a idea, Have you tried deleting it, And reinstalling it.

Its just a add on.

Not reinstalling redownloading stupid Tails.

Badspot

  • Administrator
What are you doing.  Do not open any more files.  Do not try to understand any code.  Stop it.

The game told you exactly what the problem was.  Then I read it and told you exactly what the problem was.  That is what the problem is. 

Ok, Badspot. How would one go about turning on file extensions?