Forums Index >> General >> Help Please!



Page : <1> :


Hey guys

I just tried that Solo Cheat script thing, and now it wont let me open Think Tanks. I then deleted everything from the Solo Cheat thing, but still no opening. When I double click the Think Tanks icon, it highlights, and loads for a second, but then nothing happens.

Heeelp, Please!

Sunday, December 11, 2005 at 5:17:24 AM

Isn't this the reason you backup your think tanks folder? Try deleting the exec(" bla bla bla"); line from the main.cs file that executes the file.


Sunday, December 11, 2005 at 5:53:54 AM

This is my main.cs:
!£exec./client/defaults.cs./server/defaults.cs./client/prefs.cs./server/prefs.cs$pref::Video::shellResolution$pref::Video::resolutiondisplayHelpThinkTanksParenterrorparseArgs%i$Game::argc$Game::argv%arg%nextArg%hasNextArg$Server::DedicatedenableWinConsole$argUsed$missionArg$Game::gameArg$JoinGameAddressonStartechoinitServerinitDedicatedinitClientonExitexportFalseBanListactivatePackageÜ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)
-dedicated1-missionError: Missing Command Line argument. Usage: -mission <mission_name>-gameTSSTBBError: -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.csExporting client prefs$pref::*./client/prefs.csExporting server prefs$Pref::Server::*./server/prefs.cs./server/banlist.csð?‰1QDPF:QDPF:QD/PF:QDAPF:$*%-:^QG:QDIDMIDHMID‚MID́MIDúMIDÿGMIDÿ MPF:
ÿíQG:A%+@$)$)ÿìEI$*M&*%-:EIB$)<M&*%-:B$)$) %+@$*LdÿÙOÎA%+@QDÿäPF:BEI$*M'),=

ÿÛ$*LDÿæOÿBEI$*M'),=$)ÿ
$*%-:BEIB$)<M'),=B%),=ÿQDÿïPF:ÿÛ$*LDÿ4Oÿ“BEI$*M'),=$)ÿ̂$*LDÿBO
ÿF$*LDÿ?O
ÿP$*LDÿ=O
ÿZ$*LDÿ:OÿeQDÿDPF:$*%-:BEIB$)<M'),=B%),=ÿ‘QDÿ¬PF:ÿÛ$*LDÿïOÿÛBEI$*M'),=$)ÿÒ$*%-:BEIB$)<M'),=B%),=ÿÛQDÿ¬PF:B%),=$)$)z
ÿ8QG:QDÿøPF:QDÿ*PF:QDÿ;PF:QDÿLPF:QF:$)ÿ1QF:ÿ7QF:
ÿQDÿPF:QDÿsPDÿ|PEPF:QDÿ PF:QDÿ¥PDÿ¶PEPF:QDÿÈPF:QG:
QEPF:
2%8+e.k0z1‡2̃7|8̅9μ:¾=Î>×?å@êAñBE
HI!J/L4MPeQlR~ÛX“YœZª[̅¶]È`Ògôhúklmqt$u)w1|?}HW€` oƒx“„‹u~Stk…Phw9zl3^+S NÿDFîö5³&IîÁ¹Ÿo$ôÚºí²%ᣫ0æØ•̊fSI?5ëÓ„”ϧÇ{̂»rä ̧nçÞ˾¢ t'ùÝÄ› ~u®_g̈Y× a¡5{÷h–. ;ðaŠ,4q(S%

I think this is the problem. Could someone copy and paste theirs??

Sunday, December 11, 2005 at 7:01:52 AM

Sure Thing Bud, Ill Help You! Heres My Main.cs

//-----------------------------------------------------------------------------
// 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"))
{
if (strstr(%file,"/CVS/") != -1)
continue;
compile(%file);
}
for(%file = findFirstFile("*.gui"); %file !$= ""; %file = findNextFile("*.gui"))
{
if (strstr(%file,"/CVS/") != -1)
continue;
compile(%file);
}
%misfile = new FileObject();
if (%misfile.openForWrite("game/data/missions/missions.txt"))
{
exec("common/server/missionInfo.cs");
%misfile.writeLine("[name]");
for (%file = findFirstFile("*.mis"); %file !$= ""; %file = findNextFile("*.mis"))
{
if (strstr(%file,"/TT") == -1 && strstr(%file,"Brain") == -1)
continue;
if (strstr(%file,"/CVS/") != -1)
continue;
buildLoadInfo(%file);
while (strstr(%file,"/") != -1)
%file = getSubStr(%file,strstr(%file,"/")+1,strlen(%file)-strstr(%file,"/")-1);
%file = getSubStr(%file,0,strlen(%file)-4);
%misfile.writeLine(%file @ "=" @ MissionInfo.name);
}
%misfile.close();
clearLoadInfo();
}

%savePref = $pref::Terrain::useSmall;
$pref::Terrain::useSmall = false;
for(%file = findFirstFile("*.ter"); %file !$= ""; %file = findNextFile("*.ter"))
{
if (strstr(%file,"/TT") == -1)
continue;
if (strstr(%file,"/CVS/") != -1)
continue;
%terr = new TerrainBlock() {
terrainFile = %file;
squareSize = "8";
tile = "0";
blockShift = "7";
};
if (%terr.blockShift == 7)
{
// possible that terrain was already 6, even though
// block shift was set to 7 in constructor above...
//...that's why this is conditional.
echo("Reducing terrain :" @ %file);
%terr.blockShift = "6";
%terr.resave("","_LO");
}
%terr.delete();
}
$pref::Terrain::useSmall = %savePref;
}

