Crashing due to Command Posts...?
Moderator: Moderators
- Leo the Larg
- First Lance Corporal

- Posts: 121
- Joined: Thu May 21, 2009 2:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: With the Cantina Band. You'll never know which one, we all look so alike...
Re: Crashing due to Command Posts...?
Does it matter? So far I've just edited the script for both.
But, thanks for telling me where.
Edit: The unknown spawn paths and regions are from my 1 flag CTF. I haven't changed anything in the CTF layer, and everything seems to be together all right there. I still don't see any cause of a problem. Does it matter how many nodes are in a path?
Here are the amount of nodes in my paths:
cp1_spawn = Nodes 0-10 and belongs to Team 1's CP.
cp2_spawn = Nodes 0-6 and also belongs to another one of Team 1's CPs.
cp3_spawn = Nodes 0-10 and belongs to Team 2's CP.
cp4_spawn = Nodes 0-6 and belongs to another one of Team 2's CPs.
cp5_spawn = Nodes 0-6 and belongs to Team 0 (neutral).
But, thanks for telling me where.
Edit: The unknown spawn paths and regions are from my 1 flag CTF. I haven't changed anything in the CTF layer, and everything seems to be together all right there. I still don't see any cause of a problem. Does it matter how many nodes are in a path?
Here are the amount of nodes in my paths:
cp1_spawn = Nodes 0-10 and belongs to Team 1's CP.
cp2_spawn = Nodes 0-6 and also belongs to another one of Team 1's CPs.
cp3_spawn = Nodes 0-10 and belongs to Team 2's CP.
cp4_spawn = Nodes 0-6 and belongs to another one of Team 2's CPs.
cp5_spawn = Nodes 0-6 and belongs to Team 0 (neutral).
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Crashing due to Command Posts...?
Just out of curiousity can you play the CTF mode on your map?
- Leo the Larg
- First Lance Corporal

- Posts: 121
- Joined: Thu May 21, 2009 2:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: With the Cantina Band. You'll never know which one, we all look so alike...
Re: Crashing due to Command Posts...?
Let me check, but first, after I edited that script should I munge?
And, for the record I added a CP to conquest, but none for CTF.
And, for the record I added a CP to conquest, but none for CTF.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Crashing due to Command Posts...?
Sure munge away, I know you didn't change CTF but trying to detemine if it is a CP related problem or something else, by trying CTF we should be able to rule out the something else.
- Leo the Larg
- First Lance Corporal

- Posts: 121
- Joined: Thu May 21, 2009 2:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: With the Cantina Band. You'll never know which one, we all look so alike...
Re: Crashing due to Command Posts...?
I munged and ran CTF, but again, game crashed after map loaded.
But, after I munged I got this message:
C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\EGF\EGFc_con.lua:25: `}' expected near `)'
ERROR[scriptmunge scripts\EGF\EGFc_con.lua]:Could not read input file.ERROR[scriptmunge scripts\EGF\EGFc_con.lua]:Could not read input file. [continuing]
2 Errors 0 Warnings
------------------(line not included)
Is this the problem?
But, after I munged I got this message:
C:\BF2_ModTools\ToolsFL\Bin\luac.exe: ..\..\common\scripts\EGF\EGFc_con.lua:25: `}' expected near `)'
ERROR[scriptmunge scripts\EGF\EGFc_con.lua]:Could not read input file.ERROR[scriptmunge scripts\EGF\EGFc_con.lua]:Could not read input file. [continuing]
2 Errors 0 Warnings
------------------(line not included)
Is this the problem?
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Crashing due to Command Posts...?
repost your lua please
- Leo the Larg
- First Lance Corporal

- Posts: 121
- Joined: Thu May 21, 2009 2:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: With the Cantina Band. You'll never know which one, we all look so alike...
Re: Crashing due to Command Posts...?
Here is my ***c_con.lua :
Hidden/Spoiler:
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Crashing due to Command Posts...?
You have the wrong kind of bracket after cp5
cp4 = CommandPost:New{name = "cp4"}
cp5 = CommandPost:New{name = "cp5")
cp4 = CommandPost:New{name = "cp4"}
cp5 = CommandPost:New{name = "cp5")
- Leo the Larg
- First Lance Corporal

