[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Find not working right
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Find not working right

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Zeno   USA  (2,871 posts)  [Biography] bio   Moderator
Date Thu 05 May 2011 04:23 AM (UTC)  quote  ]

Amended on Thu 05 May 2011 04:25 AM (UTC) by Zeno

Message
I search for "zeno" going up: http://i.imgur.com/YiEI1.png

The first result is correct: http://i.imgur.com/FMe4C.png

Then I Ctrl+Shift+F to search again up and I get this: http://i.imgur.com/RKna2.png

I do a few more Ctrl+Shift+F and it finds the result like that again (the WHO list typed at another time earlier) and finds "Zeno" okay again. Then another Ctrl+Shift+F and once again it finds an incorrect result around the same area.

I can even type WHO again and search and it still finds "Zeno" in that new text but then the next is an incorrect result in the new text.

Since I can reproduce this at will, here's the packet info:

33mPlayers Onlin   33 33 6d 50 6c 61 79 65 72 73 20 4f 6e 6c 69 6e
e: 31  -  Total    65 3a 20 33 31 20 20 2d 20 20 54 6f 74 61 6c 20
Players Logged O   50 6c 61 79 65 72 73 20 4c 6f 67 67 65 64 20 4f
n Today: 116..Pl   6e 20 54 6f 64 61 79 3a 20 31 31 36 0a 0d 50 6c
ayers Today: Tyv   61 79 65 72 73 20 54 6f 64 61 79 3a 20 54 79 76
ek Russell Bugs    65 6b 20 52 75 73 73 65 6c 6c 20 42 75 67 73 20
Briggs Pinky Daf   42 72 69 67 67 73 20 50 69 6e 6b 79 20 44 61 66
fy Mentu Molocha   66 79 20 4d 65 6e 74 75 20 4d 6f 6c 6f 63 68 61
r Swade Duo Shin   72 20 53 77 61 64 65 20 44 75 6f 20 53 68 69 6e
tar Sativa Pepe    74 61 72 20 53 61 74 69 76 61 20 50 65 70 65 20
Defari Zenvega S   44 65 66 61 72 69 20 5a 65 6e 76 65 67 61 20 53
cio Kaketanx Zao   63 69 6f 20 4b 61 6b 65 74 61 6e 78 20 5a 61 6f
den Macky Mesko    64 65 6e 20 4d 61 63 6b 79 20 4d 65 73 6b 6f 20
Kazum Z            4b 61 7a 75 6d 20 5a

Incoming packet: 7957 (845 bytes) at Wednesday, May 04, 2011, 11:16:07 PM

ack Blob Proto A   61 63 6b 20 42 6c 6f 62 20 50 72 6f 74 6f 20 41
rj Kasuta Ryker    72 6a 20 4b 61 73 75 74 61 20 52 79 6b 65 72 20
Loki Goku Kazer    4c 6f 6b 69 20 47 6f 6b 75 20 4b 61 7a 65 72 20
Haizuki Korubu G   48 61 69 7a 75 6b 69 20 4b 6f 72 75 62 75 20 47
reg Reketsu Ponn   72 65 67 20 52 65 6b 65 74 73 75 20 50 6f 6e 6e
ampi Kain Kalmeg   61 6d 70 69 20 4b 61 69 6e 20 4b 61 6c 6d 65 67
a Reed Nemesis G   61 20 52 65 65 64 20 4e 65 6d 65 73 69 73 20 47
odric Kuchankuky   6f 64 72 69 63 20 4b 75 63 68 61 6e 6b 75 6b 79
z Shim Darzeth S   7a 20 53 68 69 6d 20 44 61 72 7a 65 74 68 20 53
aeji Dranwin Tra   61 65 6a 69 20 44 72 61 6e 77 69 6e 20 54 72 61
xis Brick Sturg    78 69 73 20 42 72 69 63 6b 20 53 74 75 72 67 20
Ripikou Slaish Z   52 69 70 69 6b 6f 75 20 53 6c 61 69 73 68 20 5a
aede Quinton Dea   61 65 64 65 20 51 75 69 6e 74 6f 6e 20 44 65 61
dblast Psyre Tyl   64 62 6c 61 73 74 20 50 73 79 72 65 20 54 79 6c
er Jean Daxol Mu   65 72 20 4a 65 61 6e 20 44 61 78 6f 6c 20 4d 75
ffin Sylahn Kato   66 66 69 6e 20 53 79 6c 61 68 6e 20 4b 61 74 6f
 Zantar Jenka Ku   20 5a 61 6e 74 61 72 20 4a 65 6e 6b 61 20 4b 75
ya Zeno Kibu Ang   79 61 20 5a 65 6e 6f 20 4b 69 62 75 20 41 6e 67
elous Maiku Ruen   65 6c 6f 75 73 20 4d 61 69 6b 75 20 52 75 65 6e
 Dace Crichton B   20 44 61 63 65 20 43 72 69 63 68 74 6f 6e 20 42
ethel Dako Arion   65 74 68 65 6c 20 44 61 6b 6f 20 41 72 69 6f 6e
 Hobson Kestal J   20 48 6f 62 73 6f 6e 20 4b 65 73 74 61 6c 20 4a
ehuty Rugal Reun   65 68 75 74 79 20 52 75 67 61 6c 20 52 65 75 6e
 Zeth Chronic Ma   20 5a 65 74 68 20 43 68 72 6f 6e 69 63 20 4d 61