//------------------------------------------------------------------------------
// Process command line arguments

For ($I = 1; $I < $Game::argc ; $I++)
{
$arg = $Game::argv[$I];
$nextArg = $Game::argv[$I+1];
$hasNextArg = $Game::argc - $I > 1;
$logModeSpecified = false;

Switch$ ($arg)
{
//--------------------
case "-log":
$argUsed[$I]++;
if ($hasNextArg)
{
// Turn on console logging
if ($nextArg != 0)
{
// Dump existing console to logfile first.
$nextArg += 4;
}
setLogMode($nextArg);
$logModeSpecified = true;
$argUsed[$I+1]++;
$I++;
}
else
error("Error: Missing Command Line argument. Usage: -log <Mode: 0,1,2>");

//--------------------
case "-demo":
$argUsed[$I]++;
$Game::DemoMode = true;

//--------------------
case "-show":
// A useful shortcut for -mod show
$userMods = strreplace($userMods, "show", "");
$userMods = pushFront($userMods, "show", ";");
$argUsed[$I]++;

//--------------------
case "-console":
enableWinConsole(true);
$argUsed[$I]++;

//--------------------
case "-compileAll":
$argUsed[$I]++;
enableWinConsole(true);
// call doCompileAll() below...

//--------------------
case "-jSave":
$argUsed[$I]++;
if ($hasNextArg)
{
echo("Saving event log to journal: " @ $nextArg);
saveJournal($nextArg);
$argUsed[$I+1]++;
$I++;
}
else
error("Error: Missing Command Line argument. Usage: -jSave <journal_name>");

//--------------------
case "-jPlay":
$argUsed[$I]++;
if ($hasNextArg)
{
playJournal($nextArg,false);
$argUsed[$I+1]++;
$I++;
}
else
error("Error: Missing Command Line argument. Usage: -jPlay <journal_name>");

//--------------------
case "-jDebug":
$argUsed[$I]++;
if ($hasNextArg)
{
playJournal($nextArg,true);
$argUsed[$I+1]++;
$I++;
}
else
error("Error: Missing Command Line argument. Usage: -jDebug <journal_name>");

//-------------------
case "-help":
$displayHelp = true;
$argUsed[$I]++;

//-------------------
case "-test":
$Game::testMode=true;
$argUsed[$I]++;
}
}

//-----------------------------------------------------------------------------
// The displayHelp, onStart, onExit and parseArgs function are overriden
// by mod packages to get hooked into initialization and cleanup.

