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

Broken features, tab complete, enter repeat, history arrows

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
stormdragon2976



Joined: 19 Nov 2010
Posts: 73
Location: /dev/null

PostPosted: Tue Jul 17, 2012 7:09 pm    Post subject: Broken features, tab complete, enter repeat, history arrows Reply with quote

The features tab completion, repeat last command with enter, and up/down arrow to move through history work fine until I connect to a mud. then they stop working. I am almost certain they are configured correctly. Also, I usually open the file when I load tintin, so they should already be in memory before the mud is loaded. Just in case something is wrong with the code though, here is the config section:
#CONFIG {256 COLORS} {OFF}
#CONFIG {AUTO TAB} {5000}
#CONFIG {BUFFER SIZE} {20000}
#CONFIG {CHARSET} {ASCII}
#CONFIG {COMMAND COLOR} {<078>}
#CONFIG {COMMAND ECHO} {ON}
#CONFIG {CONNECT RETRY} {15}
#CONFIG {HISTORY SIZE} {1000}
#CONFIG {LOG} {RAW}
#CONFIG {PACKET PATCH} {0.01}
#CONFIG {REPEAT CHAR} {!}
#CONFIG {REPEAT ENTER} {ON}
#CONFIG {SCROLL LOCK} {ON}
#CONFIG {SPEEDWALK} {OFF}
#CONFIG {TINTIN CHAR} {#}
#CONFIG {VERBATIM} {OFF}
#CONFIG {VERBATIM CHAR} {\}
#CONFIG {VERBOSE} {OFF}
#CONFIG {WORDWRAP} {ON}
Before I login to the mud, I can type anything and I get no session, use #session ... to start one. I can press up arrow to repeat the previous command, or enter, also, previously typed words can be completed with the tab key. It's only after the mud is actually loaded that this stuff no longer works.
I think i filed a bug on this a while back, but it wasn't reproducible or something. I would really like to have these features while playing though, so I am willing to help in any way I can, submit logs or whatever, just let me know.
My trigger file is actually available on github if that would help. It's quite large though, but the url is:
http://github.com/stormdragon2976/tintin-alteraeon
_________________
Storm
Follow me at https://social.stormdragon.tk
Back to top
View user's profile Send private message Visit poster's website AIM Address
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Wed Jul 18, 2012 10:19 pm    Post subject: Reply with quote

It's probably something in your script causing this. Try to load half the script to see in which half the problem lies, then keep halving it until you got it narrowed down.
Back to top
View user's profile Send private message Send e-mail
stormdragon2976



Joined: 19 Nov 2010
Posts: 73
Location: /dev/null

PostPosted: Thu Jul 19, 2012 9:55 pm    Post subject: Reply with quote

My script is gigantic and would be hard to load a bit at a time because lots of stuff depends on lots of other stuff. So, to try and narrow down the problem, I created a new one. I opened tintin, then executed #write mud.tin. This wrote 20+ commands to the file mud.tin, which I then opened and set as it should be. I think the only change I made was to turn repeat enter on. Even with no other triggers, aliases, macros, etc it still gives the same behavior. Once again, everything works as expected until tintin++ is actually connected to a mud. Here is the file:
#CONFIG {256 COLORS} {OFF}
#CONFIG {AUTO TAB} {5000}
#CONFIG {BUFFER SIZE} {20000}
#CONFIG {CHARSET} {ASCII}
#CONFIG {COMMAND COLOR} {<078>}
#CONFIG {COMMAND ECHO} {ON}
#CONFIG {CONNECT RETRY} {15}
#CONFIG {HISTORY SIZE} {1000}
#CONFIG {LOG} {RAW}
#CONFIG {PACKET PATCH} {0.00}
#CONFIG {REPEAT CHAR} {!}
#CONFIG {REPEAT ENTER} {ON}
#CONFIG {SCROLL LOCK} {ON}
#CONFIG {SPEEDWALK} {OFF}
#CONFIG {TINTIN CHAR} {#}
#CONFIG {VERBATIM} {OFF}
#CONFIG {VERBATIM CHAR} {\}
#CONFIG {VERBOSE} {OFF}
#CONFIG {WORDWRAP} {ON}
#PATHDIR {d} {u} {32}
#PATHDIR {e} {w} {2}
#PATHDIR {n} {s} {1}
#PATHDIR {ne} {sw} {3}
#PATHDIR {nw} {se} {9}
#PATHDIR {s} {n} {4}
#PATHDIR {se} {nw} {6}
#PATHDIR {sw} {ne} {12}
#PATHDIR {u} {d} {16}
#PATHDIR {w} {e} {8}
_________________
Storm
Follow me at https://social.stormdragon.tk
Back to top
View user's profile Send private message Visit poster's website AIM Address
Slysven



