TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
 
HomeFAQSearchUsergroupsRegisterLog in
Latest topics
» TAB Version 66 Available
Mon Sep 26, 2016 12:02 pm by catventure

» TAB Version 65 Available
Mon Feb 23, 2015 12:04 pm by catventure

» Incubation pt 1
Wed Apr 24, 2013 9:24 am by Kabrinski

» Charecter movements - doors
Wed Mar 20, 2013 2:55 pm by garethfx

» Member feedback on game planning
Sun Mar 03, 2013 1:47 pm by garethfx

» Still alive - just!
Thu Feb 28, 2013 11:34 am by catventure

» TAB 64 crashes ...
Mon Aug 20, 2012 11:31 am by acko

» Idea on addition to object being container
Sat Aug 18, 2012 3:49 pm by catventure

» sizex=y action ...
Thu Aug 09, 2012 11:29 am by catventure


Share | 
 

 log file

View previous topic View next topic Go down 
AuthorMessage
stants
Experienced Adventurer
avatar

Number of posts : 71
Age : 43
Location : Maidstone, Kent, UK
Humor : I shall tear your soul Apart!!!!!
Adventure Points : 32
Registration date : 2009-09-16

PostSubject: log file   Sun May 29, 2011 5:22 am

Is it possible that when you run a game in the player you can output all commands typed to a log file. (txt file).

This would be very useful as if someone is playing your game and they stumble upon an error you can look at the logfiile and see what commands they have typed.

Very useful for trapping bugs as you can retype what they have typed into the player and check for errors.

Kind Regards

Stants.
Back to top Go down
View user profile
catventure
Admin Adventurer
avatar

Male
Number of posts : 376
Age : 65
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 52
Registration date : 2008-06-08

PostSubject: Re: log file   Sun May 29, 2011 9:36 am

Hi,

To turn on log.txt transcript recording there's an option on the Player MenuBar under the "Adventure" menu which prompts for name of a textfile.
Similarly there's an option to turn it off.

(if not using a menubar there are "transcripton" and "transcriptoff" action commands whcih do the same thing)

A useful feature is if an input command begins with "rem:" any following text is NOT PROCESSED by TAB. However that text will be printed in any transcript text file. (if "transcript" is turned on)
Useful in playtesting games to highlight game anomalies in a transcript for reporting to game author eg:

>rem: something not right here with location exit!!!

>rem: cannot get the rope here!

Regards,
Phil.


_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.
Back to top Go down
View user profile http://adventure.rpgdynasty.com
stants
Experienced Adventurer
avatar

Number of posts : 71
Age : 43
Location : Maidstone, Kent, UK
Humor : I shall tear your soul Apart!!!!!
Adventure Points : 32
Registration date : 2009-09-16

PostSubject: transcripton   Sun May 29, 2011 10:07 am

Ok ive sent a game to my friend whos testing it for bugs.

The game is running with menus disabled.

How can i turn on transcript.

I type transcripton but ti doesnt regognise it as a verb and if i put /transcripton/ as a verb it doesnt understand which makes sense.

I know if i enable menus there is an option to turn transcripting on.

But how do you turn it on if menus are disabled.

Thanks again for your help phil.
Back to top Go down
View user profile
catventure
Admin Adventurer
avatar

Male
Number of posts : 376
Age : 65
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 52
Registration date : 2008-06-08

PostSubject: Re: log file   Sun May 29, 2011 11:47 am

Ok. I hadn't realised you had menu disabled. In that case you must use the action commands instead.

You need to enter a vocabulary verb with any synonyms:

/transcript/script/

And you will need to check that you still have "on" and "off" in the vocabulary preposition list.

This is the code needed into the RESPONSE table:

=============
[start]transcript on[acts]transcripton[end]

[start]transcript off[acts]transcriptoff[end]

==============

Player must now type

>transcript on

>transcript off

to activate this feature.

As a result of this I've entered these entries into the "default.tab" database for the next release.

Thanks,
Phil.

_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.
Back to top Go down
View user profile http://adventure.rpgdynasty.com
Sponsored content




PostSubject: Re: log file   

Back to top Go down
 

log file

View previous topic View next topic Back to top 

 Similar topics

+
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TAB - thinBasic Adventure Builder :: TAB FORUMS :: Suggest New Features-
Jump to: