Welcome Guest.   Make a donation to an author on the site April 24, 2014, 12:53:10 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Check out and download the GOE 2007 Freeware Challenge productivity tools.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: blowssi - /me in querys, and hilights - ignores  (Read 2228 times)
petka
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« on: August 14, 2011, 05:53:24 AM »

[were going to post these on https://redmine.dcisv.com/projects/blowssi but it never sent me the email so I couldn't validate the account, hope it's OK to post this here instead]

Hey, first of all, cheers for the great script, having a few issues though that I thought I'd bring up. Mainly because they're not listed as any known bugs. (and the fact that it says that /me and /actions are supposed to be fixed in the 0.2.0).

I turned on debug and this is what I were able go get.

Formatted for Generic Code with the GeSHI Syntax Highlighter [copy or print]
  1. posting /me test in a channel set with the key 12345
  2.  
  3.  
  4. 12:27 Debug encrypt: 0 : send_command
  5. 12:27 Debug encrypt: 1 : /me test
  6. 12:27 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a57158)
  7. 12:27 Debug encrypt: 3 : Irssi::Irc::Channel=HASH(0x9a566c8)
  8. 12:27 ME: #af-test | test
  9. 12:27 Debug encrypt: 0 : send_command
  10. 12:27 Debug encrypt: 1 : /^ACTION -efnet #af-test +OK UPLLQ0mof6J1
  11. 12:27 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a56ea8)
  12. 12:27 Debug encrypt: 3 :
  13.  
  14.  
  15. posting /me in a query, got the key by /blowkeyx cbc <user>
  16.  
  17.  
  18. 12:29 Debug encrypt: 0 : send_command
  19. 12:29 Debug encrypt: 1 : /me test
  20. 12:29 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a56d98)
  21. 12:29 Debug encrypt: 3 : Irssi::Irc::Query=HASH(0x9a5c318)
  22. 12:29 ME: nickname | test
  23. 12:29 Debug encrypt: 0 : send_command
  24. 12:29 Debug encrypt: 1 : /^ACTION -efnet nickname +OK *RzA1SnVhOUYOQLYwXXrZxg==
  25. 12:29 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a5bb28)
  26. 12:29 Debug encrypt: 3 :
  27.  
  28.  
  29. getting and decrypting the /me test in a channel [this works, it decrypts the /me fine]
  30.  
  31.  
  32. 12:31 DEBUG decrypt: 0 : message_action
  33. 12:31 DEBUG decrypt: 1 : Irssi::Irc::Server=HASH(0x9a57328)
  34. 12:31 DEBUG decrypt: 2 : +OK UPLLQ0mof6J1
  35. 12:31 DEBUG decrypt: 3 : nickname
  36. 12:31 DEBUG decrypt: 4 : user@hostname
  37. 12:31 DEBUG decrypt: 5 : #af-test
  38.  
  39. gettting the /me test in a query [this doesn't work]
  40.  
  41. 12:32 DEBUG decrypt: 0 : message_action
  42. 12:32 DEBUG decrypt: 1 : Irssi::Irc::Server=HASH(0x96809f8)
  43. 12:32 DEBUG decrypt: 2 : +OK *M3M0UjFOb0XTujmGhW8B8Q==
  44. 12:32 DEBUG decrypt: 3 : nickname (the sender)
  45. 12:32 DEBUG decrypt: 4 : user@hostname
  46. 12:32 DEBUG decrypt: 5 : nickname2 (the reciever)
  47.  
  48. this is what it looks like
  49.  
  50. 12:32  * nickname +OK *M3M0UjFOb0XTujmGhW8B8Q==
  51.  
  52.  
  53. If I manually set a key for nickname and nickname2 to 12345 I get this [just to make sure it's not the keyex thats causing it.]
  54.  
  55.  
  56. 12:38 Debug encrypt: 1 : /me test
  57. 12:38 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9680c88)
  58. 12:38 Debug encrypt: 3 : Irssi::Irc::Query=HASH(0x9a5c008)
  59. 12:38 ME: nickname | test
  60. 12:38 Debug encrypt: 0 : send_command
  61. 12:38 Debug encrypt: 1 : /^ACTION -efnet nickname +OK UPLLQ0mof6J1
  62. 12:38 Debug encrypt: 2 : Irssi::Irc::Server=HASH(0x9a5c2e8)
  63. 12:38 Debug encrypt: 3 :
  64.  
  65.  
  66. [doesn't decrypt the message]
  67.  
  68. 12:38 DEBUG decrypt: 1 : Irssi::Irc::Server=HASH(0x9a56c28)
  69. 12:38 DEBUG decrypt: 2 : +OK UPLLQ0mof6J1
  70. 12:38 DEBUG decrypt: 3 : nickname
  71. 12:38 DEBUG decrypt: 4 : user@host
  72. 12:38 DEBUG decrypt: 5 : nickname2



The second issue is that I can't get hilights to work in channels, I've tried changing the message levels the decrypted posts get sent as, changed it to MSGLEVEL_PUBLIC [rather than MSGLEVEL_CLIENTCRAP which it was default I think], and with printlevels.pl it says the level is PUBLIC when I get them. But it still doesn't hilight anything.

Looks to be the same with /ignore


12:46    8 *: ALL -regexp -pattern test

in #af-test
12:46 <nickname> test

in #af-test2 without encryption I didn't get the MSG.


Thanks again

//petka
« Last Edit: August 14, 2011, 06:17:58 AM by petka » Logged
mouser
First Author
Administrator
*****
Posts: 32,699



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: August 15, 2011, 08:46:27 AM »

Hi petka, sorry about the redmine account, that was my fault.

But your post here is great -- we like talking on the forum better anyway smiley

I'll point the blowssi author to this post since it's not something i'm familiar with, just wanted to welcome you to the site and thank you for posting.
Logged
petka
Participant
*
Posts: 2

View Profile Give some DonationCredits to this forum member
« Reply #2 on: August 23, 2011, 07:04:16 PM »

I'll point the blowssi author to this post since it's not something i'm familiar with, just wanted to welcome you to the site and thank you for posting.
Thanks, appreciate it. I've been playing around with it for a bit, but since I hardly know programming, less perl I'm not having much luck heh. =)

But one logical explanation to the hilight/ignore bug would be that irssi runs hilight/ignore before the script is able to decrypt the messages. I've been looking at this http://fish.secure.la/for...ewtopic.php?f=3&t=624 which is able to hilight and ignore encrypted channels fine, but haven't been able to figure out what's done differently in that script.

Maybe something to do with this?

http://bugs.irssi.org/ind...p;order2=id&sort2=asc

I don't know, I'm just grasping at straws here heh. Anyway cheers again.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.066s | Server load: 0.13 ]