TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

TinTin++ 2.00.2

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    The TinTin++ message board Forum Index -> Announcements
View previous topic :: View next topic  
Author Message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Fri Jul 02, 2010 11:43 pm    Post subject: TinTin++ 2.00.2 Reply with quote

Code:

line.c         Added the #line substitute options which allows the
               substitution of variables, functions, colors, and 
               escape codes in the given argument.             

config.c       Added a config option to enable BIG5 support.

mapper.c       Added an optional vnum argument to #map get and #map set,
               calling #map get on an invalid vnum results in the variable
               being set to 0 while #map set calls on invalid vnums do   
               nothing.

terminal.c     Added SCREEN RESIZE event.

session.c      Added SESSION ACTIVATED and SESSION DEACTIVATED events.

nest.c         Nested variable calls to non existing nests now return
               "" rather than "0", this to allow $var[%*] calls to work
               correctly with empty variables. I originally added the "0"
               response for if checks, but this is obsolete with the     
               much more reliable &variable[] call.                 

buffer.c       Added a check to avoid a potential crash on displaying the
               scrollback buffer in show_buffer(), needs a better fix but I
               don't have the time and patience.                           

tables.c       Removed #suspend command, #cursor suspend is available instead.

tokenize.c     Added BIG5 handling for #parse

tintin.h       Fixed an error in the SCROLL macro that determines whether
               something is printed inside or outside of the scrolling region.

tinexp.c       Function arguments are no longer space but semicolon separated.

mapper.c       Updated messages to be non triggerable and to only echo on manual
               input.                     
Back to top
View user's profile Send private message Send e-mail
F4RR4R



Joined: 02 Jul 2010
Posts: 80

PostPosted: Sat Jul 03, 2010 9:46 am    Post subject: Reply with quote

Thank you! Compiled from source on Ubuntu 10.04 x64 easy as pie.
Back to top
View user's profile Send private message
tangobravo



Joined: 02 Jan 2010
Posts: 37
Location: TorilMUD

PostPosted: Wed Jul 07, 2010 10:40 am    Post subject: Reply with quote

Woohoo! Xmas in July =) Thanks, Scandum... can't wait to play with some off these features....
Back to top
View user's profile Send private message
ryan0_o



Joined: 01 Mar 2010
Posts: 171

PostPosted: Wed Jul 14, 2010 2:04 am    Post subject: Reply with quote

Regarding the nest.c:

Can you elaborate on this a bit more?

e.g. The connect script on website:

Code:

#alias {deleteworld}
{
   #if {&worldlist[%1] != 0}
   {
      #unvar worldlist[%1];
      #class worlddata write worlddata.tin;
      #showme The world %1 has been deleted.
   };
   #else
   {
      #showme The world %1 couldn't be found.
   }
}


The first #if {&worldlist[%1] != 0} would result as true if it were equal to ""?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Wed Jul 14, 2010 8:53 am    Post subject: Reply with quote

When you use & in front of a variable tintin will return the index of the variable, which is 0 if the variable doesn't exist.

So that if check only checks if the variable exists or not, and not the content of the variable.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    The TinTin++ message board Forum Index -> Announcements All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group