Raised This Month: $51 Target: $400
 12% 

Map Rate v0.10 (6/30)


Post New Thread Reply   
 
Thread Tools Display Modes
godling
Junior Member
Join Date: Jun 2008
Old 06-23-2008 , 18:09   [REQ] Map Rate v0.9 (5/24)
Reply With Quote #121

[REQ]
Do we really need both !maprate and !maprating ? Could we not just use !maprate and then add a menu choice to #9 to view ratings? If maprate_allow_revote is 0, then the display becomes streamlined (let them know they can't vote) and only allows selecting #9 (ratings).
godling is offline
disconnect81
Senior Member
Join Date: Jul 2006
Location: Ottawa, ON, Canada
Old 06-28-2008 , 17:35   Re: Map Rate v0.9 (5/24)
Reply With Quote #122

Ive been seeing the following on some of my servers. Im not sure when it all started as the plugin use to work fine.

L 06/28/2008 - 17:28:48: [maprate.smx] FATAL: An error occurred while connecting to the database.
L 06/28/2008 - 17:28:48: [SM] Plugin encountered error 25: Call was aborted
L 06/28/2008 - 17:28:48: [SM] Native "SetFailState" reported: An error occurred while connecting to the database.
L 06/28/2008 - 17:28:48: [SM] Displaying call stack trace for plugin "maprate.smx":
L 06/28/2008 - 17:28:48: [SM] [0] Line 133, /home/groups/alliedmodders/forums/files/3/6/0/2/6/26913.attach::OnConfigsExecuted()

I should note that I recently upgraded my sm to 1.0.3. My database file is still accurate though, my sourcebans is working fine.
disconnect81 is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 06-30-2008 , 01:37   Re: Map Rate v0.9 (5/24)
Reply With Quote #123

disconnect81: I vaguely recall, when browsing the SM changelogs, that there were issues with OnConfigsExecuted(). Is anyone else experiencing the same after updating to SM 1.0.3?

I've updated the first post with version Map Rate v0.10. This update doesn't have every change I wanted to make, but has some of the most important additions I've been meaning to implement.

I've added the cvar maprate_dismiss (default: 0) which will add a "Dismiss" option to the menu as option #1 when voting. This will allow players to get rid of the Map Rate menu without submitting a rating. The text is specified in the translations file under "Dismiss".

The new cvar maprate_autoresults (default: 1) will control whether the nice graph of the map's ratings is automatically displayed after a player submits a rating.

The behavior of maprate_autorate_time has been changed significantly. maprate_autorate_time now specifies the time to wait after the player connects (instead of after the map begins) before starting to ask dead players to rate the map. Furthermore, after being asked the first time, the player won't be asked again (if the player decided not to rate the map) for another maprate_autorate_time seconds.

For example, if maprate_autorate_time is 180, a player won't be asked to rate the map until he's played for at least 3 minutes. After 3 minutes has passed and after the player dies, Map Rate waits maprate_autorate_delay seconds and then asks the player to rate the map, if he has not already done so. If the player selects Exit (or Dismiss) instead of a rating, the plugin will wait another 3 minutes before asking again.

Be sure to update the translations file too!
FLOOR_MASTER is offline
Thermopyle
Member
Join Date: Jun 2008
Old 06-30-2008 , 10:15   Re: Map Rate v0.10 (6/30)
Reply With Quote #124

Most excellent, Floor Master! I'll be upgrading today...
Thermopyle is offline
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 06-30-2008 , 10:46   Re: Map Rate v0.10 (6/30)
Reply With Quote #125

wooohooo!
__________________
MoggieX is offline
Send a message via Skype™ to MoggieX
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 06-30-2008 , 14:45   Re: Map Rate v0.10 (6/30)
Reply With Quote #126

Nice update. Thanks FLOOR_MASTER
__________________
Extreme_One is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-30-2008 , 15:37   Re: Map Rate v0.10 (6/30)
Reply With Quote #127

Great update I got it running it's nice.
willy1234x1 is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 06-30-2008 , 16:15   Re: Map Rate v0.10 (6/30)
Reply With Quote #128

Ok in the php file where the host is if it is defined as localhost do I put that on the gameserver's databases.cfg if they're hosted on two different IP's and servers?
willy1234x1 is offline
godling
Junior Member
Join Date: Jun 2008
Old 06-30-2008 , 17:10   REQ: sm_maprate_resetratings
Reply With Quote #129

Quote:
Originally Posted by FLOOR_MASTER View Post
[*]sm_maprate_resetratings (or !maprate_resetratings)
  • Delete ratings for the current map. Requires the admin vote flag ("k").
Would it be possible to have a similar command added that would allow you to reset or remove, a map in the database?

Something like... ???
  • sm_maprate_resetratings <mapname>
  • sm_maprate_remove <mapname>
godling is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 06-30-2008 , 18:06   Re: Map Rate v0.10 (6/30)
Reply With Quote #130

Nice Work FLOOR_MASTER

The support for this nice plugin is to 100% finish implemented in the Sourcemod-Webadmin.
It will be available in the next relase :-)
__________________



Sorry for my very bad english
Greetings HSFighter
HSFighter is offline
Send a message via ICQ to HSFighter
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 14:17.


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