AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [CS:GO/CS:S] Jailbreak Gangs (V1.1.9, 06/1/2017) (https://forums.alliedmods.net/showthread.php?t=293920)

headline 02-14-2017 17:42

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

About:
This is a gangs plugin that allows people to create gangs and invite their friends! Once members of the gangs gather enough credits/points, they're able to unlock gang powerups! This allows people to get together and have some fun. Perks that gangs can work towards include extra health, damage, lower gravity, higher speed, and finally gang size increase! The powerups given are very slight, and do not impede gameplay in any way. Powerups are also disabled when there's only one terrorist left (last request). Give it a try!

Installation:
If you're running a supported store, go ahead and throw away hl_gangs_credits.smx since you don't need a store system. Due to the fact that gang's skill levels depend on credits, I included a default credit system that is very simple. This is just so the gangs plugin will work even if you don't have a supported store system.

hl_gangs_credits.smx doesn't require a database entry (it uses hl_gang's database)
  1. Install plugin into sourcemod/plugins directory
  2. Add database.cfg entry under hl_gangs (default cvar value)
  3. Load plugins in game
  4. Have fun

Commands:
Code:

sm_gangs
Cvar File:
cfg file


Bugs:
If you have any issues or bugs then you should create an issue on GitHub!
http://code-bude.net/wp-content/uplo...rcle_black.png

https://travis-ci.org/Headline22/Gan...?branch=master

https://img.shields.io/github/issues...ne22/Gangs.svg

https://img.shields.io/badge/release...rightgreen.svg

Download: Here

Gangs Include
Spoiler


HOW TO ASK A QUESTION:
If you're having a problem, post containing information about what you have tried, exactly what is wrong, error logs, or other useful information. If you chose to not provide this information, no one's going to help you.

hexu8 02-15-2017 14:44

Re: [CS:GO] Jailbreak Gangs (V1.0.1, 02/14/2017)
 
When the map will change skills resets.
When you invite 15 players and perks will reset, you have only 6 slots !

headline 02-15-2017 14:57

Re: [CS:GO] Jailbreak Gangs (V1.0.1, 02/14/2017)
 
Quote:

Originally Posted by hexu8 (Post 2495673)
When the map will change skills resets.
When you invite 15 players and perks will reset, you have only 6 slots !

Are you on v1.0.1? Any error logs?

EDIT: Download v1.0.2, I was able to replicate the bug and it's now fixed.

Lannister 02-15-2017 16:18

Re: [CS:GO] Jailbreak Gangs (V1.0.2, 02/15/2017)
 
Can we use this plugin with Zephyrus store but using it with sqlite? thanks in advance

headline 02-15-2017 17:09

Re: [CS:GO] Jailbreak Gangs (V1.0.2, 02/15/2017)
 
Quote:

Originally Posted by Lannister (Post 2495708)
Can we use this plugin with Zephyrus store but using it with sqlite? thanks in advance

Zephrus's store using SQLite is okay as long as you can use MySQL for hl_gangs databases

Jillchang 02-15-2017 21:07

Re: [CS:GO] Jailbreak Gangs (V1.0.2, 02/15/2017)
 
Any chance this can be compatible with tf2?

headline 02-15-2017 21:17

Re: [CS:GO] Jailbreak Gangs (V1.0.2, 02/15/2017)
 
Quote:

Originally Posted by Jillchang (Post 2495754)
Any chance this can be compatible with tf2?

I created a branch and removed CS:GO/CS:S dependency. Compile & try this branch, let me know how it works

https://github.com/Headline22/Gangs/...anc-tf2support

hexu8 02-16-2017 12:49

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.2, 02/15/2017)
 
Bug with topgangs : http://screenshot.sh/n9myBNX2Gney3

Jillchang 02-16-2017 22:31

Re: [CS:GO] Jailbreak Gangs (V1.0.2, 02/15/2017)
 
Quote:

Originally Posted by Headline (Post 2495755)
I created a branch and removed CS:GO/CS:S dependency. Compile & try this branch, let me know how it works

https://github.com/Headline22/Gangs/...anc-tf2support

Awesome, will take a look!

Also, for people in same gang are the supposed to not be able to attack each other?

headline 02-16-2017 23:05

Re: [CS:GO] Jailbreak Gangs (V1.0.2, 02/15/2017)
 
Quote:

Originally Posted by Jillchang (Post 2496019)
Awesome, will take a look!

Also, for people in same gang are the supposed to not be able to attack each other?

This plugin doesn't deal with damage modification based on gang member relationships

Jillchang 02-17-2017 00:40

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.2, 02/15/2017)
 
Ah, ok. Still a cool plugin!

headline 02-17-2017 03:06

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.2, 02/15/2017)
 
Quote:

Originally Posted by hexu8 (Post 2495896)

Should be fixed in version 1.0.3! Try it

