[ian-reeds-games] Re: TB 2.0 dev 9

  • From: "Craig Brett" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "craigbrett17" for DMARC)
  • To: ian-reeds-games@xxxxxxxxxxxxx
  • Date: Sun, 28 Feb 2016 22:39:20 +0000

I'm not sure what I can do about out of memory errors. Is it worth me delaying the release for it?

Does it happen every time you save? Or was it just a thing that happened?

On 28/02/2016 22:04, Monkey wrote:

Hahaha, and here I was getting excited!

Well, before you release it... I have an error for you. Got this when
trying to save a game.
System.OutOfMemoryException: Exception of type
'System.OutOfMemoryException' was thrown.
    at System.IO.MemoryStream.set_Capacity(Int32 value)
    at System.IO.MemoryStream.EnsureCapacity(Int32 value)
    at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
    at System.IO.BinaryWriter.Write(String value)
    at 
System.Runtime.Serialization.Formatters.Binary.BinaryObjectWithMapTyped.Write(__BinaryWriter
sout)
    at 
System.Runtime.Serialization.Formatters.Binary.__BinaryWriter.WriteObject(NameInfo
nameInfo, NameInfo typeNameInfo, Int32 numMembers, String[]
memberNames, Type[] memberTypes, WriteObjectInfo[] memberObjectInfos)
    at 
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo
objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo, String[]
memberNames, Type[] memberTypes, Object[] memberData,
WriteObjectInfo[] memberObjectInfos)
    at 
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo
objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
    at 
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object
graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
    at 
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream
serializationStream, Object graph, Header[] headers, Boolean fCheck)
    at 
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream
serializationStream, Object graph)
    at Ian.TBHM.SaveGame1(String name) in
C:\Data\Recent\Games\TacticalBattle\TBHelperMethods.cs:line 670
Error saving game
Cancelled


On 2/28/16, Craig Brett <dmarc-noreply@xxxxxxxxxxxxx> wrote:
Whoops, that meant to go to drafts... not sent. Apologies. Bad
Thunderbird. Bad.

On 28/02/2016 21:55, Craig Brett (Redacted sender craigbrett17 for
DMARC) wrote:
Hello all,

I'm pleased to announce that Tactical Battle 2.0 dev 9 is now ready.
This release brings some new feature goodness and a fix to a bug
that's been winding 1 or 2 people up for a while.

1. Implemented an announce_death flag for units and structures, that
defaults to true. When false, the "* has been defeated" message on the
unit or structure's death will not be announced.
2. Implemented an ignored_by_other_ai flag for units and structures,
to say that other AI controlled teams will ignore this unit as a
friend or enemy.
3. Implemented an ignored_for_victory_conditions flag for units and
structures, to say that when there are no special victory/defeat
conditions set for a map, this unit or structure is not counted
towards a team's surviving units when calculating victory or defeat.
4. Implemented an is_skill_or_item_usable pair of script flags, both
before a target is picked and after a target is picked. This allows a
scripter to add additional logic for checking whether a given skill or
item is useable.
5. Fixed some instances where using unit.DoDamageTo wasn't calling
BeforePointDamage and AfterPointDamage scripts

This release also comes with the latest release of ShadowMamba's
scripts, please see his release announcement message for full details
of the changes there.

We hope you like the changes.

Craig

-----
You can unsubscribe from this list by sending email to
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the
Subject field.
Or by visiting the list page at
//www.freelists.org/list/ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip


-----
You can unsubscribe from this list by sending email to
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject
field.
Or by visiting the list page at
//www.freelists.org/list/ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip





-----
You can unsubscribe from this list by sending email to 
ian-reeds-games-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field.
Or by visiting the list page at //www.freelists.org/list/ian-reeds-games

Download the latest dev version of Tactical Battle here:
http://blindaudiogames.com/downloads/Tactical%20Battle%20Dev.zip

Other related posts: