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

[CS:GO] KZTimer (climb timer plugin)


Post New Thread Reply   
 
Thread Tools Display Modes
Glite
Senior Member
Join Date: Sep 2011
Location: Ukraine
Old 08-23-2013 , 02:35   Re: [CS:GO] KZMod
Reply With Quote #11

PHP Code:
g_fStartTime[client] = GetGameTime();
g_fFinalTime[client] = GetGameTime() - g_fStartTime[client] - g_fPauseTime[client]; 
That's alot better, good work.
You may also want to use GetEngineTime() this func doesn't add 0.xxx999.

Code:
g_hCvar_SvCheats = FindConVar("sv_cheats");
You shouldn't do this every jump. You don't need to do this at all.

Last edited by Glite; 08-23-2013 at 02:40.
Glite is offline
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 08-23-2013 , 10:02   Re: [CS:GO] KZMod
Reply With Quote #12

good suggestions. i will include them in my next version.
/edit
uploaded a "new version" with minor changes regarding glite's suggestions and some text msgs.

Last edited by abckrieger; 08-24-2013 at 00:17.
abckrieger is offline
koalita
New Member
Join Date: Aug 2013
Old 08-28-2013 , 08:21   Re: [CS:GO] KZMod
Reply With Quote #13

hey can you upload the plugin files again?
koalita is offline
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 08-28-2013 , 10:24   Re: [CS:GO] KZMod
Reply With Quote #14

oh that was a mistake. up again.. hf
abckrieger is offline
senecas
Senior Member
Join Date: Jun 2006
Old 09-04-2013 , 02:40   Re: [CS:GO] KZMod
Reply With Quote #15

0.981 version
Local Compiling errors

KZMod/admin.sp(289) warning 217: loose indentation
KZMod/admin.sp(294) warning 217: loose indentation
KZMod/admin.sp(299) warning 213: tag mismatch
KZMod/commands.sp(287) warning 213: tag mismatch
KZMod/commands.sp(290) warning 213: tag mismatch
KZMod/commands.sp(295) warning 213: tag mismatch
KZMod/hooks.sp(335) warning 212: possibly unintended bitwise operation
KZMod/hooks.sp(538 ) warning 203: symbol is never used: "szTmpMsg"
KZMod/sql.sp(515) warning 217: loose indentation
KZMod/sql.sp(516) warning 217: loose indentation
KZMod/sql.sp(561) warning 217: loose indentation
KZMod/sql.sp(562) warning 217: loose indentation
KZMod/sql.sp(608 ) warning 217: loose indentation
KZMod/sql.sp(609) warning 217: loose indentation
KZMod/sql.sp(707) warning 204: symbol is assigned a value that is never used: "client"
KZMod/sql.sp(846) warning 204: symbol is assigned a value that is never used: "client"
KZMod.sp(278 ) warning 213: tag mismatch
KZMod.sp(702) warning 217: loose indentation
KZMod.sp(827) warning 213: tag mismatch
KZMod.sp(932) warning 234: symbol "AskPluginLoad" is marked as deprecated: Use AskPluginLoad2() instead

Last edited by senecas; 09-04-2013 at 02:41.
senecas is offline
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 09-04-2013 , 08:57   Re: [CS:GO] KZMod
Reply With Quote #16

Quote:
Originally Posted by senecas View Post
0.981 version
Local Compiling errors

KZMod/admin.sp(289) warning 217: loose indentation
KZMod/admin.sp(294) warning 217: loose indentation
KZMod/admin.sp(299) warning 213: tag mismatch
KZMod/commands.sp(287) warning 213: tag mismatch
KZMod/commands.sp(290) warning 213: tag mismatch
KZMod/commands.sp(295) warning 213: tag mismatch
KZMod/hooks.sp(335) warning 212: possibly unintended bitwise operation
KZMod/hooks.sp(538 ) warning 203: symbol is never used: "szTmpMsg"
KZMod/sql.sp(515) warning 217: loose indentation
KZMod/sql.sp(516) warning 217: loose indentation
KZMod/sql.sp(561) warning 217: loose indentation
KZMod/sql.sp(562) warning 217: loose indentation
KZMod/sql.sp(608 ) warning 217: loose indentation
KZMod/sql.sp(609) warning 217: loose indentation
KZMod/sql.sp(707) warning 204: symbol is assigned a value that is never used: "client"
KZMod/sql.sp(846) warning 204: symbol is assigned a value that is never used: "client"
KZMod.sp(278 ) warning 213: tag mismatch
KZMod.sp(702) warning 217: loose indentation
KZMod.sp(827) warning 213: tag mismatch
KZMod.sp(932) warning 234: symbol "AskPluginLoad" is marked as deprecated: Use AskPluginLoad2() instead
i don't see any error? and do u think i dont see these WARNINGS by myself?
but for monk's like u i will fix those warnings ;) thanks anyway...
/edit
done

Last edited by abckrieger; 09-04-2013 at 09:26.
abckrieger is offline
ALKINDA
Member
Join Date: Aug 2013
Old 09-08-2013 , 16:41   Re: [CS:GO] KZMod
Reply With Quote #17