Lannister 02-17-2017 13:56

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Hello Headline! amazing plugin, but i've got a bug to report, when the map changes all the adquires perks are reset, my gang is still there but all the perks are not, also i wonder if you could create a translation file!

Thanks in advance and keep up the good work

headline 02-17-2017 13:59

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by Lannister (Post 2496190)
Hello Headline! amazing plugin, but i've got a bug to report, when the map changes all the adquires perks are reset, my gang is still there but all the perks are not, also i wonder if you could create a translation file!

Thanks in advance and keep up the good work

Hello! Try version 1.0.3

Lannister 02-17-2017 14:09

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
That's actually the version that i'm using!

headline 02-17-2017 14:45

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by Lannister (Post 2496193)
That's actually the version that i'm using!

Are you sure? So the perks aren't saving at all? That's very odd... I'll see if I can reproduce that glitch on my test server. That was (supposed to be) fixed in one of the latest updates

EDIT: I'm not able to reproduce any bug like that. Just be sure that you're using the latest version from GitHub

murrvg 02-18-2017 15:56

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Can u add support for different languages?

headline 02-18-2017 17:18

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by murrvg (Post 2496431)
Can u add support for different languages?

I'm very interested in doing this. Next patch we should have support for other languages

headline 02-18-2017 23:23

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by murrvg (Post 2496431)
Can u add support for different languages?

Can you (or anyone) go ahead and convert this to some other languages please? I wanna have some languages supported before the release...


Code:

"Phrases"
{
        "GangAlert"
        {
                "#format" "{1:s}"
                "en" "Gang member {1} has joined the game"
        }
        "DisabledPlugin"
        {
                "en" "This plugin is disabled!"
        }
        "DisabledAcceptCommand"
        {
                "en" "Accepting via command is disabled!"
        }
        "PlayerNotInGame"
        {
                "en" "You must be in-game to use this command!"
        }
        "WrongTeam"
        {
                "en" "You must be on the terrorist team to use this command!"
        }
        "AlreadyInGang"
        {
                "en" "You are already in a gang!"
        }
        "NotInvited"
        {
                "en" "You must be invited first!"
        }
        "GangIsFull"
        {
                "en" "That Gang is full!"
        }
        "NameTooLong"
        {
                "en" "The name you selected is too long!"
        }
        "NameAlreadyUsed"
        {
                "en" "That name is already used, try again!"
        }
        "GangCreated"
        {
                "#format" "{1:s}, {2:s}"
                "en" "{1} has created {2}"
        }
        "GangNameChange"
        {
                "#format" "{1:s}, {2:s}, {3:s}"
                "en" "{1} has changed the name of {2} to {3}"
        }
        "AcceptInstructions"
        {
                "#format" "{1:s}"
                "en" "Type !accept to join {1}!""
        }
        "GangJoined"
        {
                "#format" "{1:s}, {2:s}"
                "en" "{1} has joined {2}!"
        }
        "HealthUpgrade"
        {
                "en" "Health upgrade will be applied next round!"
        }
        "DamageUpgrade"
        {
                "en" "Damage upgrade will be applied next round!"
        }
        "SpeedUpgrade"
        {
                "en" "Speed upgrade will be applied next round!"
        }
        "SizeUpgrade"
        {
                "en" "Size upgrade will be applied next round!"
        }
        "GravityUpgrade"
        {
                "en" "Gravity upgrade will be applied next round!"
        }
        "GangName"
        {
                "en" "Please type desired gang name in chat!"
        }
        "GangMemberKick"
        {
                "#format" "{1:s}, {2:s}"
                "en" "{1} has been kicked from {2}"
        }
        "NoGangs"
        {
                "en" "There are no gangs created!"
        }
        "GangDisbanded"
        {
                "#format" "{1:s}, {2:s}"
                "en" "{1} has disbanded {2}"
        }
        "LeftGang"
        {
                "#format" "{1:s}, {2:s}"
                "en" "{1} has left {2}"
        }
        "GamePerksDisabled"
        {
                "en" "Your gang perks have been disabled!"
        }

}

I'll also need some more in the future once menus are converted. This is just printed text phrases

SpiritBob 02-19-2017 02:43

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
I'm thinking about using this on non-JB server. That won't be an issue right? And is it possible to configure the database without using mysql? (If you can also hint me on how)
I'll switch to mysql soon, but at this moment I'd rather just see how it goes \o/


EDIT: I'll do a translation to bulgarian if you still need translations before release.

headline 02-19-2017 02:50

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by SpiritBob (Post 2496517)
I'm thinking about using this on non-JB server. That won't be an issue right? And is it possible to configure the database without using mysql? (If you can also hint me on how)
I'll switch to mysql soon, but at this moment I'd rather just see how it goes \o/


EDIT: I'll do a translation to bulgarian if you still need translations before release.

