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

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


Post New Thread Reply   
 
Thread Tools Display Modes
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 02-17-2016 , 08:53   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1561

If there is no database connection the plugin wont load, yes.
mazdarx8 is offline
Pitzo
New Member
Join Date: Feb 2016
Old 02-17-2016 , 09:43   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1562

Currently having an issue where if someone spectates the replay bot and rejoins the replay bot just turns into a normal bot and bugs out. Also having an issue where the map never ends. it just goes to 0 minutes and restarts over and over again until someone rtvs it.

EDIT: Seemed to have fixed both of my issues. but now im having another problem where on some maps it will just time everyone out and spits out an error in console "KV error inable to load umc_mapcycle.txt". but i have it in the right directory and its setup fine. so idk.

Last edited by Pitzo; 02-17-2016 at 11:19.
Pitzo is offline
checkster
BANNED
Join Date: Apr 2007
Location: Norway
Old 02-17-2016 , 14:35   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1563

Is there a prune database setting? Like say delete inactive players after x inactive time?
checkster is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 02-17-2016 , 14:41   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1564

Quote:
Originally Posted by blackhawk74 View Post
You uploaded the .sp file to your server? What?

You need to recompile the plugin and reupload the compiled .smx file.
ok please bear with me. I am new to all this. I downloaded sourcemod and Pawnstudio to my client computer just for compiling plugins. I didn't want to do this on my Linux server. So I edited the sp and I tried to recompile into an smx plugin. But i receive this error. What am I doing wrong?

Code:
Error creating the process:
The parameter is incorrect

Used Command-Line: 
 "C:\Users\XXX\Desktop\sourcemod-1.7.3-git5295-windows\addons\sourcemod\scripting\timer.sp" -o"C:\Users\XXX\Desktop\sourcemod-1.7.3-git5295-windows\addons\sourcemod\scripting\timer.smx"
I pointed it to the compiler at C:\Users\XXX\Desktop\sourcemod-1.7.3-git5295-windows\addons\sourcemod\scripting\compile.ex e

My Argument line for the compiler is:
"%in%" -o"%out%" -(+ -;+

Last edited by TrappaTroopa; 02-17-2016 at 14:44.
TrappaTroopa is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 02-17-2016 , 19:24   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1565

Quote:
Originally Posted by TrappaTroopa View Post
ok please bear with me. I am new to all this. I downloaded sourcemod and Pawnstudio to my client computer just for compiling plugins. I didn't want to do this on my Linux server. So I edited the sp and I tried to recompile into an smx plugin. But i receive this error. What am I doing wrong?

Code:
Error creating the process:
The parameter is incorrect

Used Command-Line: 
 "C:\Users\XXX\Desktop\sourcemod-1.7.3-git5295-windows\addons\sourcemod\scripting\timer.sp" -o"C:\Users\XXX\Desktop\sourcemod-1.7.3-git5295-windows\addons\sourcemod\scripting\timer.smx"
I pointed it to the compiler at C:\Users\XXX\Desktop\sourcemod-1.7.3-git5295-windows\addons\sourcemod\scripting\compile.ex e

My Argument line for the compiler is:
"%in%" -o"%out%" -(+ -;+
You need to point cksurf.sp to compile.exe. cksurf.sp calls everything inside the /scripting/cksurf/ folder, which would include your modified timer.sp. Keep all of the files inside the correct folders, and all together. Files like timer.sp are not meant to be compiled by themselves.

https://wiki.alliedmods.net/Compiling_SourceMod_Plugins

Last edited by sneaK; 02-17-2016 at 19:24.
sneaK is offline
TrappaTroopa
Senior Member
Join Date: Feb 2016
Old 02-17-2016 , 19:45   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1566

Quote:
Originally Posted by blackhawk74 View Post
You need to point cksurf.sp to compile.exe. cksurf.sp calls everything inside the /scripting/cksurf/ folder, which would include your modified timer.sp. Keep all of the files inside the correct folders, and all together. Files like timer.sp are not meant to be compiled by themselves.

https://wiki.alliedmods.net/Compiling_SourceMod_Plugins
Thank you for your help Blackhawk74. I really appreciate it. So I put my modified my timer.sp (with commented out lines) in the /scripting/cksurf/ folder. When I try to compile the smx I get a bunch of errors. See screensot. I have also uploaded my modified sp
Attached Thumbnails
Click image for larger version

Name:	cksurf Compile Errors.PNG
Views:	183
Size:	36.5 KB
ID:	152015  
Attached Files
File Type: sp Get Plugin or Get Source (timer.sp - 77 views - 14.1 KB)
TrappaTroopa is offline
spot
Senior Member
Join Date: May 2009
Old 02-18-2016 , 03:53   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1567

I'm running 2 Surf servers on the same server, and connected to the same database. Will this cause problems?
I might add a KZ server as well.
spot is offline
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 02-18-2016 , 04:00   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1568

Quote:
Originally Posted by spot View Post
I'm running 2 Surf servers on the same server, and connected to the same database. Will this cause problems?
I might add a KZ server as well.
no. Be sure you have the same mapcycle.txt on all surf servers - if not the point system is different.
mazdarx8 is offline
spot
Senior Member
Join Date: May 2009
Old 02-18-2016 , 04:05   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1569

Quote:
Originally Posted by mazdarx8 View Post
no. Be sure you have the same mapcycle.txt on all surf servers - if not the point system is different.
Thanks for quick reply. I have my own mapcycle-surf.txt inside each server, defined in server.cfg.
So the database and tables, will manage to see that it's 3 different servers running the same plugin.

I get this when i try to load the plugin on the second server:
sm plugins refresh
[ckSurf] No database update needed!
[SM] The plugin list has been refreshed and reloaded.
--------------------------------------------------------
sv_pure value unchanged (current value is 0).
--------------------------------------------------------
[SM] Plugin ckSurf unloaded successfully.
[SM] Changed cvar "sv_enablebunnyhopping" to "0".

Last edited by spot; 02-18-2016 at 04:06.
spot is offline
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 02-18-2016 , 05:54   Re: [CS:GO] ckSurf (1.18b, 24.11.2015)
Reply With Quote #1570

Quote:
Originally Posted by spot View Post
Thanks for quick reply. I have my own mapcycle-surf.txt inside each server, defined in server.cfg.
So the database and tables, will manage to see that it's 3 different servers running the same plugin.

I get this when i try to load the plugin on the second server:
sm plugins refresh
[ckSurf] No database update needed!
[SM] The plugin list has been refreshed and reloaded.
--------------------------------------------------------
sv_pure value unchanged (current value is 0).
--------------------------------------------------------
[SM] Plugin ckSurf unloaded successfully.
[SM] Changed cvar "sv_enablebunnyhopping" to "0".

I have about 5 servers running, each server have own files, but only the database is the same.
mazdarx8 is offline
Reply


Thread Tools
Display Modes

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 16:17.


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