[committed] Emote Timer Patch !

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

[committed] Emote Timer Patch !

Postby geshi » Sat Jul 31, 2010 11:58 am

http://www.camelotherald.com/article.php?id=450 " - A three second timer has been added to the use of emotes. This affects the use of the �/emote� command and emotes with specific commands (like �dance� or �rude�.)"

Here is the patch for emotes.cs

Have fun not getting spammed by emotes :D
Attachments
emoteTimer.patch
(1.42 KiB) Downloaded 6 times
geshi
Contributor
 
Posts: 1823
Joined: Tue Oct 21, 2008 9:16 pm

Re: Emote Timer Patch !

Postby Tolakram » Sat Jul 31, 2010 12:42 pm

:mrgreen:


*** Chat Log Opened: Sat Jul 31 08:40:17 2010

[08:40:17] To stop logging, type /chatlog again.
[08:40:20] You begin dancing!
[08:40:21] Looks like somebody had too much caffeine today.
[08:40:25] You begin dancing!
[08:40:26] Whoah! Slow down there. Take a few moments, calm down and collect your thoughts.
[08:40:28] You begin dancing!
[08:40:29] Be careful or your face will stay that way.
[08:40:32] You begin dancing!
[08:40:33] Be careful or your face will stay that way.
[08:40:36] You begin dancing!
[08:40:36] Whoah! Slow down there. Take a few moments, calm down and collect your thoughts.
[08:40:39] You begin dancing!
[08:40:40] Whoah! Slow down there. Take a few moments, calm down and collect your thoughts.
[08:40:43] You begin dancing!
[08:40:43] Be careful or your face will stay that way.
[08:40:46] You begin dancing!
[08:40:47] Whoah! Slow down there. Take a few moments, calm down and collect your thoughts.
[08:40:51] You begin dancing!
[08:40:51] Looks like somebody had too much caffeine today.
[08:40:54] You begin dancing!
[08:40:55] Be careful or your face will stay that way.
[08:40:57] You begin dancing!
[08:40:58] Looks like somebody had too much caffeine today.
[08:41:00] Whoah! Slow down there. Take a few moments, calm down and collect your thoughts.
[08:41:01] You begin dancing!
[08:41:02] Looks like somebody had too much caffeine today.
[08:41:02] Looks like somebody had too much caffeine today.
[08:41:03] Whoah! Slow down there. Take a few moments, calm down and collect your thoughts.
[08:41:05] You begin dancing!
[08:41:06] Whoah! Slow down there. Take a few moments, calm down and collect your thoughts.
[08:41:07] Looks like somebody had too much caffeine today.
[08:41:08] Be careful or your face will stay that way.
[08:41:08] Whoah! Slow down there. Take a few moments, calm down and collect your thoughts.
[08:41:09] You begin dancing!
[08:41:09] Whoah! Slow down there. Take a few moments, calm down and collect your thoughts.
[08:41:10] Slow down, you type too fast, you got to make the moment last.
[08:41:10] Be careful or your face will stay that way.
[08:41:11] Looks like somebody had too much caffeine today.
[08:41:11] Looks like somebody had too much caffeine today.
[08:41:12] Slow down, you type too fast, you got to make the moment last.
[08:41:12] You begin dancing!
[08:41:13] Looks like somebody had too much caffeine today.
[08:41:22] You sit down. Type '/stand' or move to stand up.
[08:41:22] You will quit after sitting for 20 seconds. Type '/stand' or move if you don't want to quit.
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 8999
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: Emote Timer Patch !

Postby geshi » Sat Jul 31, 2010 12:59 pm

Ok so should I change it to a random message out of those three?
geshi
Contributor
 
Posts: 1823
Joined: Tue Oct 21, 2008 9:16 pm

Re: Emote Timer Patch !

Postby Graveen » Sat Jul 31, 2010 1:00 pm

geshi can you do a SP for this ? in the "system" category.

If you can do this now i'll include in the new release i'm compiling atm
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12017
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Emote Timer Patch !

Postby Tolakram » Sat Jul 31, 2010 1:01 pm

4.

