Adv3Lite Version 2.2.2 Now Available

The new release of Adv3Lite, version 2.2.2, is now available for download from https://github.com/EricEve/adv3lite/archive/refs/tags/v.2.2.2.zip. This contains a number of bug fixes and feature tweaks, mainly aimed at game author convenience. A link to an online version of the changelog will follow in due course.

EDIT: The changelog can now be viewed at Change Log · EricEve/adv3lite Wiki.

11 Likes

A lot of excellent changes in this version! Well-done! :grin:

1 Like

Yes! Very nice update. I am really liking the enhanced testing features. :slight_smile:

One thing I have noticed is that the input line now has the following:

<font face=”tads-input”>input </font>

The font is a very small Times New Roman, I think. It is a stark contrast to the body font I am using.
How can I override this font to match what I am using for the body font?

Thank you in advance and thank you for this update!

Deborah

2 Likes

Many of these changes obviously stems from the development of polyadv3 and the custom direction is very convenient.

Later for the usual stress test reporting… :wink:

Thanks to Eric and

Best regards from Italy,
dott. Piergiorgio.

1 Like

I’m not seeing this discrepancy between the command (input line) font size and the body font, and I suspect it has to do with the way your interpreter is set up, so you may want to start by seeing if you can tweak your interpreter’s settings (in the HTML-TADS interpreter I’m using this can be done through the ‘Themes’ menu, but you may be using a different ‘terp). You can change the input-font in adv3Lite by modifying inputlineStyleTag and overriding the values for htmlOpenText and htmlCloseTextbut do bear in mind that what players will see will depend on their interpreter settings.

For example, you could try:

modify inputLineStyleTag
   htmlOpenText = ''
   htmlCloseText =''
; 

But for the reasons just given, I suggest you look at your ‘terp settings first.

1 Like

stress test DONE.

exactly zero issues/problems. Well done, Eric, and congrats again !

Best regards from Italy,
dott. Piergiorgio.

1 Like

Apologies. This is only happening when I run the [TEST ALL] command. During regular game play, the font is correct.

Thanks for the help,

Deborah

1 Like

I’m afraid I’m not seeing anything amiss with the input font when I use the testall command, and I don’t know what’s different about your setup that might be causing this, so I’m unable to offer any more suggestions.

1 Like

Hi Eric,

The font issue was indeed in the terp. Thanks for your help on that. On to a new issue. I am attempting to use the new template for actor states.

This simple code that I copied from the change log is throwing a run time error. Here is the original code. In my project, the character obj is mama as opposed to jane.

 mamaGroup: TopicGroup @mamaStartState
;

AskTopic ->mamaGroup @mama
    "<q>I'm fine, thanks.</q>"    
;

Here is the error when I try to run the app. It seems to compile ok.


##################### Impossible % frob -i plain -k utf8 -N 44 impossibleWeb.t3
  Runtime error: nil object reference
-->../extensions/adv3Lite/actor.t, line 2826
   ../extensions/adv3Lite/actor.t, line 2817
   ../extensions/adv3Lite/actor.t, line 5896
   /usr/local/Cellar/frobtads/2.0/share/frobtads/tads3/lib/_main.t, line 589
   ../extensions/adv3Lite/actor.t, line 5899

From actor.t

If I remove the code above, the project runs fine.

Any help is appreciated. I really like the idea of being able to split up states to different files.

How is mamaStartState defined in your code?

+ mamaStartState: ActorState
   isInitState = true
   stateDesc = 'Mama looks tired but always wears a pretty smile. '

;

Then I tried this with the same result.

mamaStartState: ActorState @mama "Mama is tending the broth. "
   'Mama looks tired but always wears a pretty smile. '
   isInitState = true

;
1 Like

I don’t get a problem with this code unless I define the mama object as a Thing instead of an Actor. Might that be what you’ve done? That does give this runtime error.

1 Like

I have this:

mama : Actor 'Mama; kind pretty smiling mom mam; woman; her' @cottage
"Mama is tall, thin and very strong, both physically and mentally. She keeps the house orderly with kindness and compassion. "
specialDesc = nil

;
1 Like

I still don’t get a run-time error, but setting specialDesc = nil on the mama object is a bad idea, since it breaks the mechanism that uses the specialDesc on the current ActorState.

1 Like

Apologies again!

I had left a copy of version 2.1 in the extensions folder. Once I removed that, viola, it worked as expected.

Thank you for your help and all these great features.

Deb

1 Like