Raised This Month: $32 Target: $400
 8% 

[CS:GO] KZTimer (climb timer plugin)


Post New Thread Reply   
 
Thread Tools Display Modes
jonitaikaponi
Senior Member
Join Date: Nov 2014
Location: Finland
Old 06-08-2015 , 07:34   Re: [CS:GO] KZTimer Final
Reply With Quote #631

Quote:
Originally Posted by natrios View Post
Can anyone give me compile a plugin?
with these additives: https://forums.alliedmods.net/showpo...&postcount=380

For me, it pops up an error with updater
You can just comment out the lines about updater at the start of the .sp's.
jonitaikaponi is offline
cooki3_monst3r
Junior Member
Join Date: Mar 2015
Old 06-08-2015 , 07:59   Re: [CS:GO] KZTimer Final
Reply With Quote #632

I was going to say that the mapchange issue was fixed somehow after i edited some .cfg files and installed some other mapchange plugins.

But I have a new issue, I reset a player's rank to NEW and after that I recalculated the ranks and alot of players lost points. I went from rank #6 to #rank11 while some players lost 3000 points. our server has 29000 playerranks and 15000 playertimes in the database with 33 surf maps to rank from.
cooki3_monst3r is offline
FuZ!on
Senior Member
Join Date: Aug 2007
Old 06-08-2015 , 08:57   Re: [CS:GO] KZTimer Final
Reply With Quote #633

Quote:
Originally Posted by maningrey View Post
It's telling you the problem... Unable to connect to database (Configuration "kztimer" not found)

Look in sourcemod/configs/databases.cfg
The databases.cfg is the same as it was when it was working. It's the default suggested in this thread.

EDIT:

I've done a bit of testing and every time I add the lines suggested here to the databases.cfg file, the server will not start properly. I even did a reinstall of the server and SourceMod. the only plugin running, besides for default SM plugins is the kz plugin.

Here is the error log:

Code:
L 06/08/2015 - 18:53:51: SourceMod error session started
L 06/08/2015 - 18:53:51: Info (map "de_dust2") (file "errors_20150608.log")
L 06/08/2015 - 18:53:51: [SM] Plugin encountered error 25: Call was aborted
L 06/08/2015 - 18:53:51: [SM] Native "SetFailState" reported: [KZTimer] Unable to connect to database (Configuration "kztimer" not found)
L 06/08/2015 - 18:53:51: [SM] Displaying call stack trace for plugin "KZTimer.smx":
L 06/08/2015 - 18:53:51: [SM]   [0]  Line 331, kztimer/sql.sp::db_setupDatabase()
L 06/08/2015 - 18:53:51: [SM]   [1]  Line 1128, KZTimer.sp::OnPluginStart()
L 06/08/2015 - 18:54:07: Error log file session closed.
L 06/08/2015 - 18:54:08: SourceMod error session started
L 06/08/2015 - 18:54:08: Info (map "de_dust2") (file "errors_20150608.log")
L 06/08/2015 - 18:54:08: [SM] Plugin encountered error 25: Call was aborted
L 06/08/2015 - 18:54:08: [SM] Native "SetFailState" reported: [KZTimer] Unable to connect to database (Configuration "kztimer" not found)
L 06/08/2015 - 18:54:08: [SM] Displaying call stack trace for plugin "KZTimer.smx":
L 06/08/2015 - 18:54:08: [SM]   [0]  Line 331, kztimer/sql.sp::db_setupDatabase()
L 06/08/2015 - 18:54:08: [SM]   [1]  Line 1128, KZTimer.sp::OnPluginStart()
L 06/08/2015 - 18:54:49: Error log file session closed.
L 06/08/2015 - 18:54:49: SourceMod error session started
L 06/08/2015 - 18:54:49: Info (map "workshop/406053614/kz_comp_global") (file "errors_20150608.log")
L 06/08/2015 - 18:54:49: [SM] Plugin encountered error 25: Call was aborted
L 06/08/2015 - 18:54:49: [SM] Native "SetFailState" reported: [KZTimer] Unable to connect to database (Configuration "kztimer" not found)
L 06/08/2015 - 18:54:49: [SM] Displaying call stack trace for plugin "KZTimer.smx":
L 06/08/2015 - 18:54:49: [SM]   [0]  Line 331, kztimer/sql.sp::db_setupDatabase()
L 06/08/2015 - 18:54:49: [SM]   [1]  Line 1128, KZTimer.sp::OnPluginStart()
And here is my databases.cfg file:

Code:
"Databases"
{
	"driver_default"		"mysql"
	
	// When specifying "host", you may use an IP address, a hostname, or a socket file path
	
	"default"
	{
		"driver"			"default"
		"host"				"localhost"
		"database"			"sourcemod"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
	
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}

	"kztimer"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"kztimer-sqlite"
		"user"				"root"
		"pass"				""
	}
}

