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++ 1.98.3

 
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: Tue Jul 15, 2008 11:01 pm    Post subject: TinTin++ 1.98.3 Reply with quote


  • It's now possible to use strings in the map legenda, mainly for terminals supporting UTF-8.

  • Void rooms now work with unusual exits as well.

  • Added some unlisted map commands to the #map and #help listing.

  • Verbatim mode now only works on manual input, actions and macros will have their commands processed normally.

  • #map map now accepts a given radius.

  • #config packet patch now takes a floating point seconds argument instead of milli seconds. The valid input range is between 0.00 and 10.00 seconds.

  • Added the #config regexp on/off option. If enabled actions, aliases, highlights, subs, and grep will use regex. Keep in mind that all regexp checks are inline (or whatever it's called), so if you make an alias you'd want to start it with a ^ so it matches the start of the input.

  • Added the {RECEIVED INPUT} event.

  • alt-d will now delete one word forwards.

  • Added #path zip, to compress a created path into a speedwalk.

  • \[ and \] no longer work, use the \x codes provided in #help escape.

  • Regexp checks can now use \e \x and other escape codes.

  • Rewrote the tintin19.txt file, now holds a brief introduction to tintin.
Back to top
View user's profile Send private message Send e-mail
louipc



Joined: 16 Jul 2006
Posts: 65

PostPosted: Thu Jul 17, 2008 6:21 pm    Post subject: Reply with quote

Hi Scandum I sent you a patch awhile ago via email for the Makefile to make it more flexible.
Did you happen to receive it? What do you think?

Thanks.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Fri Jul 18, 2008 9:11 am    Post subject: Reply with quote

I don't recall seeing anything of that nature, can you send the patch to mudclient at gmail?
Back to top
View user's profile Send private message Send e-mail
mleo2003



Joined: 01 Nov 2006
Posts: 21
Location: Mississippi

PostPosted: Mon Jul 21, 2008 11:50 am    Post subject: Reply with quote

I haven't been here in awhile, but I do have a little bit of news. This version, the WinTin port of it, doesn't work, it just crashes out on me. Just thought I'd let you know.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Mon Jul 21, 2008 12:11 pm    Post subject: Reply with quote

Works for me, if you run cygwin simultaneously it can crash, otherwise it could be a script problem?
Back to top
View user's profile Send private message Send e-mail
plunicks



Joined: 26 Jul 2008
Posts: 1

PostPosted: Sat Jul 26, 2008 8:19 pm    Post subject: Re: TinTin++ 1.98.3 Reply with quote

Scandum wrote:
[list]
[*] It's now possible to use strings in the map legenda, mainly for terminals supporting UTF-8.

Err, could you explain how to use this? I've tried copying and pasting UTF-8 drawing characters into tintin++ (1.98.3), but tintin mangles them.
I tried #map legenda followed by the chars separated by spaces, with different combinations of {} brackets.

Quote:

[*] Void rooms now work with unusual exits as well.

[*] Added some unlisted map commands to the #map and #help listing.

The map feature in tintin is pretty neat. It'd be nice, though, to be able to add rooms (even manually) with non-regular spatial arrangements. I'm not even talking about mazes, even something as simple as being able to go e vs. n-e-s from room 0 and get to two different frooms.

Quote:

[*] Added the #config regexp on/off option. If enabled actions, aliases, highlights, subs, and grep will use regex. Keep in mind that all regexp checks are inline (or whatever it's called), so if you make an alias you'd want to start it with a ^ so it matches the start of the input.

But it's still either all one or all the other? It'd be nice to be able to have some regexp actions and some regular non-regexp ones. I've actually patched my tintin to do this; I have it check for the ! character between checking for ~ and ^. If ! is there, it sets toggle_regexp -- then if #config regexp is on globally, the current action is parsed without regexp, if it's off globally the current one is parsed with regexp.

Quote:

[*] \[ and \] no longer work, use the \x codes provided in #help escape.

Is there any particular reason for this? It's rather annoying not to be able to use \[. In fact, the documented \x codes don't work in regexps #actions or the #regexp command...
I can use #showme \x5B to print [, but any regexp including it doesn't match.
Even something as simple as this fails:
#var foo {a[d}
#regexp {$foo} {a\x5Bd} {say hrm}

Quote:

[*] Regexp checks can now use \e \x and other escape codes.

That would be nice...
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Sun Jul 27, 2008 12:28 pm    Post subject: Re: TinTin++ 1.98.3 Reply with quote

plunicks wrote:
Scandum wrote:
[list]
[*] It's now possible to use strings in the map legenda, mainly for terminals supporting UTF-8.

Err, could you explain how to use this? I've tried copying and pasting UTF-8 drawing characters into tintin++ (1.98.3), but tintin mangles them.
I tried #map legenda followed by the chars separated by spaces, with different combinations of {} brackets.

There's some discussion in this topic: http://tintin.sourceforge.net/board/viewtopic.php?t=617&highlight=utf8

Quote:

The map feature in tintin is pretty neat. It'd be nice, though, to be able to add rooms (even manually) with non-regular spatial arrangements. I'm not even talking about mazes, even something as simple as being able to go e vs. n-e-s from room 0 and get to two different frooms.

It's possible if you set the maze flag to stop the auto linker, use void rooms to avoid collisions, or dig rooms manually.

Quote:
But it's still either all one or all the other? It'd be nice to be able to have some regexp actions and some regular non-regexp ones. I've actually patched my tintin to do this; I have it check for the ! character between checking for ~ and ^. If ! is there, it sets toggle_regexp -- then if #config regexp is on globally, the current action is parsed without regexp, if it's off globally the current one is parsed with regexp.

I'd rather avoid ending up with all kinds of weird symbols, a graphical interface allows dealing with this in a much nicer manner. I added the creation of a parser to determine whether a trigger is a color/regex/normal one. Ideally I'd add Perl's regex which allows lazy matching, but I assume that'd be quite an undertaking.

Quote:

Is there any particular reason for this? It's rather annoying not to be able to use \[. In fact, the documented \x codes don't work in regexps

The problem is that the extended POSIX regex library tintin uses doesn't support advanced escape codes, so you're using tintin's in order to deal with color codes, so you need to escape twice. You'd want to use: #regexp {a[d} {a\\[d} to match a square bracket. I guess I could leave unmatched backslashes untouched, but that would create inconsistency issues for some people.

So to match dark purple you'd use: ~\e\\[0;35m
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