Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Pages: 1 ... 112 113 [114] 115 116 ... 281

Author Topic: Project Ironclads TC (28 of April, 2017) Source files for the mod  (Read 1638366 times)

Jonlissla

  • Captain
  • ****
  • Posts: 258
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1695 on: October 04, 2013, 11:34:59 AM »

I have tried two different characters, each end up with a corrupted save after a short while.

Spoiler
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.convertXNIQNametoJa vaxQName(XMLStreamReaderImpl.java:1267)
   at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.getName(XMLStreamReaderImpl.java:918)
   at com.thoughtworks.xstream.io.xml.StaxReader.pullElementName(StaxReader.java:79)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:152)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:135)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.hasMoreChildren(AbstractPullReader.java:87)
   at com.thoughtworks.xstream.io.ReaderWrapper.hasMoreChildren(ReaderWrapper.java:32)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:281)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentE lementToCollection(CollectionConverter.java:79)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:72)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:66)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
[close]

And...

Spoiler
java.lang.OutOfMemoryError: Java heap space
   at com.thoughtworks.xstream.io.path.PathTracker.pushElement(PathTracker.java:88)
   at com.thoughtworks.xstream.io.path.PathTrackingReader.moveDown(PathTrackingReader.java:38)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:282)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentE lementToCollection(CollectionConverter.java:79)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:72)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:66)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryInt oMap(MapConverter.java:89)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:77)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
[close]
Logged

Taverius

  • Captain
  • ****
  • Posts: 471
  • Mistake not ...
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1696 on: October 04, 2013, 12:03:48 PM »

Looks like you're using deployment points the old way for civilian ships like cargo haulers.

These days they don't limit the amount of ships you can have in a fleet, so, for example, 5 DP for a shuttle of cargo frigate is far too high.

It won't limit how many a player can have in fleet, but it will be counted by the AI when deciding whether to engage in battle. Right now enemy fleets might run away from you just based on the number of civilian ships you have because their DP values are too high.

These days DP should only be based on combat effectiveness, so, for example, 5 points for a Pigeon is ludicrous. 1 is appropriate. 2 or 3 for a Crawler, since it has 3 small mounts.
Logged
No faction is truly established without a themed Buffalo (TAG) variant.

Okim

  • Admiral
  • *****
  • Posts: 2161
    • View Profile
    • Okim`s Modelling stuff
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1697 on: October 04, 2013, 12:30:53 PM »

1, 2 and 3 DPs are forcing AI to not deploy anything in combat against single ship.

Okim

  • Admiral
  • *****
  • Posts: 2161
    • View Profile
    • Okim`s Modelling stuff
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1698 on: October 04, 2013, 12:32:31 PM »

I have tried two different characters, each end up with a corrupted save after a short while.

Spoiler
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.convertXNIQNametoJa vaxQName(XMLStreamReaderImpl.java:1267)
   at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.getName(XMLStreamReaderImpl.java:918)
   at com.thoughtworks.xstream.io.xml.StaxReader.pullElementName(StaxReader.java:79)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:152)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:135)
   at com.thoughtworks.xstream.io.xml.AbstractPullReader.hasMoreChildren(AbstractPullReader.java:87)
   at com.thoughtworks.xstream.io.ReaderWrapper.hasMoreChildren(ReaderWrapper.java:32)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:281)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentE lementToCollection(CollectionConverter.java:79)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:72)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:66)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
[close]

And...

Spoiler
java.lang.OutOfMemoryError: Java heap space
   at com.thoughtworks.xstream.io.path.PathTracker.pushElement(PathTracker.java:88)
   at com.thoughtworks.xstream.io.path.PathTrackingReader.moveDown(PathTrackingReader.java:38)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:282)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.addCurrentE lementToCollection(CollectionConverter.java:79)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:72)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.populateCol lection(CollectionConverter.java:66)
   at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:61)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50)
   at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.rea dItem(AbstractCollectionConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.MapConverter.putCurrentEntryInt oMap(MapConverter.java:89)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:77)
   at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:71)
   at com.thoughtworks.xstream.converters.collections.MapConverter.unmarshal(MapConverter.java:66)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUn marshal(AbstractReflectionConverter.java:306)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshal(AbstractReflectionConverter.java:234)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72)
   at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65)
   at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66)
   at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unma rshallField(AbstractReflectionConverter.java:355)
[close]

Have no idea what this all about. I guess that the game has troubles with such huge saves that Ironclads produce.

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1699 on: October 04, 2013, 12:35:45 PM »

Have no idea what this all about. I guess that the game has troubles with such huge saves that Ironclads produce.

