Map Bug, not in tutorial!

Talk about your new mod or map here

Moderators: jelco, bert_the_turtle

Puzzlemaker
level2
level2
Posts: 115
Joined: Sun Jan 29, 2006 10:37 pm

Map Bug, not in tutorial!

Postby Puzzlemaker » Sat Feb 04, 2006 2:43 am

Alright, I have tracked a bug down in my map. A very strange little bug, it is.

If a red darwinian get a battle cannon, the game crashes.

I dont know why. Has this happened to anyone else? Its very strange, and I -KNOW- It has something to do with the battle cannons, because playing through the map without them doesn't make it crash. Only if red darwinians get their hands on one of your battle cannons does it crash.

Does this have something to do with the battle cannons being level 1?

EDIT: News flash! Red darwinians with one of your cannons shoot at ants! More to come!
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Sat Feb 04, 2006 3:10 am

I placed a Turret Cannon on my Nucleus map (The_Particles_Within) and the red guys have it in their control, when the green guys take over it switches fine. back and forth for that matter.

I have never seen a Red Darwinian shoot a Red ant.
I'm not sure what is causing your trouble. Is there anything on the BlackBox report?
Puzzlemaker
level2
level2
Posts: 115
Joined: Sun Jan 29, 2006 10:37 pm

Postby Puzzlemaker » Sat Feb 04, 2006 3:33 am

I dont know. My game just likes crashing, I suppose.
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Sat Feb 04, 2006 3:37 am

Ahhh... Did you place an AI Unit on the map? Did you place any AITargets on the map? Were the Red Darwinians there at the start of the game or did they spawn after the start?
Puzzlemaker
level2
level2
Posts: 115
Joined: Sun Jan 29, 2006 10:37 pm

Postby Puzzlemaker » Sat Feb 04, 2006 4:22 am

AI unit is in map. ONE AI unit.

They start on map, but they have spawn points, so more are made.

I have multiple AI targets.
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Sat Feb 04, 2006 4:47 am

http://forums.introversion.co.uk/darwin ... php?t=2827
http://forums.introversion.co.uk/darwin ... php?t=2677

There has been some talk of red DGs causing armour to crash, but I do not think that anyone has yet quite figured it out.

Lowell, you have stated that the crash occurs when you have an AI on the map. As I cannot reproduce the error on my Mac, could you do something for me: create three maps (or one map, and make edits between trials). All three maps should be identical, and contain red DGs and several AITargets. Then include the following variations: 1) a battle cannon for the red DGs to take over, no AI; 2) an AI, no battle cannon; 3) both an AI and a battle cannon.

xander

EDIT: Try this. Level 01 has an AI; 02 has battle cannons; 03 has both. Let me know if any of these levels crash.
User avatar
The GoldFish
level5
level5
Posts: 3961
Joined: Fri Mar 01, 2002 9:01 pm
Location: Bowl / South UK
Contact:

Postby The GoldFish » Sat Feb 04, 2006 5:45 am

Maybe it has something to do with Battle Cannons being deployed very close to AI targets? (both are treated like AI targets - see Drought/Balaal, the AI flocks to your battle cannons, but if you don't make them, they stand still!)

xander; what was that bug you had in insurrection about, do you know - it seemed John went away and fixed something regarding it?
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Sat Feb 04, 2006 6:24 am

The GoldFish wrote:xander; what was that bug you had in insurrection about, do you know - it seemed John went away and fixed something regarding it?

Which crash was that? I don't recall anything magically getting fixed. The most recent one that I still haven't figured out had something to do with units in Database -- remove a few units and it stops crashing. It think it is unrelated to this.

xander
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Sat Feb 04, 2006 6:49 am

Hmm that is strange I will try that.

This has happened to me on three maps only...Nucleus, Electrons and Gluons. At this time Nucleus is the only map that still the red AI won't work for me. Seeing that it is a big map and first I just left it that way.

I had added a bunch of buildings "Track links that were linked," then realizing I had to redo and delete the track links from that map. I was adding the AI Unit and Flags after deleting. One time, I went in to the mission and map files and highlighted and removed all the entries, back to default. I added just One AI Unit and One AI Target flag, and then only one red Darwinian, all the flags and AI Unit are set to red. Again this is after everything had been removed...blank landscape again ... Start level ... crash... Remove the red guy or change the team color of the AI Unit, Start everything is fine. “Is the trouble old building numbers being reassigned?”

So I started playing, I placed the AI Unit, AI Targets and 40 Darwinians on a test island. I made them all team 2-yellow, saved everything, left the editor and went back in to game mode everything cool no crash, exit game enter editor, changed everything to the green team, saved and went back in to game mode everything cool no crash, exit game enter editor, this time I changed them all to red and it worked.

Don't ask me why but it works, I had the same trouble with the map I just finished...Gluons. I did the trick that I just did on Electrons and it fixed it as well right away.

I will setup a couple maps like you said and try the one you posted. It will be in the afternoon Saturday, I have to reprogram a Voice Mail in the morning, and then I will have time to try it. It’s one am here… talk later

thanks
Puzzlemaker
level2
level2
Posts: 115
Joined: Sun Jan 29, 2006 10:37 pm

Postby Puzzlemaker » Sat Feb 04, 2006 2:55 pm

I will fiddle around with it more, see if I can figure anything out. Thanks for the help.

EDIT: I have a theory.

The battle cannon acts as another waypoint. When enough red darwinia gather around it, they try to move to another waypoint, except that crashes the game. So if only 4 darwina gather around it, its fine. But once you get enough that they break away from the battle cannon, then it crashes, cause its not meant to do that.

EDIT2: I made a discovery. If you make the AI unit on the green team, then your darwinians will travel between the waypoints if they have nothing else to do. Also, I gave my own darwinians a battle cannon while the AI was on the green team, and the game crashed. It doesn't crash without AI, so I know it has something to do with the waypoints and battle cannons. I will try and see if I can get it to work.
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Sun Feb 05, 2006 12:54 am

Well I played your map3 and it started just fine Xander, I couldn't get to map one or two... your game text very hard to read, I keep having to resize it every couple lines, gives me a headache... :shock: :lol: . So I made five maps of my own with the mix we had talked about and I cannot repeat it. They all play fine, I even made a loop of track links, cannons, AI unit, rdgs, flags, added deleted the whole nine yards and it always played fine.

My map Nucleus has that trouble, I am going to make a copy of it, rename it and try to simplate it and post the link here. I know as soon as I place the AI unit and a flag or two it will crash, then I will zip it up and post it.
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Sun Feb 05, 2006 1:29 am

Lowell wrote:Well I played your map3 and it started just fine Xander, I couldn't get to map one or two... your game text very hard to read, I keep having to resize it every couple lines, gives me a headache...

Interesting... I didn't touch game.txt... What is there is what Darwinia created.

xander
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Sun Feb 05, 2006 3:44 am

okay... I renamed the particles within to the particles without... :)
I added the red AI unit to the Nucleus map, along with half a dozen target flags. There are already rdgs on the board. It crashes right off the bat.