Last edited by FuZ!on; 06-08-2015 at 20:05.
FuZ!on is offline
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 06-09-2015 , 02:18   Re: [CS:GO] KZTimer Final
Reply With Quote #634

Quote:
Originally Posted by Timster View Post
Hey,

thanks for the awesome plugin and all the effort you put into this!

I have three problems I am not able to solve myself:


1. How can I make the speedometer be activated by default for all players from the beginning on?

2. Furthermore, how can I disable the notification at the beginning "Don't forget to hit the start button" after joining the server?

3. I've installed sm_knife and added it to the exception list - same way you posted above. When I join a map now and have chosen a team, I can't move anymore - nothing happens. Any idea what could cause that? I even did move the sm_knife.smx into disabled - same problem. Just after I deleted it from the exception list, it worked again.

Thanks a bunch!

Best,
Tim
#1 not possible
#2 kz_auto_timer 1
#3 This seems to be a bug but i never had this glitch :/

Quote:
Originally Posted by my11 View Post
Thanks abckrieger.

and how to include sm skinchooser with kztimer?
i like this plugin but kztimer blocks the menu.
"KZTimer interferes with menus of other plugins. You are able to add exceptions in addons\sourcemod\configs\kztimer\exceptions_l ist.txt for sourcemod commands which create menus (e.g. sm_knife) (Fix for sm vote commands: https://forums.alliedmods.net/showpo...&postcount=487) This example works for all plugins which need an internal fix."

Quote:
Originally Posted by shavit View Post
This may be unrelated but I'm trying to get kz_bhop_yonkoma working properly on my server with KZTimer 1.71b, after testplaying - this is the only impossible part: https://www.youtube.com/watch?v=nHCNLwP9QjY

Any idea on how can I get this to work without enabling autobhop?
have you tried to increase the value of kz_speed_cap?

Quote:
Originally Posted by nguyenbaodanh View Post
After upgrade to 1.72 My sever got Double chat bug @.@ no errors in log file . Anyone else got the same ?
You are loading KZTimer twice. Check your plugins folder!

Quote:
Originally Posted by natrios View Post
I use this https://forums.alliedmods.net/showthread.php?t=261066

When kztimer is on, players can be attached to both teams ;/ pls help!
I want this plugin to work with kztimer. If that is not possible, how to block one team in kztimer?
I guess you have to remove these 2 codes lines (not tested):
HookEvent("jointeam_failed", Event_JoinTeamFailed, EventHookMode_Pre); (KZTimer.sp, Line 1254)
CheckSpawnPoints(); (KZTimer.sp, Line 1602)

Quote:
Originally Posted by D3M0NiiCx View Post
Is there a way to stop the chat adverts that KZtimer does?
Yes, put these lines in brackets: 527-531, timer.sp

Quote:
Originally Posted by cooki3_monst3r View Post
I was going to say that the mapchange issue was fixed somehow after i edited some .cfg files and installed some other mapchange plugins.

But I have a new issue, I reset a player's rank to NEW and after that I recalculated the ranks and alot of players lost points. I went from rank #6 to #rank11 while some players lost 3000 points. our server has 29000 playerranks and 15000 playertimes in the database with 33 surf maps to rank from.
which kztimer version are you using? There was a bug with sm_resetplayertimes.. the command reseted given extra points for time improvements for all players instead of only for the given steamid. That's probably the reason.. Sry:7

Quote:
Originally Posted by FuZ!on View Post
The databases.cfg is the same as it was when it was working. It's the default suggested in this thread.

EDIT:

I've done a bit of testing and every time I add the lines suggested here to the databases.cfg file, the server will not start properly. I even did a reinstall of the server and SourceMod. the only plugin running, besides for default SM plugins is the kz plugin.

Here is the error log:

Code:
L 06/08/2015 - 18:53:51: SourceMod error session started
L 06/08/2015 - 18:53:51: Info (map "de_dust2") (file "errors_20150608.log")
L 06/08/2015 - 18:53:51: [SM] Plugin encountered error 25: Call was aborted
L 06/08/2015 - 18:53:51: [SM] Native "SetFailState" reported: [KZTimer]  Unable to connect to database (Configuration "kztimer" not found)
L 06/08/2015 - 18:53:51: [SM] Displaying call stack trace for plugin "KZTimer.smx":
L 06/08/2015 - 18:53:51: [SM]   [0]  Line 331, kztimer/sql.sp::db_setupDatabase()
L 06/08/2015 - 18:53:51: [SM]   [1]  Line 1128, KZTimer.sp::OnPluginStart()
L 06/08/2015 - 18:54:07: Error log file session closed.
L 06/08/2015 - 18:54:08: SourceMod error session started
L 06/08/2015 - 18:54:08: Info (map "de_dust2") (file "errors_20150608.log")
L 06/08/2015 - 18:54:08: [SM] Plugin encountered error 25: Call was aborted
L 06/08/2015 - 18:54:08: [SM] Native "SetFailState" reported: [KZTimer]  Unable to connect to database (Configuration "kztimer" not found)
L 06/08/2015 - 18:54:08: [SM] Displaying call stack trace for plugin "KZTimer.smx":
L 06/08/2015 - 18:54:08: [SM]   [0]  Line 331, kztimer/sql.sp::db_setupDatabase()
L 06/08/2015 - 18:54:08: [SM]   [1]  Line 1128, KZTimer.sp::OnPluginStart()
L 06/08/2015 - 18:54:49: Error log file session closed.
L 06/08/2015 - 18:54:49: SourceMod error session started
L 06/08/2015 - 18:54:49: Info (map "workshop/406053614/kz_comp_global") (file "errors_20150608.log")
L 06/08/2015 - 18:54:49: [SM] Plugin encountered error 25: Call was aborted
L 06/08/2015 - 18:54:49: [SM] Native "SetFailState" reported: [KZTimer]  Unable to connect to database (Configuration "kztimer" not found)
L 06/08/2015 - 18:54:49: [SM] Displaying call stack trace for plugin "KZTimer.smx":
L 06/08/2015 - 18:54:49: [SM]   [0]  Line 331, kztimer/sql.sp::db_setupDatabase()
L 06/08/2015 - 18:54:49: [SM]   [1]  Line 1128, KZTimer.sp::OnPluginStart()
And here is my databases.cfg file:

Code:
"Databases"
{
    "driver_default"        "mysql"
    
    // When specifying "host", you may use an IP address, a hostname, or a socket file path
    
    "default"
    {
        "driver"            "default"
        "host"                "localhost"
        "database"            "sourcemod"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }
    
    "storage-local"
    {
        "driver"            "sqlite"
        "database"            "sourcemod-local"
    }

    "clientprefs"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs-sqlite"
        "user"                "root"
        "pass"                ""
        //"timeout"            "0"
        //"port"            "0"
    }

    "kztimer"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "kztimer-sqlite"
        "user"                "root"
        "pass"                ""
    }
}
Your database.cfg looks fine. Maybe missing write permissions for sourcemod/data/sqlite!
In attachment you will find a blank sqlite database for kztimer. (sourcemod/data/sqlite)
Attached Files
File Type: zip kztimer-sqlite.zip (1.7 KB, 104 views)
abckrieger is offline
Timster
Junior Member
Join Date: Jun 2015
Old 06-09-2015 , 08:49   Re: [CS:GO] KZTimer Final
Reply With Quote #635

Quote:
Originally Posted by abckrieger View Post
#2 kz_auto_timer 1
#1 Hm, I am using the KZZones. Any workaround maybe? :/

#2 And with the standard KZTimer surf-settings and a server in competetive mode, VAC on and sv_pure 0 (but tried 1 as well), nobody did get a drop at the end of a map yet. Do I need to change something, or was everybody just "unlucky" so far?

#3 On some maps from time to time I have now a bot with the prefix "LOCALHOST". Info- and Replay-Bots are activated, but are working on other maps. How to fix that?


Thanks again,
Tim

Last edited by Timster; 06-09-2015 at 09:00.
Timster is offline
jonitaikaponi
Senior Member
Join Date: Nov 2014
Location: Finland
Old 06-09-2015 , 10:57   Re: [CS:GO] KZTimer Final
Reply With Quote #636

Quote:
Originally Posted by Timster View Post
#1 Hm, I am using the KZZones. Any workaround maybe? :/

#2 And with the standard KZTimer surf-settings and a server in competetive mode, VAC on and sv_pure 0 (but tried 1 as well), nobody did get a drop at the end of a map yet. Do I need to change something, or was everybody just "unlucky" so far?

#3 On some maps from time to time I have now a bot with the prefix "LOCALHOST". Info- and Replay-Bots are activated, but are working on other maps. How to fix that?


Thanks again,
Tim
#1 KZZones is really old, but don't even know how that would effect that workaround. If you want to use my surf plugin, which is based on KZTimer, give me a PM. If you want to give it a look, check the servers in my signature.

#2 After the latest update, drops aren't coming off of community servers, or not as much anyways.
jonitaikaponi is offline
FuZ!on
Senior Member
Join Date: Aug 2007
Old 06-09-2015 , 18:35   Re: [CS:GO] KZTimer Final
Reply With Quote #637