Hey im runnin csgo newest everything, it created some files in my database when i joined the server, but when i connect and click a team, immidiate crash. the logs say

Code:
L 09/08/2013 - 16:24:01: [SM] Native "SQL_HasResultSet" reported: Invalid query Handle 0 (error: 4)
L 09/08/2013 - 16:24:01: [SM] Displaying call stack trace for plugin "KZMod.smx":
L 09/08/2013 - 16:24:01: [SM]   [0]  Line 1620, KZMod/sql.sp::sql_selectMapRecordProCallback()
L 09/08/2013 - 16:24:09: [SM] Native "SQL_HasResultSet" reported: Invalid query Handle 0 (error: 4)
L 09/08/2013 - 16:24:09: [SM] Displaying call stack trace for plugin "KZMod.smx":
L 09/08/2013 - 16:24:09: [SM]   [0]  Line 245, KZMod/sql.sp::SQL_selectPersonalRecordsCallback()
L 09/08/2013 - 16:24:27: SourceMod error session started
L 09/08/2013 - 16:24:27: Info (map "mg_savethebacon_course_final") (file "errors_20130908.log")
L 09/08/2013 - 16:24:27: [SM] Native "SQL_HasResultSet" reported: Invalid query Handle 0 (error: 4)
L 09/08/2013 - 16:24:27: [SM] Displaying call stack trace for plugin "KZMod.smx":
L 09/08/2013 - 16:24:27: [SM]   [0]  Line 1620, KZMod/sql.sp::sql_selectMapRecordProCallback()
I really like the extras you have put into this.

Last edited by ALKINDA; 09-08-2013 at 16:41.
ALKINDA is offline
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 09-08-2013 , 16:53   Re: [CS:GO] KZMod
Reply With Quote #18

Quote:
Originally Posted by ALKINDA View Post
Hey im runnin csgo newest everything, it created some files in my database when i joined the server, but when i connect and click a team, immidiate crash. the logs say

Code:
L 09/08/2013 - 16:24:01: [SM] Native "SQL_HasResultSet" reported: Invalid query Handle 0 (error: 4)
L 09/08/2013 - 16:24:01: [SM] Displaying call stack trace for plugin "KZMod.smx":
L 09/08/2013 - 16:24:01: [SM]   [0]  Line 1620, KZMod/sql.sp::sql_selectMapRecordProCallback()
L 09/08/2013 - 16:24:09: [SM] Native "SQL_HasResultSet" reported: Invalid query Handle 0 (error: 4)
L 09/08/2013 - 16:24:09: [SM] Displaying call stack trace for plugin "KZMod.smx":
L 09/08/2013 - 16:24:09: [SM]   [0]  Line 245, KZMod/sql.sp::SQL_selectPersonalRecordsCallback()
L 09/08/2013 - 16:24:27: SourceMod error session started
L 09/08/2013 - 16:24:27: Info (map "mg_savethebacon_course_final") (file "errors_20130908.log")
L 09/08/2013 - 16:24:27: [SM] Native "SQL_HasResultSet" reported: Invalid query Handle 0 (error: 4)
L 09/08/2013 - 16:24:27: [SM] Displaying call stack trace for plugin "KZMod.smx":
L 09/08/2013 - 16:24:27: [SM]   [0]  Line 1620, KZMod/sql.sp::sql_selectMapRecordProCallback()
I really like the extras you have put into this.
that sql statements should normally work .. i joined some servers which use this mod yesterday and they did not crashed. is it possible that ur database contains old tables of cpmod? if this is the case u must delete your database (..sourcemod\data\sqlite\) and disable cpmod.kzmod will create a new database.

Last edited by abckrieger; 09-08-2013 at 16:59.
abckrieger is offline
ALKINDA
Member
Join Date: Aug 2013
Old 09-08-2013 , 16:58   Re: [CS:GO] KZMod
Reply With Quote #19

Quote:
Originally Posted by abckrieger View Post
the database should work .. i joined some servers which use this mod yesterday and they did not crashed. is it possible that ur database contains old tables of cpmod? if this is the case u must delete your database (..sourcemod\data\sqlite\) and disable cpmod.kzmod will create a new database.
I just confirmed this to not cause the issue, i have deleted all tables inside my database. restarted server worked made the 4 new database files "player, playerTmp, playerJump and mapbuttons". when i joined the server i was at the chose team screen and decided to push spec for shits n giggles, it didnt crash i was flying around a bit then changed teams to T and instant crash "red numbers on top right"

ok.. think you were right with the error above^^. but this error wasnt involved with this crash. Now it crashes with no error log created. nothing looks wrong just when ever i select a team it crashes. any thoughts?

Last edited by ALKINDA; 09-08-2013 at 17:12.
ALKINDA is offline
abckrieger
Senior Member
Join Date: Oct 2012
Location: Germany
Old 09-08-2013 , 17:12   Re: [CS:GO] KZMod
Reply With Quote #20

hmm ok thx i will try to rebuild that bug.. never happend to me.

/edit
so

cPMod.smx is not in your plugins folder of sourcemod?
u deleted the complete database file and started your server?

thats weird

Last edited by abckrieger; 09-08-2013 at 17:29.
abckrieger 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 17:28.


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