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

[CS:GO] ckSurf (1.18f, 24.11.2015)


Post New Thread Reply   
 
Thread Tools Display Modes
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 09-09-2016 , 14:55   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2141

Lupus__, I have found the issue with the ranks calculation. I will do what I can to apply a fix for my fork and push it to nikooo777's if it works properly. It's seems doubtful in making a true fix as it has to do with rounding the float calculation based on the percentage.

Destinyg133, I plan to add a few more features, but I may I want to first investigate how to improve performance (if at all feasible).
Maxximou5 is offline
Destinyg133
Senior Member
Join Date: Jul 2016
Location: Croatia
Old 09-09-2016 , 17:28   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2142

so why dobt you acompany with niko and make new thread about cksurf, the version that will fix and remove/readd stuff that is missing, to make one good open source surf timer, also should i stay with 1.18 or should i go to 1.19, any major things on forked versions?


things that need a must fix!!!

- plugin stealing big amount of points or not giving any at all
- replay bot sometimes gets fucked so we need server restart
-recalculation on entering
- some maps showing as unfisished (atho i did finish them)

thing that can wait -
- more play styles like HSW,Backwards etc....

Last edited by Destinyg133; 09-09-2016 at 19:42.
Destinyg133 is offline
Lupus__
New Member
Join Date: Feb 2016
Old 09-10-2016 , 08:15   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2143

Quote:
Originally Posted by Destinyg133 View Post
things that need a must fix!!!

- plugin stealing big amount of points or not giving any at all
- replay bot sometimes gets fucked so we need server restart
The "stealing" of points most likely have to do with your records on other maps being beaten by other players. Whenever you complete a map, the plugin recalculate your points, so if you have moved several ranks down on other maps, you no longer own those points. You could experience not getting any points at all after beating a map if the amount of points you have lost from the other maps is greater than the points you should have gotten for completing the new map.

The replay bot has always been a huge pain for me. On mapstart it rarely spawns both the replay and the bonus replay bot.
I found that disabling and enabling the bot from the !ckadmin menu will force the bots to spawn.
What i have done is make a plugin that waits 30s after mapstart and turn ck_replay_bot from 1 to 0 to 1 TWICE. There is a 10ms lagspike whenever this plugin kicks in, but if that's what it takes to have the bots working on my servers, i'll take it.


Quote:
Originally Posted by Maxximou5 View Post
Lupus__, I have found the issue with the ranks calculation. I will do what I can to apply a fix for my fork and push it to nikooo777's if it works properly. It's seems doubtful in making a true fix as it has to do with rounding the float calculation based on the percentage.
Interesting. Seems kinda strange that rounding a float wrong makes the MaxPointsFromMaps work as if there is exactly 30 or 31 more bonuses on all skillgroups.
If it was a rounding issue i would have expected x to be a decimal number in the equation where i showed how i matched my offline calculation with ckSurfs calculation.
Adding more maps didn't break my hacked formula, MaxPointsFromMaps = (MapCount*700)+((BonusCount+31)*400), untill i started introducing maps with new bonuses. Then i had to replace 31 with 30.

Have you debugged how ckSurf finds the BonusCount for the MaxPointsFromMaps calculation and the value of BonusCount?
Lupus__ is offline
Destinyg133
Senior Member
Join Date: Jul 2016
Location: Croatia
Old 09-10-2016 , 08:38   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2144

well someone could beat me, but im top 3, on server i got 118 maps, most them are done good. i doubt i just lost 1k+ points but oh well

i just hope someone will take a task and make clsurf with less bugs and more playing styles
Destinyg133 is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 09-10-2016 , 15:05   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2145

