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
➜ Miniwindows
➜ MiniWindow Channel Capture
MiniWindow Channel Capture
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2 3
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #15 on Sat 10 Apr 2010 03:12 AM (UTC) |
Message
| If you resize, and push the mouse too far to the left (ie. past the top left corner, in a NW direction) then it loses the correct synchronization with the resize corner. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Cooldown
(18 posts) Bio
|
Date
| Reply #16 on Sat 10 Apr 2010 02:57 PM (UTC) |
Message
| I'm attempting to adapt your chat script to fit my mudding needs and am having trouble understanding your triggers. It is quite different from your mud. The main channel is OOC and looks like this:
Gheshin OOCs: 'Hm'
You OOC: 'Hm'
[OOC]: You sigh.
If you could just tell me how to get at least one of them working properly with your script I'm sure I could figure the rest out myself, but I've tried what seems to be 50 different variations on triggers in the file and can't manage to make it work. | Top |
|
Posted by
| Fiendish
USA (2,537 posts) Bio
Global Moderator |
Date
| Reply #17 on Sat 10 Apr 2010 05:17 PM (UTC) Amended on Sun 11 Apr 2010 04:21 AM (UTC) by Fiendish
|
Message
|
Nick Gammon said:
If you resize, and push the mouse too far to the left (ie. past the top left corner, in a NW direction) then it loses the correct synchronization with the resize corner.
Doh! You know I had that on my list of things to deal with and then I forgot. Thanks for catching it.
Edit: fixed now. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Fiendish
USA (2,537 posts) Bio
Global Moderator |
Date
| Reply #18 on Sun 11 Apr 2010 03:57 AM (UTC) Amended on Sun 11 Apr 2010 04:00 AM (UTC) by Fiendish
|
Message
|
Cooldown said:
I'm attempting to adapt your chat script to fit my mudding needs and am having trouble understanding your triggers. It is quite different from your mud. The main channel is OOC and looks like this:
Gheshin OOCs: 'Hm'
You OOC: 'Hm'
[OOC]: You sigh.
If you could just tell me how to get at least one of them working properly with your script I'm sure I could figure the rest out myself, but I've tried what seems to be 50 different variations on triggers in the file and can't manage to make it work.
I think the problem you're having is that the very first part of the chat() function in my script is specific for Aardwolf, because we have special tags on all channel output to make scripting easier.
You need to remove the block that says
-- strip out the tag
tag_length = string.find(styles[1].text,"}")
styles[1].text = string.sub(styles[1].text,tag_length+1)
styles[1].length = styles[1].length-tag_length
That block strips everything out up to the first instance of "}", which is the last character of our channel tags. Since you don't have the tag, it strips everything. Which means you get left with nothing.
Then the following trigger, as an example, will capture "You OOC: blah blah blah"
<trigger
enabled="y"
match="^You OOC:(?<msg>.*)"
regexp="y"
script="chats"
omit_from_output="y"
sequence="100"
></trigger>
|
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Fiendish
USA (2,537 posts) Bio
Global Moderator |
Date
| Reply #19 on Sun 11 Apr 2010 04:27 AM (UTC) |
Message
|
Nick Gammon said:
And maybe make the timestamp grayer (like in the older chat window). It sort of hits you in the eye.
And have an option to omit the original from the main window (oh I see that is in the plugin as an alias). But hey, if we are doing GUI, may as well have a menu. :-)
I didn't figure that plain dim white would hit anyone in the eye, but I'm down with making it customizable. :) |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Cooldown
(18 posts) Bio
|
Date
| Reply #20 on Sun 11 Apr 2010 05:33 AM (UTC) Amended on Sun 11 Apr 2010 07:03 AM (UTC) by Cooldown
|
Message
| Perfect, that is actually what the problem was. Thanks for helping me sort this out.
Edit: I don't know if this is for everyone as I run MUSHClient inside an emulator on Linux, but when I try to click the up/down of the scrollbar it gives me script errors. And when I try to click the shuttle, it closes the program altogether. Also, after resizing the window once, it refuses to let me do it again. Still a better plugin than what I was using before even with all that. | Top |
|
Posted by
| Fiendish
USA (2,537 posts) Bio
Global Moderator |
Date
| Reply #21 on Sun 11 Apr 2010 02:19 PM (UTC) Amended on Sun 11 Apr 2010 02:22 PM (UTC) by Fiendish
|
Message
|
Cooldown said:
Edit: I don't know if this is for everyone as I run MUSHClient inside an emulator on Linux, but when I try to click the up/down of the scrollbar it gives me script errors. And when I try to click the shuttle, it closes the program altogether. Also, after resizing the window once, it refuses to let me do it again. Still a better plugin than what I was using before even with all that.
I'm using it in WINE right now in Ubuntu 9.10, and everything works fine for me. What errors are you seeing? One thing you probably need to do is get the newest copy of wait.lua from the repository and put it in your lua folder. That will prevent assertion errors when you click on the arrows without being connected to the MUD. Also make sure you have the latest copy of movewindow.lua from the repository. And when downloading files from the repository, make sure you get the RAW text files and not something filled with web markup.
The "requirement" of 4.40 should probably actually be 4.52 :D
- Fiendish |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Fiendish
USA (2,537 posts) Bio
Global Moderator |
Date
| Reply #22 on Mon 12 Apr 2010 04:31 PM (UTC) |
Message
| Oh, I forgot. Also, all the TelnetOption stuff is specific to Aardwolf. You should remove all those lines too and remove the following...
-- pull in telnet option handling
dofile (GetPluginInfo (GetPluginID (), 20) .. "telnet_options.lua")
|
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Cooldown
(18 posts) Bio
|
Date
| Reply #23 on Mon 12 Apr 2010 05:40 PM (UTC) |
Message
| I updated wait.lua and movewindow.lua, and that fixed my problem with the shuttle causing a crash. The shuttle works perfectly now, I can resize whenever I like, but I still get assertion errors after clicking the up/down arrows. Are there other files I should update? | Top |
|
Posted by
| Fiendish
USA (2,537 posts) Bio
Global Moderator |
Date
| Reply #24 on Mon 12 Apr 2010 06:01 PM (UTC) |
Message
|
Cooldown said:
I updated wait.lua and movewindow.lua, and that fixed my problem with the shuttle causing a crash. The shuttle works perfectly now, I can resize whenever I like, but I still get assertion errors after clicking the up/down arrows. Are there other files I should update?
You need to tell me what error you're getting. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Cooldown
(18 posts) Bio
|
Date
| Reply #25 on Mon 12 Apr 2010 06:06 PM (UTC) |
Message
| Down arrow:
Run-time error
Plugin: Chat_Capture_Miniwindow (called from world: WoN Imm)
Function/Sub: MouseDown called by Plugin Chat_Capture_Miniwindow
Reason: Executing plugin Chat_Capture_Miniwindow sub MouseDown
C:\Program Files\MUSHclient\lua\wait.lua:159: Timers not enabled
stack traceback:
[C]: in function 'assert'
C:\Program Files\MUSHclient\lua\wait.lua:159: in function 'make'
[string "Plugin"]:362: in function 'scrollbar'
[string "Plugin"]:403: in function <[string "Plugin"]:395>
Up arrow:
Run-time error
Plugin: Chat_Capture_Miniwindow (called from world: WoN Imm)
Function/Sub: MouseDown called by Plugin Chat_Capture_Miniwindow
Reason: Executing plugin Chat_Capture_Miniwindow sub MouseDown
C:\Program Files\MUSHclient\lua\wait.lua:159: Timers not enabled
stack traceback:
[C]: in function 'assert'
C:\Program Files\MUSHclient\lua\wait.lua:159: in function 'make'
[string "Plugin"]:362: in function 'scrollbar'
[string "Plugin"]:403: in function <[string "Plugin"]:395> | Top |
|
Posted by
| Fiendish
USA (2,537 posts) Bio
Global Moderator |
Date
| Reply #26 on Mon 12 Apr 2010 06:13 PM (UTC) |
Message
| Make sure you have timers enabled. There's a checkbox in the window that pops up if you do Shift-Control-0. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Cooldown
(18 posts) Bio
|
Date
| Reply #27 on Tue 13 Apr 2010 01:10 AM (UTC) |
Message
| Yes that works now. I should've tried that. Thanks. | Top |
|
Posted by
| Fiendish
USA (2,537 posts) Bio
Global Moderator |
Date
| Reply #28 on Wed 14 Apr 2010 12:12 AM (UTC) Amended on Wed 14 Apr 2010 04:09 AM (UTC) by Fiendish
|
Message
| By the way, there's a new version of my script available at:
http://code.google.com/p/aardwolfclientpackage/source/browse/trunk/Aardwolf_Chat_Capture_mw.xml
Don't forget to customize it for your MUD.
It now also requires this file to be put into your plugins folder. It deals with converting style runs to plain text with injected color codes. The contents of this file are customized for Aardwolf. In order to get color-code copying to work for your MUD you may have to change it.
http://aardwolfclientpackage.googlecode.com/files/aardwolf_colors.lua
Share and enjoy. |
https://github.com/fiendish/aardwolfclientpackage | Top |
|
Posted by
| Bala
(5 posts) Bio
|
Date
| Reply #29 on Sat 22 May 2010 09:06 AM (UTC) |
Message
| Totally new to this stuff, so I don't know how to fix this. I just downloaded and tried to run your plugin, but I get this error:
Error number: 0
Event: Run-time error
Description: cannot open D:\MUSHclient\worlds\plugins\telnet_options.lua: No such file or directory
stack traceback:
[C]: in function 'dofile'
[string "Plugin"]:44: in main chunk
Called by: Immediate execution
Any pros able to tell me what's wrong? | 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.
126,229 views.
This is page 2, subject is 3 pages long:
1
2 3
It is now over 60 days since the last post. This thread is closed.
Refresh page
top