I definately do need translations formatted in that translations file I posted! Unfortunately since this plugin relies on MySQL (for literally everything), you need MySQL to use this!

Edit: Also, the next patch will have support to turn off JB specific functions!

murrvg 02-19-2017 08:41

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
http://translator.mitchdempsey.com/s...od_plugins/new add your plugin here, so anyone can help you in translation

shanapu 02-19-2017 10:25

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
1 Attachment(s)
Quote:

Originally Posted by Headline (Post 2496497)
Can you (or anyone) go ahead and convert this to some other languages please? I wanna have some languages supported before the release...

Here is german "de" translation.

Lannister 02-19-2017 11:08

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
I'm still having this issue which makes that all the perks dissapear after the map changes, we spoke on Steam and we found out that in my database nothing was being created under hl_gangs_group (where the perks are saved), does this mean that am i the only one that have this bug?

Thanks in advance

headline 02-19-2017 14:29

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by Lannister (Post 2496641)
I'm still having this issue which makes that all the perks dissapear after the map changes, we spoke on Steam and we found out that in my database nothing was being created under hl_gangs_group (where the perks are saved), does this mean that am i the only one that have this bug?

Thanks in advance

Do you have any errors from hl_gangs in the error logs

edit: Also be 100% positive you're running the latest version. I fixed the bug already

Quote:

Originally Posted by shanapu (Post 2496628)
Here is german "de" translation.

:bacon!::bacon!::bacon!:

Quote:

Originally Posted by murrvg (Post 2496597)
http://translator.mitchdempsey.com/s...od_plugins/new add your plugin here, so anyone can help you in translation

http://translator.mitchdempsey.com/s...od_plugins/275

Masterofks 02-19-2017 17:46

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
1 Attachment(s)
Here is polish "pl" translation.

hexu8 02-19-2017 18:06

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by Masterofks (Post 2496733)
Here is polish "pl" translation.

Nice

headline 02-19-2017 18:08

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Perfect. It has been added to the plugin's translation website. Keep them coming guys! Great work! We'll also need some more to be done once menu items get added to the translations list :D

murrvg 02-19-2017 18:19

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
1 Attachment(s)
Here is russian "ru" translation.

headline 02-19-2017 18:25

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by murrvg (Post 2496749)
Here is russian "ru" translation.

:bacon!::bacon!::bacon!:

hexu8 02-20-2017 07:21

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
1 Attachment(s)
When player have VIP perks not working.

headline 02-20-2017 19:57

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by hexu8 (Post 2496841)
When player have VIP perks not working.

What exactly doesn't work? Everything??


Also guys, I added the last of the menu phrases and stuff so the next release will be fully supported with translations. We just need the menu phrases to be converted and we should be good to go. The code is written, just gotta wait for the translations to come in and then version 1.0.4 will be released immediately after

http://translator.mitchdempsey.com/s...od_plugins/275

murrvg 02-21-2017 09:43

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Russian translation is done

Masterofks 02-21-2017 13:52

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by murrvg (Post 2497162)
Russian translation is done

Polish too

headline 02-21-2017 15:13

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by Masterofks (Post 2497249)
Polish too

Thanks everyone!

Version 1.0.4 has been pushed. Have fun

ichiballs 02-21-2017 18:44

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.4, 02/21/2017)
 
When i want to create gang, it asks me to type the desired name but my chat crashes after that and i cant write anything in chat after that so i have to reconnect in order to use chat again. Any ideas?

ichiballs 02-21-2017 18:49

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.4, 02/21/2017)
 
[SM] Exception reported: Invalid query Handle 0 (error: 4)
[SM] Blaming: hl_gangs.smx
[SM] Call stack trace:
[SM] [0] DBResultSet.RowCount.get
[SM] [1] Line 966, hl_gangs.sp::SQL_Callback_CheckName

headline 02-21-2017 23:17

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.4, 02/21/2017)
 
Quote:

Originally Posted by ichiballs (Post 2497330)
[SM] Exception reported: Invalid query Handle 0 (error: 4)
[SM] Blaming: hl_gangs.smx
[SM] Call stack trace:
[SM] [0] DBResultSet.RowCount.get
[SM] [1] Line 966, hl_gangs.sp::SQL_Callback_CheckName

Download the new latest version and it should give us more information about why the query is failing

hexu8 02-22-2017 08:40

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
Quote:

Originally Posted by Headline (Post 2497032)
What exactly doesn't work? Everything??

Gravity and Speed.

headline 02-22-2017 15:23

Re: [CS:GO/CS:S] Jailbreak Gangs (V1.0.3, 02/17/2017)
 
New version 1.0.6 fixed a string formatting error that was reported to me.
Update!



Quote:

Originally Posted by hexu8 (Post 2497473)
Gravity and Speed.

Okay. I'll try and see if I can minimize the conflict in the next update


All times are GMT -4. The time now is 17:47.

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