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

[CS:GO] Special Jailbreak (like cs 1.6 style) with days, shop and different branches


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Plugin ID:
4891
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    A jailbreak mod with special days and jail shop with the cs 1.6 style
    Old 11-12-2015 , 11:45   [CS:GO] Special Jailbreak (like cs 1.6 style) with days, shop and different branches
    Reply With Quote #1

    The servers that can help me to support this mod will be listed here:



    https://gaming-force.es/ JailBreak IP 51.83.59.241:28021


    Description:

    A long time ago I made a jailbreak server with special days and jail shop like cs 1.6 style. Also include a very structured menu where you can found all.


    Pressing the button "." of your keyboard appear the main menu.

    The main menu is:

    (this opcion only appear to guards)Be simon (or Simon menu is you already are simon)
    (this opcion only appear to guards) Choose weapons (for guards can select their weapons in spawn)
    Jail shop
    Hats menu
    Read rules (i removed it for now)
    Admin menu

    Simon menu have:

    Press jail cells (for open or close jail cells with the simon's menu)
    Give FreeDay to everybody
    Give FreeDay to someone (next, a menu with all the prisioners appear)
    Kill a random prisioner (feature for some jail games where the simon say "now a random prison will die")
    Enable/Disable Friendly fire (jail box for make fight prisioners vs prisioners and the FF dont affect to guards, only prisioners)
    Leave Simon


    The day are random in the round start. The Day Jails are:

    Simon day
    A random guard is selected as Simon

    Zombie day
    The jails cells are opened automatically and prisioners receive weapons. Guards are zombies with a zombie skin, with knockback (like a zombie server) and with 10000 HP. Include darkness effect in the map ( http://steamcommunity.com/sharedfile.../?id=371086553 )


    HideNseek Day
    Guards will be frozen for 1 minute and the prisoners have to hide within the one minute. When 1 minute is reached, guards are unfrozen and prisioners are frozen, also the darkness affect is turned ON. Guards are a big transparent chicken for be visible for prisioners ( http://steamcommunity.com/sharedfile.../?id=380163318 ).


    NoScope day
    Jail cells are opened automatically, the gravity is very low (big jumps), prisioners cant kill to guards and guards have a AWP but they cant use the awp zoom.

    War Day
    Prisioners are frozen the first 30 seconds. Time where the guards can be distributed around the map. Then prisioners and guards receive weapons and the War start.


    War Free For All Day
    In the first 30 seconds cant attack. Time where the all can be distributed around the map. Then prisioners and guards receive weapons and the War start where only one can survive.

    Freeze Tag Day
    The guards must catch prisioners for freeze him but prisioners can save to teammates if they touch him. Sprint enabled in this round pressing E button.

    FreeDay Day
    All prisioners receive FreeDay and the jail cells are opened automatically.


    I included in these pack shortsprint, afk manager, and anticamp


    Cvars:
    Put in server.cfg
    Code:
    sm_franugjailbreak_day "5" // every X rounds, a special round (not simon round) started

    Requeriments:

    The last version of SM_Hosties
    Jail doors -> https://forums.alliedmods.net/showthread.php?p=2306018


    For developers:

    The API is:
    PHP Code:
    // JAILBREAK natives by Franc1sco franug


    // Teams index for JAILBREAK plugin
    #define JB_GUARDS 1
    #define JB_PRISIONERS 2
    #define JB_BOTH 3


    /**
     * Add a Award to the main plugin.
     *
     * @param name            Award name.
     * @param price           Award Price.
     * @param teamallowed            Team allowed for use this award.
     * 
     * @noreturn                   
     */
    native JB_AddAward(const String:name[], priceteamallowed);

    /**
     * Select a special round to do this round.
     *
     * @param name            Round name.
     * 
     * @noreturn                   
     */
    native JB_ChooseRound(const String:name[]);

    /**
     * Called when a Award has been bought.
     *
     * @param client            Client that bought the award.
     * @param price           Award Bought.               
     */
    forward JB_OnAwardBoughtclient, const String:awardbought[]);

    /**
     * Remove a Award to the main plugin.
     *
     * @param name            Award name.
     * 
     * @noreturn                   
     */
    native JB_RemoveAward(const String:name[]);

    /**
     * Set as special class (can´t buy awards) a player.
     *
     * @param client            Client target.
     * @param special            Set true or false the state of "special class".
     * 
     * @noreturn                   
     */
    native JB_SetSpecial(clientbool:special);

    /**
     * Check if a player is a special class.
     *
     * @param client            client index
     * 
     * @return                    True if Special class, false if not.
     */
    native bool:JB_GetSpecial(client);

    /**
     * Set credits to a client.
     *
     * @param client            Client target.
     * @param credits            Number of credit for set.
     * 
     * @noreturn                   
     */
    native JB_SetCredits(clientcredits);

    /**
     * Check if a player is a special class.
     *
     * @param client            Client target.
     * 
     * @return                    Return current credits of the target
     */
    native JB_GetCredits(client);

    /**
     * Give FreeDay to a player.
     *
     * @param client            Client target.
     * 
     * @noreturn                   
     */
    native JB_GiveFD(client);

    /**
     * Check if a player is FD.
     *
     * @param client            client index.
     * 
     * @return                    True if FD, false if not.
     */
    native bool:JB_GetFD(client);

    /**
     * Sent translations to the main plugin.
     *
     * @param client            File with translations.
     * 
     * @noreturn                   
     */
    native JB_LoadTranslations(const String:langfile[]); 

    /**
     * Check if a player is a special class.
     *
     * @param CurrentRound           String to store the name of current round.
     * 
     * @return                    Return true if a round has been selected, false if not.
     */
    native bool:JB_GetRound(String:CurrentRound[]); 

    A example subplugin is this:
    PHP Code:
    #pragma semicolon 1
    #include <sourcemod>
    #include <sdktools>
    #include <franug_jb>

    // configuration part
    #define AWARDNAME "zeus" // Name of award
    #define PRICE 30 // Award price
    #define AWARDTEAM JB_GUARDS // Set team that can buy this award (use JB_BOTH or JB_GUARDS or JB_PRISONS)
    #define TRANSLATIONS "jailbreak_zeus.phrases" // Set translations file for this subplugin
    // end configuration


    // dont touch
    public OnPluginStart()
    {
        
    CreateTimer(0.1Lateload);
    }

    public 
    Action:Lateload(Handle:timer)
    {
        
    LoadTranslations(TRANSLATIONS); // translations to the local plugin
        
    JB_LoadTranslations(TRANSLATIONS); // sent translations to the main plugin
        
        
    JB_AddAward(AWARDNAMEPRICEAWARDTEAM); // add award to the main plugin
    }
    public 
    OnPluginEnd()
    {
        
    JB_RemoveAward(AWARDNAME); // remove award when the plugin is unloaded
    }
    // END dont touch part


    public JB_OnAwardBoughtclient, const String:awardbought[])
    {
        if(
    StrEqual(awardboughtAWARDNAME))
        {
            
    // use your custom code here
            
    PrintToChat(client" \x04[Franug-JailBreak] \x05%t""Has comprado un arma ZEUS"); // translation phrase
            
    GivePlayerItem(client"weapon_taser");
        }


    Warning, I used it a long time ago in my server so probably I forget something to add in the zip because this was a big jailbreak mod that I made. Report bugs! and I am searching to someone to can give me ftp access to his server for help me to support this mod better and for free.


    Download:

    Normal branch:
    Only captain can start days branch:



    Donations (optional):

    If you apreciate my work, you can donate me via paypal or with a trade offer


    Enjoy! ;)
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.


    Last edited by Franc1sco; 05-04-2020 at 19:08.
    Franc1sco is offline
    Send a message via MSN to Franc1sco
    iGANGNAM
    AlliedModders Donor
    Join Date: Sep 2012
    Location: Lithuania
    Old 11-12-2015 , 15:09   Re: [CS:GO] Jailbreak special days with jail shop (like cs 1.6 style)
    Reply With Quote #2

    thanks for sharing, even I like your hat plugin more than whole jailbreak mod ;)
    even so, gamedata file is missing

    Last edited by iGANGNAM; 11-12-2015 at 15:10.
    iGANGNAM is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-12-2015 , 18:04   Re: [CS:GO] Jailbreak special days with jail shop (like cs 1.6 style)
    Reply With Quote #3

    Quote:
    Originally Posted by iGANGNAM View Post
    I like your hat plugin more than whole jailbreak mod ;)
    You dont prefer my jailbreak mod? I cry
    Spoiler


    Quote:
    Originally Posted by iGANGNAM View Post
    even so, gamedata file is missing
    I added it to the zip in the first post, re-download it
    Attached Images
    File Type: jpg lloro.jpg (25.7 KB, 14236 views)
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 11-12-2015 , 18:29   Re: [CS:GO] Jailbreak special days with jail shop (like cs 1.6 style)
    Reply With Quote #4

    Could you add a cvar or something to regulate how many "special rounds" can we get for a map? or allow Wardens (Simon) to decide if in the next round it will be a "special day?" because it will be too heavy for people that are used to play Jailbreak normally and to follow orders, if every round they play special days, like Zombie mod, it's like it will loose the essence of what it is Jailbreak.

    ----------

    Podrias agregar un cvar o algo para regular cuantas rondas "especiales" pueden haber por mapa? o tal vez, en el menu del Simon que el pueda decidir si en la proxima ronda se va a jugar una ronda "especial" aleatoria? ya que si todas las rondas son aleatorias, ya sea Zombie, escapar, o lo que sea, va a ser demasiado pesado para todos los jugadores que estan acostumbrado a lo que es "seguir ordenes" sin contar que perderia mucho la escencia del juego. Gracias y segui así!
    Lannister is offline
    supreeda
    Senior Member
    Join Date: Jul 2015
    Old 11-13-2015 , 01:23   Re: [CS:GO] Jailbreak special days with jail shop (like cs 1.6 style)
    Reply With Quote #5

    i think only warden can use menu please someone make it for me , thank first

    this is a warden plugin : https://forums.alliedmods.net/showthread.php?p=1476638
    supreeda is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-13-2015 , 04:18   Re: [CS:GO] Jailbreak special days with jail shop (like cs 1.6 style)
    Reply With Quote #6

    Quote:
    Originally Posted by Lannister View Post
    Could you add a cvar or something to regulate how many "special rounds" can we get for a map? or allow Wardens (Simon) to decide if in the next round it will be a "special day?" because it will be too heavy for people that are used to play Jailbreak normally and to follow orders, if every round they play special days, like Zombie mod, it's like it will loose the essence of what it is Jailbreak.

    ----------

    Podrias agregar un cvar o algo para regular cuantas rondas "especiales" pueden haber por mapa? o tal vez, en el menu del Simon que el pueda decidir si en la proxima ronda se va a jugar una ronda "especial" aleatoria? ya que si todas las rondas son aleatorias, ya sea Zombie, escapar, o lo que sea, va a ser demasiado pesado para todos los jugadores que estan acostumbrado a lo que es "seguir ordenes" sin contar que perderia mucho la escencia del juego. Gracias y segui así!
    I will do it

    Quote:
    Originally Posted by supreeda View Post
    i think only warden can use menu please someone make it for me , thank first

    this is a warden plugin : https://forums.alliedmods.net/showthread.php?p=1476638
    Not needed, in this mod the warden is called simon
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    supreeda
    Senior Member
    Join Date: Jul 2015
    Old 11-13-2015 , 11:28   Re: [CS:GO] Jailbreak special days with jail shop (like cs 1.6 style)
    Reply With Quote #7

    but simon can use all police xD

    any hat don't work

    Last edited by supreeda; 11-13-2015 at 11:28.
    supreeda is offline
    Cipop
    Member
    Join Date: Sep 2014
    Old 11-13-2015 , 12:46   Re: [CS:GO] Jailbreak special days with jail shop (like cs 1.6 style)
    Reply With Quote #8

    Working on a custom version of the plugin, with new special days for my brazilian JailBreak server! Later i will share with you guys!

    Last edited by Cipop; 11-13-2015 at 13:29.
    Cipop is offline
    Franc1sco
    Veteran Member
    Join Date: Oct 2010
    Location: Spain (Madrid)
    Old 11-14-2015 , 02:03   Re: [CS:GO] Jailbreak special days with jail shop (like cs 1.6 style)
    Reply With Quote #9

    Quote:
    Originally Posted by supreeda View Post
    but simon can use all police xD

    any hat don't work
    Well as I said, I am searching to someone that can help me to test it my plugin in steam so feel free to add me if you want a better support

    Quote:
    Originally Posted by Cipop View Post
    i will share with you guys!
    Thats would be good
    __________________
    Veteran Coder -> Activity channel
    Coding on CS2 and taking paid and free jobs.

    Contact: Steam, Telegram or discord ( franug ).

    You like my work? +Rep in my steam profile comments or donate.

    Franc1sco is offline
    Send a message via MSN to Franc1sco
    iGANGNAM
    AlliedModders Donor
    Join Date: Sep 2012
    Location: Lithuania
    Old 11-15-2015 , 06:23   Re: [CS:GO] Jailbreak special days with jail shop (like cs 1.6 style)
    Reply With Quote #10

    hats plugin is working, thank you ;)
    iGANGNAM is offline
    Reply


    Thread Tools
    Display Modes

    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 01:44.


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