View Single Post
Author Message
BrutalGoerge
SourceMod Donor
Join Date: Jul 2007
Old 03-24-2009 , 15:46   [TF2] Kill-Streak Tracker and Sounds 3.2 *Sql support!
Reply With Quote #1

Polish Translation + English Fixes : Zuko

Uses Colors.inc

THANKS EXVEL!!
http://forums.alliedmods.net/showthread.php?t=96831

r5053 for the n1g script, helped me a lot to understand sql and sourcemod.
DarthNinja for Fish kill fix

Versions: (full changelog in plugin source code)

3.3.2
- fix sounds to use new mp3 voice overs
- fix derpy bug that disabled sounds when they should be enabled and vise versa

3.1
- add convar to disable sound

3.0
- add sql support
- recode crap
3.1
- add clientpref support to allow clients to disable sounds and hint messages
- add enable/disable convar
- add convar to control how many players need to be connected before it will record scores to the database
3.2
- add convar to decide whether or not to count bots in deciding how many people are playing
3.2.1
- fix database resetting
- fix say command doing stuff when console uses it
3.3.0
- Moved DarthNinja's fish kill fix to the main post
- Disable particle attachment to spies

SQL Support

[IMG]http://img16.**************/img16/201/omnomnomu.th.jpg[/IMG]
Keep track of who has achieved the highest streak

The plugin will search for a database config called "orgasm" for mysql and multiple servers, if not, then it will try to use a sqlite database for local storage.

The plugin should work fine if the database convar is disabled.

If the database convar is enabled, and it cannot connect to a database, then it will enter fail-state.

say StreakTop or TopStreak to display to the top menu.

clients are deleted after a set amount of days (def 15)

ROOT COMMAND sm_orgasm_reset resets the database.

Description:
Kinda like a simple TF2 style quake sounds.
- players first blood sound to all
- plays sounds to client on certain intervals

Kill streaks reset on death and spawn.

Databases.cfg entry (for global streak tracking)... no configuration required for local storage
Code:
    "orgasm"
    {
        "driver"            "mysql"
        "host"                "<< my address >>"
        "database"            "<< my database name>>"
        "user"                "<< my user name>>"
        "pass"                "<< my password>>"
        //"timeout"            "0"
        "port"            "3306"
    }
plans:
- make a better menu
- add some kind of reward
- add preference so people can choose whether or not to have the sounds play to them
Attached Files
File Type: txt orgasm.phrases.txt (4.2 KB, 2993 views)
File Type: sp Get Plugin or Get Source (orgasm.sp - 329 views - 30.7 KB)
File Type: smx orgasm.smx (23.3 KB, 594 views)
__________________
My Pluggies If you like, consider to me.

Last edited by BrutalGoerge; 03-12-2015 at 23:55.
BrutalGoerge is offline