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
Dkmuniz
Senior Member
Join Date: Jun 2013
Old 07-24-2015 , 12:50   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.2b 17/July/2015)
Reply With Quote #101

Quote:
Originally Posted by shavit View Post
A backslash is escaping the quotes, the HUD color is working. Check the video, I show the HUD there.
Yes but i only changed and works fine for me
Dkmuniz is offline
Dkmuniz
Senior Member
Join Date: Jun 2013
Old 07-24-2015 , 14:04   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.2b 17/July/2015)
Reply With Quote #102

You can put for save style chosen too ?
Dkmuniz is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-24-2015 , 14:57   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.2b 17/July/2015)
Reply With Quote #103

Quote:
Originally Posted by Dkmuniz View Post
You can put for save style chosen too ?
Would kinda need to ALTER the table, but I need to think about a way to do it correctly.
If I come up with something, I'll add it.
__________________
retired
shavit is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 07-24-2015 , 17:02   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.2b 17/July/2015)
Reply With Quote #104

Quote:
Originally Posted by shavit View Post
For now, change the Native_GetDB function in shavit-core to do this;
Code:
public int Native_GetDB(Handle handler, int numParams)
{
	if(gH_SQL == null)
	{
		SQL_DBConnect();
	}
	
	SetNativeCellRef(1, gH_SQL);
}
This seamed to have stopped the MySQL related errors I had. However I'm still having trouble with the HUD.

Quote:
L 07/24/2015 - 21:10:00: [SM] Displaying call stack trace for plugin "shavit-hud.smx":
L 07/24/2015 - 21:10:00: [SM] [0] Line 191, D:\Caosk\hns\csgo\addons\sourcemod\scripting\ shavit-hud.sp::UpdateHUD()
L 07/24/2015 - 21:10:00: [SM] [1] Line 57, D:\Caosk\hns\csgo\addons\sourcemod\scripting\ shavit-hud.sp::UpdateHUD_Timer()
L 07/24/2015 - 21:10:00: [SM] Native "PrintHintText" reported: Could not send a usermessage
I removed the commented PrintToChat and I thought it solved the problem but then I noticed that the PrintHintText was acting up as well. The server has frozen.
__________________
CAOSK-ESPORTS.COM
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-24-2015 , 17:21   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.2b 17/July/2015)
Reply With Quote #105

Quote:
Originally Posted by Schpraaankiii View Post
This seamed to have stopped the MySQL related errors I had. However I'm still having trouble with the HUD.



I removed the commented PrintToChat and I thought it solved the problem but then I noticed that the PrintHintText was acting up as well. The server has frozen.
This is really damn weird, I have no idea what is causing this issue, sorry.
I think it's another plugin that is causing hint texts to not work though, try running the server just with core plugins and the timer.
__________________
retired
shavit is offline
KOkokosz
Junior Member
Join Date: Jul 2012
Old 07-24-2015 , 17:54   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.2b 17/July/2015)
Reply With Quote #106

Quote:
L 07/24/2015 - 23:52:47: Error log file session closed.
L 07/24/2015 - 23:52:47: SourceMod error session started
L 07/24/2015 - 23:52:47: Info (map "bhop_lego1") (file "errors_20150724.log")
L 07/24/2015 - 23:52:47: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 07/24/2015 - 23:52:47: [SM] Displaying call stack trace for plugin "shavit-zones.smx":
L 07/24/2015 - 23:52:47: [SM] [0] Line 280, C:\Users\Shavit\Documents\GitHub\bhoptimer\sc ripting\shavit-zones.sp::RefreshZones()
L 07/24/2015 - 23:52:47: [SM] [1] Line 247, C:\Users\Shavit\Documents\GitHub\bhoptimer\sc ripting\shavit-zones.sp::OnMapStart()
L 07/24/2015 - 23:52:48: [shavit-wr.smx] Timer (WR forwards cache update) SQL query failed. Reason: Table 'bhop.playertimes' doesn't exist
L 07/24/2015 - 23:52:48: [shavit-wr.smx] Timer (WR sideways cache update) SQL query failed. Reason: Table 'bhop.playertimes' doesn't exist
L 07/24/2015 - 23:52:50: [shavit-wr.smx] Timer (PB cache update) SQL query failed. Reason: Table 'bhop.playertimes' doesn't exist
L 07/24/2015 - 23:52:50: [shavit-wr.smx] Timer (PB cache update) SQL query failed. Reason: Table 'bhop.playertimes' doesn't exist
MySQL nd server are on the same dedicated server.
__________________

KOkokosz is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-24-2015 , 18:37   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.2b 17/July/2015)
Reply With Quote #107

Quote:
Originally Posted by KOkokosz View Post
MySQL nd server are on the same dedicated server.
Use SourceMod 1.7.2; http://www.sourcemod.net/downloads.php
__________________
retired
shavit is offline
Schpraaankiii
Veteran Member
Join Date: Dec 2009
Location: Sweden Norrköping
Old 07-25-2015 , 07:56   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.2b 17/July/2015)
Reply With Quote #108

Quote:
Originally Posted by shavit View Post
This is really damn weird, I have no idea what is causing this issue, sorry.
I think it's another plugin that is causing hint texts to not work though, try running the server just with core plugins and the timer.
Could it be SourceIRC that doesn't play well with your timers? SourceIRC are the only other plugin that spits out Error messages and it seams to be about PrintHintText as well.

Quote:
L 07/25/2015 - 01:27:08: [SM] Plugin encountered error 21: Native is not bound
L 07/25/2015 - 01:27:08: [SM] Native "BfWriteByte" reported:
L 07/25/2015 - 01:27:08: [SM] Displaying call stack trace for plugin "SourceIRC\sourceirc-relayall.smx":
L 07/25/2015 - 01:27:08: [SM] [0] Line 198, C:\Users\Jholland\Desktop\SourceIRC\scripting \sourceirc-relayall.sp::SayText2All()
L 07/25/2015 - 01:27:08: [SM] [1] Line 167, C:\Users\Jholland\Desktop\SourceIRC\scripting \sourceirc-relayall.sp::Command_Me()
L 07/25/2015 - 01:27:08: [SM] Native "PrintHintText" reported: Could not send a usermessage
I'll be testing the server without SourceIRC to see if it works
__________________
CAOSK-ESPORTS.COM

Last edited by Schpraaankiii; 07-25-2015 at 07:56.
Schpraaankiii is offline
Send a message via Skype™ to Schpraaankiii
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-25-2015 , 12:21   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.2b 17/July/2015)
Reply With Quote #109

Quote:
Originally Posted by Schpraaankiii View Post
Could it be SourceIRC that doesn't play well with your timers? SourceIRC are the only other plugin that spits out Error messages and it seams to be about PrintHintText as well.



I'll be testing the server without SourceIRC to see if it works
Probably, SourceIRC isn't using Protobuf to send messages so I guess it conflicts with other plugins too. (relevant to CS:GO only)
__________________
retired
shavit is offline
bobson
Junior Member
Join Date: Jun 2013
Old 07-25-2015 , 16:14   Re: [CS:S/CS:GO] shavit's simple bhop timer (1.2b 17/July/2015)
Reply With Quote #110

KOkokosz, should help as I
Attached Files
File Type: sp Get Plugin or Get Source (shavit-zones.sp - 131 views - 20.6 KB)

Last edited by bobson; 07-25-2015 at 16:15.
bobson 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 18:22.


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