Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Plugins
➜ Tabbed scrolling miniwindow
Tabbed scrolling miniwindow
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2
3 4
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #30 on Tue 25 Aug 2020 07:35 PM (UTC) Amended on Tue 25 Aug 2020 07:36 PM (UTC) by Fiendish
|
Message
| You aren't using GMCP for channels, so your channels and non-channels are split entirely arbitrarily. You should be doing exactly the same thing for both of them. If you're not, where and why not? |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Xinefus
(106 posts) Bio
|
Date
| Reply #31 on Tue 25 Aug 2020 08:21 PM (UTC) |
Message
| I think the reason why they are not exactly the same in the first place is due to how i understand enable_hiding to work.
I am not sure how to add the for loop for init_channel_keys so that when I do use enable all/none it only affects the channels. | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #32 on Tue 25 Aug 2020 09:14 PM (UTC) Amended on Tue 25 Aug 2020 09:15 PM (UTC) by Fiendish
|
Message
| The only reason any of _my_ settings are handled differently from each other is that Aardwolf use GMCP for channels and not for other things. You're not doing that so you should not be handling them differently. You can have as many groups of things as you want, but if all you're doing is toggling triggers, they should all end up in the same code doing the same things. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Xinefus
(106 posts) Bio
|
Date
| Reply #33 on Thu 27 Aug 2020 11:21 AM (UTC) |
Message
| Yes, I understand that getting the info from GMCP will be different. I was trying to keep channels (you can talk/influence these) and nonchannels (broadcasts/events/non-discussion) separate.
I believe I have chat_echo working the way I would like from a functionality sense. However, in the background I am still getting a mixup in tables. Not sure how to clear all the 'cache' maybe to fix things? When I print out the channel table, and the nonchannel table, I get channels included in the nonchannels.
Is there something I am doing wrong here? I still haven't been able to decipher the tables in knowing why they get included in each other... | Top |
|
Posted by
| Xinefus
(106 posts) Bio
|
Date
| Reply #34 on Thu 27 Aug 2020 12:26 PM (UTC) |
Message
| Ref: https://github.com/DBNU-Braska/DBNU/blob/non-msdp/text_rect.lua
I am working on the copy ability within the plugin. I have been able to get copy all working without copying colour codes. However, I can't seem to understand what my problem is with copying a selection of text.
I believe that my error is somewhere within TextRect:selected_text() but I'm not exactly sure.
The error suggests it is coming from table.concat(). I do believe it is coming from line 953 where I, like stated before, I'm not fully comfortable with how to manipulate tables.
Here is the error:Function/Sub: TextRect.mouseUp called by Plugin DBNU_Chat_Capture_Miniwindow
Reason: Executing plugin DBNU_Chat_Capture_Miniwindow sub TextRect.mouseUp
C:\Program Files (x86)\MUSHclient\lua\text_rect.lua:990: invalid value (table) at index 1 in table for 'concat'
stack traceback:
[C]: in function 'concat'
C:\Program Files (x86)\MUSHclient\lua\text_rect.lua:990: in function 'selected_text'
C:\Program Files (x86)\MUSHclient\lua\text_rect.lua:930: in function '?'
C:\Program Files (x86)\MUSHclient\lua\text_rect.lua:868: in function 'rightClickMenu'
C:\Program Files (x86)\MUSHclient\lua\text_rect.lua:659: in function <C:\Program Files (x86)\MUSHclient\lua\text_rect.lua:655>
| Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #35 on Thu 27 Aug 2020 01:07 PM (UTC) Amended on Thu 27 Aug 2020 01:52 PM (UTC) by Fiendish
|
Message
| The problem as ever is that you've made a change that doesn't account for what the original was doing. StylesToColours takes a table and produces a string. That means that current_message is a table and s_text is supposed to be a table of strings. But now you're generating a table of tables instead of a table of strings. Tables cannot be concatenated together by "\n". Only strings can. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Xinefus
(106 posts) Bio
|
Date
| Reply #36 on Thu 27 Aug 2020 02:28 PM (UTC) |
Message
|
Fiendish said:
StylesToColours takes a table and produces a string.
Thank you for the nudge in the right direction. I don't think I know how to create this on my own, but I can at least read StylesToColours and remove the parts that are causing me this problem now.
I'm going to read through chat_echo again and try to see if I can pinpoint the issue with the combining tables...
Thanks so much for your support. | Top |
|
Posted by
| Xinefus
(106 posts) Bio
|
Date
| Reply #37 on Thu 27 Aug 2020 06:34 PM (UTC) |
Message
| Ok, so a fresh install fixed the tables issue. If at all possible, is there a way to do this type of reset/refresh without that?
Onto scrollbar.lua, it seems that I can't scroll with my mousewheel. Is there something in MUSHClient settings that I need to change to enable this? It works out of the box within AardMUSH, but having it included/required for my DBNU_Channels_fiendish.xml doesn't make any difference. | Top |
|
Posted by
| Xinefus
(106 posts) Bio
|
Date
| Reply #38 on Fri 28 Aug 2020 11:26 AM (UTC) |
Message
| Sorry, I'm getting mixed up with my scroll research.
I'm looking through text_rect.lua for the scrollable parts. Trying to see where maybe I have gone wrong here? But I don't think I've changed anything wrt scrolling. | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #39 on Fri 28 Aug 2020 02:17 PM (UTC) Amended on Fri 28 Aug 2020 02:20 PM (UTC) by Fiendish
|
Message
|
Quote: Ok, so a fresh install fixed the tables issue.
I said to remove the state file, and you said you did. Did you do it while MUSHclient was still open? Or maybe you deleted the wrong ones?
Quote: If at all possible, is there a way to do this type of reset/refresh without that?
If you change what gets stored and how without changing what subsequently gets read back in, then no. You have to clear the bad saved state data.
Quote: I can't scroll with my mousewheel. Is there something in MUSHClient settings that I need to change to enable this?
Nope. Nothing. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Xinefus
(106 posts) Bio
|
Date
| Reply #40 on Tue 01 Sep 2020 10:57 AM (UTC) |
Message
| Thanks for the info Fiendish,
I did delete the files within state, and it did not seem to do anything. In fact, now there just are no files in there at all. Is there somewhere else I am supposed to find them?
This might be useful as I am also looking to figure out where some of the tables are saved, or how to save things like (different topic...) maps. I'll most likely make a different post for that plugin, but wondered where I am supposed to find saved items like that.
WRT the mouse-wheel scrolling, is there anything someone can help me with here? It seems perhaps it has to do with hotspots, but I haven't changed anything about them in any of the files compared to the originals. | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #41 on Tue 01 Sep 2020 02:09 PM (UTC) |
Message
|
Quote: I did delete the files within state, and it did not seem to do anything. In fact, now there just are no files in there at all. Is there somewhere else I am supposed to find them?
Where are you looking? Where is your MUSHclient folder? |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Xinefus
(106 posts) Bio
|
Date
| Reply #42 on Tue 01 Sep 2020 02:11 PM (UTC) Amended on Tue 01 Sep 2020 02:12 PM (UTC) by Xinefus
|
Message
| When I originally removed the state files, they were within \MUSHclient\worlds\plugins\state. My MUSHClient is installed as a normal install and is in C:\Program Files (x86)\MUSHclient | Top |
|
Posted by
| Fiendish
USA (2,534 posts) Bio
Global Moderator |
Date
| Reply #43 on Tue 01 Sep 2020 02:37 PM (UTC) Amended on Tue 01 Sep 2020 02:44 PM (UTC) by Fiendish
|
Message
|
Quote: My MUSHClient is installed as a normal install and is in C:\Program Files (x86)\MUSHclient
Don't put it there.
Windows will hide the files from you if an application tries to write to "C:\Program Files\" and put them under C:\Users\<My Account>\AppData\Local\VirtualStore\
Try these links for more info
https://domainwebcenter.com/invisible-files-in-windows-7-program-files/
https://www.networkinghowtos.com/howto/windows-virtual-store-location/ |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Xinefus
(106 posts) Bio
|
Date
| Reply #44 on Tue 01 Sep 2020 03:50 PM (UTC) |
Message
| Thanks for that tip.
I'm comfortable with finding these files so I was able to find exactly what you stated.
Where do you recommend installing MUSH if not in the default location? Should I just put it directly on the root of my preferred storage?
Thanks.
Sorry, these questions are a bit off topic.. but they came from errors I'm getting within my debugging this plugin. | 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.
99,335 views.
This is page 3, subject is 4 pages long:
1
2
3 4
It is now over 60 days since the last post. This thread is closed.
Refresh page
top