Quote:
Originally Posted by abckrieger View Post
Your database.cfg looks fine. Maybe missing write permissions for sourcemod/data/sqlite!
In attachment you will find a blank sqlite database for kztimer. (sourcemod/data/sqlite)
This didn't fix the problem. As you stated above, you said "database.cfg" instead of "databases.cfg" (note the S). When I use databases.cfg, the server does not even start properly and doesn't create any logs in the sourcemod log folder. It doesn't exec the server.cfg and nobody can join it. But it shows in the server menu.

When I use database.cfg, this is the error log that I get even with your blank sqlite database.

Code:
L 06/09/2015 - 17:30:26: SourceMod error session started
L 06/09/2015 - 17:30:26: Info (map "de_dust2") (file "errors_20150609.log")
L 06/09/2015 - 17:30:26: [SM] Detected parse error(s) in file "C:\servers\n00bersguild\csgo\addons\sourcemod\configs\databases.cfg"
L 06/09/2015 - 17:30:26: [SM] Line 0: Stream failed to open
L 06/09/2015 - 17:30:26: [SM] Unable to load extension "clientprefs.ext": Could not find any suitable database configs
L 06/09/2015 - 17:30:26: [SM] Unable to load plugin "clientprefs.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 06/09/2015 - 17:30:26: [SM] Plugin encountered error 25: Call was aborted
L 06/09/2015 - 17:30:26: [SM] Native "SetFailState" reported: [KZTimer] Unable to connect to database (Configuration "kztimer" not found)
L 06/09/2015 - 17:30:26: [SM] Displaying call stack trace for plugin "KZTimer.smx":
L 06/09/2015 - 17:30:26: [SM]   [0]  Line 331, kztimer/sql.sp::db_setupDatabase()
L 06/09/2015 - 17:30:26: [SM]   [1]  Line 1128, KZTimer.sp::OnPluginStart()
Thanks for your continued support.
FuZ!on is offline
e54385991
AlliedModders Donor
Join Date: Aug 2013
Old 06-10-2015 , 02:04   Re: [CS:GO] KZTimer Final
Reply With Quote #638

possible convert sqlite database to mysql?
__________________

Last edited by e54385991; 06-10-2015 at 02:05.
e54385991 is offline
Send a message via ICQ to e54385991
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 06-10-2015 , 05:35   Re: [CS:GO] KZTimer Final
Reply With Quote #639

Quote:
Originally Posted by FuZ!on View Post
This didn't fix the problem. As you stated above, you said "database.cfg" instead of "databases.cfg" (note the S). When I use databases.cfg, the server does not even start properly and doesn't create any logs in the sourcemod log folder. It doesn't exec the server.cfg and nobody can join it. But it shows in the server menu.

When I use database.cfg, this is the error log that I get even with your blank sqlite database.

Code:
L 06/09/2015 - 17:30:26: SourceMod error session started
L 06/09/2015 - 17:30:26: Info (map "de_dust2") (file "errors_20150609.log")
L 06/09/2015 - 17:30:26: [SM] Detected parse error(s) in file "C:\servers\n00bersguild\csgo\addons\sourcemod\configs\databases.cfg"
L 06/09/2015 - 17:30:26: [SM] Line 0: Stream failed to open
L 06/09/2015 - 17:30:26: [SM] Unable to load extension "clientprefs.ext": Could not find any suitable database configs
L 06/09/2015 - 17:30:26: [SM] Unable to load plugin "clientprefs.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 06/09/2015 - 17:30:26: [SM] Plugin encountered error 25: Call was aborted
L 06/09/2015 - 17:30:26: [SM] Native "SetFailState" reported: [KZTimer] Unable to connect to database (Configuration "kztimer" not found)
L 06/09/2015 - 17:30:26: [SM] Displaying call stack trace for plugin "KZTimer.smx":
L 06/09/2015 - 17:30:26: [SM]   [0]  Line 331, kztimer/sql.sp::db_setupDatabase()
L 06/09/2015 - 17:30:26: [SM]   [1]  Line 1128, KZTimer.sp::OnPluginStart()
Thanks for your continued support.
it's databases.cfg.. i forgot the 's'....................

Quote:
Originally Posted by e54385991 View Post
possible convert sqlite database to mysql?
https://www.google.de/search?q=sqlit...IoPWywPbgYLADQ
abckrieger is offline
Wulfy
Senior Member
Join Date: Apr 2015
Location: Belgium
Old 06-10-2015 , 19:26   Re: [CS:GO] KZTimer Final
Reply With Quote #640

When I use this plugin, boost platforms don't work (eg the ones on bhop_space or bhop_lego2).

Does this have something to do with the gravity limiter in KZTimer? Is there a way to fix it?

When I unload the plugin, the boosts work.
Wulfy 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 00:00.


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