Never mind, everything seems to be working as intended. I'm just going nuts.
You seem to be able to add any length of binary variable to a hash table item with "/hadd -b <hash table> <item> <binary variable>" command, and you can set the data from the hash table item to another binary variable with "$hget(<hash table>,<item>,<binary variable>)". In previous versions it would only set the first 4150 characters to the item.
Here's an example:
I find this "bug" to be absolutely fantastic change, but I assume it's not meant to work like this. At least I couldn't find anything about it from the change log.
EDIT:
Just to give you an example what the script prints out:
Click to reveal.. (Old post)
You seem to be able to add any length of binary variable to a hash table item with "/hadd -b <hash table> <item> <binary variable>" command, and you can set the data from the hash table item to another binary variable with "$hget(<hash table>,<item>,<binary variable>)". In previous versions it would only set the first 4150 characters to the item.
Here's an example:
Code:
alias binaryhashtest { bread versions.txt 0 $file(versions.txt).size &input echo -at * Read $bvar(&input,0) characters to &input hfree -w test hmake test hadd -b test item &input echo -at * item appears to be $len($hget(test,item)) characters long echo -at * Got $hget(test,item,&output) characters from item and set it to &output hfree -w test editbox -a Echoing &output binary variable's content (Press CTRL+Break to stop) var %x = 1 while ($bfind(&output,%x,$crlf).text) { echo -at * $bvar(&output,%x,$calc($v1 -%x)).text | var %x = $v1 + 4 } editbox -a }
I find this "bug" to be absolutely fantastic change, but I assume it's not meant to work like this. At least I couldn't find anything about it from the change log.
EDIT:
Just to give you an example what the script prints out:
Quote:
21:51:30 * Read 621448 characters to &input
21:51:30 * item appears to be 4150 characters long
21:51:30 * Got 621448 characters from item and set it to &output
21:51:30 * 01/08/2016 - mIRC v7.46
21:51:30 * Changes:
21:51:30 * Updated to OpenSSL 1.0.2h library.
21:51:30 * Fixed /timer -h high resolution timer which was being limited to the
21:51:30 * same rate as the -m millisecond timer.
21:51:30 * Added $samepath(path1,path2) identifier that returns $true/$false
21:51:30 * if paths refer to the same file/dir. It resolves relative paths and
21:51:30 * converts long/short filenames.
21:51:30 * Added /copy -f switch to flush copy to disk immediately.
21:51:30 * Added /rename -f switch to flush rename to disk immediately and -o
and so on
21:51:30 * item appears to be 4150 characters long
21:51:30 * Got 621448 characters from item and set it to &output
21:51:30 * 01/08/2016 - mIRC v7.46
21:51:30 * Changes:
21:51:30 * Updated to OpenSSL 1.0.2h library.
21:51:30 * Fixed /timer -h high resolution timer which was being limited to the
21:51:30 * same rate as the -m millisecond timer.
21:51:30 * Added $samepath(path1,path2) identifier that returns $true/$false
21:51:30 * if paths refer to the same file/dir. It resolves relative paths and
21:51:30 * converts long/short filenames.
21:51:30 * Added /copy -f switch to flush copy to disk immediately.
21:51:30 * Added /rename -f switch to flush rename to disk immediately and -o
and so on