Page 1 of 3
Crashing?!?!
Posted: Sun Dec 31, 2006 10:15 am
by EGG_GUTS
I'm sick and tired of my maps crashing is there a way to find out exactly why
your map is crashing???
(thanks)
RE: Crashing?!?!
Posted: Sun Dec 31, 2006 11:11 am
by Ipodzanyman
THe Bf2 log thing and proofreading everything yourself works, When you munge your map does it have any errors, and if there is what are they?

Posted: Sun Dec 31, 2006 11:35 am
by EGG_GUTS
Well it worked last night I undid every thing I did last night and it still crashes
this is the error
C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\DOK\~$Kc_con.lua:1: invalid control char near `char(6)'
ERROR[scriptmunge scripts\DOK\~$Kc_con.lua]:Could not read input file.ERROR[scriptmunge scripts\DOK\~$Kc_con.lua]:Could not read input file. [continuing]
2 Errors 0 Warnings
but I played my map with this error before

Posted: Sun Dec 31, 2006 12:40 pm
by Tuskenjedi
that's not the bf2 log. The bf2 log is obtained by running the debug version of swbf2.
Posted: Sun Dec 31, 2006 2:05 pm
by EGG_GUTS
Sorry for sounding really noobish (well I am a noob to modding) but how do
I do that?
Posted: Sun Dec 31, 2006 2:15 pm
by MasterSkywalker
You don't need the BF2 log for this. Open your lua up in Notepad ++ (Shows closing brachlets etc.), and look for char(6). Look whats wrong there, and If ya found and fixed it, remunge, and your problem should be fixed!
Soul -- Merry Christmas, and a Happy Newyear!!
Posted: Sun Dec 31, 2006 2:34 pm
by Hebes24
BF2_modtools.exe creates the bfront2.log, which is a log of all of the errors it encounters while the map is running. I'll tell you how to run it.
In BF2_ModTools, there is a file called bf2_modtools.exe. Put it in your GameData folder. Then run it.
run your map, and let it crash. then, go to your GameData folder, and a file called bfront2.log should be there now. open it in notepad an paste it's contents here (but post it as a quote, so it doesn't take up so much space

)
Posted: Sun Dec 31, 2006 3:31 pm
by EGG_GUTS
I copied it and put it in gamedata and ran it and it said "please insert cd 1"?
and My bf2 was in the computer. so I ran BF2 instead and a text document poped up saying
Opened logfile BFront2.log 2006-12-31 1427
so what do I do?
Posted: Sun Dec 31, 2006 3:35 pm
by wazmol
you need the CD version of the game to run the BF2modtools.exe if you have the DVD version you cant do it, i have the DVD version and its very enoying.
Posted: Sun Dec 31, 2006 4:06 pm
by EGG_GUTS
Well I guess I'm screwed then

does anybody know another way to do it?
Posted: Mon Jan 01, 2007 12:58 pm
by Ipodzanyman
Go to the "Every Thing you need to know thread", it has a link on a tutorial teaching how to do this with something called "blackops"(?)
Posted: Mon Jan 01, 2007 1:23 pm
by EGG_GUTS
I can't seem to find it could you give me a link to the page or the link to
the tutorial?
Posted: Mon Jan 01, 2007 10:37 pm
by Ipodzanyman
Posted: Tue Jan 02, 2007 12:05 am
by squipple
I've mentioned this before, but..
If own the DVD version, but know someone who has the CD version, you can make a duplicate of disc1 of the CD version and put it in your drive, and that will allow you to run the BF2_modtools.exe
Posted: Tue Jan 02, 2007 10:44 am
by EGG_GUTS
I have a friend with th CD version he doesn't play BF2 anymore it bores him

anyways if I used his CD1 would it work?
Posted: Tue Jan 02, 2007 12:53 pm
by Ipodzanyman
Di you bother with that second link I put down?
Posted: Tue Jan 02, 2007 1:37 pm
by EGG_GUTS
ya I did but I don't have server manager and I don't know how to make a
batch file
Posted: Tue Jan 02, 2007 10:33 pm
by Ipodzanyman
Download the server manager and I think there is a tutorial around here somewhere, I did this stuff a while back, but I forgot the 3 letters you saved it as....

Posted: Thu Jan 04, 2007 2:54 pm
by [RDH]Zerted
Batch files are normal text files with a .bat ending. Open up notepad and start typing. When you save, use Save As... and change the Save as Type... to All Files. Next, change the file ending to .bat and save. To run the file just like an exe.
Tip: If you want to see the bat's output, put pause as the file's last line.
Posted: Thu Jan 04, 2007 4:19 pm
by trainmaster611
Were you trying to add water by any chance?
