Author |
Message |
Topic: functions in #substitute 2.01.4 |
wstopek
Replies: 2
Views: 192
|
Forum: Bug Reports Posted: Mon Jan 01, 2018 1:05 pm Subject: functions in #substitute 2.01.4 |
Probably I've found one bug in new TT++ version.
Let say we have:
#sub {^You are {small|big}, %2 and %3.$} {Status: @fun{%1}, %2 and %3.}
#function & ... |
Topic: strip line feed code from GMCP |
wstopek
Replies: 4
Views: 481
|
Forum: Script Help Posted: Mon Jul 03, 2017 3:43 pm Subject: strip line feed code from GMCP |
Edit:
Finaly I solved it this way:
#event {IAC SB GMCP gmcp_msgs IAC SE}
{
#local {test} {%0};
#local {test2} {$test[text]};
#re ... |
Topic: strip line feed code from GMCP |
wstopek
Replies: 4
Views: 481
|
Forum: Script Help Posted: Mon Jul 03, 2017 10:27 am Subject: strip line feed code from GMCP |
It won't help because I don't want parse raw json format:
{"text":"Izba sypialna.\n","type":"room.short"}
In my case \n is already repla ... |
Topic: strip line feed code from GMCP |
wstopek
Replies: 4
Views: 481
|
Forum: Script Help Posted: Mon Jul 03, 2017 4:42 am Subject: strip line feed code from GMCP |
My GMCP event sends me raw json data(%1) like this:
gmcp_msgs {"text":"Izba sypialna.\n","type":"room.short"}
but under %0 I've got pars ... |
Topic: clickable urls |
wstopek
Replies: 7
Views: 1499
|
Forum: Script Help Posted: Sat Apr 29, 2017 10:40 am Subject: clickable urls |
Take a look at MXP protocol. I'm pretty sure that MateriaMagica played on gui most popular clients has this ability.
Yeah, it would be awesome to have it in TT++, but it depends on terminal emulator ... |
Topic: GMCP JSON question |
wstopek
Replies: 1
Views: 353
|
Forum: General Discussion Posted: Tue Apr 25, 2017 1:29 pm Subject: GMCP JSON question |
Does tt 2.01.2 automatically respond any core.hello info (client name and version) for IAC WILL GMCP event? There is some suspicion in mud I play, that some of tt users send:
[ "client&quo ... |
Topic: clickable urls |
wstopek
Replies: 7
Views: 1499
|
Forum: Script Help Posted: Fri Apr 21, 2017 1:27 am Subject: clickable urls |
I'm digging out this topic after years and wondering is there any simple way to do this? Of course, we can run tcp server in different window, add some gui widgets like text, buttons, popup menu and c ... |
Topic: convert list to variable |
wstopek
Replies: 8
Views: 770
|
Forum: General Discussion Posted: Tue Mar 07, 2017 2:03 am Subject: convert list to variable |
Try this.
#echo {$tmp[%*]} |
Topic: Direction blocking |
wstopek
Replies: 5
Views: 694
|
Forum: Script Help Posted: Mon Jan 02, 2017 12:18 pm Subject: Direction blocking |
Thank you so much. In my situation using #map enter room event is optimal solution. |
Topic: Direction blocking |
wstopek
Replies: 5
Views: 694
|
Forum: Script Help Posted: Sat Dec 31, 2016 7:33 am Subject: Direction blocking |
Let say I have map like this:
[ ]-[#]-[ ]
There are two safe available exits w, e and one trap on north which is not mapped. Is it possible to block sending "n" command j ... |
Topic: Room script help |
wstopek
Replies: 3
Views: 848
|
Forum: Script Help Posted: Thu Mar 17, 2016 6:09 pm Subject: Room script help |
Thank you a lot. Just one thing. Is it better for tt++ performance to have one global "#event map enter room" with many #ifs, or many "#event map enter room vnum" with precised vnums? |
Topic: Room script help |
wstopek
Replies: 3
Views: 848
|
Forum: Script Help Posted: Thu Mar 17, 2016 10:02 am Subject: Room script help |
Hi there. I have some problem with room scripts.
Normally I use "#map exit 'dir' command {#action {xyz};'dir';#unaction {xyz}} and it works perfect, but only if I play alone. Is it possible to conne ... |
Topic: Optimization tips |
wstopek
Replies: 6
Views: 2182
|
Forum: General Discussion Posted: Sun Aug 16, 2015 4:14 am Subject: Optimization tips |
Yup, it seems be the best solution. Hope, trigger like this "#action {%i{enemy1|enemy2|enemy3}{,|.| and}} {...}" will do the trick. |
Topic: Optimization tips |
wstopek
Replies: 6
Views: 2182
|
Forum: General Discussion Posted: Sun Aug 02, 2015 1:35 pm Subject: Optimization tips |
Thank so much. Now, I'm wondering how to trigger my enemies in the fastest way. They are described in last paragraph before prompt character(>). There are no key words like: "stand here, sleep here ... |
Topic: Optimization tips |
wstopek
Replies: 6
Views: 2182
|
Forum: General Discussion Posted: Sun Jul 26, 2015 9:58 am Subject: Optimization tips |
After months of heavy playing on Tintin I decided to clean up and optimize my scripts. So, I would like to ask which commands/constructions are faster than others? For example is "switch-case" bette ... |
Topic: Uninstall tt++ compiled on Ubuntu |
wstopek
Replies: 2
Views: 1285
|
Forum: General Discussion Posted: Sat Jan 10, 2015 9:24 am Subject: Uninstall tt++ compiled on Ubuntu |
When I was writing this topic, I thought that is much more complicated. After tones of read manuals and useful advices(like yours Scandum - thanks), I changed my mind. Finally, I installed last be ... |
Topic: Uninstall tt++ compiled on Ubuntu |
wstopek
Replies: 2
Views: 1285
|
Forum: General Discussion Posted: Wed Jan 07, 2015 4:43 am Subject: Uninstall tt++ compiled on Ubuntu |
Hi there,
I just want to know how to safely uninstall tt++ compiled from source code? I've found in "Makefile" some rule called "distclean" but I don't know is it enought to do? I've also noticed "tt ... |
Topic: #map goto <roomname> |
wstopek
Replies: 10
Views: 2327
|
Forum: Bug Reports Posted: Fri Jan 03, 2014 2:43 am Subject: #map goto <roomname> |
I understand. I would like to know whether is this just a bug or intended range reduction of this option in new mapper system? In ver. 2.00.9, from this same places, it works at distances grater th ... |
Topic: #map goto <roomname> |
wstopek
Replies: 10
Views: 2327
|
Forum: Bug Reports Posted: Tue Dec 31, 2013 11:54 am Subject: #map goto <roomname> |
Thank you so much.
Update:
I just noticed that in many cases, the command #map list <roomname> returns distance info: "-1.000", especially at distances greater than 70 rooms. |
Topic: #map goto <roomname> |
wstopek
Replies: 10
Views: 2327
|
Forum: Bug Reports Posted: Tue Dec 31, 2013 4:52 am Subject: #map goto <roomname> |
First of all I would like to thank you for update. Anyway, I've got some problem with "#map goto {name}" command in new Wintin++ 2.01.0 ver.
My startup locations are named by three letter words eg. ... |
Topic: #line log {overwrite} |
wstopek
Replies: 0
Views: 1079
|
Forum: General Discussion Posted: Tue Oct 08, 2013 8:07 am Subject: #line log {overwrite} |
Is it possible to use "overwrite" mode in #line log command? If not, is there any chance to add this option in next Wintin++ releases? |
Topic: Text to speech - Windows |
wstopek
Replies: 2
Views: 1016
|
Forum: General Discussion Posted: Fri Dec 28, 2012 3:37 am Subject: Text to speech - Windows |
#split 1 1 works well if I don't scroll text and use arrows (up/down) to load last commands. Anyway, thank you so much for help. I realize that cmd is not the best way to run TT++. Perhaps, I will fin ... |
Topic: Text to speech - Windows |
wstopek
Replies: 2
Views: 1016
|
Forum: General Discussion Posted: Thu Dec 27, 2012 12:05 pm Subject: Text to speech - Windows |
Is there any way to run Tintin using Windows terminal with working text to speech program? I tried FAQ solution (tt by cmd.exe) but this way #split command doesn't work. |
|