Forums Index >> Help >> This is my main.cs file



Page : <1> :


! £ exec./client/defaults.cs./server/defaults.cs./client/prefs.cs./server/prefs.cs $pref::Video::shellResolution $pref::Video::resolution displayHelp ThinkTanks Parent error parseArgs %i $Game::argc $Game::argv %arg %nextArg %hasNextArg $Server::Dedicated enableWinConsole $argUsed $missionArg $Game::gameArg $JoinGameAddress onStart echo initServer initDedicated initClient onExit export False BanList activatePackage Ü ThinkTanks Mod options:
-prefs <configFile> Exec the config file
-connect <address> Connects to a game at <address>
-dedicated Launch dedicated server
-mission <mission> Load the mission (optionally, supply one of
GREEN, BLUE, or RED to cycle between mission sets)
-game Use specified rule set. Values: B=Battlemode,
TB=Team Battlemode, S=Scrum, or TS=Team Scrum)
-dedicated 1 -mission Error: Missing Command Line argument. Usage: -mission <mission_name> -game TS S TB B Error: -game argument must be B, TB, S, or TS (for Battlemode, Team Battlemode, Scrum, or Team Scrum). Error: Missing Command Line argument. Usage: -connect <ip_address> -connect
--------- Initializing MOD: ThinkTanks ---------./client/init.cs./server/init.cs./rankServer.cs Exporting client prefs $pref::*./client/prefs.cs Exporting server prefs $Pref::Server::*./server/prefs.cs./server/banlist.cs ð?‰ 1 QDPF :QDPF :QD/PF :QDAPF :$ *% -: ^ QG :QD IDMIDHMID‚MID´MIDúMIDÿG MIDÿ MPF :
ÿí QG :A% +@$ )$ )ÿì E I$ *M&*% -:E IB $ )<M&*% -:B $ )$ ) % +@$ *LDÿÙ OÎA% +@QDÿä PF :B E I$ *M'),=ÿÛ $ *LDÿæ Oÿ B E I$ *M'),=$ )ÿ
$ *% -:B E IB $ )<M'),=B % ),=ÿ QDÿï PF :ÿÛ $ *LDÿ4 Oÿ“ B E I$ *M'),=$ )ÿˆ $ *LDÿB O
ÿF $ *LDÿ? O
ÿP $ *LDÿ= O
ÿZ $ *LDÿ: Oÿe QDÿD PF :$ *% -:B E IB $ )<M'),=B % ),=ÿ‘ QDÿ¬ PF :ÿÛ $ *LDÿï OÿÛ B E I$ *M'),=$ )ÿÒ $ *% -:B E IB $ )<M'),=B % ),=ÿÛ QDÿ¬ PF :B % ),=$ )$ )z
ÿ8 QG :QDÿø PF :QDÿ* PF :QDÿ; PF :QDÿL PF :QF :$ )ÿ1 QF :ÿ7 QF :
ÿ QDÿ PF :QDÿs PDÿ| PE PF :QDÿŽ PF :QDÿ¥ PDÿ¶ PE PF :QDÿÈ PF :QG :
QE PF :
 2 % 8 + e. K 0 z 1 ‡ 2 ˜ 7 ¦ 8 ¯ 9 µ : ¾ = Î > × ? å @ ê A ñ B E
