Raised This Month: $ Target: $400
 0% 

SM Bank Mod: MySQL


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Isias
Senior Member
Join Date: Apr 2006
Plugin ID:
167
Plugin Version:
3.0
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Bank mod for source mod, mysql based
    Old 09-16-2007 , 15:33   Re: SM Bank Mod: MySQL
    Reply With Quote #1

    Added german language support
    Attached Files
    File Type: txt plugin.smbank.txt (3.8 KB, 124 views)
    Isias is offline
    tkaway69
    Senior Member
    Join Date: Dec 2004
    Location: Millbrook Alabama
    Old 09-22-2007 , 11:24   Re: SM Bank Mod: MySQL
    Reply With Quote #2

    I need a way to disable the Bank mod for the pistole round of every map. I am sure there is a way, but I am lost.
    __________________
    tkaway69 is offline
    Send a message via AIM to tkaway69 Send a message via MSN to tkaway69 Send a message via Yahoo to tkaway69
    Nican
    Veteran Member
    Join Date: Jan 2006
    Location: NY
    Old 09-04-2007 , 14:07   Re: SM Bank Mod: MySQL
    Reply With Quote #3

    Update!
    __________________
    http://www.nican132.com
    I require reputation!
    Nican is offline
    Send a message via ICQ to Nican Send a message via MSN to Nican
    Tekniqal
    Senior Member
    Join Date: Aug 2006
    Old 09-04-2007 , 14:23   Re: SM Bank Mod: MySQL
    Reply With Quote #4

    Typos:
    Code:
        "TargetTotalLimit"
        {
            "#format"        "{1:s}{2:s}{3:s}"
            "en"            "{1}[SM Bank]{2} {3} is alredy full."
        }
    Code:
        "TargetDeposited"
        {
            "#format"        "{1:s}{2:s}{3:s}{4:s}"
            "en"            "{1}[SM Bank]{2} {3} Just posited {4} into your bank."
        }
    Code:
        "ClientTargetDeposited"
        {
            "#format"        "{1:s}{2:s}{3:s}{4:s}"
            "en"            "{1}[SM Bank]{2} You sucefully deposited {4} into {3} bank."
        }
    Also one feature I forgot to mention, a way to set a balance for admins or maybe a admin command to set someones bank. Also it would be best if you could set the amount even if that player is not in the server ie: sm_bank_set STEAM_0:0:1234 100000

    Your changes look great thanks
    __________________
    Tekniqal is offline
    Nican
    Veteran Member
    Join Date: Jan 2006
    Location: NY
    Old 09-04-2007 , 14:28   Re: SM Bank Mod: MySQL
    Reply With Quote #5

    Thank you for pointing that out... My grammar is not that good D:
    __________________
    http://www.nican132.com
    I require reputation!
    Nican is offline
    Send a message via ICQ to Nican Send a message via MSN to Nican
    Nican
    Veteran Member
    Join Date: Jan 2006
    Location: NY
    Old 09-05-2007 , 09:19   Re: SM Bank Mod: MySQL
    Reply With Quote #6

    Did you read this part:

    Requirements
    __________________
    http://www.nican132.com
    I require reputation!
    Nican is offline
    Send a message via ICQ to Nican Send a message via MSN to Nican
    bobbobagan
    SourceMod Donor
    Join Date: May 2007
    Location: New Zealand
    Old 09-05-2007 , 18:54   Re: SM Bank Mod: MySQL
    Reply With Quote #7

    yes ive already installed that. This is what 'sm plugins list' shows:

    41 <Error> "Database manager" (3.0) by Nican132
    42 <Failed> "SM Bank" (2.0) by MaTTe, edit by Nican

    And ive set the databases.cfg file up

    And ive placed the .inc in the scripting/include folder and ive put the .sp in the scripting folder.

    I found this in the logs
    Code:
    11:02:23: [SM] Plugin encountered error 25: Call was aborted
    L 09/06/2007 - 11:02:23: [SM] Native "SetFailState" reported: [MYSQLmanager] Fail state: Could not connect to mysql
    L 09/06/2007 - 11:02:23: [SM] Debug mode is not enabled for "a_mysql.smx"
    L 09/06/2007 - 11:02:23: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 41 on
    L 09/06/2007 - 11:02:23: [SM] Unable to load plugin "bank.smx": Native "DB_GetColumnId" was not found.
    __________________
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    Nican
    Veteran Member
    Join Date: Jan 2006
    Location: NY
    Old 09-05-2007 , 21:49   Re: SM Bank Mod: MySQL
    Reply With Quote #8

    This line does tell me something:
    L 09/06/2007 - 11:02:23: [SM] Native "SetFailState" reported: [MYSQLmanager] Fail state: Could not connect to mysql

    If you are not sure what MySQL is, put this in server.cfg or something:
    sm_db_config "storage-local"


    Maybe I should people differently that MySQL is not being able to connect :O
    __________________
    http://www.nican132.com
    I require reputation!
    Nican is offline
    Send a message via ICQ to Nican Send a message via MSN to Nican
    bobbobagan
    SourceMod Donor
    Join Date: May 2007
    Location: New Zealand
    Old 09-06-2007 , 05:19   Re: SM Bank Mod: MySQL
    Reply With Quote #9

    Strange... its working now.

    Anywho... Can you PLEASE make it so you can close the menus, thats so annoying not being able to close the menu, and also adding a back button? Incase you make a wrong selection.
    __________________
    bobbobagan is offline
    Send a message via Skype™ to bobbobagan
    Tekniqal
    Senior Member
    Join Date: Aug 2006
    Old 09-06-2007 , 14:26   Re: SM Bank Mod: MySQL
    Reply With Quote #10

    Also you may want to prevent withdraws during pistol round. Also a cvar to disable bank would be good so that on certain maps where people dont need to buy guys, we can prevent people from depositing free money.
    __________________
    Tekniqal is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 18:51.


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