Function onStart()
{
// Default startup function
}

Function onExit()
{
// OnExit is called directly from C++ code, whereas onStart is
// invoked at the end of this file.
disconnect();
}

Function parseArgs()
{
// Here for mod override, the arguments have already
// been parsed.
}

Package Help {
function onExit() {
// Override onExit when displaying help
}
};

Function displayHelp() {
activatePackage(Help);

// Notes on logmode: console logging is written to console.log.
// -log 0 disables console logging. (default)
// -log 1 appends to existing logfile; it also closes the file
// (flushing the write buffer) after every write.
// -log 2 overwrites any existing logfile; it also only closes
// the logfile when the application shuts down.

Error(
"ThinkTanks command line options: "@
" -log <logmode> Logging behavior; see main.cs comments for details "@
" -console Open a separate console "@
" -jSave <file_name> Record a journal "@
" -jPlay <file_name> Play back a journal "@
" -jDebug <file_name> Play back a journal and issue an int3 at the end "@
" -test Test launch the app "@
" -help Display this help message "
);
}

//--------------------------------------------------------------------------

// Default to a new logfile each session.
if (!$logModeSpecified) {
setLogMode(0);
}

// Set the mod path which dictates which directories will be visible
// to the scripts and the resource engine.
$modPath = pushback($userMods, $baseMods, ";");
setModPaths($modPath);

// Get the first mod on the list, which will be the last to be applied... This
// does not modify the list.
nextToken($modPath, currentMod, ";");

// Execute startup scripts for each mod, starting at base and working up
echo("--------- Loading MODS ---------");
function loadMods(%modPath)
{
%modPath = nextToken(%modPath, token, ";");
if (%modPath !$= "")
loadMods(%modPath);

Exec(%token @ "/main.cs");
}
loadMods($modPath);
echo("");

// Parse the command line arguments
echo("--------- Parsing Arguments ---------");
parseArgs();

// Either display the help message or startup the app.
if ($displayHelp)
{
enableWinConsole(true);
displayHelp();
}
else if ($Game::argc==2 && $Game::argv[1] $= "-compileAll")
{
doCompileAll();
quit();
}
else
{
onStart();
echo("Engine initialized...");
}

// Display an error message for unused arguments
for ($I = 1; $I < $Game::argc; $I++) {
if (!$argUsed[$I])
error("Error: Unkown command line argument: " @ $Game::argv[$I]);
}
//Never Stop Download Bar by Art Crazy©

//Script:
function onFileChunkReceived(%file, %ofs, %size)
{
loadingProgress.setValue(%ofs / %size);
%rlen = strlen(%file);
if(%rlen)
{
if($Take::GameFolder)
{
%file2 = trim( getSubStr(%file,strstr(%file,"game/")+5,%rlen));
}
else
{
%file2 = %file;
}
if( $Show::LoadType $= "FileName")
{
%fileName = %file2@"... ";
}
else if($Show::LoadType $= "FileSize")
{
%fileName = %ofs / 1000@"/"@%size / 1000@" KB downloaded...";
}
else
{
%fileName = %ofs / 1000@"/"@%size / 1000@" KB downloaded...";
LOAD_MapName.setText(%file2@"...");
}
}
loadingProgressTxt.setValue(%fileName);
}

Function onPhase1Complete()
{
LOAD_MapName.setText($GlobalUse::MapName);
}

Function onPhase2Complete()
{
LOAD_MapName.setText($GlobalUse::MapName);
}

Function handleLoadInfoMessage( %msgType, %msgString, %mapName )
{
$GlobalUse::MapName = %mapName;

// Clear all of the loading info lines:
for( %line = 0; %line < LoadingGui.qLineCount; %line++ )
LoadingGui.qLine[%line] = "";
LoadingGui.qLineCount = 0;

//
LOAD_MapName.setText(%mapName);
}
//Preferences:

//Will Take "game/" Out Of The File Name (true = yes / false = no)
$Take::GameFolder = true;