Quote:
Originally Posted by [I
Destinyg133[/I];2452591]so why dobt you acompany with niko and make new thread about cksurf, the version that will fix and remove/readd stuff that is missing, to make one good open source surf timer, also should i stay with 1.18 or should i go to 1.19, any major things on forked versions?
nikooo777 can if he wishes to do so; however, I certainly won't. I do not plan to maintain anything, just provide improvements or fixes were I can when I can. Also that's not to say the author won't come back. Seems too early to make a whole new thread.
Quote:
Originally Posted by Lupus__ View Post
The replay bot has always been a huge pain for me. On mapstart it rarely spawns both the replay and the bonus replay bot.
I found that disabling and enabling the bot from the !ckadmin menu will force the bots to spawn.
What i have done is make a plugin that waits 30s after mapstart and turn ck_replay_bot from 1 to 0 to 1 TWICE. There is a 10ms lagspike whenever this plugin kicks in, but if that's what it takes to have the bots working on my servers, i'll take it.
Interesting, I've done the same thing as well, but not by making a plugin do it, just mainly to see if that would make it work, which it did. I'll add it to the to-do list and see what can be done about it.
Quote:
Originally Posted by Lupus__ View Post
Have you debugged how ckSurf finds the BonusCount for the MaxPointsFromMaps calculation and the value of BonusCount?
I haven't looked into that because the issue, that I found, doesn't lie with BonusCount.
The issue is the rounding of the skill percentage, as for my testing, it's off even from 5 maps and 1 bonus to 10 maps and 2 bonuses.
Example: (145*700+56*400)*0.43=53277
Maybe I am wrong, but as far as I have found, that is the issue of rounding that errors out.
Maxximou5 is offline
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Old 09-10-2016 , 16:45   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2146

Quote:
Originally Posted by Maxximou5 View Post
nikooo777 can if he wishes to do so; however, I certainly won't. I do not plan to maintain anything, just provide improvements or fixes were I can when I can. Also that's not to say the author won't come back. Seems too early to make a whole new thread.
I share his opinion, I have very little time at my disposal and i can't maintain the plugin more than what i'm currently doing.

I plan, with the help of you guys, to keep this plugin running, but don't expect this plugin to ever become something great, the source code is a mess and is so badly coded that adding functionalities takes forever and likely breaks stuff.
__________________

Last edited by nikooo777; 09-10-2016 at 16:46.
nikooo777 is offline
Destinyg133
Senior Member
Join Date: Jul 2016
Location: Croatia
Old 09-10-2016 , 17:18   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2147

Well mostly when you have time ofcourse, it would just be good, to make plugin better, not perfect , yea i know its a mess, can you guys just tell me, diffrence between 1.18 and 1.19. like why should i transfer my server on latest your version etc etc etc

writte me when you have time
Destinyg133 is offline
Geryha
Junior Member
Join Date: Oct 2015
Location: Norway
Old 09-12-2016 , 08:08   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2148

(SQL_insertBonusCallback): Incorrect string value: '\xE3\x83\x84 Ha...' for column 'name' at row 1
[ckSurf.smx] [ckSurf] SQL Error (sql_updatePlayerRankPointsCallback): Incorrect string value: '\xD2\x93s \xE2\x80...' for column 'name' at row 1

L 09/12/2016 - 14:18:40: [ckSurf.smx] [ckSurf] SQL Error (sql_updatePlayerRankPointsCallback): Incorrect string value: '\xD2\x93s \xE2\x80...' for column 'name' at row 1
L 09/12/2016 - 14:22:43: [ckSurf.smx] [ckSurf] SQL Error (SQL_UpdateRecordProCallback): Incorrect string value: '\xD2\x93s \xE2\x80...' for column 'name' at row 1
L 09/12/2016 - 14:24:22: [ckSurf.smx] [ckSurf] SQL Error (SQL_ViewRecordCallback): Unknown column 'runtime' in 'field list'

This is one of the many examples i get when moving the server and sql database to a new server. Read something about changing the UTF-8? Urgent issue.

Thanks, Geryha.
__________________
Press one of the images to connect.


Last edited by Geryha; 09-12-2016 at 08:25. Reason: 4 more errors.
Geryha is offline
QuinnHD
Junior Member
Join Date: Sep 2016
Old 09-13-2016 , 23:44   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2149

errors_20160913.log

Help please https://gyazo.com/a888382be9dbed37e4b7d609f372ac1a
QuinnHD is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 09-14-2016 , 01:31   Re: [CS:GO] ckSurf (1.18f, 24.11.2015)
Reply With Quote #2150

Quote:
Originally Posted by QuinnHD View Post
Your databases.cfg file is setup incorrectly, more than likely missing some brackets. Post a copy of your databases.cfg (with private information censored, obviously).
sneaK 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:30.


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