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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Samatazz
Member
Join Date: Dec 2014
Location: Australia
Old 12-12-2015 , 13:26   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #881

Quote:
Originally Posted by blackhawk74 View Post
Same, I think people are being impatient. Updating a huge database takes time.
Oh i left it for over an hour by itself and it still didnt work. But after running those commands in my previous post my zones are perfect now so it must have been getting stuck on something.
Samatazz is offline
jonitaikaponi
Senior Member
Join Date: Nov 2014
Location: Finland
Old 12-12-2015 , 13:38   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #882

Here is the full sql command list, if you want to do it manually.

This should work on sqlite and mysql.

I guess I could also start making SQL tranasaction scripts for people who want to manually do the changes.

PHP Code:
ALTER TABLE ck_zones ADD zonegroup INT NOT NULL DEFAULT 0;
ALTER TABLE ck_zones ADD zonename VARCHAR(128);
ALTER TABLE ck_playertemp ADD zonegroup INT NOT NULL DEFAULT 0;

CREATE TABLE IF NOT EXISTS ck_playertitles (steamid VARCHAR(32), vip INT(12) DEFAULT 0mapper INT(12) DEFAULT 0teacher INT(12) DEFAULT 0custom1 INT(12) DEFAULT 0custom2 INT(12) DEFAULT 0custom3 INT(12) DEFAULT 0custom4 INT(12) DEFAULT 0custom5 INT(12) DEFAULT 0custom6 INT(12) DEFAULT 0custom7 INT(12) DEFAULT 0custom8 INT(12) DEFAULT 0custom9 INT(12) DEFAULT 0custom10 INT(12) DEFAULT 0custom11 INT(12) DEFAULT 0custom12 INT(12) DEFAULT 0custom13 INT(12) DEFAULT 0custom14 INT(12) DEFAULT 0custom15 INT(12) DEFAULT 0custom16 INT(12) DEFAULT 0custom17 INT(12) DEFAULT 0custom18 INT(12) DEFAULT 0custom19 INT(12) DEFAULT 0custom20 INT(12) DEFAULT 0inuse INT(12) DEFAULT 0PRIMARY KEY(steamid));

