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

[CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)


Post New Thread Reply   
 
Thread Tools Display Modes
ruskydubl
Junior Member
Join Date: Nov 2015
Location: Russian Federation
Old 08-14-2017 , 05:51   Re: [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)
Reply With Quote #171

L 08/14/2017 - 12:46:23: [SM] Blaming: hl_gangs.smx
L 08/14/2017 - 12:46:23: [SM] Call stack trace:
L 08/14/2017 - 12:46:23: [SM] [0] Database.Escape
L 08/14/2017 - 12:46:23: [SM] [1] Line 1082, hl_gangs.sp::OnSay
L 08/14/2017 - 12:46:25: [SM] Exception reported: Invalid database Handle 0 (error: 4)
ruskydubl is offline
Stropy
Senior Member
Join Date: Feb 2016
Old 10-02-2017 , 15:16   Re: [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)
Reply With Quote #172

Are you going to add support for sourcemod store?

Last edited by Stropy; 10-02-2017 at 15:17.
Stropy is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 10-02-2017 , 18:41   Re: [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)
Reply With Quote #173

Quote:
Originally Posted by Stropy View Post
Are you going to add support for sourcemod store?
Apparently sourcemod store doesn't cache it's credit values, which is quite annoying to integrate support for. I'll add it to my list
headline is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 10-02-2017 , 19:53   Re: [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)
Reply With Quote #174

Quote:
Originally Posted by Headline View Post
Apparently sourcemod store doesn't cache it's credit values, which is quite annoying to integrate support for. I'll add it to my list
Not caching does actually sounds more positive, or am I missing your point?

Third party plugins will always have access to 100% up-to-date credit account when not caching, and thereby there won't be issues where one or some plugins may think the user had the 20 credits necessary, while only holding 15 and thereby getting discount, since or going into "debt" with his/her credits.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Rodya
Senior Member
Join Date: Mar 2017
Location: Russia
Old 11-17-2017 , 05:53   Re: [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)
Reply With Quote #175

When the issuance of money via the admin menu?
__________________


Last edited by Rodya; 11-17-2017 at 14:44.
Rodya is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 11-17-2017 , 16:34   Re: [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)
Reply With Quote #176

Quote:
Originally Posted by Rodya View Post
When the issuance of money via the admin menu?
If you're talking about hl_gangs_credits.sp not having a menu ui, then I can say to you it probably never will have one. It's just meant to be super simple. My biggest suggestion is to try Zephyrus' store. I'm pretty sure that one has a menu
headline is offline
mrkos9i4ok
Member
Join Date: Jul 2016
Location: Russia,Moscow
Old 11-19-2017 , 08:37   Re: [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)
Reply With Quote #177

WHEN?!

Headline commented on 20 Sep
As far as doing models and stuff, this would belong better outside of hl_gangs in the form of another - optional - plugin. Does this sound okay?
mrkos9i4ok is offline
Lannister
Veteran Member
Join Date: Apr 2015
Old 01-22-2018 , 15:32   Re: [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)
Reply With Quote #178

I'm having this issue since i've installed the Gangs on my Jailbreak server, basically randomly some gangs dissapear, or they show as -1 members, here is what i could find in my logs

Code:
L 01/22/2018 - 19:21:00: [SM] Exception reported: Current result set has no fetched rows
L 01/22/2018 - 19:21:00: [SM] Blaming: hl_gangs.smx
L 01/22/2018 - 19:21:00: [SM] Call stack trace:
L 01/22/2018 - 19:21:00: [SM]   [0] DBResultSet.FetchString
L 01/22/2018 - 19:21:00: [SM]   [1] Line 2377, C:\Users\XX\sourcemod-1.7.3-git5290-windows\addons\sourcemod\scripting\hl_gangs.sp::SQL_Callback_GangStatistics
L 01/22/2018 - 19:21:16: [SM] Exception reported: Current result set has no fetched rows
L 01/22/2018 - 19:21:16: [SM] Blaming: hl_gangs.smx
It seems to work well, but, randomly it deletes some gangs, or they get like "stuck" and they show -1 member as i've mention before, i'm actaully using the latest version (hl_gangs-git217.zip)

Thanks in advance
Lannister is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 02-19-2018 , 21:37   Re: [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)
Reply With Quote #179

I was testing the lastest version and only CT was able to open gagns menu, even with cvar set to 1.

I just found that the verification for wrong team is returning true when he is on T side
Code:
if (IsPlayerGangable(client))
{
	ReplyToCommand(client, "[SM] %t", "WrongTeam");
	return Plugin_Handled;
}
You can check that on the return, if he is on team 2, it will be true, then the verification above is getting as wrong team.
Code:
bool IsPlayerGangable(int client)
{
	if (!gcv_bTerroristOnly.BoolValue)
	{
		return true;
	}
	
	return GetClientTeam(client) == 2;
}
I guess the correct way would be to verify is client is not Gangable:
Code:
if (!IsPlayerGangable(client))
{
	ReplyToCommand(client, "[SM] %t", "WrongTeam");
	return Plugin_Handled;
}
Best Regards.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile

Last edited by plock; 02-19-2018 at 21:59.
plock is offline
headline
SourceMod Moderator
Join Date: Mar 2015
Old 02-19-2018 , 21:47   Re: [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017)
Reply With Quote #180

Quote:
Originally Posted by plock View Post
-snip-
Yup. A simple NOT operator will do the trick. Thanks for letting me know, grab the latest version and it all should be fine.

Last edited by headline; 02-19-2018 at 21:48.
headline 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 06:58.


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