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

Search found 52 matches
The TinTin++ message board Forum Index
Author Message
  Topic: #format time
moebius

Replies: 3
Views: 998

PostForum: General Discussion   Posted: Tue Feb 17, 2009 7:15 pm   Subject: #format time
Why not make make it backwards compatible by using the old format by default if no format is specified for %t?
  Topic: How about the assignment of output to an internal variable?
moebius

Replies: 8
Views: 2037

PostForum: Feature Requests   Posted: Tue Feb 17, 2009 12:00 am   Subject: How about the assignment of output to an internal variable?
debug alias is only marginally helpful, as it prints out the entire alias, not just the current path of execution.

#ALIAS DEBUG: foo: #if {$x > 0 } {say postive} ...
  Topic: How about the assignment of output to an internal variable?
moebius

Replies: 8
Views: 2037

PostForum: Feature Requests   Posted: Sun Feb 08, 2009 2:54 pm   Subject: How about the assignment of output to an internal variable?
Funny, I was just going to ask something like this.

It'd be nice to have a way to log the actual text sent out from tintin++ to the mud. It can be very frustrating trying to track down a bug or a ...
  Topic: TinTin++ 1.98.7
moebius

Replies: 6
Views: 3184

PostForum: Announcements   Posted: Wed Dec 24, 2008 11:19 pm   Subject: TinTin++ 1.98.7
I went ahead and managed to bodge gnulib's strftime into the code, I sent you a patch to your gmail address.

P.S. Merry Christmas Smile
  Topic: TinTin++ 1.98.7
moebius

Replies: 6
Views: 3184

PostForum: Announcements   Posted: Wed Dec 24, 2008 12:25 pm   Subject: TinTin++ 1.98.7
nstrftime doesn't seem to be available on Cygwin.

gnulib is intended to be shared on the source level, not as a library. you should be able to just copy gnulib's strftime.[ch] into your source and ...
  Topic: How to do external item database
moebius

Replies: 7
Views: 2430

PostForum: Script Help   Posted: Wed Dec 24, 2008 12:12 am   Subject: How to do external item database
You can make a action triggered on the first line of the loot message that creates an action saving all lines to a list until the end of loot messages, then post process those lines to concatenate the ...
  Topic: segfault in #showme, simple trigger
moebius

Replies: 2
Views: 985

PostForum: Bug Reports   Posted: Sun Dec 14, 2008 12:38 pm   Subject: segfault in #showme, simple trigger
Also happens with

#action {~^ [%0 -- [%1} {
#showme { [%0 -- [%1};
#nop
}


Occurs in 1.98.6 and 1.98.7, haven't tested other ver ...
  Topic: segfault in #showme, simple trigger
moebius

Replies: 2
Views: 985

PostForum: Bug Reports   Posted: Sun Dec 14, 2008 12:34 pm   Subject: segfault in #showme, simple trigger
found this today