I also opened up a map text file from my game in notepad, then took a screenshot so you can see the what I was talking about. one is from your map text from annihilation. Both just opened with notepad. :shock: :?:

I know there is a differance between mac and winn but that's wierd.

anyway here is the link... http://www.crimsonsun.cc/zipped_files.rar
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Sun Feb 05, 2006 5:04 am

Lowell wrote:I also opened up a map text file from my game in notepad, then took a screenshot so you can see the what I was talking about. one is from your map text from annihilation. Both just opened with notepad. :shock: :?:

I know there is a differance between mac and winn but that's wierd.

Ah ha! I know what that is. On the Mac, linebreaks are represented with /n, while they are represented as /r/n on Windows. The line breaks just aren't there. So, you can do a simple search and replace to make it more readable.

Lowell wrote:anyway here is the link... http://www.crimsonsun.cc/zipped_files.rar

I will have a look in a bit.

xander

EDIT: None of the levels cause Darwinia to crash over here. However, the camera in Electrons seems to go wonky -- I entered the level, and tried to skip through the intro (I just wanted to see if it would crash). The screen went black, and I couldn't see much of anything other than the text from Dr. S's chat. I left the level, then reentered it. The camera was facing up toward the sky, and spinning, and spinning, and spinning. I remember something like this in one of martin's mods many months ago -- he may be able to tell you what caused it. I seem to recall it having something to do with placing camera mounts to close to the ground or out of the map area or something like that.
User avatar
Lowell
level3
level3
Posts: 428
Joined: Mon Jan 02, 2006 8:03 pm
Location: Atlanta, Georgia
Contact:

Postby Lowell » Sun Feb 05, 2006 5:41 pm

In Electrons there are five small islands one big and one medium. When you first enter the scene you are soooooo far out in the ocean on a small island. Let the camera swing you real fast and you will swing out into the ocean then the lights fade in as you swing fast to the big island. You'll see what I mean. It won't crash but you may have been too far out between islands and all you saw was Black.

You enter looking at the last gate you have to turn on in the mission. The islands are spread out to where it looks like an upside down L shape. You can't see any of the smaller islands till you work your way to the other end of each...kind of spooky... :wink: Remember the world size on Electrons is 8000 X 8000. The islands aren't that big, but there is alot of space inbetween. "Blackness." It's cool though, the first color sceme was way too scary, I have some pictures of Electrons before the color change on my web site's Darwinia Picture viewer http://www.CrimsonSun.cc I am still rebuilding my pages but the Darwinia page works.

I can't understand why the Nucleus level crashes for me and not for you. :?: If I change the AI Units color to green or yellow "shutting it off," it will run fine. Activate it and I crash. I always use No profile or a new one wiping the old ones out all the time. I also never log into a Mod with the game login either. At one time it worked fine. I had the rdgs marching up and down the long path as you start...then I had to make some changes with the tracklinks and pilons as well as adding some AI Target flags here and there. Then it seemed to all lockup after that and the AI was never the same for my machine on Nucleus.

That only crops up every three maps or so. Then I can manage to fiddle with it and then it will kick in. Electrons was that way, it works great now. Gluons was bad but it now kicks bu**. "Part of the gluons file I think was in the file you got, quarks is done but I don't think you had that." Now it is also true that if the AI Unit is acting up any falgs or gun turrets on the map with rdgs will make it crash, remove all the flags and cannons and the AI unit and the rdgs run fine, it is only when you add the flags or turrets when it is acting up that this happens.

Return to “Mod Projects”

Who is online

Users browsing this forum: No registered users and 5 guests