Raised This Month: $ Target: $400
 0% 

Map Rate v0.10 (6/30)


Post New Thread Reply   
 
Thread Tools Display Modes
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 05-24-2008 , 08:32   Re: Map Rate v0.8 (5/22)
Reply With Quote #71

I updated the first post with a fix for the error you reported.

Last edited by FLOOR_MASTER; 05-24-2008 at 08:36.
FLOOR_MASTER is offline
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 05-24-2008 , 11:15   Re: Map Rate v0.8 (5/22)
Reply With Quote #72

Quote:
Originally Posted by FLOOR_MASTER View Post
Matt, thanks for the error report - it's due to players disconnecting immediately after they die. I'll fix this and make adding a "No Vote" option a priority.
heya,

Many thanks

Its a totally kool addition to our servers, even with lots of 'nub cakes', oh wait they were there already :-)

Matt
__________________
MoggieX is offline
Send a message via Skype™ to MoggieX
Stinkyfax
BANNED
Join Date: Aug 2007
Old 05-24-2008 , 12:41   Re: Map Rate v0.9 (5/24)
Reply With Quote #73

btw why not making DBs create automatically? it's a pain for those who are noobs in mysql
Stinkyfax is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 05-24-2008 , 15:36   Re: Map Rate v0.9 (5/24)
Reply With Quote #74

The DBs are definitely created automatically. If using MySQL, make sure the user specified in your DB config has CREATE privileges on the database specified.
FLOOR_MASTER is offline
Stinkyfax
BANNED
Join Date: Aug 2007
Old 05-25-2008 , 07:19   Re: Map Rate v0.9 (5/24)
Reply With Quote #75

Quote:
Originally Posted by FLOOR_MASTER View Post
The DBs are definitely created automatically. If using MySQL, make sure the user specified in your DB config has CREATE privileges on the database specified.
strange. I use root for SM plugins and it kept giving me errors before making DBs manually.
Stinkyfax is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 05-26-2008 , 05:55   Re: Map Rate v0.9 (5/24)
Reply With Quote #76

I made a small update to the maprate.php code and added a few notes underneath it on how to use some of the new options.
FLOOR_MASTER is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 05-29-2008 , 08:36   Re: Map Rate v0.9 (5/24)
Reply With Quote #77

Hi @ all,
i will add this plugin to the Sourcemod Webadmin.
But... how can i calculate this string?



--
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 08-25-2008 at 16:00.
HSFighter is offline
Send a message via ICQ to HSFighter
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 05-29-2008 , 09:12   Re: Map Rate v0.9 (5/24)
Reply With Quote #78

You can look at the method I used in the PHP or it can also be accomplished directly with a simple query:
Code:
SELECT map, AVG(rating) AS avg_rating, COUNT(*) AS num_ratings FROM map_ratings GROUP BY map ORDER BY map;
Sample output...

Code:
+---------------------+------------+-------------+
| map                 | avg_rating | num_ratings |
+---------------------+------------+-------------+
| avanti_b1           |     4.0000 |           2 |
| balls_volleyballv2  |     2.0000 |           2 |
| billiards_b5        |     2.6591 |          44 |
| ccp_circlejerk_rc1  |     2.3023 |          43 |
| cp_2bridge          |     1.5000 |           8 |
| cp_Airport_Hall     |     1.0000 |           1 |
| cp_aqua             |     2.3333 |          21 |
...
FLOOR_MASTER is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 05-29-2008 , 14:14   Re: Map Rate v0.9 (5/24)
Reply With Quote #79

Thx
__________________



Sorry for my very bad english
Greetings HSFighter
HSFighter is offline
Send a message via ICQ to HSFighter
StevenT
Member
Join Date: Dec 2007
Old 06-01-2008 , 19:35   Re: Map Rate v0.9 (5/24)
Reply With Quote #80

  • maprate_autorate_time (default "0")
    • When non-zero, this specifies the time to wait since the start of the map before automatically asking players to rate the map when they die (and only if they haven't rated the map before). For example, if maprate_autorate_time is 180, the plugin will start asking players who die to rate the map 3 minutes into the map
  • maprate_autorate_delay (default "5")
    • When maprate_autorate_time is enabled, Map Rate will wait maprate_autorate_delay seconds after a player dies before asking them to rate the map. This is useful if you have another plugin that displays information to a player when they die (e.g. stats) that could interfere with Map Rate.
those 2 above here are not working for me.
everything else works just fine, no error log either.
The commands are known by the server console. But they dont do what it says. When I die , i dont get any voting option.
But voting can be done by saying !maprate or forced by admin.

But i'd like it if it pops up automaticaly when map ends or when people join in or like stated above. Otherwise not everybody would rate bcuz they are too lazy.

and thx for the nice plugin

oh and im running the mod Empires
StevenT 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 08:34.


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