> group
Your group consists of:
[45 St] Lanius -- [670(670)Hp 825(825)Ma 656(656)Mo] (Head of group)
[45 Or ...
  Topic: Add #session arguments to #event {session connected}
moebius

Replies: 7
Views: 2396

PostForum: Feature Requests   Posted: Sun Dec 14, 2008 10:06 am   Subject: Add #session arguments to #event {session connected}
Oh. I guess it never occurred to me that actions could match output from tintin internal commands (just like I didn't expect it to match #showme). I think that should work, thanks.
  Topic: Add #session arguments to #event {session connected}
moebius

Replies: 7
Views: 2396

PostForum: Feature Requests   Posted: Sat Dec 13, 2008 4:02 pm   Subject: Add #session arguments to #event {session connected}
Here's the reason behind why I want this, because I couldn't get what I wanted working in a more straightforward way. I can't figure a way to pass a variable (the session name) from a session to a ne ...
  Topic: Add #session arguments to #event {session connected}
moebius

Replies: 7
Views: 2396

PostForum: Feature Requests   Posted: Thu Dec 11, 2008 6:41 pm   Subject: Re: Add #session arguments to #event {session connected}
It'd be useful to have the parameters to the #session call (name, host, post) passed to the #event {session connected} hook:
I've considered passing along arguments, not too sure about it though.

...
  Topic: Add #session arguments to #event {session connected}
moebius

Replies: 7
Views: 2396

PostForum: Feature Requests   Posted: Wed Dec 10, 2008 7:20 pm   Subject: Add #session arguments to #event {session connected}
It'd be useful to have the parameters to the #session call (name, host, post) passed to the #event {session connected} hook:

#event {session connected} {#showme Connected %1 to %2 ...
  Topic: Multiple nested if-elses
moebius

Replies: 6
Views: 1400

PostForum: Script Help   Posted: Wed Dec 10, 2008 7:15 pm   Subject: Multiple nested if-elses
The braces for the else are optional, so the following would work as well:


Of course, that's only equivalent if the conditions are mutually exclusive. Looks like it'd be fine in this case, thoug ...
  Topic: TinTin++ 1.98.7
moebius

Replies: 6
Views: 3184

PostForum: Announcements   Posted: Wed Dec 10, 2008 7:12 pm   Subject: Re: TinTin++ 1.98.7

Added a timestamp config option to add timestamps to log files using the strftime format.


Hmm, doesn't seem to have finer granularity than one second. Perhaps you could use [URL=http://www.gn ...
  Topic: IPC support
moebius

Replies: 2
Views: 1153

PostForum: Feature Requests   Posted: Sat Dec 06, 2008 8:41 pm   Subject: IPC support
Ah, I missed script. That looks to handle case #3 pretty directly.

I didn't think about using #run for ipc... not sure how well that work, I'll have to think about that.
  Topic: Installing TinTin++ on Ubuntu
moebius

Replies: 5
Views: 4365

PostForum: Script Help   Posted: Sat Dec 06, 2008 3:05 pm   Subject: Installing TinTin++ on Ubuntu
Maybe you tried to save the [URL=http://prdownloads.sourceforge.net/tintin/tintin-1.98.6-linux.tar.gz?download]link from the [URL=http://tintin.sourceforge.net/download.php]downloads page directly? T ...
  Topic: IPC support
moebius

Replies: 2
Views: 1153

PostForum: Feature Requests   Posted: Sat Dec 06, 2008 2:01 pm   Subject: IPC support
It would be useful if tintin++ could interact better with external programs in order to augment tt scripts with more powerful tools (such as perl or python scripts). There's #sys, but it doesn't prov ...
  Topic: need help with simple script
moebius

Replies: 4
Views: 1453

PostForum: Feature Requests   Posted: Sat Dec 06, 2008 1:40 pm   Subject: need help with simple script
Nope, scripts is the right sub forum. I didn't debug it, but the following ought to work:

#var cast {{%0} {%1}};


#if {"$cast" != "off" ...
  Topic: need help with simple script
moebius

Replies: 4
Views: 1453

PostForum: Feature Requests   Posted: Sat Dec 06, 2008 1:35 pm   Subject: need help with simple script
My alternate solution:


#action {Nothing seems to happend.} {on_spell_fail}
#action {You lost your concentration!} {on_spell_fail}

#alias on_spell_fail ...
  Topic: How to set Proxy in Tintin++
moebius

Replies: 3
Views: 4268

PostForum: General Discussion   Posted: Sat Dec 06, 2008 11:35 am   Subject: How to set Proxy in Tintin++
your best bet would be to establish a tunnel with some other program that understands the proxy and set up a port forwarding on a local port, so that it connects to your mud on the remote end of the t ...
  Topic: #return stops processing of subsequent aliases
moebius

Replies: 1
Views: 868

PostForum: Bug Reports   Posted: Sun Nov 30, 2008 11:56 am   Subject: #return stops processing of subsequent aliases
I find #return useful to quit out of an alias after checking some initial conditions, rather than having the whole body inside multiple levels of braces. But I have found it not only quits the curren ...
  Topic: autofind
moebius

Replies: 2
Views: 1007

PostForum: Script Help   Posted: Wed Nov 26, 2008 9:13 am   Subject: autofind
Be very careful with a script like this, you can get yourself into trouble easily. Walk right into a DT...

In general you should be cautious about making fully automated scripts like these, you wi ...
  Topic: Map only showing one room
moebius

Replies: 3
Views: 1151

PostForum: General Discussion   Posted: Sat Nov 22, 2008 6:44 pm   Subject: Map only showing one room
It works for me.

Make sure you haven't removed your pathdirs with #kill, or loaded old pathdirs from file with 2 instead of 3 arguments.

Stung by another subtle backwards incompatibility...

H ...
  Topic: Timestamps
moebius

Replies: 7
Views: 4781

PostForum: Feature Requests   Posted: Fri Nov 21, 2008 3:08 pm   Subject: Timestamps
That's more of what i was hoping for. Something like

#CONFIG log_timestamp "%Y-%m-%d %H:%M:%S"
(standard /bin/date formatting options)

Then your log shows:

2008-11-20 13:0 ...
  Topic: #showme output triggers actions
moebius

Replies: 4
Views: 1308

PostForum: General Discussion   Posted: Fri Nov 21, 2008 2:59 pm   Subject: #showme output triggers actions
As you can see, this contradicts the documentation of #action, which states explicitly that actions are only triggered by mud text. And to be honest I can't really see a situation where you'd want to ...
  Topic: #showme output triggers actions
moebius

Replies: 4
Views: 1308

PostForum: General Discussion   Posted: Thu Nov 20, 2008 11:26 pm   Subject: #showme output triggers actions
I thought #showme text was strictly display only, but I find that it can trigger actions just like mud text. This is contrary to expectations.

Command: #action {search string} {commands} {priority ...
  Topic: Timestamps
moebius

Replies: 7
Views: 4781

PostForum: Feature Requests   Posted: Thu Nov 20, 2008 10:56 pm   Subject: Timestamps
Won't that just log timestamps to a separate file? I'm looking for timestamps on your normal log file.
  Topic: Setting alias name dependant on variable
moebius

Replies: 1
Views: 742

PostForum: General Discussion   Posted: Thu Nov 13, 2008 8:43 pm   Subject: Setting alias name dependant on variable
This used to work (at one time):

#var aliasname pp
#alias {$aliasname} {do_something}

#alias
#ALIAS {pp}={do_something}

Doesn't work now, is there an ...
  Topic: #parse behaves poorly when passed a list
moebius

Replies: 3
Views: 1285

PostForum: Bug Reports   Posted: Wed Nov 12, 2008 10:57 am   Subject: #parse behaves poorly when passed a list
Hmm, that may be a good solution.

Still, though, "Unmatched braces" is a misleading error message. Perhaps it should be something like "list found when plain value expected" or something of that n ...
  Topic: #parse behaves poorly when passed a list
moebius

Replies: 3
Views: 1285

PostForum: Bug Reports   Posted: Wed Nov 12, 2008 12:39 am   Subject: #parse behaves poorly when passed a list
The #parse function does not behave well when you give it a list:

#parse {{a b c}} { }
#Unmatched braces error!
#OK. VARIABLE {parse} HAS BEEN SET TO { ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 5 Hours
Jump to:  
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