1

Topic: [MOD] EmoTee emoticon hack

I like the Teewars emoticons, but the emoticon menu is too slow for me so I decided to write a small hack for it. It basically maps the first 10 emoticons on numpad0 to numpad9. The remaining two emoticons still have to be done using the emoticon menu but I'll think of a better input scheme, maybe one with configurable keys or whatnot. Or the developers could think about enabling this feature in future versions wink

Usage:

Run Teewars, run EmoTee.exe. Now you can use the numpad to do emoticons. If you ever feel like it sucks during a match, open the console and type "emotee off" to disable the feature and "emotee on" to renable it. EmoTee.exe has to be run EVERY TIME you start Teewars.

Have fun.

http://rapidshare.com/files/88113437/EmoTee.rar

Note: This is a hack. I didn't invest too much time to test it. It might corrupt your config although something like that never happened to me while developing (and crashing Teewars a thousand times) it. Use on your own risk.

I don't care.

2 (edited by snowball 2008-01-31 22:25:04)

Re: [MOD] EmoTee emoticon hack

I like the idea overall (emoticons are cool and it's too bad they're underused), but... Yeah, BUT.
1. It's an .exe, so I can't use it on my system,
2. You gave no sources, so I can't compile it for my system (or check how the hack works).

But the whole idea reminds me of my usual setup of voice messages in Warsow and I like it therefore.
However, to be honest, it can be easily done by devs together in upcoming 0.5.0 - since improved console is already planned. I think commands like "bind num9 emot8" should be possible  there, allowing taunts as well (I miss the option of quickly saing "Defend the base" in CTF).

Anyway, is it just me, or the emoticon above tee's head lasts a bit too short?

Take a look at my posts with ideas:
Hammer+charge * Headshots smile * Yet Another Energy Gun * Map scrolling

3

Re: [MOD] EmoTee emoticon hack

As I said it's a hack. And (game) hacks usually don't work on more than one system as hacks tend to (ab)use the programming API the operating system offers. This one does abuse the WinAPI. Never done any game hacking on *NIX systems, sorry.

And to be honest, I'm not even sure if *NIX systems offer the same possibility to game hackers.

I agree that the emoticons are shown a bit too short.

I don't care.

4

Re: [MOD] EmoTee emoticon hack

Can you release the source so we can make a try to port it?

Would be really nice smile

Used to be very active waay back

5

Re: [MOD] EmoTee emoticon hack

Honestly, this is all-WinAPI, I can surely release the code but it's as much use as telling you what it does:

The injector uses CreateRemoteThread() to force Teewars load a DLL into its address space.
The DLL once loaded creates a new thread that constantly checks for key presses. To allow enabling/disabling it using the console I hooked config_set to call my hook function if no "=" is found in the input.
Last but not least I pointed a function pointer to a piece of code (that interestingly looks like inline'd without the source saying "inline void send_emoticon(int)") to send the specific emoticon.

All offsets I found are most probably different in the *NIX version so you'd have to reverse engineer/debug Teewars as much as I did.

You still want me to release source code? I repeat, this is all-WinAPI and you can use next to nothing for the port.

I don't care.

6

Re: [MOD] EmoTee emoticon hack

Wow, gg smile

aka oop²

7

Re: [MOD] EmoTee emoticon hack

That's pretty cool. smile

No, that is not me; it's just a figment of your imagination.

8

Re: [MOD] EmoTee emoticon hack

How can you say that if the download is down? wink

9

Re: [MOD] EmoTee emoticon hack

The theory/ idea looks cool.

No, that is not me; it's just a figment of your imagination.

10

Re: [MOD] EmoTee emoticon hack

Can you make a new link ?

11

Re: [MOD] EmoTee emoticon hack

I've got one small question: Why would anyone write a program to do this, if this is supported by teeworlds itself?

just add to your settings.cfg

bind kp0 "emote 0"
bind kp1 "emote 1"
bind kp2 "emote 2"
bind kp3 "emote 3"
bind kp4 "emote 4"
bind kp5 "emote 5"
bind kp6 "emote 6"
bind kp7 "emote 7"
bind kp8 "emote 8"
bind kp9 "emote 9"

and you are done. (Of course you can change which emote you want to have on which key wink)

Or am I getting something wrong, is there more to this program, I simply don't get it... oO.

12

Re: [MOD] EmoTee emoticon hack

can someone reupload.. ?

MertenNor

->My 24/7 servers: [NOR] Norwegian HUB <- Back Online !! big_smile
( My grammar is getting better ! smile I think.. )
-Norway

13

Re: [MOD] EmoTee emoticon hack

As ghost91 said, there is absolutely no reason for this to even exist; and this topic is ages old.

Ex-King of Teeworlds

14

Re: [MOD] EmoTee emoticon hack

Uhm if you 'hack' is simply a DLL why don'you release it? So *NIX user can just inject it, I think there are programms to do this on there system, too.

15

Re: [MOD] EmoTee emoticon hack

As the original developer has since long been banned on his or her own request I doubt that there is still a copy of this file in existence. Coupled with the fact that there is another simple solution to get the same effect as explained by ghost91 I don't see why this ancient topic needs to be bumped repeatedly. If you really need such file it might be better to request the community to recreate one in a new topic.