Raised This Month: $ Target: $400
 0% 

Map Rate [RELOADED]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Chefe
Senior Member
Join Date: Dec 2009
Location: Germany
Plugin ID:
2487
Plugin Version:
1.2
Plugin Category:
Statistical
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    40 
    Plugin Description:
    Plugin to rate Map's, view the rating & more!
    Old 08-16-2011 , 13:01   Re: Map Rate [RELOADED]
    Reply With Quote #1

    Quote:
    Originally Posted by Steell View Post
    How about a "Rate Later" option? That way it doesn't actually rate the map if they press 1 to remove the menu, and it will present the rate menu again later at (hopefully) a better time for the player.
    Really not a bad idea (and not so difficulty to implement). This, combinated with a CarVar to set the delay for a revote, could be a good replace for the old "dismiss" ....
    __________________
    My plugin repo, you're welcome to clone/pr or report issues there: SomeGit

    OpenFastDL: openfastdl.net
    Open public shared moderated FastDL for free use
    Chefe is offline
    Cuz
    Senior Member
    Join Date: May 2007
    Location: Alaska
    Old 08-16-2011 , 20:13   Re: Map Rate [RELOADED]
    Reply With Quote #2

    Guess someone had to be the first ...

    Linux
    SM 1.3.8
    MM 1.8.8-devV

    Code:
    L 08/14/2011 - 21:37:32: Info (map "pl_barnblitz") (file "errors_20110814.log")
    L 08/14/2011 - 21:37:32: [SM] Native "GetClientAuthString" reported: Client 22 is not connected
    L 08/14/2011 - 21:37:32: [SM] Displaying call stack trace for plugin "maprate.smx":
    L 08/14/2011 - 21:37:32: [SM]   [0]  Line 194, /home/groups/alliedmodders/forums/files/6/4/8/1/2/90424.attach::Timer_AutoRateClient()
    L 08/14/2011 - 21:47:26: Error log file session closed.
    L 08/14/2011 - 23:24:38: Info (map "pl_badwater") (file "errors_20110814.log")
    L 08/14/2011 - 23:24:38: [SM] Native "GetClientAuthString" reported: Client 4 is not connected
    L 08/14/2011 - 23:24:38: [SM] Displaying call stack trace for plugin "maprate.smx":
    L 08/14/2011 - 23:24:38: [SM]   [0]  Line 194, /home/groups/alliedmodders/forums/files/6/4/8/1/2/90424.attach::Timer_AutoRateClient()
    L 08/14/2011 - 23:38:09: Error log file session closed.
    L 08/15/2011 - 23:01:24: SourceMod error session started
    L 08/15/2011 - 23:01:24: Info (map "cp_freight_final1") (file "errors_20110815.log")
    L 08/15/2011 - 23:01:24: [SM] Native "GetClientAuthString" reported: Client 20 is not connected
    L 08/15/2011 - 23:01:24: [SM] Displaying call stack trace for plugin "maprate.smx":
    L 08/15/2011 - 23:01:24: [SM]   [0]  Line 194, /home/groups/alliedmodders/forums/files/6/4/8/1/2/90424.attach::Timer_AutoRateClient()
    L 08/15/2011 - 23:01:28: [SM] Native "GetClientAuthString" reported: Client 23 is not connected
    L 08/15/2011 - 23:01:28: [SM] Displaying call stack trace for plugin "maprate.smx":
    L 08/15/2011 - 23:01:28: [SM]   [0]  Line 194, /home/groups/alliedmodders/forums/files/6/4/8/1/2/90424.attach::Timer_AutoRateClient()
    L 08/15/2011 - 23:01:40: Error log file session closed.
    Cuz is offline
    SyncMaster
    New Member
    Join Date: Jul 2011
    Old 08-17-2011 , 09:22   Re: Map Rate [RELOADED]
    Reply With Quote #3

    for me it does not work and I do not know why.

    my config

    / / This file was auto-generated by SourceMod (v1.3.
    / / ConVar for plugin "maprate.smx"


    / / If non-zero, allow a user to override his / her previous vote on a map
    / / -
    / / Default: "1"
    sm_maprate_allow_revote "1"

    / / After a player dies, wait this number of seconds before asking to rate if maprate_autorate_tie is non-zero
    / / -
    / / Default: "5"
    sm_maprate_autorate_delay "5"

    / / If non-zero, automatically asks dead to rate players map after they have played the map for this number of seconds
    / / -
    / / Default: "0"
    sm_maprate_autorate_time "0"

    / / If non-zero, the results graph will automatically be displayed when a player rates a map
    / / -
    / / Default: "1"
    sm_maprate_autoresults "1"

    / / Database Configuration for Map-to-use plugin rate
    / / -
    / / Default: "default"
    sm_maprate_db_config "ratings"

    / / If non-zero, the first voting option will be "Dismiss"
    / / -
    / / Default: "0"
    sm_maprate_dismiss "1"

    / / The name of the database table to use
    / / -
    / / Default: "map_ratings"
    sm_maprate_table "mapratings"

    / / Rate Map Revision
    / / -
    / / Default: "1.0"
    sm_maprate_version "1.0"


    no menu for me or other players I have to enter a command or the menu automatically comes what am I doing wrong? thanks for help
    SyncMaster is offline
    Chefe
    Senior Member
    Join Date: Dec 2009
    Location: Germany
    Old 08-17-2011 , 13:18   Re: Map Rate [RELOADED]
    Reply With Quote #4

    Whats about errors in the sm logs? What sm plugins list gives?
    __________________
    My plugin repo, you're welcome to clone/pr or report issues there: SomeGit

    OpenFastDL: openfastdl.net
    Open public shared moderated FastDL for free use
    Chefe is offline
    SyncMaster
    New Member
    Join Date: Jul 2011
    Old 08-17-2011 , 13:29   Re: Map Rate [RELOADED]
    Reply With Quote #5

    L 08/17/2011 - 19:223: [maprate.smx] Database configuration "ratings" does not exist
    L 08/17/2011 - 19:223: [maprate.smx] FATAL: An error occurred while connecting to the database
    SyncMaster is offline
    Vathral
    Member
    Join Date: Oct 2010
    Old 08-17-2011 , 14:36   Re: Map Rate [RELOADED]
    Reply With Quote #6

    Quote:
    Originally Posted by SyncMaster View Post
    L 08/17/2011 - 19:223: [maprate.smx] Database configuration "ratings" does not exist
    L 08/17/2011 - 19:223: [maprate.smx] FATAL: An error occurred while connecting to the database
    You don't have an sql database linked to "default" in your database.cfg file
    Vathral is offline
    Chefe
    Senior Member
    Join Date: Dec 2009
    Location: Germany
    Old 08-17-2011 , 16:11   Re: Map Rate [RELOADED]
    Reply With Quote #7

    Quote:
    Originally Posted by Vathral View Post
    You don't have an sql database linked to "default" in your database.cfg file

    Not default, he set the database manually to "ratings", so a section called "ratings" must exist in the database.cfg with a working database configuration,
    __________________
    My plugin repo, you're welcome to clone/pr or report issues there: SomeGit

    OpenFastDL: openfastdl.net
    Open public shared moderated FastDL for free use
    Chefe is offline
    HSFighter
    Veteran Member
    Join Date: Aug 2007
    Location: Flensburg - Germany
    Old 08-17-2011 , 18:23   Re: Map Rate [RELOADED]
    Reply With Quote #8

    If the MySQL database-structure is exactly the same as in the old plugin, can be used the Webadmin to show the voteresults:

    __________________



    Sorry for my very bad english
    Greetings HSFighter

    Last edited by HSFighter; 08-17-2011 at 18:25.
    HSFighter is offline
    Send a message via ICQ to HSFighter
    HSFighter
    Veteran Member
    Join Date: Aug 2007
    Location: Flensburg - Germany
    Old 08-17-2011 , 18:24   Re: Map Rate [RELOADED]
    Reply With Quote #9

    Sorry for the Doublepost!
    __________________



    Sorry for my very bad english
    Greetings HSFighter
    HSFighter is offline
    Send a message via ICQ to HSFighter
    Cuz
    Senior Member
    Join Date: May 2007
    Location: Alaska
    Old 08-17-2011 , 19:48   Re: Map Rate [RELOADED]
    Reply With Quote #10

    Quote:
    Originally Posted by HSFighter View Post
    If the MySQL database-structure is exactly the same as in the old plugin, can be used the Webadmin to show the voteresults:

    I use and love Webadmin, this plugin is working fine with it.
    Cuz 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 11:53.


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