Author Topic: Some help with a faction set bug  (Read 2029 times)

0 Members and 1 Guest are viewing this topic.

Offline Sigma

Some help with a faction set bug
« on: August 28, 2013, 01:46:36 PM »
Okay we got a problem here.

I've attached my faction pack with some fixes I put in to correct a few grammar issues, and suddenly SMAX crashes as soon as the escape pod lands. I've checked all of my faction files and I can't pinpoint where the bug is. Can someone with more detailed eyes take a look at it?

Offline ete

Re: Re: Some help with a faction set
« Reply #1 on: August 28, 2013, 01:49:15 PM »
On it.

Offline ete

Re: Re: Some help with a faction set
« Reply #2 on: August 28, 2013, 02:00:11 PM »
I'm not getting a crash, but I did notice something odd in the Pilgrims rules line:
  TECH, Ecology, SOCIAL, +PLANET, SOCIAL, FANATIC, 0, FREEABIL, 11, IMPUNITY, Fundamentalist, SOCIAL, -INDUSTRY, FUNGMINERALS, 1,
  TECH, Ecology, SOCIAL, +PLANET, FANATIC, 0, FREEABIL, 11, IMPUNITY, Fundamentalist, SOCIAL, -INDUSTRY, FUNGMINERALS, 1,

Which faction are you playing as that crashes?

Offline Sigma

Re: Re: Some help with a faction set
« Reply #3 on: August 28, 2013, 02:06:42 PM »
Yeah that should be fixed already. I took out their Economy penalty but forgot to delete the "SOCIAL" flag before it. The second line is the accurate one.

I ran it with all of the factions and it crashed each time. I haven't changed anything in my alphax except for the Custom Factions section.


Offline Buster's Uncle

  • In Buster's Orbit, I
  • Ascend
  • *
  • Posts: 49269
  • €418
  • View Inventory
  • Send /Gift
  • Because there are times when people just need a cute puppy  Soft kitty, warm kitty, little ball of fur  A WONDERFUL concept, Unity - & a 1-way trip that cost 400 trillion & 40 yrs.  
  • AC2 is my instrument, my heart, as I play my song.
  • Planet tales writer Smilie Artist Custom Faction Modder AC2 Wiki contributor Downloads Contributor
    • View Profile
    • My Custom Factions
    • Awards
Re: Re: Some help with a faction set
« Reply #4 on: August 28, 2013, 02:08:47 PM »
Hmm.   Problems there usually lock up the game at the faction select screen...

Offline ete

Re: Re: Some help with a faction set
« Reply #5 on: August 28, 2013, 02:20:26 PM »
hm, have you tried re-downloading the original set and seeing if that fixes it? Because neither set of files is giving me a crash, so the problem is likely elsewhere.

Offline Sigma

Re: Re: Some help with a faction set
« Reply #6 on: August 28, 2013, 02:24:15 PM »
Sure, I'll give that a shot.

Offline Sigma

Re: Re: Some help with a faction set
« Reply #7 on: August 28, 2013, 04:10:55 PM »
Okay so this is incredibly weird.

If I run this faction set with anywhere from 1 to 6 of the custom factions in play, with the remaining spaces filled with official factions, it runs without a hitch.

However, if I use all seven are used the game crashes either immediately after the my HQ is founded, or after I move my first unit.

Also, for some reason why I played as House Satori, whatever starting units I have, be they scout patrols or colony pods, are automatically Elite; anything I build after planetfall are Very Green, per Satori's -2 Morale modifier.

Offline Yitzi

Re: Re: Some help with a faction set
« Reply #8 on: August 28, 2013, 04:27:47 PM »
Yeah that should be fixed already. I took out their Economy penalty but forgot to delete the "SOCIAL" flag before it. The second line is the accurate one.

I ran it with all of the factions and it crashed each time. I haven't changed anything in my alphax except for the Custom Factions section.

What message are you getting on the crash?  That can often be used to figure out what's going on.

Offline Sigma

Re: Re: Some help with a faction set
« Reply #9 on: August 28, 2013, 04:33:11 PM »
"Alien Crossfire.exe has stopped working

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available."

Then all I can do is click "Close Program."

Offline Yitzi

Re: Some help with a faction set bug
« Reply #10 on: August 28, 2013, 06:57:48 PM »
Well, I haven't figured out why running it with only some of the custom factions makes it not crash, but I think I've found the cause of the crash.  In the pilgrims file, "use of force" (the first of the five numbers after the name/gender/number data) is set to 2.  The options are either -1 (pacifist), 0 (erratic), or 1 (aggressive), so when you set it to 2, it sometimes crashes the game.

Offline Sigma

Re: Some help with a faction set bug
« Reply #11 on: August 28, 2013, 09:36:49 PM »
That did the trick! Thanks for the help Yitzi!

As far as why it was crashing when I ran it with 7 factions, that was a coincidence. The seventh faction that I added was the Pilgrims!


 

* User

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

* Community poll

SMAC v.4 SMAX v.2 (or previous versions)
-=-
24 (7%)
XP Compatibility patch
-=-
9 (2%)
Gog version for Windows
-=-
103 (32%)
Scient (unofficial) patch
-=-
40 (12%)
Kyrub's latest patch
-=-
14 (4%)
Yitzi's latest patch
-=-
89 (28%)
AC for Mac
-=-
3 (0%)
AC for Linux
-=-
6 (1%)
Gog version for Mac
-=-
10 (3%)
No patch
-=-
16 (5%)
Total Members Voted: 314
AC2 Wiki Logo
-click pic for wik-

* Random quote

Sky farms are fantastically beautiful, with their kilometer long networks of glass framed in grids of metal, and the sunlight shining through jungles of vegetation inside. When one of them catches the light, you can see the refracted beauty for miles; they are life-giving stars on a desolate planet...gardens on the wing.
~Lady Deidre Skye ‘Planet Dreams’

* Select your theme

*
Templates: 5: index (default), PortaMx/Mainindex (default), PortaMx/Frames (default), Display (default), GenericControls (default).
Sub templates: 8: init, html_above, body_above, portamx_above, main, portamx_below, body_below, html_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 45 - 1228KB. (show)
Queries used: 40.

[Show Queries]