PDA

View Full Version : [REQ] Birthday plugin


Extreme_One
09-02-2008, 15:01
Here's my idea.

When you connect to the server you're presented with a menu asking if you'd like to celebrate your birthday on this server.

Three choices : "Yes" , "No" , "Maybe".

"Maybe" means you'll be asked again but not until at least 24 hours has passed.

"No" means you'll never be asked again.

"Yes" means you'll be given a message which says "Please enter your Date of Birth".

The user types their D.O.B in chat and this is stored against their Steam ID in a SQLlite database.

Now if that user is on the server on their birthday the server plays in tf_birthday 1 mode (party hats and all) and a chat message appears every 5 minutes with a message like: "Happy birthday XXX" (where XXX is the current in-game name of the player)

Maybe a plugin creator can take this idea and turn it into something workable.

Could be fun and a half-decent way of encouraging regulars to stay and play on your server.

willy1234x1
09-02-2008, 16:46
I've been working on something like this for my server, it's working a bit differently though (I'm still bug testing it) It loads up a list of names, steamid's and date's (month and day) then based on if the day is in the list it'll turn on Birthday mode for that day (all 24 hours), upon any user connection it plays one sound and if it's the Birthday person that connects it plays another (still having issues with this feature). The main difference though is that the players must be added by an admin as my plugin is meant to be a donation perk. Once I iron out the main bugs and stuff I'll release and try and add something like this.

Lord Max
09-03-2008, 08:20
Hello,

I was wondering, if your server players find the birthday plugin so good, then why don't you just run birthday mode indefinatly - or at least until willy1234x1 releases his plugin or another is found?

This is fairly simple and you may already know this so I will try to find a plugin for you tonight because I think I have seen one that does a similar job to this. I'll try and find it when I get home - I am working now.

By the way willy1234x1, I look forward to seeing your plugin, it will be a fun and refreshing plugin, good luck! I would use it on one of my hosts.

Thanks and good luck,

Lord Max

willy1234x1
09-03-2008, 08:47
Yeah, it should be out soon I just have a little less time than I liked because of school.

bl4nk
09-03-2008, 10:59
I was thinking of doing something like this, but tieing it in with my forum's user database. I think that would be the way to go, as there are many ways to express the date (dd/mm/yy, mm/dd/yy, etc), so some people could screw it up.

Extreme_One
09-03-2008, 14:48
Hello,

I was wondering, if your server players find the birthday plugin so good..

well people would soon get bored if it were run constantly.

On special occasions it'd be fun.

And @ bl4nk if the plugin explained the required date format then most people would type the correct format.

willy1234x1
09-03-2008, 16:45
I was thinking of doing something like this, but tieing it in with my forum's user database. I think that would be the way to go, as there are many ways to express the date (dd/mm/yy, mm/dd/yy, etc), so some people could screw it up.
Good point, on mine I'm currently using dd/mm only since the year is really unnecessary for the purpose of this plugin.

Extreme_One
09-04-2008, 02:23
Good point, on mine I'm currently using dd/mm only since the year is really unnecessary for the purpose of this plugin.

True although the message displayed could say:

"Happy birthday XXX, YY today!" (where XXX is the current in-game name of the player, and YY is the player's age.) :)

willy1234x1
09-04-2008, 17:39
True although the message displayed could say:

"Happy birthday XXX, YY today!" (where XXX is the current in-game name of the player, and YY is the player's age.) :)
I'll experiment with both, I think I'll comment out the part with the welcome sound for the first release since it's not working quite yet.

abelp
09-04-2008, 17:46
i run my server on birthday mode all day long and people like it. Ocassionally someone will ask " Why are we all wearing party hats ". lol

I think you're plugin might be ok.

willy1234x1
09-04-2008, 17:53
It'll add a good reason to stick around on the server.

Lord Max
09-05-2008, 02:49
It'll add a good reason to stick around on the server.

Personally, I wouldn't stick around because of a plugin. It's the people on the server and the game play of the server that matters to me.

Having said that, I would also enjoy this plugin as: Yes, it would add some fun to the game.

However, the plugin sounds like a hard one to implement. How were you planning to design it? The birthdays get placed in a database and the plugin checks for the dates?

Good luck, looking forward to it, ;)

Lord Max

octo-dhd
09-06-2008, 22:10
I would like to do something similar, but I want only the birthday person to have the party hat. So its more a 'kill the guy on his birthday' plugin =)

willy1234x1
09-06-2008, 23:24
Personally, I wouldn't stick around because of a plugin. It's the people on the server and the game play of the server that matters to me.

Having said that, I would also enjoy this plugin as: Yes, it would add some fun to the game.

However, the plugin sounds like a hard one to implement. How were you planning to design it? The birthdays get placed in a database and the plugin checks for the dates?

Good luck, looking forward to it, ;)

Lord Max
I'm thinking that release .1 will use a Key value file. As for only that person having a hat, I'd have to make a model changer rather than just turning on birthday mode.

octo-dhd
09-07-2008, 01:51
I'm thinking that release .1 will use a Key value file. As for only that person having a hat, I'd have to make a model changer rather than just turning on birthday mode.

Anyone know how to do this model changing? :) I'm still pretty new to the whole plugin writing thing. If pointed in the right direction I could do it :mrgreen:

Lord Max
09-17-2008, 08:40
I personally don't know how to do the model changing but I know willy1234x1 is quite a budding plugin writer so maybe he'd know?

I'd also like to see the birthday plugin where you can shoot and pop the balloons. Anyone seen something like this?

Thanks,

Lord Max