ALTER TABLE ck_checkpoints RENAME TO ck_checkpoints_temp;
CREATE TABLE IF NOT EXISTS ck_checkpoints (steamid VARCHAR(32), mapname VARCHAR(32), cp1 FLOAT DEFAULT '0.0'cp2 FLOAT DEFAULT '0.0'cp3 FLOAT DEFAULT '0.0'cp4 FLOAT DEFAULT '0.0'cp5 FLOAT DEFAULT '0.0'cp6 FLOAT DEFAULT '0.0'cp7 FLOAT DEFAULT '0.0'cp8 FLOAT DEFAULT '0.0'cp9 FLOAT DEFAULT '0.0'cp10 FLOAT DEFAULT '0.0'cp11 FLOAT DEFAULT '0.0'cp12 FLOAT DEFAULT '0.0'cp13 FLOAT DEFAULT '0.0'cp14 FLOAT DEFAULT '0.0'cp15 FLOAT DEFAULT '0.0'cp16 FLOAT DEFAULT '0.0'cp17  FLOAT DEFAULT '0.0'cp18 FLOAT DEFAULT '0.0'cp19 FLOAT DEFAULT '0.0'cp20  FLOAT DEFAULT '0.0'cp21 FLOAT DEFAULT '0.0'cp22 FLOAT DEFAULT '0.0'cp23 FLOAT DEFAULT '0.0'cp24 FLOAT DEFAULT '0.0'cp25 FLOAT DEFAULT '0.0'cp26 FLOAT DEFAULT '0.0'cp27 FLOAT DEFAULT '0.0'cp28 FLOAT DEFAULT '0.0'cp29 FLOAT DEFAULT '0.0'cp30 FLOAT DEFAULT '0.0'cp31 FLOAT DEFAULT '0.0'cp32  FLOAT DEFAULT '0.0'cp33 FLOAT DEFAULT '0.0'cp34 FLOAT DEFAULT '0.0'cp35 FLOAT DEFAULT '0.0'zonegroup INT(12NOT NULL DEFAULT 0PRIMARY KEY(steamidmapnamezonegroup));
INSERT INTO ck_checkpoints(steamidmapnamezonegroupcp1cp2cp3cp4cp5cp6cp7cp8cp9cp10cp11cp12cp13cp14cp15cp16cp17cp18cp19cp20SELECT steamidmapname0cp1cp2cp3cp4cp5cp6cp7cp8cp9cp10cp11cp12cp13cp14cp15cp16cp17cp18cp19cp20 FROM ck_checkpoints_temp GROUP BY mapnamesteamid;
DROP TABLE ck_checkpoints_temp;

ALTER TABLE ck_bonus RENAME TO ck_bonus_temp;
CREATE TABLE IF NOT EXISTS ck_bonus (steamid VARCHAR(32), name VARCHAR(32), mapname VARCHAR(32), runtime FLOAT NOT NULL DEFAULT '-1.0'zonegroup INT(12NOT NULL DEFAULT 1PRIMARY KEY(steamidmapnamezonegroup));
INSERT INTO ck_bonus(steamidnamemapnameruntimeSELECT steamidnamemapnameruntime FROM ck_bonus_temp;
DROP TABLE ck_bonus_temp;

DROP TABLE IF EXISTS ck_playertemp;
CREATE TABLE IF NOT EXISTS ck_playertemp (steamid VARCHAR(32), mapname VARCHAR(32), cords1 FLOAT NOT NULL DEFAULT '-1.0'cords2 FLOAT NOT NULL DEFAULT '-1.0'cords3 FLOAT NOT NULL DEFAULT '-1.0'angle1 FLOAT NOT NULL DEFAULT '-1.0',angle2 FLOAT NOT NULL DEFAULT '-1.0',angle3 FLOAT NOT NULL DEFAULT '-1.0'EncTickrate INT(12) DEFAULT '-1.0'runtimeTmp FLOAT NOT NULL DEFAULT '-1.0'Stage INTzonegroup INT NOT NULL DEFAULT 0PRIMARY KEY(steamid,mapname));

ALTER TABLE ck_maptier ADD btier1 INT;
ALTER TABLE ck_maptier ADD btier2 INT;
ALTER TABLE ck_maptier ADD btier3 INT;
ALTER TABLE ck_maptier ADD btier4 INT;
ALTER TABLE ck_maptier ADD btier5 INT;
ALTER TABLE ck_maptier ADD btier6 INT;
ALTER TABLE ck_maptier ADD btier7 INT;
ALTER TABLE ck_maptier ADD btier8 INT;
ALTER TABLE ck_maptier ADD btier9 INT;
ALTER TABLE ck_maptier ADD btier10 INT;

ALTER TABLE ck_spawnlocations RENAME TO ck_spawnlocations_temp;
CREATE TABLE IF NOT EXISTS ck_spawnlocations (mapname VARCHAR(54NOT NULLpos_x FLOAT NOT NULLpos_y FLOAT NOT NULLpos_z FLOAT NOT NULLang_x FLOAT NOT NULLang_y FLOAT NOT NULLang_z FLOAT NOT NULLzonegroup INT(12) DEFAULT 0stage INT(12) DEFAULT 0PRIMARY KEY(mapnamezonegroup));
INSERT INTO ck_spawnlocations (mapnamepos_xpos_ypos_zang_xang_yang_zSELECT mapnamepos_xpos_ypos_zang_xang_yang_z FROM ck_spawnlocations_temp;
DROP TABLE ck_spawnlocations_temp;

UPDATE ck_zones SET zonegroup 1 WHERE zonetype OR zonetype 4;
UPDATE ck_zones SET zonetypeid 0 WHERE zonetype OR zonetype 4;
UPDATE ck_zones SET zonetype 1 WHERE zonetype 3;
UPDATE ck_zones SET zonetype 2 WHERE zonetype 4;
UPDATE ck_zones SET zonetype zonetype-2 WHERE zonetype 4

Last edited by jonitaikaponi; 12-16-2015 at 02:01.
jonitaikaponi is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 12-12-2015 , 14:38   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #883

Any reason for this error to be popping? Possibly a username with symbols messing something up?

Code:
L 12/12/2015 - 13:18:58: Info (map "surf_aircontrol_ksf") (file "errors_20151212.log")
L 12/12/2015 - 13:18:58: [ckSurf.smx] [ckSurf] SQL Error (sql_updatePlayerRankPointsCallback): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '148', finishedmapspro='1',winratio = '0',pointsratio = '0', country ='The United' at line 1
L 12/12/2015 - 13:24:58: [ckSurf.smx] [ckSurf] SQL Error (sql_updatePlayerRankPointsCallback): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '148', finishedmapspro='1',winratio = '0',pointsratio = '0', country ='The United' at line 1
L 12/12/2015 - 13:26:20: [ckSurf.smx] [ckSurf] SQL Error (sql_updatePlayerRankPointsCallback): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '210', finishedmapspro='1',winratio = '0',pointsratio = '0', country ='The United' at line 1
L 12/12/2015 - 13:27:58: [ckSurf.smx] [ckSurf] SQL Error (sql_updatePlayerRankPointsCallback): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '243', finishedmapspro='1',winratio = '0',pointsratio = '0', country ='The United' at line 1
and Jaykrog, my man. I'll throw it in and check it out when I get home from work, you da man Been frustrated over this map for over a month now
__________________

Last edited by sneaK; 12-12-2015 at 14:39.
sneaK is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 12-12-2015 , 15:36   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #884

is 1.18 is the version where there's supposed to be trails? cuz I only see trails option for bots not players
__________________
PresidentEvil is offline
stretchy
Member
Join Date: Aug 2015
Old 12-12-2015 , 15:37   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #885

Quote:
Originally Posted by blackhawk74 View Post
You need to update Sourcemod to the latest stable build.
I am running the most current sourcemod. And the 1.18 branch ckSurf. Still stuck with a server that's restarting every 20 minutes and spawning bots when players change teams. Just going to rebuild whole box.
__________________

Last edited by stretchy; 12-14-2015 at 11:12.
stretchy is offline
jonitaikaponi
Senior Member
Join Date: Nov 2014
Location: Finland
Old 12-12-2015 , 16:15   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #886

Quote:
Originally Posted by PresidentEvil View Post
is 1.18 is the version where there's supposed to be trails? cuz I only see trails option for bots not players
Players with VIP title (first title in addons/sourcemod/configs/ckSurf/custom_chat_titles.txt) can get trails from the !VIP menu. Admins can give titles from the !givetitle menu. Please read the changelog..
jonitaikaponi is offline
HymnsForDisco
Junior Member
Join Date: Dec 2015
Old 12-12-2015 , 16:50   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #887

Minor bug report, occaisonally the timer will warn you that you have missed your best time right when you first leave the start zone. I think it may have to do with if you've been sitting in the start zone for a while.
HymnsForDisco is offline
JayTox
Junior Member
Join Date: Nov 2015
Old 12-12-2015 , 17:16   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #888

It keeps giving me errors when creating zones.
No matter what I do I try making the zone elevated I try making it all one height.
JayTox is offline
Jaykrog
Senior Member
Join Date: May 2015
Old 12-12-2015 , 18:57   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #889

Is there any way to fix this connection spam problem when people are kicked/banned?

Hopefully I'm not the only one experiencing these probz?
Jaykrog is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 12-12-2015 , 18:59   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #890

Quote:
Originally Posted by Jaykrog View Post
Is there any way to fix this connection spam problem when people are kicked/banned?

Hopefully I'm not the only one experiencing these probz?
that has nothing to do with this plugin, update sourcemod to the latest version
__________________
PresidentEvil 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 01:24.


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