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

[CS:S/CS:GO/TF2] shavit's bhoptimer (v2.5.5a 08/August/2019)


Post New Thread Reply   
 
Thread Tools Display Modes
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-20-2016 , 17:04   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #701

Quote:
Originally Posted by wer1K View Post
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"
	}
	
	"shavit"
	{
		"driver"         "mysql"
		"host"           "31.28.170.XXX"
		"database"       "shavit_bhop"
		"user"           "shavit_bhop"
		"pass"           "XXXXXXXXX"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
}
Btw, connect to database is OK.
i fail to understand how people just skip the requirements and go straight to installing.

Quote:
Requirements:
A MySQL database. Hosted at the same machine the CS server is hosted at. I won't help with any MySQL related errors if your MySQL server isn't local.
__________________
retired
shavit is offline
tuan206
Member
Join Date: May 2016
Old 07-21-2016 , 02:54   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #702

Anyone got a shavits_chat.cfg already setted up for ranking with points that they are willing to share? I would be very thankful
tuan206 is offline
wer1K
Member
Join Date: Jan 2011
Old 07-21-2016 , 04:21   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #703

Quote:
Requirements:
A MySQL database. Hosted at the same machine the CS server is hosted at. I won't help with any MySQL related errors if your MySQL server isn't local.
It's very sad, cuz I can't do this, my server on gamehosting and webserver on differend node.

Last edited by wer1K; 07-21-2016 at 04:43.
wer1K is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-21-2016 , 05:23   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #704

Quote:
Originally Posted by tuan206 View Post
Anyone got a shavits_chat.cfg already setted up for ranking with points that they are willing to share? I would be very thankful
here's my ugly csgo config:
Code:
"Chat"
{
    "[U:1:204506329]" // me
    {
        "prefix"        "{green}/dev/"
        "name"          "{default}{team}{clan}{name}"
    }

    "-1" // lookup is due, shouldn't happen unless there's some error!
    {
        "rank_from"     "-1"
        "rank_to"       "-1"

        "prefix"        ""
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "0" // unranked
    {
        "rank_from"     "0"
        "rank_to"       "0"

        "prefix"        "[Unranked]"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "1"
    {
        "rank_from"     "1"
        "rank_to"       "1"

        "prefix"        "{orchid}strafe"
        "name"          "{clan}{gold}{name}"
        "message"       "{message}"
    }

    "2"
    {
        "rank_from"     "2"
        "rank_to"       "2"

        "prefix"        "{grey}EXPERT"
        "name"          "{lime}{name}"
        "message"       "{message}"
    }

    "3"
    {
        "rank_from"     "3"
        "rank_to"       "3"

        "prefix"        "{grey2}Deluxe"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "4"
    {
        "rank_from"     "4"
        "rank_to"       "4"

        "prefix"        "{team}Senior"
        "name"          "{name}"
        "message"       "{message}"
    }

    "5"
    {
        "rank_from"     "5"
        "rank_to"       "5"

        "prefix"        "{darkblue}Legend"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "6"
    {
        "rank_from"     "6"
        "rank_to"       "8"

        "prefix"        "{yellow}Ultra"
        "name"          "{name}"
        "message"       "{message}"
    }

    "7"
    {
        "rank_from"     "9"
        "rank_to"       "14"

        "prefix"        "{lightred}Bloody"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "8"
    {
        "rank_from"     "15"
        "rank_to"       "25"

        "prefix"        "{default}Famous"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "9"
    {
        "rank_from"     "26"
        "rank_to"       "35"

        "prefix"        "{bluegrey}Jumpy"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "10"
    {
        "rank_from"     "36"
        "rank_to"       "50"

        "prefix"        "{darkblue}Best"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "11"
    {
        "rank_from"     "51"
        "rank_to"       "75"

        "prefix"        "{darkred}Good"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "12"
    {
        "rank_from"     "76"
        "rank_to"       "125"

        "prefix"        "{default}Decent"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "13"
    {
        "rank_from"     "126"
        "rank_to"       "200"

        "prefix"        "{default}Gangster"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "14"
    {
        "rank_from"     "201"
        "rank_to"       "500"

        "prefix"        "{default}Casual"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "15"
    {
        "rank_from"     "501"
        "rank_to"       "1000"

        "prefix"        "{default}Player"
        "name"          "{team}{name}"
        "message"       "{message}"
    }

    "16"
    {
        "rank_from"     "1001"
        "rank_to"       "infinity"

        "prefix"        "{default}"
        "name"          "{team}{name}"
        "message"       "{message}"
    }
}
__________________
retired

Last edited by shavit; 07-21-2016 at 05:24.
shavit is offline
wer1K
Member
Join Date: Jan 2011
Old 07-21-2016 , 05:40   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #705

Quote:
Originally Posted by wer1K View Post
I have some errors, what I miss?

Code:
L 07/20/2016 - 19:38:58: SourceMod error session started
L 07/20/2016 - 19:38:58: Info (map "bhop_arcane_b2_rg3_csgo") (file "errors_20160720.log")
L 07/20/2016 - 19:38:58: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 07/20/2016 - 19:38:58: [SM] Blaming: shavit-rankings.smx()
L 07/20/2016 - 19:38:58: [SM] Call stack trace:
L 07/20/2016 - 19:38:58: [SM]   [0] Database.Query
L 07/20/2016 - 19:38:58: [SM]   [1] Line 492, F:\CSGO\SourceMod Compiler\shavit-rankings.sp::UpdatePointsCache()
L 07/20/2016 - 19:38:58: [SM]   [2] Line 231, F:\CSGO\SourceMod Compiler\shavit-rankings.sp::OnMapStart()
I'm using latest version from Github
I know solution this problem: I'm just set poins (sm_setpoints) on the map, then table was not empty and error's is gone.
wer1K is offline
wer1K
Member
Join Date: Jan 2011
Old 07-21-2016 , 09:27   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #706

I have new question about shavit-timelimit.smx, in fresh version from Github they don't work, but plugin loaded and no error logs.

Last edited by wer1K; 07-21-2016 at 09:39.
wer1K is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-21-2016 , 10:07   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #707

Quote:
Originally Posted by wer1K View Post
I have new question about shavit-timelimit.smx, in fresh version from Github they don't work, but plugin loaded and no error logs.
your mapchooser plugin doesn't support it then
__________________
retired
shavit is offline
wer1K
Member
Join Date: Jan 2011
Old 07-21-2016 , 13:30   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #708

Quote:
your mapchooser plugin doesn't support it then
I'm using default mapchooser.smx from SourceMod 1.8 (with old version shavit-timelimit.smx work perfectly). Please, give me advice, what mapchooser I'm must using?
wer1K is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-21-2016 , 18:42   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #709

Quote:
Originally Posted by wer1K View Post
I'm using default mapchooser.smx from SourceMod 1.8 (with old version shavit-timelimit.smx work perfectly). Please, give me advice, what mapchooser I'm must using?
actually i could've fix this issue by running a non-threaded query as it's only being ran once per map
i'll fix it soon
__________________
retired
shavit is offline
tuan206
Member
Join Date: May 2016
Old 07-21-2016 , 20:36   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #710

No offense shavit, but ur config is really ugly thanks anyways though, anyone else wants to share?
*edit* also how does rank to and rank from work? Is it like point 501 to point above that gets the rank?

Last edited by tuan206; 07-21-2016 at 20:37.
tuan206 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 11:50.


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