Joined: 10 Apr 2011
Posts: 365
Location: As "Jomin al'Bara" in WoTMUD or Wiltshire, UK

PostPosted: Fri Jul 20, 2012 11:21 am    Post subject: Reply with quote

Those results look pretty similar to what I have except I use:
Code:
#CONFIG {256 COLORS} {ON}
#CONFIG {CHARSET} {UTF-8}
#CONFIG {REPEAT ENTER} {OFF}
However what I AM NOT seeing is a:
Code:
#CONFIG {CONVERT META} {OFF}
If that gets turned to {ON} somehow it can give you all sorts of grief as color codes at least are reported directly to you and not processed into the codes to drive your terminal - off hand I not sure what else stops working but the up/down arrows through history, the ability to delete characters on the command line are both things I know from experience that stop working with it ON (if I ever have to use it to identify exactly what characters the MUD server is sending me I usually set a #DELAY to turn it off after a few seconds...!).

On a related note there is the (hidden) #CONFIG {DEBUG TELNET} option which reports the process of the MCCP negotiations at the start of a session I believe but there is no indication that this is being turned on either...

One suggestion I do have for you is to #READ in your file without starting a session and then writing it straight out to a new file and checking what TinTin++ writes out - not a perfect solution but if something is missing a ';' somewhere or braces are not where they should be, a careful comparison of the two files may highlight problems... Cool

P.S. My script file is 320Kbytes and yet there is still more stuff I wanna put in it!

P.P.S. Um, I'm guessing here, but with /dev/null as a location it suggests that you compile your TinTin++ from the source, do you hack into that code - if so a "make clean; make [; make install]" to do a complete rebuild may need to be done, especially if you have poked around in the header files recently, I've had all sorts of weird and not terribly wonderful things happen when I've recompiled only a few files after a good hack!
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Fri Jul 20, 2012 8:01 pm    Post subject: Reply with quote

It's possible your mud switches tt++ into character mode.

Check for a SGA negotiation with #config {debug telnet} on.
Back to top
View user's profile Send private message Send e-mail
stormdragon2976



Joined: 19 Nov 2010
Posts: 73
Location: /dev/null

PostPosted: Sat Jul 21, 2012 10:29 pm    Post subject: Reply with quote

I tried meta off and it did not fix the problem. I do compile the code, but I have not done anything with the source. Just in case though, I have uninstalled and recompiled with the same results, it is still broken after logging into the game.
I attempted to start logging with the debug telnet setting on, the strange thing is, when I logged into the mud the logging stopped, until I logged out of the game, at which point it resumed. I'm not sure if this is the expected behavior or not, I assumed it would log from the time you tell it to until you stop or close the program. Anyway, I was able to get the info using screen's copy function. I didn't see anything telling it to switch to character mode, but I may have missed it. Here's the output from the login and out I did:
#OK: 262 ACTIONS LOADED.
#OK: 138 ALIASES LOADED.
#OK: 1 CONFIG LOADED.
#OK: 2 EVENTS LOADED.
#OK: 42 GAGS LOADED.
#OK: 40 MACROS LOADED.
#OK: 3 SUBSTITUTIONS LOADED.
#OK: 2 VARIABLES LOADED.
login
#TRYING TO CONNECT 'Alter Aeon' TO 'dentinmud.org' PORT '3010'.

#SESSION 'Alter Aeon' CONNECTED TO 'dentinmud.org' PORT '3010'
RCVD IAC WILL MSSP
SENT IAC DO MSSP
RCVD IAC WILL MSP
SENT IAC DONT MSP
RCVD IAC GA
Welcome to Alter Aeon!
Please mail questions and comments to:
soda@xirr.com
You might also want to check out our webpage at
http://www.alteraeon.com
(To log on an existing character, enter the name now.)
Would you like to create a new character?

RCVD IAC DO ECHO
SENT IAC WILL ECHO
RCVD IAC WONT ECHO
SENT IAC DONT ECHO
RCVD IAC WILL ECHO
SENT IAC DO ECHO
RCVD IAC DONT ECHO
RCVD IAC GA
Password:
RCVD IAC DO ECHO
SENT IAC WILL ECHO
RCVD IAC WONT ECHO
SENT IAC DONT ECHO
RCVD IAC WILL ECHO
SENT IAC DO ECHO
RCVD IAC DONT ECHO
RCVD IAC GA
Welcome back!
Welcome to DentinMud!
Please mail questions and comments to: soda@xirr.com
You might also want to check out our webpage at:
http://www.alteraeon.com
Press return to continue...
RCVD IAC SB MSSP
MSSP VAR NAME VAL Alter Aeon
MSSP VAR PLAYERS VAL 49
MSSP VAR UPTIME VAL 1342809064
MSSP VAR CRAWL_DELAY VAL 1
MSSP VAR HOSTNAME VAL alteraeon.com
MSSP VAR PORT VAL 23
MSSP VAR PORT VAL 3224
MSSP VAR PORT VAL 3010
MSSP VAR PORT VAL 3000
MSSP VAR CODEBASE VAL Alter Aeon v2.22
MSSP VAR CONTACT VAL soda@xirr.com
MSSP VAR CREATED VAL 1995
MSSP VAR ICON VAL http://www.alteraeon.com/banners/AA-64x64.png
MSSP VAR IP VAL 76.10.214.106
MSSP VAR LANGUAGE VAL English
MSSP VAR LOCATION VAL United States
MSSP VAR MINIMUM AGE VAL 0
MSSP VAR WEBSITE VAL http://www.alteraeon.com
MSSP VAR FAMILY VAL Custom
MSSP VAR GENRE VAL Fantasy
MSSP VAR GAMEPLAY VAL Social
MSSP VAR GAMEPLAY VAL Hack and Slash
MSSP VAR GAMEPLAY VAL Adventure
MSSP VAR STATUS VAL Live
MSSP VAR GAMESYSTEM VAL Custom
MSSP VAR SUBGENRE VAL Medieval Fantasy
MSSP VAR AREAS VAL 338
MSSP VAR HELPFILES VAL 1191
MSSP VAR MOBILES VAL 11676
MSSP VAR OBJECTS VAL 16762
MSSP VAR ROOMS VAL 30879
MSSP VAR CLASSES VAL 5
MSSP VAR LEVELS VAL 35
MSSP VAR RACES VAL 0
MSSP VAR SKILLS VAL 304
MSSP VAR ANSI VAL 1
MSSP VAR MCCP VAL 0
MSSP VAR MCP VAL 0
MSSP VAR MSP VAL 0
MSSP VAR MXP VAL 0
MSSP VAR PUEBLO VAL 0
MSSP VAR VT100 VAL 0
MSSP VAR XTERM 256 COLORS VAL 0
MSSP VAR PAY TO PLAY VAL 0
MSSP VAR PAY FOR PERKS VAL 1
MSSP VAR HIRING BUILDERS VAL 0
MSSP VAR HIRING CODERS VAL 0
MSSP VAR ADULT MATERIAL VAL 0
MSSP VAR MULTICLASSING VAL 1
MSSP VAR NEWBIE FRIENDLY VAL 1
MSSP VAR PLAYER CITIES VAL 0
MSSP VAR PLAYER CLANS VAL 1
MSSP VAR PLAYER CRAFTING VAL 0
MSSP VAR PLAYER GUILDS VAL 0
MSSP VAR EQUIPMENT SYSTEM VAL Level
MSSP VAR MULTIPLAYING VAL None
MSSP VAR PLAYERKILLING VAL Restricted
MSSP VAR QUEST SYSTEM VAL Integrated
MSSP VAR ROLEPLAYING VAL Accepted
MSSP VAR TRAINING SYSTEM VAL Both
MSSP VAR WORLD ORIGINALITY VAL All Original
IAC SB MSSP IAC SE
RCVD IAC GA
Welcome to Alter Aeon!
1) Enter Alter Aeon
2) See where you will log in
4) Edit your long description
5) Read help pages
6) See who's logged on
7) Change password
0) Leave Alter Aeon
Enter Selection ->
RCVD IAC GA
Client trigger mode enabled.
RCVD IAC GA
MSP mode is now enabled.RCVD IAC GA
Your clan has won the clan bonus of ATTACKER!
Logging in character 'goroth'
Url for this character is: http://stormdragon.us/?p=256
A Tribute to Blades
A large bulletin board is hovering above the ground here.
[Exits: north east south west northeast southeast southwest northwest up down ]
RCVD IAC GA
RCVD IAC GA
RCVD IAC GA
RCVD IAC GA
RCVD IAC GA
RCVD IAC GA
RCVD IAC GA
A One-room Shack
[Exits: north ]
RCVD IAC GA
A Tribute to Blades
A large bulletin board is hovering above the ground here.
[Exits: north east south west northeast southeast southwest northwest up down ]
RCVD IAC GA
RCVD IAC GA
RCVD IAC GA
RCVD IAC GA
RCVD IAC GA
RCVD IAC GA
Saving your character...
RCVD IAC GA
Done! Come back soon!
#SESSION 'Alter Aeon' DIED.
#SESSION 'gts' ACTIVATED.
#end

