AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Player's birthday. (https://forums.alliedmods.net/showthread.php?t=113784)

Groger 03-07-2011 17:07

Re: Player's birthday.
 
After a quick look in the sourcecode I could see this plugin automaticly creates the tables if they dont exist, so maybe you should create a link inside database.txt in your config folders..

Maybe someone can clarify

[PL]Luki 03-07-2011 17:32

Re: Player's birthday.
 
Plugin connects to the default database (it should be MySQL) and automatically creates the table if it doesn't exists.

bzellinger 03-07-2011 23:51

Re: Player's birthday.
 
I'm a MySql noob. What is the name of the database? I'll create the database if I knew the name. Thanks.

rautamiekka 03-08-2011 06:51

Re: Player's birthday.
 
Bunch of errors:
Code:

L 03/08/2011 - 04:59:53: [SM] Native "SQL_FetchInt" reported: Current result set has no fetched rows
L 03/08/2011 - 04:59:53: [SM] Displaying call stack trace for plugin "birthday.smx":
L 03/08/2011 - 04:59:53: [SM]  [0]  Line 106, birthday.sp::CheckBirthday()
L 03/08/2011 - 04:59:53: [SM]  [1]  Line 72, birthday.sp::OnClientPostAdminCheck()
L 03/08/2011 - 04:59:53: [SM] Native "SQL_FetchInt" reported: Current result set has no fetched rows
L 03/08/2011 - 04:59:53: [SM] Displaying call stack trace for plugin "birthday.smx":
L 03/08/2011 - 04:59:53: [SM]  [0]  Line 106, birthday.sp::CheckBirthday()
L 03/08/2011 - 04:59:53: [SM]  [1]  Line 83, birthday.sp::OnPlayerSpawn()


rautamiekka 03-08-2011 06:53

Re: Player's birthday.
 
Quote:

Originally Posted by bzellinger (Post 1429605)
I'm a MySql noob. What is the name of the database? I'll create the database if I knew the name. Thanks.

Quote:

Originally Posted by [PL]Luki (Post 1429511)
Plugin connects to the default database (it should be MySQL) and automatically creates the table if it doesn't exists.

Plugins always connect to the default unless mentioned else.

Datenkralle 03-08-2011 13:38

Re: Player's birthday.
 
Quote:

Originally Posted by [PL]Luki (Post 1429511)
Plugin connects to the default database (it should be MySQL) and automatically creates the table if it doesn't exists.

Thanks.

bzellinger 03-08-2011 18:09

Re: Player's birthday.
 
I'm getting the same errors as above. Using MySQL Workbench, I see no new tables added to the MySQL database.

rautamiekka 12-05-2011 08:23

Re: Player's birthday.
 
Feature request: don't print the announcement if the receiver has already set his. Of course that requires the Plugin to send the announcement individually instead of by global broadcast.

Dr. McKay 12-05-2011 08:44

Re: Player's birthday.
 
Quote:

Originally Posted by asherkin (Post 1062190)
Isn't it possible using SM's built-in overrides system?

^ This. Please don't create an admin flag cvar when there's a perfectly good admin_overrides.cfg file.

Also, why not give SQLite instructions also? It's not too hard, and easier than MySQL.

Powerlord 12-05-2011 12:57

Re: Player's birthday.
 
Since this plugin was bumped back to the first page, some fun things to do with configs/birthday.txt in TF2 are:

  1. Set tf_birthday to 1 (make sure server.cfg has tf_birthday 0 or else it'll never go away). This spawns the birthday beach ball in BLU spawn, puts party hats on all players heads, and changes gibs to presents.
  2. Install [TF2] Force Holidays and set tfh_birthday to 1 (make sure server.cfg has tfh_birthday 0 or else it'll never go away). This spawns the birthday beach ball in BLU spawn, changes medkits and ammo boxes to their birthday models, and enables the use of the Birthday noisemaker.


All times are GMT -4. The time now is 11:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.