- Jan 2, 2009
- 774
- 133
I can't seem to get this thing -
https://forums.alliedmods.net/showthread.php?t=69593
working. In fact, i can't even find where to adjust the config...and when I made my own config file and put those config things in there...nothing fabulous happened.
Interestingly, if I type the sm_help in console with the right number, sm_maprate shows up in the list of commands...but when I type sm_maprate it says it's an unknown command.
I did that part, and then i moved the smx file to the plugin place where all the other smx files were also. Then I also tried dl-ing the .sp file into the scripting folder, since I saw there was a bunch of .sp files in there.
this is the text i saved as plugin.maprate.cfg and then as maprate.cfg in the cfg/sourcemod folder
but after doing that and restarting i still got all teh unknown command whatsit.
So...if anyone has any ideas/experience to share, I'd love to see them.
https://forums.alliedmods.net/showthread.php?t=69593
working. In fact, i can't even find where to adjust the config...and when I made my own config file and put those config things in there...nothing fabulous happened.
Interestingly, if I type the sm_help in console with the right number, sm_maprate shows up in the list of commands...but when I type sm_maprate it says it's an unknown command.
Installation
* Copy maprate.smx to addons/sourcemod/scripting/
* Copy maprate.phrases.txt to addons/sourcemod/translations/
I did that part, and then i moved the smx file to the plugin place where all the other smx files were also. Then I also tried dl-ing the .sp file into the scripting folder, since I saw there was a bunch of .sp files in there.
this is the text i saved as plugin.maprate.cfg and then as maprate.cfg in the cfg/sourcemod folder
// ConVars for plugin "maprate"
maprate_db_config "default"
//Specifies what configuration in addons/sourcemod/configs/database.cfg to use to connect to a MySQL or SQLite DB.
maprate_allow_revote "1"
//When non-zero, this allows players to change their existing map rating (recommended). When zero, players cannot rate a map more than once.
maprate_autorate_time "180"
//When non-zero, this specifies the time to wait since the player started playing the map before automatically asking the player 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 after the player starts playing the map. The behavior of this cvar was changed in v0.10.
maprate_autorate_delay "5"
//(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.
maprate_table "map_ratings"
//(default "map_ratings")
//The name of the database table to store map ratings in. If you run multiple servers, you may want to change this for different game types or for individual servers, depending on whether you servers share databases and whether you want maprating data shared across multiple servers.
maprate_dismiss "1"
//(default "0")
//If non-zero, a "Dismiss" option will be added to the menu as option #1 (instead of "1 Star"). Changes to this cvar take effect on every map change, not instantly.
maprate_autoresults "1"
//(default "1")
//If non-zero, the graph of a map's rating are automatically displayed to a player after the player rates a map.
but after doing that and restarting i still got all teh unknown command whatsit.
So...if anyone has any ideas/experience to share, I'd love to see them.