 |
 |
 |
 |
| Author |
Message |
tekproxy Distro Developer
Joined: 06 Apr 2006 Posts: 350 Location: Nederland, Texas
|
Posted: Tue Apr 18, 2006 8:28 pm Post subject: AoS Emote Sounds |
|
|
[ - What is this? - ]
This package enables players to emote sounds either by using ": <emote text>" in their clients (as with normal emoting) or with a command, which is ".e text".
The 0xAD request unicode speech packet is hooked in this package, which may not be an intelligent thing to do considiering people talk all of the time, BUT the logic is very simple so it may not present any problem at all as far as slowing the server down.
NOTICE: If you wish to remove the packet hook section of this package simply delete doSpeech.src and uopacket.cfg. You'll still have access to the emote command.
Every client on your server must have an AoS client, or a client with these sounds somehow available to them. To my knowledge AoS has these but nothing else before. There are NO CHECKS made to the client version and I have no idea what it would do to older clients... probably crash them.
Available emote commands:
ah ahha applaud blownose burp cheer clear throat cough coughbs cry fart gasp giggle groan growl hey hiccup huh kiss laugh no oh oooh oops puke scream shush sigh sneeze sniff snore spit whistle yawn yea yell
[ - Example - ]
This will cause the person saying the emote and anyone that can normally read the text to hear the cheer sound:
[ - Installation - ]
Just drop the package in, recompile and go. If you have another package that hooks the 0xAD packet (which is highly unlikely), you probably already know what you're doing enough to add this code into yours.
[ - CONTACT - ]
Feel free to contact me with any questions or comments.
E-mail: tekproxy@gmail.com
AIM: tekproxy
| Description: |
|
 Download |
| Filename: |
emote.zip |
| Filesize: |
3.48 KB |
| Downloaded: |
100 Time(s) |
Last edited by tekproxy on Fri Apr 21, 2006 12:35 pm; edited 5 times in total |
|
 |
|
|
 |
 |
|