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

Map Rate [RELOADED]


Post New Thread Reply   
 
Thread Tools Display Modes
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 10-10-2011 , 00:32   Re: Map Rate [RELOADED]
Reply With Quote #61

Ive only been using this for a week now and I noticed when I typed !mapratings and select Sort by Rating, it sorts them by name and not the rating.

I know there is a separate choice for sorting them by name and when you select it, its ok but sort by rating lists them alphabetically instead of the numeric rating value.

Only little bug Ive seen so far.
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 10-21-2011 , 08:16   Re: Map Rate [RELOADED]
Reply With Quote #62

Since the timestamp is stored too, is it possible to show only maps in the php to show maps that have been rated in the last say 2 months or so. That way old maps that are no longer played dont show up in the rating anymore.

Unless there is a better way.
__________________
Arguing with a fool only proves there are two
snelvuur is offline
Zydu
Member
Join Date: Aug 2008
Location: Poland
Old 10-22-2011 , 05:18   Re: Map Rate [RELOADED]
Reply With Quote #63

Added polish translation.
Attached Files
File Type: txt maprate.phrases.txt (5.1 KB, 114 views)

Last edited by Zydu; 10-22-2011 at 06:32.
Zydu is offline
BBL
New Member
Join Date: Aug 2011
Location: Germany
Old 10-23-2011 , 22:18   Re: Map Rate [RELOADED]
Reply With Quote #64

how to use this plugin?
pls i need help
thx is advance
BBL is offline
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 10-23-2011 , 22:20   Re: Map Rate [RELOADED]
Reply With Quote #65

Quote:
Originally Posted by BBL View Post
how to use this plugin?
pls i need help
thx is advance
Read the first post? Maybe?
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
BBL
New Member
Join Date: Aug 2011
Location: Germany
Old 10-23-2011 , 22:24   Re: Map Rate [RELOADED]
Reply With Quote #66

maprate_db_config "maprate"

next i added

"maprate"
{
"driver" "sqlite"
"database" maprate"
}

in the databases.cfg

plugin is loaded but nothing works
sry for my english
thx
BBL is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 12-09-2011 , 14:42   Re: Map Rate [RELOADED]
Reply With Quote #67

Quote:
Originally Posted by BBL View Post
maprate_db_config "maprate"

next i added

"maprate"
{
"driver" "sqlite"
"database" maprate"
}

in the databases.cfg

plugin is loaded but nothing works
sry for my english
thx
Same thing here. Looks like not creating table?

Code:
15:28:44 [SM] Loaded plugin maprate.smx successfully.
         [MAPRATE] Using table name "map_ratings"
15:28:44 L 12/09/2011 - 13:28:48: [maprate.smx] Database configuration "maprate" does not exist
15:28:44 L 12/09/2011 - 13:28:48: [maprate.smx] FATAL: An error occurred while connecting to the database.
15:28:44 L 12/09/2011 - 13:28:48: [SM] Plugin encountered error 25: Call was aborted
15:28:44 L 12/09/2011 - 13:28:48: [SM] Native "SetFailState" reported: An error occurred while connecting to the database.
15:28:44 L 12/09/2011 - 13:28:48: [SM] Displaying call stack trace for plugin "maprate.smx":
15:28:44 L 12/09/2011 - 13:28:48: [SM]   [0]  Line 91, /home/groups/alliedmodders/forums/files/6/4/8/1/2/91396.attach::OnConfigsExecuted()
MaloModo is offline
Chefe
Senior Member
Join Date: Dec 2009
Location: Germany
Old 12-09-2011 , 16:46   Re: Map Rate [RELOADED]
Reply With Quote #68

If it isnt the typo in the file posted above you do something other wrong, works fine for me and other .... (btw, it isnt tested with sqlite)
__________________
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
MaloModo
Veteran Member
Join Date: Aug 2008
Old 12-09-2011 , 20:09   Re: Map Rate [RELOADED]
Reply With Quote #69

Quote:
Originally Posted by Chefe View Post
If it isnt the typo in the file posted above you do something other wrong, works fine for me and other .... (btw, it isnt tested with sqlite)
Yeah sorry after posting..nub forget...map change worked fine..thanks! Needed to load file.
MaloModo is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 12-29-2011 , 06:10   Re: Map Rate [RELOADED]
Reply With Quote #70

Sometimes i have a server that says "using database blabla" for maprate and then my server hangs, i only have this on servers with maprate. Could it be that there is a call in the maprating system which locks it up?

I've had this now maybe 10 times in total and usually when it happens it happens on multiple servers that use maprate, so i would think a database issue (but i assume its threaded sql query's)
__________________
Arguing with a fool only proves there are two
snelvuur 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 15:33.


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