H I ! J / L 4 M P e Q l R ~ U ˆ X “ Y œ Z ª [ ¯ ¶ ] È ` Ò g ô h ú k l m q t $ u ) w 1 | ? } H  W € ` o ƒ x “ „ ‹ u ~ S t k … P h w 9 z l 3 ^ + S N ÿ D F î ö 5 ³ & I î Á ¹ Ÿ o $ ô Ú º í ² % á £ « 0 æ Ø • ° f S I ? 5 ë Ó „ ” Ï § Ç { ˆ » r ä ž ¸ n ç Þ Ë ¾ ¢ t ' ù Ý Ä › ~ u ® _ g ¨ Y × a ¡ 5 { ÷ h – . ; ð a Š , 4 q ( S %
wtf? Is this the same for everybody else. All of my other folders, tank.db.cs and whatnot are all the similair to this.??????? Eh? I downloaded from shockwave

Cloud

Friday, August 19, 2005 at 3:37:59 PM

That's not main.cs. That is main.cs.dso and all.dso's looks similar to that. You have looked the main.cs.dso file of game folder. The main.cs file which you're looking are in Thinktanks folder.

You don't have to let go of one rope before grabbing the other. But you'll have to let go of one if you want to swing forward.

Friday, August 19, 2005 at 3:43:26 PM
b20

So THAT's how a.dso looks like! :S

- b20

Saturday, August 20, 2005 at 4:07:58 PM

They look much different with a Hex Editor.

Saturday, August 20, 2005 at 6:58:51 PM

! £ exec./client/defaults.cs./server/defaults.cs./client/prefs.cs./server/prefs.cs $pref::Video::shellResolution $pref::Video::resolution displayHelp ThinkTanks Parent error parseArgs %i $Game::argc $Game::argv %arg %nextArg %hasNextArg $Server::Dedicated enableWinConsole $argUsed $missionArg $Game::gameArg $JoinGameAddress onStart echo initServer initDedicated initClient onExit export False BanList activatePackage Ü ThinkTanks Mod options:
-prefs <configFile> Exec the config file
-connect <address> Connects to a game at <address>
-dedicated Launch dedicated server
-mission <mission> Load the mission (optionally, supply one of
GREEN, BLUE, or RED to cycle between mission sets)
-game Use specified rule set. Values: B=Battlemode,
TB=Team Battlemode, S=Scrum, or TS=Team Scrum)
-dedicated 1 -mission Error: Missing Command Line argument. Usage: -mission <mission_name> -game TS S TB B Error: -game argument must be B, TB, S, or TS (for Battlemode, Team Battlemode, Scrum, or Team Scrum). Error: Missing Command Line argument. Usage: -connect <ip_address> -connect
--------- Initializing MOD: ThinkTanks ---------./client/init.cs./server/init.cs./rankServer.cs Exporting client prefs $pref::*./client/prefs.cs Exporting server prefs $Pref::Server::*./server/prefs.cs./server/banlist.cs ð?‰ 1 QDPF :QDPF :QD/PF :QDAPF :$ *% -: ^ QG :QD IDMIDHMID‚MID´MIDúMIDÿG MIDÿ MPF :
ÿí QG :A% +@$ )$ )ÿì E I$ *M&*% -:E IB $ )<M&*% -:B $ )$ ) % +@$ *LDÿÙ OÎA% +@QDÿä PF :B E I$ *M'),=ÿÛ $ *LDÿæ Oÿ B E I$ *M'),=$ )ÿ
$ *% -:B E IB $ )<M'),=B % ),=ÿ QDÿï PF :ÿÛ $ *LDÿ4 Oÿ“ B E I$ *M'),=$ )ÿˆ $ *LDÿB O
ÿF $ *LDÿ? O
ÿP $ *LDÿ= O
ÿZ $ *LDÿ: Oÿe QDÿD PF :$ *% -:B E IB $ )<M'),=B % ),=ÿ‘ QDÿ¬ PF :ÿÛ $ *LDÿï OÿÛ B E I$ *M'),=$ )ÿÒ $ *% -:B E IB $ )<M'),=B % ),=ÿÛ QDÿ¬ PF :B % ),=$ )$ )z
ÿ8 QG :QDÿø PF :QDÿ* PF :QDÿ; PF :QDÿL PF :QF :$ )ÿ1 QF :ÿ7 QF :
ÿ QDÿ PF :QDÿs PDÿ| PE PF :QDÿŽ PF :QDÿ¥ PDÿ¶ PE PF :QDÿÈ PF :QG :
QE PF :
 2 % 8 + e. K 0 z 1 ‡ 2 ˜ 7 ¦ 8 ¯ 9 µ : ¾ = Î > × ? å @ ê A ñ B E