- Posts: 121
- Joined: Thu May 21, 2009 2:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: With the Cantina Band. You'll never know which one, we all look so alike...
Re: Crashing due to Command Posts...?
Edit: It MAY fix my problem, I'm checking now.
EDIT
It did not fix the problem. It still crashes when map is fully loaded.
But, there is no more error message when munging.
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Crashing due to Command Posts...?
play it in the BF2_modtools.exe and post your errorlog
- Leo the Larg
- First Lance Corporal

- Posts: 121
- Joined: Thu May 21, 2009 2:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: With the Cantina Band. You'll never know which one, we all look so alike...
Re: Crashing due to Command Posts...?
I ran it, but no error message...
EDIT
Does this mean there is just no solution to my problem?
It seems quite odd...
EDIT
Does this mean there is just no solution to my problem?
It seems quite odd...
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Crashing due to Command Posts...?
did you ever read the siterules?
and ever heard of patience?
the bf2.log give you allways errors btw..
and ever heard of patience?
the bf2.log give you allways errors btw..
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Crashing due to Command Posts...?
Do a clean and remunge, (or a manual clean, see the FAQ on how) Then watch for more errors in the munge log if there are any.
If you say it also CTD on CTF then there something map related missing or wrong as opposed to cp errors which you have now fixed anyway.
If you say it also CTD on CTF then there something map related missing or wrong as opposed to cp errors which you have now fixed anyway.
- Leo the Larg
- First Lance Corporal

- Posts: 121
- Joined: Thu May 21, 2009 2:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: With the Cantina Band. You'll never know which one, we all look so alike...
Re: Crashing due to Command Posts...?
Ok, I'll try the clean and re-munge.
Just to clear it up, here is the BFront2.log :
EDIT
Well, I cleaned, then re-munged. No error messages, but game still crashes.
What do you mean by CTD, etc.?
Double posting is against the RULES please use the Edit button - Staff
Just to clear it up, here is the BFront2.log :
Hidden/Spoiler:
EDIT
Well, I cleaned, then re-munged. No error messages, but game still crashes.
What do you mean by CTD, etc.?
Double posting is against the RULES please use the Edit button - Staff
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Crashing due to Command Posts...?
CDT = Crach To Desktop
CTF = Capture The Flag
CTF = Capture The Flag
- Leo the Larg
- First Lance Corporal

- Posts: 121
- Joined: Thu May 21, 2009 2:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: With the Cantina Band. You'll never know which one, we all look so alike...
Re: Crashing due to Command Posts...?
Thanks.
Well I haven't done too much to the map itself.
I changed the ground textures and size of map to "106 x 106".
That's pretty much it, because I had to restart, lol.
Well I haven't done too much to the map itself.
I changed the ground textures and size of map to "106 x 106".
That's pretty much it, because I had to restart, lol.
-
FragMe!
- Gametoast Staff

- Posts: 2244
- Joined: Sat May 13, 2006 12:34 am
- Projects :: Not sure keep changing my mind.
- xbox live or psn: No gamertag set
- Location: Origin name GT_FragMe
- Contact:
Re: Crashing due to Command Posts...?
Well that is the problem, the map has to be a power of 2 in size meaning 64 x 64 or 128 x 128 or 256 x 256 etc it cannot be 106 x 106
- Leo the Larg
- First Lance Corporal

- Posts: 121
- Joined: Thu May 21, 2009 2:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: With the Cantina Band. You'll never know which one, we all look so alike...
Re: Crashing due to Command Posts...?
Thanks!
I am truly an idiot.
I'll see what happens when I change that up.
Edit:
Well, I changed the map size to "100 x 100", then re-munged. It still CTD after the map is finished loading...
I am truly an idiot.
I'll see what happens when I change that up.
Edit:
Well, I changed the map size to "100 x 100", then re-munged. It still CTD after the map is finished loading...
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Crashing due to Command Posts...?
is 100x100 a power of two? 
- Leo the Larg
- First Lance Corporal

- Posts: 121
- Joined: Thu May 21, 2009 2:39 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: With the Cantina Band. You'll never know which one, we all look so alike...
Re: Crashing due to Command Posts...?
10^2 = 100... right?
