Combat Cards


Now With Card Transfer by docboffin
8 +00002008-09-21T20:52:47+00:00302008bUTCSun, 21 Sep 2008 20:52:47 +0000 2006, 8:52 pm
Filed under: Doc Boffin, Features, Scripting

Often when a new version of Combat Cards is released a new deck is required for the new version, which results in a lot of hassle transfering cards between old decks and new decks. As of Combat Cards 1.5.8 it’s possible to automate this process by rezzing the old and new deck in world then clicking on the deck containing the cards. It will scan the area for other decks belonging to you and, if found, show a dialog asking if you’d like to transfer the cards in to that deck. If no other decks are found the clicked deck will ask if you’d like to return the cards to your inventory.



Streaming Combat Cards by docboffin
8 +00002006-10-12T21:34:52+00:00312006bUTCThu, 12 Oct 2006 21:34:52 +0000 2006, 9:34 pm
Filed under: Code, LSL, Scripting

The biggest change we needed to make to the Combat Cards code for the new horror expansion was to add support for data streaming. For a long time we’ve stored the data for the different combat cards as comma separated values in a notecard, one line per card. Early versions of Combat Cards just looped through this notecard turning the lines in to LSL lists which were concatenated together to create a big list with all the game data in. This worked fine up to about 9 cards, but when we went to the 15 current cards the server and client scripts started crashing with stack/heap collisions: LSL’s way of saying that scripts have run out of memory.

Continue reading