//ONLY ONE OF THESE CAN BE SELECTED:
//Shows The FileName On The Text Bar = "FileName"
//Shows The KileBytes (KB) Left To End Downloading = "FileSize"
//Shows Both = "Both"
$Show::LoadType = "Both";

//Never Stop Download Bar END

Exec("game/server/scripts/MissionLoaderMain.cs");

Exec("game/server/dash/main.cs");

 

HaHa ^^ You Just Got p00ne1) WanT SoMe MoRe?? 1v1 You Host It.

Sunday, December 11, 2005 at 8:23:38 AM

UFO

Is that main.cs in scripts? If not, that's the one I need. I think. I don't know. Is there anything wrong with the one I have?

Sunday, December 11, 2005 at 8:30:05 AM

The one you posted is the main.cs.dso. DON'T EVER EDIT IT. :S

Sunday, December 11, 2005 at 8:58:43 AM

I think I might have, could someone please put in thei 'main.cs.dso'?

Sunday, December 11, 2005 at 12:19:04 PM

Here you go you silly fool:

 

! £ 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 %

 

 

 

I love my randylion

 

Last edited: Sunday, December 11, 2005 at 12:39:57 PM

Sunday, December 11, 2005 at 12:37:07 PM

Should link to those files also. Copy and pasting from a web page can introduce hidden characters. Even coping and pasting from text in an email message can introduce hidden characters.

-Z- and I found this out by trial and error when he was giving me a script even though we knew better (I think:)

Tis best to link to an original file (or archive) or at least email a compressed copy of it.

{WalMart free for over 24 months!}

Last edited: Sunday, December 11, 2005 at 1:03:14 PM

Sunday, December 11, 2005 at 12:57:53 PM

Ok, I put that in..

At the end of it, on a new line, it had "1.", I left it there, but I didnt see it on yours.

With that or not, my game still doesn't work. It might not be that complicated. Once again, here is what happens:

 


 

I double click on my Think Tanks icon.

It highlights blue, as always, and my mouse has an hour glass next to it.

Then, after a few seconds, the hour glass goes away, and nothing comes up.

 


 

Suggestions? :(

Sunday, December 11, 2005 at 2:48:56 PM
LGM

Email me, and I'll send you a copy of my main.cs.dso

My address is in my profile

Sunday, December 11, 2005 at 11:12:16 PM

Thats why I never cheat :S ;). But my bro had the same prob about a year ago and we just installed tt again and it worked. B)

Cloud

Sunday, December 11, 2005 at 11:34:11 PM

..And a big

BUMP

Monday, December 12, 2005 at 12:51:41 PM

Just re download TT..

Monday, December 12, 2005 at 1:09:06 PM

Tankster, this is what I do when I have a problem with TT.

1. Take everything out of your TT file (Program Files/ TT) and put it in a folder on the desktop (anywhere will work fine).
2. A. If you still have the icon to install TT, then re-install TT (it simply makes a duplicate of the original files).
B. If you don't still have the TT icon, then re-download TT from the place you bought TT.
3. Replace the corrupted files in your TT files with the new files. (I guess in this case replace your main.cs.dso)
4. Take the new files out of the TT file and put back in your original files.
5. Click on the TT icon. If you get TT up, you're done. If not, you must go find the corrupted files that are still there and repeat steps 1-5.

I hope this will help ya get TT back up and running. ;)

Monday, December 12, 2005 at 2:00:57 PM

So, I uninstall TT before I reinstall it, right?

Monday, December 12, 2005 at 2:19:31 PM

No need to unistall TT before reinstalling. All the reinstalling does is give you back the original, unmodified TT files that you get when first buying the game. Remember to take all of your current files and put them elsewhere, and then only replace the corrupted data. This is very important if you dont want to lose all of your data. And then put all of your modified files back into the TT application instead of the original files you get when you re-install, or you will not have any of your scripts, mods, skins, etc.

Monday, December 12, 2005 at 3:56:36 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