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

Map Rate v0.10 (6/30)


Post New Thread Reply   
 
Thread Tools Display Modes
Snapcase452
Junior Member
Join Date: Mar 2007
Old 06-30-2008 , 19:25   Re: Map Rate v0.10 (6/30)
Reply With Quote #131

I have this with the most current sm

16:18:50 [maprate.smx] Error establishing database connection: [2003]: Can't connect to MySQL server on 'localhost' (10061)
16:18:50 [maprate.smx] FATAL: An error occurred while connecting to the database.
16:18:50 [SM] Plugin encountered error 25: Call was aborted
16:18:50 [SM] Native "SetFailState" reported: An error occurred while connecting to the database.
16:18:50 [SM] Debug mode is not enabled for "maprate.smx"
16:18:50 [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 21 on
Snapcase452 is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 06-30-2008 , 19:40   Re: Map Rate v0.10 (6/30)
Reply With Quote #132

I've identified a problem (thanks, BAILOPAN) involving the DB connections and will release an update shortly. Snapcase452 and disconnect81, are you using a maprate_db_config other than "default"?
FLOOR_MASTER is offline
Snapcase452
Junior Member
Join Date: Mar 2007
Old 07-01-2008 , 14:06   Re: Map Rate v0.10 (6/30)
Reply With Quote #133

No, I have it currently on default. Should I change the settings to something else?
Snapcase452 is offline
FLOOR_MASTER
Senior Member
Join Date: Mar 2008
Old 07-01-2008 , 22:59   Re: Map Rate v0.10 (6/30)
Reply With Quote #134

Hmm, if you're running with your config at "default", you wouldn't be affected by the potential problem I had in mind. Do you run any other plugins that use databases (particularly ones that use the default config too), and if so, are they working properly?
FLOOR_MASTER is offline
Snapcase452
Junior Member
Join Date: Mar 2007
Old 07-02-2008 , 03:07   Re: Map Rate v0.10 (6/30)
Reply With Quote #135

01 "Admin File Reader" (1.0.0.1946) by AlliedModders LLC
02 "Admin Help" (1.0.0.1946) by AlliedModders LLC
03 "Admin Menu" (1.0.0.1946) by AlliedModders LLC
04 "Anti-Flood" (1.0.0.1946) by AlliedModders LLC
05 "Basic Ban Commands" (1.0.0.1946) by AlliedModders LLC
06 "Basic Chat" (1.0.0.1946) by AlliedModders LLC
07 "Basic Comm Control" (1.0.0.1946) by AlliedModders LLC
08 "Basic Commands" (1.0.0.1946) by AlliedModders LLC
09 "Basic Info Triggers" (1.0.0.1946) by AlliedModders LLC
10 "Basic Votes" (1.0.0.1946) by AlliedModders LLC
11 "Fun Commands" (1.0.0.1946) by AlliedModders LLC
12 "Fun Votes" (1.0.0.1946) by AlliedModders LLC
13 "Napalm grenades" (0.4) by Peoples Army
14 "Nextmap" (1.0.0.1946) by AlliedModders LLC
15 "SlapSlay Commands" (1.0.0.1946) by AlliedModders LLC
16 "Advanced Client Redirect" (1.0) by Olly/Tobi
17 "Reserved Slots" (1.0.0.1946) by AlliedModders LLC
18 "SM Super Commands" (0.51) by pRED*
19 "SM Super Menu" (0.5) by pRED*
20 "Nuke the world!" (0.7) by V0gelz
21 <Error> "Map Rate" (0.10) by Ryan "FLOOR_MASTER" Mannion

They're all on default :/
Snapcase452 is offline
FunTF2Server
Veteran Member
Join Date: Apr 2008
Old 07-03-2008 , 03:34   Re: Map Rate v0.10 (6/30)
Reply With Quote #136

Is there any way to make this plugin not have to use a database, or use the database that is built into sourcemod?

because I don't have a web server with a mysql database or any other kind of database besides the files that are built into sourcemod. but this plugin is crucial to my game server, because I run every map out there on my server, but I don't want maps on my server that players don't like, so I want any maps wiht a poor rating to be removed.
__________________
FunTF2Server is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 07-03-2008 , 04:24   Re: Map Rate v0.10 (6/30)
Reply With Quote #137

You can.
I use the db config "Maprate" that I set up to look like this. This is all thanks to Redheadkid (I'm not going to use your damn numbers )
Just add that to your databases.cfg and then change the cvar in the .sp file to maprate.
Code:
   "maprate"
    {
        "driver"            "sqlite"
        "database"            "maprate"
    }
willy1234x1 is offline
Stinkyfax
BANNED
Join Date: Aug 2007
Old 07-03-2008 , 06:43   Re: Map Rate v0.10 (6/30)
Reply With Quote #138

Error:

L 07/03/2008 - 002:11: SourceMod error session started
L 07/03/2008 - 002:11: Info (map "de_dust2") (file "errors_20080703.log")
L 07/03/2008 - 002:11: [SM] Native "GetClientAuthString" reported: Client 5 is not connected
L 07/03/2008 - 002:11: [SM] Displaying call stack trace for plugin "maprate.smx":
L 07/03/2008 - 002:11: [SM] [0] Line 263, maprate.sp::Timer_AutoRateClient()

It's still working.
Stinkyfax is offline
FunTF2Server
Veteran Member
Join Date: Apr 2008
Old 07-03-2008 , 22:28   Re: Map Rate v0.10 (6/30)
Reply With Quote #139

Quote:
Originally Posted by willy1234x1 View Post
You can.
I use the db config "Maprate" that I set up to look like this. This is all thanks to Redheadkid (I'm not going to use your damn numbers )
Just add that to your databases.cfg and then change the cvar in the .sp file to maprate.
Code:
   "maprate"
    {
        "driver"            "sqlite"
        "database"            "maprate"
    }
ok so i add what to databses.cfg and change what cvar in the sp file?? im confused
__________________
FunTF2Server is offline
willy1234x1
Senior Member
Join Date: Jun 2008
Old 07-04-2008 , 00:21   Re: Map Rate v0.10 (6/30)
Reply With Quote #140

Change the cvar in the maprate.sp maprate_db_config from "default" to the new "maprate" database. Then restart the server entirely because you edited your databases.cfg
willy1234x1 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 18:06.


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