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-29-2016 , 09:01   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #731

Quote:
Originally Posted by Kruzi View Post
L 07/29/2016 - 04:01:55: [SM] Blaming: shavit-stats.smx()
L 07/29/2016 - 04:01:55: [SM] Call stack trace:
L 07/29/2016 - 04:01:55: [SM] [0] Database.Query
L 07/29/2016 - 04:01:55: [SM] [1] Line 237, C:\SM\addons\sourcemod\scripting\shavit-stats.sp::UpdateMVPs()
L 07/29/2016 - 04:01:55: [SM] [2] Line 171, C:\SM\addons\sourcemod\scripting\shavit-stats.sp:layer_Event()
L 07/29/2016 - 04:01:59: [SM] Exception reported: Invalid database Handle 23f0233 (error: 1)

And all custom sprites what i founded works like this on screenshot:
i pushed a quick fix for your issue. make sure you restart your server after using the new shavit-stats file otherwise your error logs will be spammed
__________________
retired
shavit is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-29-2016 , 10:33   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #732

I've added support for SQLite and even drag-drop support without the need for any configuration.
https://github.com/shavitush/bhoptim...c31b16c379802d
__________________
retired
shavit is offline
tuan206
Member
Join Date: May 2016
Old 07-31-2016 , 17:30   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #733

Quote:
Originally Posted by shavit View Post
I've added support for SQLite and even drag-drop support without the need for any configuration.
https://github.com/shavitush/bhoptim...c31b16c379802d
Can we get a video guide of how to have custom sprites? I didn't get what it said in the txt
tuan206 is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-31-2016 , 23:29   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #734

Quote:
Originally Posted by tuan206 View Post
Can we get a video guide of how to have custom sprites? I didn't get what it said in the txt
zones should have 2 sprites most times.
one is a beam sprite (the beam itself) and one is the halo sprite (the thing all round the beam).
if you don't need the halo, use "none" instead in the "halo" field.
the "sprite" and "halo" fields should never contain materials/.
"download" is the full path (including the materials/) for downloads. sometimes you don't even need this one because some materials are in the game.

example for the materials/zone/1.vmt sprite and 2.vmt halo: (assuming they both have vtf files with the same name)

Code:
"sprite" "zone/1.vmt"
"halo" "zone/2.vmt"
"download" "materials/zone/1.vtf"
"download" "materials/zone/1.vmt"
"download" "materials/zone/2.vtf"
"download" "materials/zone/2.vmt"
__________________
retired
shavit is offline
Sqwanes
New Member
Join Date: Jun 2016
Old 08-01-2016 , 14:43   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #735

Fixed

Last edited by Sqwanes; 08-02-2016 at 00:08.
Sqwanes is offline
Technoblazed
Senior Member
Join Date: May 2016
Location: United Kingdom
Old 08-01-2016 , 14:48   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #736

Quote:
Originally Posted by Sqwanes View Post
There is a strange bug when holding a blocked key (like d on w-only) while jumping the strafe count go crazy
Open an issue on github: https://github.com/shavitush/bhoptimer/issues/new
Technoblazed is offline
VsX
AlliedModders Donor
Join Date: Jul 2007
Old 08-01-2016 , 20:34   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #737

I was trying to compile latest sources for CSGO. Success but it doesn't work properly at all. Hud is bugged (look like CSS one). Only precompiled version works properly but it's outdated (from september 2015). Bot-replay doesn't work too.

Anyone tried compile files from git repository and use it for csgo?

Last edited by VsX; 08-01-2016 at 20:36.
VsX is offline
Technoblazed
Senior Member
Join Date: May 2016
Location: United Kingdom
Old 08-01-2016 , 21:02   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #738

Quote:
Originally Posted by VsX View Post
I was trying to compile latest sources for CSGO. Success but it doesn't work properly at all. Hud is bugged (look like CSS one). Only precompiled version works properly but it's outdated (from september 2015). Bot-replay doesn't work too.