Slow down, you type too fast, you got to make the moment last.

Feelin groovy....

I like the server property idea.
- Mark
User avatar
Tolakram
Storm / Storm-D2 Admin
 
Posts: 8999
Joined: Tue Jun 13, 2006 1:49 am
Location: Kentucky, USA

Re: Emote Timer Patch !

Postby geshi » Sat Jul 31, 2010 1:09 pm

Ok can someone confirm these are all the messages? :mrgreen:
Code: Select all
Looks like somebody had too much caffeine today.
Whoah! Slow down there. Take a few moments, calm down and collect your thoughts.
Be careful or your face will stay that way.
Slow down, you type too fast, you got to make the moment last.


The SP will be for the Emote Recast right? or the messages? or both?
geshi
Contributor
 
Posts: 1823
Joined: Tue Oct 21, 2008 9:16 pm

Re: Emote Timer Patch !

Postby Graveen » Sat Jul 31, 2010 1:13 pm

The emote recast time. For the messages, use LangMgr translation facilities, please, to allow a quick change and randomize them.
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12017
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Emote Timer Patch !

Postby geshi » Sat Jul 31, 2010 2:14 pm

Ok here it is with live-like messages (thx Tola) and added a Server Property for the delay :)
Attachments
emotes.patch
(4.23 KiB) Downloaded 6 times
geshi
Contributor
 
Posts: 1823
Joined: Tue Oct 21, 2008 9:16 pm

Re: Emote Timer Patch !

Postby Graveen » Sat Jul 31, 2010 2:49 pm

yay Geshi, terrible. I'll change a bit the code, but all is allright.
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12017
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Emote Timer Patch !

Postby geshi » Sat Jul 31, 2010 2:51 pm

what's terrible? I want to learn please :idea:
geshi
Contributor
 
Posts: 1823
Joined: Tue Oct 21, 2008 9:16 pm

Re: Emote Timer Patch !

Postby Graveen » Sat Jul 31, 2010 3:48 pm

terrible = 'good' in this case. This was exactly what i expected, and fast correction. i don't need more!
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12017
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Emote Timer Patch !

Postby geshi » Sat Jul 31, 2010 3:49 pm

Oh ok :D ok nice :mrgreen:
geshi
Contributor
 
Posts: 1823
Joined: Tue Oct 21, 2008 9:16 pm

Re: Emote Timer Patch !

Postby Tinantiol » Sat Jul 31, 2010 8:17 pm

Graveen wrote:terrible = 'good' in this case. This was exactly what i expected, and fast correction. i don't need more!

double post! :p
Drydruid Druid 10l4 (Deira off)
Driwyth Shadowblade 9l6 (Deira Off)
Dryinfiwyth Infiltrator 5l6 (Deira off)

Drywyth Cleric 11l7 (Eden)
Dryywyth Druid 11l7 (Eden)
Dryywyyth Bard 11l7 (Eden)
Dryywyith Shaman 11l7 (Eden)
http://genesis-daoc.forums-free.com/
User avatar
Tinantiol
DOL Devotee
 
Posts: 379
Joined: Sat May 09, 2009 10:33 am
Location: Gaeta, Italy

Re: Emote Timer Patch !

Postby Graveen » Sat Jul 31, 2010 8:25 pm

double what ? :mrgreen:
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12017
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Emote Timer Patch !

Postby Tinantiol » Sun Aug 01, 2010 6:01 pm

Graveen wrote:double what ? :mrgreen:

cheater! :confused:
Drydruid Druid 10l4 (Deira off)
Driwyth Shadowblade 9l6 (Deira Off)
Dryinfiwyth Infiltrator 5l6 (Deira off)

Drywyth Cleric 11l7 (Eden)
Dryywyth Druid 11l7 (Eden)
Dryywyyth Bard 11l7 (Eden)
Dryywyith Shaman 11l7 (Eden)
http://genesis-daoc.forums-free.com/
User avatar
Tinantiol
DOL Devotee
 
Posts: 379
Joined: Sat May 09, 2009 10:33 am
Location: Gaeta, Italy


Return to DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest

cron