bus Aratin Natha   62 75 73 20 41 72 61 74 69 6e 20 4e 61 74 68 61
niel Nadeta Grym   6e 69 65 6c 20 4e 61 64 65 74 61 20 47 72 79 6d
 Aspen Cellular    20 41 73 70 65 6e 20 43 65 6c 6c 75 6c 61 72 20
Lucion Jian Phea   4c 75 63 69 6f 6e 20 4a 69 61 6e 20 50 68 65 61
r Wilson Dozo An   72 20 57 69 6c 73 6f 6e 20 44 6f 7a 6f 20 41 6e
gouleme Xandler    67 6f 75 6c 65 6d 65 20 58 61 6e 64 6c 65 72 20
Ganja Mitochondr   47 61 6e 6a 61 20 4d 69 74 6f 63 68 6f 6e 64 72
ia Ordeon Blaze    69 61 20 4f 72 64 65 6f 6e 20 42 6c 61 7a 65 20
Abare Valius Gun   41 62 61 72 65 20 56 61 6c 69 75 73 20 47 75 6e
thor Nibelheim K   74 68 6f 72 20 4e 69 62 65 6c 68 65 69 6d 20 4b
orin Amakusa Gro   6f 72 69 6e 20 41 6d 61 6b 75 73 61 20 47 72 6f
hm Johnny Gohan    68 6d 20 4a 6f 68 6e 6e 79 20 47 6f 68 61 6e 20
Oxyduck Mako Eyl   4f 78 79 64 75 63 6b 20 4d 61 6b 6f 20 45 79 6c
 Lye Messatsu Tm   20 4c 79 65 20 4d 65 73 73 61 74 73 75 20 54 6d
sone Snyper Lee    73 6f 6e 65 20 53 6e 79 70 65 72 20 4c 65 65 20
Muyu.....[0m.[0;   4d 75 79 75 0a 0d 0a 0d 1b 5b 30 6d 1b 5b 30 3b
37m< .[1;33mLife   33 37 6d 3c 20 1b 5b 31 3b 33 33 6d 4c 69 66 65
force.[0;37m [.[   66 6f 72 63 65 1b 5b 30 3b 33 37 6d 20 5b 1b 5b
1;32m100.[0;37m]   31 3b 33 32 6d 31 30 30 1b 5b 30 3b 33 37 6d 5d
.[1;33m Energy.[   1b 5b 31 3b 33 33 6d 20 45 6e 65 72 67 79 1b 5b
0;37m [.[1;32m12   30 3b 33 37 6d 20 5b 1b 5b 31 3b 33 32 6d 31 32
,773.[0;37m].[1;   2c 37 37 33 1b 5b 30 3b 33 37 6d 5d 1b 5b 31 3b
33m Powerlevel.[   33 33 6d 20 50 6f 77 65 72 6c 65 76 65 6c 1b 5b
0;37m [.[0;32m93   30 3b 33 37 6d 20 5b 1b 5b 30 3b 33 32 6d 39 33
,997,641.[0;37m/   2c 39 39 37 2c 36 34 31 1b 5b 30 3b 33 37 6d 2f
.[1;32m93,997,64   1b 5b 31 3b 33 32 6d 39 33 2c 39 39 37 2c 36 34
1.[0;37m] >.[0;3   31 1b 5b 30 3b 33 37 6d 5d 20 3e 1b 5b 30 3b 33
7m(Invis 114) <#   37 6d 28 49 6e 76 69 73 20 31 31 34 29 20 3c 23
2300> .[0;37m      32 33 30 30 3e 20 1b 5b 30 3b 33 37 6d


I just turned off all plugins and triggers and it still happens.

There's about 200k lines in the buffer.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Nick Gammon   Australia  (19,469 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Thu 05 May 2011 04:38 AM (UTC)  quote  ]
Message
Template:version Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio   Moderator
Date Reply #2 on Thu 05 May 2011 04:41 AM (UTC)  quote  ]
Message
4.72

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Nick Gammon   Australia  (19,469 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Thu 05 May 2011 04:43 AM (UTC)  quote  ]
Message
I was attempting to reproduce on my own world and the client crashed! (Can't reproduce that now). Sounds like something funny with reverse finding.

If you try again, but are logged out - so no new text arrives - does it still happen?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio   Moderator
Date Reply #4 on Thu 05 May 2011 04:52 AM (UTC)  quote  ]

Amended on Thu 05 May 2011 04:55 AM (UTC) by Zeno

Message
Yeah, still happens even if disconnected.

And I can confirm it doesn't happen searching down.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Nick Gammon   Australia  (19,469 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Thu 05 May 2011 05:03 AM (UTC)  quote  ]
Message
I'm starting to get the impression that if you search backwards for a word, it will continue to correctly find it, until the last one (ie. first in buffer) after which it highlights the incorrect place for one last "succesful" and then after one more find, it reports "no more". So it is as if the time it doesn't match it thinks it has matched (once).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (19,469 posts)  [Biography] bio   Forum Administrator
Date Reply #6 on Thu 05 May 2011 05:28 AM (UTC)  quote  ]
Message
OK, I can reproduce all sorts of problems.


for i = 1, 2 do
  print (string.rep ("aaaa ", 20))
end -- for


Try searching for "aaaa" both forwards and backwards. It's a mess!

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (19,469 posts)  [Biography] bio   Forum Administrator
Date Reply #7 on Fri 06 May 2011 05:22 AM (UTC)  quote  ]
Message
Found and fixed major bugs in the generic finding routine. These were probably introduced when "multiple finds on one line" were introduced a little while back.


https://github.com/nickgammon/mushclient/commit/9f901d5ea8ea9

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


2,745 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]