Anyone tried compile files from git repository and use it for csgo?
Works perfectly here, are you using SM 1.8?
Technoblazed is offline
VsX
AlliedModders Donor
Join Date: Jul 2007
Old 08-02-2016 , 05:05   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #739

Yes, both to compile and on server. I will try once again.
I get these:

Code:
L 08/02/2016 - 12:25:01: Info (map "bhop_1n5an3_rg_csgo") (file "errors_20160802.log")
L 08/02/2016 - 12:25:01: [SM] Unable to load plugin "shavit-hud.smx": Native "Shavit_GetGameType" was not found
L 08/02/2016 - 12:25:01: [SM] Unable to load plugin "shavit-sounds.smx": Native "Shavit_GetGameType" was not found
L 08/02/2016 - 12:25:01: [SM] Unable to load plugin "shavit-replay.smx": Native "Shavit_GetGameType" was not found
L 08/02/2016 - 12:25:01: [SM] Unable to load plugin "shavit-misc.smx": Native "Shavit_GetGameType" was not found
L 08/02/2016 - 12:25:14: SourceMod error session started
L 08/02/2016 - 12:25:14: Info (map "bhop_1n5an3_rg_csgo") (file "errors_20160802.log")
L 08/02/2016 - 12:25:14: [SM] Unable to load extension "dhooks.ext": Could not find interface: IGameHelpers
L 08/02/2016 - 12:25:14: [SM] Unable to load plugin "shavit-chat.smx": Native "Dynamic_Initialise" was not found
L 08/02/2016 - 12:25:22: Error log file session closed.
I tried latest SM 1.9 snapshot and latest 1.8 stable. Effect is the same:

Code:
L 08/02/2016 - 13:21:43: [SM] Exception reported: Script execution timed out
L 08/02/2016 - 13:21:43: [SM] Blaming: shavit-core.smx()
L 08/02/2016 - 13:21:43: [SM] Call stack trace:
L 08/02/2016 - 13:21:43: [SM]   [1] Line 1114, C:\Users\VsX\Desktop\sourcemod-1.8.0-git5923-windows (1)\addons\sourcemod\scripting\shavit-core.sp::OnPlayerRunCmd()
L 08/02/2016 - 13:21:55: [SM] Exception reported: Script execution timed out
L 08/02/2016 - 13:21:55: [SM] Blaming: shavit-core.smx()
L 08/02/2016 - 13:21:55: [SM] Call stack trace:
L 08/02/2016 - 13:21:55: [SM]   [1] Line 1114, C:\Users\VsX\Desktop\sourcemod-1.8.0-git5923-windows (1)\addons\sourcemod\scripting\shavit-core.sp::OnPlayerRunCmd()
@Technoblazed
which version of SM and dHooks U use for compile?

//edit
after comment this and make gametype static CSGO works like a charm. There's something wrong with GetEngineVersion()
Code:
// game types
	EngineVersion evType = GetEngineVersion();
  
	if(evType == Engine_CSS)
	{
		gSG_Type = Game_CSS;
		gF_HSW_Requirement = 399.00;
	}

	else if(evType == Engine_CSGO)
	{
		gSG_Type = Game_CSGO;
		gF_HSW_Requirement = 449.00;
	}

	else
	{
		SetFailState("This plugin was meant to be used in CS:S and CS:GO *only*.");
	}

Last edited by VsX; 08-02-2016 at 07:50.
VsX is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-02-2016 , 12:24   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.4b 21/September/2015)
Reply With Quote #740

@VsX, you might want to install Dynamic, update to the latest versions of SourceMod 1.8, MetaMod: Source, DHooks (don't forget the gamedata) and the timer. It should work just fine.
If you run non-Steam, I'm pretty sure that GetEngineVersion() will give you incorrect results.
__________________
retired
shavit 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 05:35.


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