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

Packet Patch

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
vision



Joined: 01 Feb 2014
Posts: 32

PostPosted: Sat Jan 02, 2016 10:47 pm    Post subject: Packet Patch Reply with quote

I have tried some different settings with packet patch to try and fix lines of text not showing up on my screen but have not had any success. Not an issue with straight telnet. this is connecting to an LPMUD and the problem happens when on my Mac and on my Linux box. Any thoughts? No consistency on what lines get deleted, makes actions difficult.

Thanks!
Back to top
View user's profile Send private message
PowerGod



Joined: 04 Aug 2014
Posts: 339

PostPosted: Sun Jan 03, 2016 11:19 am    Post subject: Reply with quote

Tintin was made to work on DikuMUDs, I don't know how much the LPMUD engine is compatible, it can work in a completely different way...

You should try to activate every debug functions (#debug all) and do a RAW log of a session, and maybe you can see from there what are the characters that gives issues...

then, if you are lucky, you can just take them away from the lines before everything else is triggered, else, you are unlucky and tintin itself should be modified to be compatible...

In the worst case, you should try another similar client, TinyFugue, that as far as I know, it can work with every MUD engine...
Back to top
View user's profile Send private message
PowerGod



Joined: 04 Aug 2014
Posts: 339

PostPosted: Mon Jan 04, 2016 9:31 am    Post subject: Reply with quote

I found out that TinTin++ is able to work with Arkadia LpMUD
Back to top
View user's profile Send private message
vision



Joined: 01 Feb 2014
Posts: 32

PostPosted: Mon Jan 04, 2016 12:23 pm    Post subject: Packet Patch Reply with quote

LpMud, MudOS are two are the more popular drivers so hopefully there is a solution (I suspect this isn't driver specific). I will try and work through what is getting truncated, in the past Packet Patch was suggested to be the fix, perhaps I can keep playing with that.

Another client would not be an option based on all the time I put into maps, etc.

Any other suggestions are greatly appreciated as well.

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


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Tue Aug 23, 2016 9:48 pm    Post subject: Reply with quote

Does this only happen in #split mode?

If you capture your prompt in split mode larger values for packet patch are not a big problem.
Back to top
View user's profile Send private message Send e-mail
vision



Joined: 01 Feb 2014
Posts: 32

PostPosted: Mon Aug 29, 2016 11:45 pm    Post subject: Split Reply with quote

Scandum,
I missed your post, thanks for following-up. It appears to only be an issue with split. I will do some testing over the next couple of days. I do split 0 6 and then I use a ticker that updates each line with different prompt information using #showme $prompt1 {+2} etc.

I have tried packet patch for 0.01 - .9.

Any advice is appreciated it is maddening. This is on my Mac (multiple versions) trying terminal, iterm, hyper term. Using iterm, xterm-256color Unicode (UTF-8). Same issue if I connect to an ubuntu to box via my Mac. Same issue on multiple Macs as well.

here are my configs
Code:

####################################################### CONFIGURATIONS #######################################################
[AUTO TAB     ] [   50000] Scroll back buffer lines used for tab completion
[BUFFER SIZE  ] [  150000] The size of the scroll back buffer
[CHARSET      ] [   ASCII] The character set encoding used by TinTin++
[COLOR PATCH  ] [     OFF] TinTin++ will leave color handling to the server
[CONNECT RETRY] [      15] Seconds TinTin++ will try to connect before giving up
[COMMAND COLOR] [   <078>] The color of echoed commands
[COMMAND ECHO ] [      ON] Your commands are echoed in split mode
[HISTORY SIZE ] [    1000] The size of the command history
[LOG          ] [     RAW] The data format of the log files
[PACKET PATCH ] [    0.06] Seconds TinTin++ will try to patch broken packets
[REPEAT ENTER ] [     OFF] You send a carriage return on an enter
[REPEAT CHAR  ] [       !] The character used for repeating commands
[SCROLL LOCK  ] [      ON] You do not see mud output while scrolling
[SPEEDWALK    ] [     OFF] Your input is not scanned for speedwalk directions
[TINTIN CHAR  ] [       #] The character used for TinTin++ commands
[VERBATIM     ] [     OFF] Your keyboard input is parsed by TinTin++
[VERBATIM CHAR] [       \] The character used for unparsed text
[VERBOSE      ] [     OFF] Messages while reading in a script file are gagged
[WORDWRAP     ] [      ON] Mud output is word wrapped
[256 COLORS   ] [      ON] Your terminal is 256 color capable


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


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Tue Aug 30, 2016 9:50 pm    Post subject: Reply with quote

You want to try setting packet patch to at least 0.25, but you should be alright using 1.0 as well.
Back to top
View user's profile Send private message Send e-mail
vision



Joined: 01 Feb 2014
Posts: 32

PostPosted: Sun Sep 04, 2016 8:55 pm    Post subject: Packet Patch Reply with quote

I tried .25 and 1.0. Should I try some different values. Still missing text Sad.
Back to top
View user's profile Send private message
vision



Joined: 01 Feb 2014
Posts: 32

PostPosted: Wed Sep 07, 2016 9:11 pm    Post subject: Missing Text Reply with quote

It appears it might have been an issue with processing MIPS data that was appending mud text on the end of the MIPS string which I was gagging. I will do some more testing and have used a higher packet patch value. Thanks a bunch for taking a look. Sorry for missing the issue on my end.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Wed Sep 07, 2016 9:27 pm    Post subject: Reply with quote

Try something like:

Code:

#act {#K%%12345{.{3}}%*}
{
  #regex {%2} {{.{%1}}%*}
  {
    #var MIP {&1};
    #if {"&2" != ""} {#showme &2};
    do stuff with $MIP;
    #line gag;
  }
}


First need to escape the % from the MIP by doubling it in the trigger.

Next you use {.{3}} to capture exactly 3 characters which holds the length of the MIP and store it in %1.

Next you use {.{%1}} to capture the MIP using the length stored in %1, and if there's anything attached to it it's printed with the #showme.

You may no longer need the #foreach.
Back to top
View user's profile Send private message Send e-mail
vision



Joined: 01 Feb 2014
Posts: 32

PostPosted: Fri Sep 09, 2016 11:30 am    Post subject: Thanks Reply with quote

Thanks for the reply, that was what I needed to do. Thanks again.
Back to top
View user's profile Send private message
vision



Joined: 01 Feb 2014
Posts: 32

PostPosted: Fri Sep 09, 2016 11:48 am    Post subject: #showme &2 Reply with quote

I am seeing some carriage returns on what is blank data for &2. here is the meta:
\e[0mOverflow:\e[0m\e[0m

Any thoughts on why !="" isn't catching it or an alternative?
Back to top
View user's profile Send private message
vision



Joined: 01 Feb 2014
Posts: 32

PostPosted: Tue Sep 13, 2016 12:46 am    Post subject: I got it working Reply with quote

I put in a test on the length of the overflow and if it is 0 do not display the extra text.

Thanks for all the help glad to have it all sorted now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion 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