Goodbye from TinTin++
_________________
Storm
Follow me at https://social.stormdragon.tk
Back to top
View user's profile Send private message Visit poster's website AIM Address
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Mon Jul 23, 2012 7:13 am    Post subject: Reply with quote

That all looks normal, no idea what's going wrong.

You can try typing:

#cursor echo on
Back to top
View user's profile Send private message Send e-mail
Slysven



Joined: 10 Apr 2011
Posts: 365
Location: As "Jomin al'Bara" in WoTMUD or Wiltshire, UK

PostPosted: Mon Jul 23, 2012 11:06 pm    Post subject: Reply with quote

Found a very interesting thread on The Mud Connector which makes me wonder whether the MUD you play stormdragon2976 has recently been changed/tweaked/bodged in such a way that it behaves differently - seems the maintainer of Alter Aeon has been checking over some features of that MUD that might not be quite in accordance to various standards as others think it should be (one of those may even be our very own Scandum). Cool

Read it at http://www.mudconnect.com/discuss/discuss.cgi?mode=MSG2&area=coders&message=26465&page=0

Guess something may have got bent out of shape in the changes... Sad
Back to top
View user's profile Send private message
stormdragon2976



Joined: 19 Nov 2010
Posts: 73
Location: /dev/null

PostPosted: Sat Jul 28, 2012 1:43 am    Post subject: Reply with quote

@Scandum: Thanks, that worked great. I just have to make sure to type it after the game is loaded, which was no problem. If I just add #cursor echo on to the file as stand alone code it fails, so I have to make sure the connection is established, incase anyone else runs into this problem.
@Slysven: I pretty much agree with Dentin. I added in msp support for Alter in my trigger pack, it works great. The r= part did throw it off for like a couple hours, but then I logged in, found out about it, and had it fixed before I even got 2 complaints about sound being broken.
I am so glad this stuff is working now! Big Smile
_________________
Storm
Follow me at https://social.stormdragon.tk
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports 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