Yeah, that's probably it. Can you turn on save file compression (in settings.json) and see if that helps?

Edit: you could also edit vmparams to increase the amount of memory available (change both 512's to 1024's, perhaps) just to get it to load, so you can re-save it with compression on.
« Last Edit: October 04, 2013, 01:00:23 PM by Alex »
Logged

Jonlissla

  • Captain
  • ****
  • Posts: 258
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1700 on: October 04, 2013, 01:08:45 PM »

Yeah, that's probably it. Can you turn on save file compression (in settings.json) and see if that helps?

It allowed me to reload an earlier save, but unfortunately it happened a few minutes later. Same error as before: "GC overhead limit exceeded"

Started a new game as well and had the same issue.


Quote
Edit: you could also edit vmparams to increase the amount of memory available (change both 512's to 1024's, perhaps) just to get it to load, so you can re-save it with compression on.

This seems to have done the trick. I can now reload all my saves normally. I will continue playing and see if the problem persists lategame.
« Last Edit: October 04, 2013, 01:16:07 PM by Jonlissla »
Logged

Okim

  • Admiral
  • *****
  • Posts: 2161
    • View Profile
    • Okim`s Modelling stuff
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1701 on: October 04, 2013, 01:19:11 PM »

Man... I actually did jump over my head with all this stuff in Ironclads ;)

Gabriel_Braun

  • Commander
  • ***
  • Posts: 154
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1702 on: October 04, 2013, 01:25:55 PM »

So are we looking at a hotfix?  ;D
Logged

Blade Skydancer

  • Lieutenant
  • **
  • Posts: 71
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1703 on: October 04, 2013, 01:36:30 PM »

Getting a fatal: null error apparently when mining fleets in Vega spawn. This is after starting a new game in RSF territory, and having managed to visit Vega once.

Spoiler
Code
java.lang.NullPointerException
at data.scripts.world.RSF.VegaMinersSpawnPoint.spawnFleet(VegaMinersSpawnPoint.java:45)
at data.scripts.world.BaseSpawnPoint.advance(BaseSpawnPoint.java:61)
at com.fs.starfarer.campaign.BaseLocation.advance(Unknown Source)
at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
at com.fs.starfarer.campaign.A.super(Unknown Source)
at com.fs.starfarer.OoOO.øÒÒ000(Unknown Source)
at com.fs.super.oOOO.Ò00000(Unknown Source)
at com.fs.starfarer.combat.String.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
[close]
Logged

Gabriel_Braun

  • Commander
  • ***
  • Posts: 154
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1704 on: October 04, 2013, 01:47:23 PM »

Sorry.

Replace in VegaMinerSpawnpoint file 'Silent' with 'Silent Lands'
Logged

Blade Skydancer

  • Lieutenant
  • **
  • Posts: 71
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1705 on: October 04, 2013, 01:53:11 PM »

Ahh, okay. Thank you.
Logged

Okim

  • Admiral
  • *****
  • Posts: 2161
    • View Profile
    • Okim`s Modelling stuff
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1706 on: October 04, 2013, 02:19:50 PM »

Hotfix: http://www.lordsofthestars.com/other/Sector/ironclads0.6.1a.exe

Actually - its just the same archive being overwritten. Saves are compatible.

Fixed Vega crash, AI gunbot crash (not tested), UIN/XLE skill join and odd AI behavior in hyperspace (not tested).

Report anything odd that you may find.

Gabriel_Braun

  • Commander
  • ***
  • Posts: 154
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1707 on: October 04, 2013, 02:48:41 PM »

UIN Skill join doesn't appear to be fixed Okim.  Going to mod up chargen and test XLE now too.

EDIT:  No, XLE skill join doesn't work either.  Let me re-download the archive again to make sure it's not me
« Last Edit: October 04, 2013, 02:57:08 PM by Gabriel_Braun »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1708 on: October 04, 2013, 04:12:18 PM »

Man... I actually did jump over my head with all this stuff in Ironclads ;)

The only way to go when making something cool, right? :)

This seems to have done the trick. I can now reload all my saves normally. I will continue playing and see if the problem persists lategame.

Glad that worked. Hopefully it'll hold up until the vanilla Sector starts to catch up in size and I'm forced to do a bit more optimization.
Logged

Turdicus

  • Ensign
  • *
  • Posts: 33
    • View Profile
Re: Project Ironclads, version 6.1a (for 0.6.1a)
« Reply #1709 on: October 04, 2013, 04:31:07 PM »

This...is hard. I find it difficult to maintain a profit after buying fuel to trade between systems. Anyone got any starter tips?
Logged
Pages: 1 ... 112 113 [114] 115 116 ... 281