Difference between revisions of "Message Spam"

407 bytes added ,  09:17, 17 November 2012
Updated information on OBSE spamless functions
imported>Haama
(Moved best method up top, some info)
imported>QQuix
(Updated information on OBSE spamless functions)
 
(2 intermediate revisions by 2 users not shown)
Line 13: Line 13:


===Message Queue Overloading===
===Message Queue Overloading===
Simplest technique is to overload the message queue by sending the exact same message twice in a row. I.e.
Simplest technique is to overload the message queue by sending the exact same message twice in a row <i>before</i> the offending add or remove line, <i>i.e.</i>
<pre>;--No messages.
<pre>;--No messages.
message " "
message " "
message " "
message " "
addItem myItem, 1


;--OR... Covering message...
;--OR... Covering message...
message "[You've been pickpocketed!]"
message "[You've been pickpocketed!]"
message "[You've been pickpocketed!]"</pre>
message "[You've been pickpocketed!]"
addItem myItem, 1</pre>


There's no obvious reason why this does or should work, but it does. :shrug: The message that is sent (including a blank message) will still display for the usual time, but messages that would ordinarily appear after it seem to be discarded -- i.e. they never enter the queue.
There's no obvious reason why this does or should work, but it does. :shrug: The message that is sent (including a blank message) will still display for the usual time, but messages that would ordinarily appear after it seem to be discarded -- i.e. they never enter the queue.


'''Con:''' The downside of this approach is that it may block more messages than you want to block. It basically nukes the queue for a second or two -- any message sent by any script or action during that period will be lost.
'''Con:''' The downside of this approach is that it may block more messages than you want to block. It basically nukes the queue for a second or two -- any message sent by any script or action during that period will be lost.
'''Con:''' Some UI mods add an Oblivion icon for all messages. This icon will still appear for the duration of the message - defeating the purpose of the blank message.


===OBSE Commands===
===OBSE Commands===
OBSE 0015 now provides spam free versions of functions that don't generate messages.
OBSE provides the following spam free versions as alternatives for vanilla functions that generate spam messages and sound:
*[[AddItemNS]]
 
*[[RemoveItemNS]]
 
These two functions do not span messages when adding and removing spells:
*[[AddSpellNS]]
*[[RemoveSpellNS]]
 
 
These two functions do not span messages when equipping and unequipping:
*[[EquipItemNS]]
*[[EquipItemNS]]
*[[UnequipItemNS]]
*[[UnequipItemNS]]
*[[AddSpellNS]]
*[[RemoveSpellNS]]


'''Con:''' Requires that user have OBSE v0.15 or higher installed.


'''Con:''' The sound generated by the CS versions of these functions is also generated by these functions.
These functions do not span messages and do not generate the corresponding sound:
*[[AddItemNS]]
*[[RemoveItemNS]]
*[[EquipItemSilent]]
*[[UnequipItemSilent]]
 
 
 


===Item Activate===
===Item Activate===
Anonymous user