Difference between revisions of "Limits"
From Scriptwiki
m (Category) |
m (Tested the stored password limit, removed tested notice and added version test number.) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | This page explains various limits imposed by mIRC version 7.19, however this may not be a complete list. The length is measured in bytes (equivalent to ASCII characters, including spaces.) | |
− | |||
− | This page explains various limits imposed by mIRC, however this may not be a complete list. The length is measured in bytes (equivalent to ASCII characters, including spaces.) | ||
You can find the original limits page [http://www.xise.nl/mirc/wiki/doku.php?id=limits here.] | You can find the original limits page [http://www.xise.nl/mirc/wiki/doku.php?id=limits here.] | ||
Line 8: | Line 6: | ||
<table border=2 rules=all cellpadding=4 style=text-align:center><tr> | <table border=2 rules=all cellpadding=4 style=text-align:center><tr> | ||
<td>'''Name'''</td><td>'''Length'''</td><td>'''When exceeded'''</td><td>'''Description'''</td></tr><tr> | <td>'''Name'''</td><td>'''Length'''</td><td>'''When exceeded'''</td><td>'''Description'''</td></tr><tr> | ||
− | <td colspan=0>'''Global limits | + | <td colspan=0>'''Global limits'''</td></tr><tr> |
<td>'''Line Length Limit'''<br>(''LLL'')</td><td>4150</td><td>Truncated or error<td style=text-align:left>To be precise: 4150 for evaluation results, 4151 for command lines (excluding command prefixes.)</td></tr><tr> | <td>'''Line Length Limit'''<br>(''LLL'')</td><td>4150</td><td>Truncated or error<td style=text-align:left>To be precise: 4150 for evaluation results, 4151 for command lines (excluding command prefixes.)</td></tr><tr> | ||
− | <td>'''Variables'''<br>(local or global)</td><td>4150</td><td> | + | <td>'''Variables'''<br>(local or global)</td><td>4150</td><td>Truncated</td><td style=text-align:left>This limit includes the variable's name. Example: using "%a" as a name uses 3 bytes (2 for the name and 1 for a space.)<br>This means that for every extra character in the variable name, the maximum length of the value is reduced.<br>'''Note:''' the /set command further reduces the length limit to 4144 due to the 4 characters used by "set ". (LLL)</td></tr><tr> |
− | <td colspan=0>'''IRC server | + | <td>'''Calculations'''</td><td>'''Max value:'''<br>9007199254740992</td><td>Inaccurate</td><td style=text-align:left>Calculations past this number will generally be incorrect. Only the first 15 numbers of the result will be accurately calculated.</td></tr><tr> |
− | <td>'''Incoming lines'''</td><td> | + | <td colspan=0>'''IRC server related'''</td></tr><tr> |
− | <td>'''Outgoing lines'''</td><td>LLL</td><td>Truncated</td><td style=text-align:left | + | <td>'''Incoming lines'''</td><td>511</td><td>Ignored</td><td style=text-align:left>Excludes CR/LF.</td></tr><tr> |
− | <td>'''Joined channel names'''</td><td> | + | <td>'''Outgoing lines'''</td><td>LLL</td><td>Truncated</td><td style=text-align:left></td></tr><tr> |
− | <td>'''Channel keys'''</td><td>256</td><td>Truncated</td><td style=text-align:left>< | + | <td>'''Joined channel names'''</td><td>256</td><td>Parted immediately</td><td style=text-align:left>Includes channel prefix.</td></tr><tr> |
− | <td>''' | + | <td>'''Channel keys'''</td><td>256</td><td>Truncated</td><td style=text-align:left></td></tr><tr> |
− | <td>''' | + | <td>'''Addresses'''</td><td>504</td><td>Ignored.</td><td style=text-align:left>Limited by the incoming line limit.</td></tr><tr> |
− | <td>'''Server passwords'''</td><td> | + | <td>'''Nicknames'''</td><td>111</td><td>Truncated</td><td style=text-align:left></td></tr><tr> |
+ | <td>'''Server passwords (stored)'''</td><td>255</td><td>Truncated</td><td style=text-align:left>As associated with server entries</td></tr><tr> | ||
+ | <td>'''Server passwords (sent)'''</td><td>256</td><td>Truncated</td><td style=text-align:left>As associated with the /[[server]] command</td></tr><tr> | ||
<td colspan=0>'''CTCPs'''</td></tr><tr> | <td colspan=0>'''CTCPs'''</td></tr><tr> | ||
− | <td>'''Incoming PING argument'''</td><td> | + | <td>'''Incoming PING argument'''</td><td>506</td><td>Ignored</td><td style=text-align:left>Limited by incoming line limit. Leading spaces are stripped.</td></tr><tr> |
− | <td colspan=0>'''Sockets | + | <td colspan=0>'''Sockets'''</td></tr><tr> |
<td>'''Socket name'''</td><td>255</td><td>Error</td><td style=text-align:left></td></tr><tr> | <td>'''Socket name'''</td><td>255</td><td>Error</td><td style=text-align:left></td></tr><tr> | ||
<td>'''Send buffer'''</td><td>16384</td><td>Error</td><td style=text-align:left>mIRC's own buffers, not WinSock's.</td></tr><tr> | <td>'''Send buffer'''</td><td>16384</td><td>Error</td><td style=text-align:left>mIRC's own buffers, not WinSock's.</td></tr><tr> | ||
<td>'''Receive buffer'''</td><td>4096</td><td>Receipt stalls</td><td style=text-align:left>mIRC's own buffers, not WinSock's.</td></tr><tr> | <td>'''Receive buffer'''</td><td>4096</td><td>Receipt stalls</td><td style=text-align:left>mIRC's own buffers, not WinSock's.</td></tr><tr> | ||
<td>'''Socket mark'''</td><td>LLL</td><td></td><td style=text-align:left>Not 512 as the helpfile says.</td></tr><tr> | <td>'''Socket mark'''</td><td>LLL</td><td></td><td style=text-align:left>Not 512 as the helpfile says.</td></tr><tr> | ||
− | <td colspan=0>'''Hashtables | + | <td colspan=0>'''Hashtables'''</td></tr><tr> |
<td>'''Hashtable name'''</td><td>256</td><td>Truncated</td><td style=text-align:left></td></tr><tr> | <td>'''Hashtable name'''</td><td>256</td><td>Truncated</td><td style=text-align:left></td></tr><tr> | ||
<td>'''Hashtable size'''</td><td>10000</td><td>Error</td><td style=text-align:left>In number of buckets</td></tr><tr> | <td>'''Hashtable size'''</td><td>10000</td><td>Error</td><td style=text-align:left>In number of buckets</td></tr><tr> | ||
− | <td colspan=0>'''GUI | + | <td colspan=0>'''GUI'''</td></tr><tr> |
− | <td>''' | + | <td>'''Edit box'''</td><td>1024</td><td>Sent</td><td style=text-align:left>Edit box is cleared afterwards, similar to pressing Enter.</td></tr><tr> |
− | <td colspan=0>'''Dialogs | + | <td colspan=0>'''Dialogs'''</td></tr><tr> |
<td>'''Dialog name'''</td><td>256</td><td>Truncated</td><td style=text-align:left></td></tr><tr> | <td>'''Dialog name'''</td><td>256</td><td>Truncated</td><td style=text-align:left></td></tr><tr> | ||
<td>'''Input dialog text field'''</td><td>1023</td><td>Truncated</td><td style=text-align:left></td></tr><tr> | <td>'''Input dialog text field'''</td><td>1023</td><td>Truncated</td><td style=text-align:left></td></tr><tr> | ||
− | <td | + | <td>'''Edit box'''</td><td>30000</td><td>Truncated</td><td style=text-align:left></td></tr><tr> |
+ | <td colspan=0>'''Files'''</td></tr><tr> | ||
<td>'''Line of text'''</td><td>4149</td><td>Split</td><td style=text-align:left>Excluding CR/LF. Applies to all file-related commands/identifiers.</td> | <td>'''Line of text'''</td><td>4149</td><td>Split</td><td style=text-align:left>Excluding CR/LF. Applies to all file-related commands/identifiers.</td> | ||
</tr></table> | </tr></table> | ||
[[Category:mIRC]] | [[Category:mIRC]] |
Latest revision as of 19:29, 7 March 2011
This page explains various limits imposed by mIRC version 7.19, however this may not be a complete list. The length is measured in bytes (equivalent to ASCII characters, including spaces.)
You can find the original limits page here.
mIRC
Name | Length | When exceeded | Description |
Global limits | |||
Line Length Limit (LLL) | 4150 | Truncated or error | To be precise: 4150 for evaluation results, 4151 for command lines (excluding command prefixes.) |
Variables (local or global) | 4150 | Truncated | This limit includes the variable's name. Example: using "%a" as a name uses 3 bytes (2 for the name and 1 for a space.) This means that for every extra character in the variable name, the maximum length of the value is reduced. Note: the /set command further reduces the length limit to 4144 due to the 4 characters used by "set ". (LLL) |
Calculations | Max value: 9007199254740992 | Inaccurate | Calculations past this number will generally be incorrect. Only the first 15 numbers of the result will be accurately calculated. |
IRC server related | |||
Incoming lines | 511 | Ignored | Excludes CR/LF. |
Outgoing lines | LLL | Truncated | |
Joined channel names | 256 | Parted immediately | Includes channel prefix. |
Channel keys | 256 | Truncated | |
Addresses | 504 | Ignored. | Limited by the incoming line limit. |
Nicknames | 111 | Truncated | |
Server passwords (stored) | 255 | Truncated | As associated with server entries |
Server passwords (sent) | 256 | Truncated | As associated with the /server command |
CTCPs | |||
Incoming PING argument | 506 | Ignored | Limited by incoming line limit. Leading spaces are stripped. |
Sockets | |||
Socket name | 255 | Error | |
Send buffer | 16384 | Error | mIRC's own buffers, not WinSock's. |
Receive buffer | 4096 | Receipt stalls | mIRC's own buffers, not WinSock's. |
Socket mark | LLL | Not 512 as the helpfile says. | |
Hashtables | |||
Hashtable name | 256 | Truncated | |
Hashtable size | 10000 | Error | In number of buckets |
GUI | |||
Edit box | 1024 | Sent | Edit box is cleared afterwards, similar to pressing Enter. |
Dialogs | |||
Dialog name | 256 | Truncated | |
Input dialog text field | 1023 | Truncated | |
Edit box | 30000 | Truncated | |
Files | |||
Line of text | 4149 | Split | Excluding CR/LF. Applies to all file-related commands/identifiers. |