Raised This Month: $ Target: $400
 0% 

[ANY] CallAdmin - Extended Report Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Plugin ID:
3622
Plugin Version:
0.1.8
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    426 
    Plugin Description:
    Call Admin allow players on your server to call for an admin to report cheaters / hackers / rule breakers
    Old 09-15-2013 , 08:57   Re: [ANY] CallAdmin - Extended Report Mod
    Reply With Quote #1

    We need to see your configfiles, in this case these are the following files.
    • Config from calladmin "../cfg/plugin.calladmin_mysql.cfg"
    • Config from webscript "../include/app.config.php"
    Please also check if there is are any errors in the logs.
    The current stable version logs to the calladmin.log file and to the log directory of sourcemod (the dev version logs only to calladmin.log).
    You should also take a look at our wiki.
    __________________

    Last edited by Impact123; 09-15-2013 at 08:59.
    Impact123 is offline
    Automicbomb
    AlliedModders Donor
    Join Date: Nov 2012
    Old 09-15-2013 , 09:41   Re: [ANY] CallAdmin - Extended Report Mod
    Reply With Quote #2

    Here is:
    plug.calladmin_mysql.cfg
    PHP Code:
    // This file was auto-generated by SourceMod (v1.6.0-dev+4049)
    // ConVars for plugin "calladmin_mysql.smx"


    // Entries older than given minutes will be deleted, 0 deactivates the feature
    // -
    // Default: "25"
    // Minimum: "0.000000"
    sm_calladmin_entrypruning "25"

    // Entries older than given minutes will be recognized as orphaned and will be deleted globally (serverIP and serverPort won't be checked)
    // -
    // Default: "4320"
    // Minimum: "0.000000"
    // Maximum: "0.000000"
    sm_calladmin_entrypruning_ohphaned "4320"

    // Server key to identify this server (Max. 64 allowed!)
    // -
    // Default: ""
    sm_calladmin_server_key "MYKEY"

    // Name of the CallAdmin table
    // -
    // Default: "CallAdmin"
    sm_calladmin_table_name "CallAdmin" 
    and here is app.config.php
    PHP Code:
    <?php
    /*
     *---------------------------------------------------------------
     * ACCESS SETTINGS
     *---------------------------------------------------------------
    */


    /*
    Define for each key the server keys to assign to.
    You can have a maximum of 64 different ServerKeys
    Just use like this:

    $access_keys = array
    (
        'KEY1' => array
        (
            'CSS_Server',
            'TF2_Server',
        ),
        
        'KEY2' => array
        (
            'CSGO_Server_1',
        ),
        
        'KEY3' => array
        (
            'CSGO_Server_2',
        )
    );
    */

    $access_keys = array
    (
        
    'MYKEY' => array
        (
            
    'TF2_Server',
        ),
    );




    /*
     *---------------------------------------------------------------
     * DATA SETTINGS
     *---------------------------------------------------------------
    */

    // Upper limit of entries we can fetch from the database
    $data_limit 50;

    // By default we only fetch the entries of the last hour, set to 0 to disable
    $data_from  = (time() - 3600);




    /*
     *---------------------------------------------------------------
     * DATABASE SETTINGS
     *---------------------------------------------------------------
    */
    $host              'localhost';
    $username          'user';
    $password          'pass';
    $database          'calladmin';
    $table             'CallAdmin';
    $dbport            '3306';
    // End of file
    Automicbomb is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 09-15-2013 , 14:01   Re: [ANY] CallAdmin - Extended Report Mod
    Reply With Quote #3

    The config seems to be okay, any errors in the logs?.
    __________________
    Impact123 is offline
    Automicbomb
    AlliedModders Donor
    Join Date: Nov 2012
    Old 09-15-2013 , 14:10   Re: [ANY] CallAdmin - Extended Report Mod
    Reply With Quote #4

    Quote:
    Originally Posted by Impact123 View Post
    The config seems to be okay, any errors in the logs?.
    Logs are clear and everything is OK. It auths fine but something is wrong with the database.

    The database goes as follows:
    IP: localhost
    Database: calladmin
    Table: CallAdmin

    and i still get this

    Automicbomb is offline
    winniethepooh
    SourceMod Donor
    Join Date: Sep 2012
    Old 09-15-2013 , 14:36   Re: [ANY] CallAdmin - Extended Report Mod
    Reply With Quote #5

    Quote:
    Originally Posted by Automicbomb View Post
    Logs are clear and everything is OK. It auths fine but something is wrong with the database.

    The database goes as follows:
    IP: localhost
    Database: calladmin
    Table: CallAdmin

    and i still get this

    (image snipped)

    Quote:
    Originally Posted by winniethepooh View Post
    I'm getting a DB_DELETE_FAILURE when check with notice.php?key=MyKey&from=0

    The user had all the necessary permissions on the database. Any ideas?


    Nevermind, the gameserver plugin needed to create the tables first. If you run into this make sure your CallAdmin MySQL module and database.cfg is setup properly first.

    Last edited by winniethepooh; 09-15-2013 at 23:24.
    winniethepooh is offline
    Automicbomb
    AlliedModders Donor
    Join Date: Nov 2012
    Old 09-15-2013 , 15:10   Re: [ANY] CallAdmin - Extended Report Mod
    Reply With Quote #6

    Well there was no mention about database.cfg. What should i put there?
    Automicbomb is offline
    Impact123
    Veteran Member
    Join Date: Oct 2011
    Location: Germany
    Old 09-15-2013 , 17:52   Re: [ANY] CallAdmin - Extended Report Mod
    Reply With Quote #7

    Quote:
    Originally Posted by Automicbomb View Post
    Well there was no mention about database.cfg.
    I'm sorry, i don't know why this wasn't mentioned in the wiki.

    Quote:
    Originally Posted by Automicbomb View Post
    What should i put there?
    You just have to add a simple entry like this.
    Code:
    "CallAdmin"
    {
        "driver"            "default"
        "host"              "yourhost.com"
        "database"          "CallAdmin"
        "user"              "CallAdmin"
        "pass"              ""
    }
    The plugin normally logs an error if this entry is missing.
    __________________

    Last edited by Impact123; 09-15-2013 at 17:59.
    Impact123 is offline
    jpwanabe
    Veteran Member
    Join Date: Mar 2010
    Old 09-15-2013 , 15:46   Re: [ANY] CallAdmin - Extended Report Mod
    Reply With Quote #8

    I am having a problem also. I am confused as what to put in the accesskey area. Am I supposed to put on of the keys to my servers in there? And if so, does that mean I can only use this for one of my servers at a time?




    EDIT: Never mind. I didn't know I could use an array for the server keys.
    __________________
    My Steam TF2APP
    My sig changes with each load! Refresh to see my other servers!

    Last edited by jpwanabe; 09-15-2013 at 16:38.
    jpwanabe is offline
    Automicbomb
    AlliedModders Donor
    Join Date: Nov 2012
    Old 09-15-2013 , 18:14   Re: [ANY] CallAdmin - Extended Report Mod
    Reply With Quote #9

    Hey no problem. Glad this got sorted. I wish you add this to wiki also so pepole wont askmabout this anymore ^^
    Automicbomb is offline
    SlaiderX2
    Junior Member
    Join Date: Nov 2012
    Old 09-17-2013 , 09:49   Re: [ANY] CallAdmin - Extended Report Mod
    Reply With Quote #10

    Hi there

    I have a litlle question: What i need to compile the Source for the calladmin windows client?
    I have installed wxwidgets,curl and steamworks.

    I would edit the client a little bit and setup a few new things so i must recompile the client...
    But my compiler says i need a curllib_a.lib and a steamclient.lib and dont know where i can find this files!?

    So please if anyone can help it yould be nice.

    And sorry for my bad english....
    SlaiderX2 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 12:44.


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