H I ! J / L 4 M P e Q l R ~ U ˆ X “ Y œ Z ª [ ¯ ¶ ] È ` Ò g ô h ú k l m q t $ u ) w 1 | ? } H  W € ` o ƒ x “ „ ‹ u ~ S t k … P h w 9 z l 3 ^ + S N ÿ D F î ö 5 ³ & I î Á ¹ Ÿ o $ ô Ú º í ² % á £ « 0 æ Ø • ° f S I ? 5 ë Ó „ ” Ï § Ç { ˆ » r ä ž ¸ n ç Þ Ë ¾ ¢ t ' ù Ý Ä › ~ u ® _ g ¨ Y × a ¡ 5 { ÷ h – . ; ð a Š , 4 q ( S %

Thats my main.cs not the main.cs.dco its the main.cs, thats all it says...
Heres tankdb.cs

! Å TankData MediumTank category Tanks shapeFile ~/data/shapes/tanks/tank02.dts brainShapeFile ~/data/shapes/tanks/brainjar02.dts Camera DefaultTankCamera fx DefaultTankFx misc DefaultTankMisc turnRate 68 accelRate 12 deccelRate 20 coastDeccelRate 10 antiSlideRate 11.1 maxSpeed 11.9 turretVerCenter 2 turretHorRange 58.5 turretVerRange 21 turretAutoLevel 0.5 suspensionRange 0.6 springRangeX 0.06 springRangeY springVelScale 1 springCorrectScale1 springCorrectScale2 0.99 damageAmount 14 damageScale armorScale fireScale defaultProjectile DefaultProjectile ai GoldMediumAI LightTank ~/data/shapes/tanks/tank01.dts ~/data/shapes/tanks/brainjar01.dts 15.9 61 10.9 53.5 0.92 11.8 0.8 LightProjectile GoldLightAI HeavyTank ~/data/shapes/tanks/tank03.dts ~/data/shapes/tanks/brainjar03.dts 8.5 7.85 82 8.25 24 9.1 HeavyProjectile GoldHeavyAI BabyBoss ~/data/shapes/tanks/tank05.dts ~/data/shapes/tanks/brainjar04.dts BabyBossFX 16 15 10.2 33.5 1.8 BronzeLightTank ~/data/shapes/tanks/bot01.dts BronzeLightAI BronzeMediumTank BronzeMediumAI BronzeHeavyTank BronzeHeavyAI SilverLightTank ~/data/shapes/tanks/bot02.dts SilverLightAI SilverMediumTank SilverMediumAI SilverHeavyTank SilverHeavyAI GoldLightTank ~/data/shapes/tanks/bot03.dts GoldMediumTank GoldHeavyTank BossTank ~/data/shapes/tanks/tank04.dts ufoFX 45 BossAI 50 8 ProjectileData ZeroProjectile count 0 TargetLight TargetLightAI TargetMedium TargetMediumAI TargetHeavy TargetHeavytAI 18 0.1 TargetSaucer TargetSaucerAI 3.5 A QE PE P ÿ
DI/0 N7:D.I/0 N7:DI/0 N7:D†I/0 N7:D›I/0 N7:D®I/0 N7:DÇI/0 N7:DÔI/0 N7:DâI/0 N7:DõI/0 N7:Dÿ I/0 N7:Dÿ I/0 N7:Dÿ) I/0 N7:Dÿ: I/0 N7:DÿN I/0 N7:Dÿa I/0 N7:Dÿu I/0 N7:Dÿ† I/0 N7:Dÿ† I/0 N7:Dÿ§ I/0 N7:Dÿ) I/0 N7:DÿÑ I/0 N7:Dÿã I/0 N7:Dÿ§ I/0 N7:Dÿ§ I/0 N7:Dÿ§ I/0 N7:Dÿ I/0 N7:E I/0 N7:@A QE PE P ÿ¦ DÿE I/0 N7:Dÿd I/0 N7:Dÿ‡ I/0 N7:Dÿã I/0 N7:DâI/0 N7:DÿŒ I/0 N7:Dÿ I/0 N7:Dÿ” I/0 N7:Dÿ™ I/0 N7:Dÿž I/0 N7:Dÿ£ I/0 N7:Dÿ§ I/0 N7:Dÿ§ I/0 N7:Dÿ§ I/0 N7:E I/0 N7:@A QE PE P ÿ? DÿÍ I/0 N7:Dÿì I/0 N7:Dÿ I/0 N7:Dÿ I/0 N7:Dÿ I/0 N7:Dÿ I/0 N7:DÇI/0 N7:Dÿ§ I/0 N7:Dÿ I/0 N7:Dÿ# I/0 N7:DÿN I/0 N7:Dÿ§ I/0 N7:Dÿ§ I/0 N7:Dÿ' I/0 N7:E I/0 N7:@A QE PE P ÿá DÿL I/0 N7:Dÿk I/0 N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; À Ä X ì + j 4 þ È ù Õ ± I E ! ý Ù 7 ž. õ ü s = Ñ ¥ Ð. • ý ó ò ê Ç % Œ æ á ¾ ƒ Ö Ø | F Ú S ¬ q ½ Ï © Æ ˜ ½ ‹ ´ y « e ¢ µ z Q ™ £ ø h ? + ‡ š ï _ ~ u … O ã ’ m
2 ø l ‰ ‘ æ V å c € × Z w  Ô D Ê Q n v Ë ; ¾ H e ˆ Ý M © ? ˜ 6 J d  - M $ A ð Ì ¨ „ ` < ô [ Â ) $  8 R ¹

ö è | J ± & ð º * â ¾ š v R.
æ D «

?????? Strange, this cant be right, the one that u can get off of ptt doesnt look a thing like this. When I open notepad its only like 6 lines that are very long.

Cloud

Last edited: Sunday, August 21, 2005 at 10:58:24 AM

Sunday, August 21, 2005 at 10:56:59 AM

Cloud, My main.cs.dso looks identical to your main.cs. I think somehoe maybe your main.cs was changed or orverwritten. Can you get a new main.cs form somewhere?

My Mian.cs starts out like this.

//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
// Portions Copyright (c) 2001 by Sierra Online, Inc.
//-----------------------------------------------------------------------------

$baseMods = "common";
$userMods = "game";
$displayHelp = false;

//-----------------------------------------------------------------------------
// Support functions used to manage the mod string

Function pushFront(%list, %token, %delim)
{
if (%list !$= "")
return %token @ %delim @ %list;
return %token;
}

Function pushBack(%list, %token, %delim)
{
if (%list !$= "")
return %list @ %delim @ %token;
return %token;
}

Function popFront(%list, %delim)
{
return nextToken(%list, unused, %delim);
}

Function doCompileAll()
{
for(%file = findFirstFile("*.cs"); %file !$= ""; %file = findNextFile("*.cs"))

 

Monday, August 22, 2005 at 11:23:43 AM

@ Cloud its right here in the "Other Stuff" <------------------------Original main.cs

 

Monday, August 22, 2005 at 6:05:37 PM

Thanks, but when I press the link it gives me a error.... :o

Cloud

Tuesday, August 23, 2005 at 8:32:04 PM

Wednesday, August 24, 2005 at 8:37:38 AM

When I delete my old main.cs file and put the new one in, TT just wont load. I click on the icon and it looks like its going to load but it doesnt and just stops and I can do whatever else is on the computer... Any reason for that. Is it that it can only work with the main.cs it came with? Thanks B)

Cloud

Wednesday, August 24, 2005 at 3:33:04 PM

Found the problem, thx napalm ;)

It was this bottom 1 } <-----------, it wasnt there

Thursday, August 25, 2005 at 12:15:55 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald