Description :- Jailbreak mod is a nice fun mod to play with friends it participate into 2 roles, guards & prisoners, guards duties to make sure prisoners wont rebel, riot or disobedience ( trying to kill the opposite team / refusing to complete an order from the warden ) and the warden/commander should rule the round and control it by giving the prisoners some activities using the map or mod accessibilities such as starting a minigame or going through creativity to determine who's worthy enough in the prisoners team to survive and end the round by last prisoner choice either by a rebellion or using the last request menu and try to duel out with the guards.
extract all the files in the archives to your "cstrike/" folder, compile all the sma files,
Add all the plugins with '.amxx' TYPE after the compiling in the 'amxmodx/plugins/' folder after this step your jailbreak server should be working.
Note this mod is using a custom map vote plugin, you must disables the default ones that comes with the amxmodx package from plugins.ini
Note For the ones who're using the default gamedll of the game you might need to update some of the signatures in the orpheu function directory and/or some memory game offsets since some of the plugins won't work without the correct signatures and/or offsets...
Known Issues :-
MYSQL saving type, invalid queries and small mistakes with saving/loading the cash using mysql. Fixed in version 2.6.1
Taking damage is disabled, will be fixed asap! Fixed in version 2.6.3
Memory leakage of not destroying the hp duel lr menu and knife lr menu. Fixed in version 2.7.0
Features :-
* SHOP SYSTEM *
you can configure any shop item, you will find everything in jailbreak_shop.ini & jailbreak_days_shopitems.ini file inside the configs folder which located in the amxmodx directory.
* Shop Features *
Item Limit per user or per users for one round or couples of rounds.
Item is Customable for each special day.
easy to change the prices.
You can add/change the description for each item.
You can set an admin flag or any flag for each item.
You can specify the item for any team you want or both team.
* GANG SYSTEM *
You can add skins for the gangs...
gangster skins are purchasable while the creation of the gang only.
you can add skins in the "gangs_skins.ini" file
* GAMBLING SYSTEM *
This gambling system offers you two kind of gambling games jackpot and blackjack, if you're interested of adding more gambling games you can since the API is great.
* EFFECTS SYSTEM *
You can add for each day/duel/event (DETECTED ONLY BY A JAILBREAK LOGMESSAGE) a sound, hudmessage or a chat message or even execute a server, client command, you can check JAILBREAK log messages by typing log on in server console, if is 1st parameter in the message is 'JAILBREAK' then its a detectable logmessage, there is no need to include JAILBREAK in the logmessage in the file.
* 'jailbreak_effects.ini' will be auto created!
for examples....
jailbreak_effects.ini
Code:
; type (log on) in the server console to check out the log messages...
; also you might see some jailbreak direct messages in your client console...
; [Round Started] ---> JAILBREAK logmessage
; Clients command executation...
; COMMAND = "CLIENT ; drop; name 'dummy'"
; Server command executation...
; COMMAND = "SERVER ; sv_lan '1' ; sv_restart '3';"
; Plays a sound for all
; SOUND = Sound file director...
; CHAT_MESSAGE = Text Chat message
; CHATMSG_RECEIVER = @guards/@prisoners/@spectators, 0 - for all
; HUDMSG_MESSAGE = Text Hudmessage
; HUDMSG_COLOR_R = 0-255
; HUDMSG_COLOR_G = 0-255
; HUDMSG_COLOR_B = 0-255
; HUDMSG_POS_X = -1.0 (center)
; HUDMSG_POS_Y = -1.0 (center)
; HUDMSG_EFFECTS = 0, 1 or 2
; HUDMSG_FXTIME = 0.5 (default)
; HUDMSG_HOLDTIME = 12.0 (default)
; HUDMSG_FADEIN_TIME = 0.5 (default)
; HUDMSG_FADEOUT_TIME = 0.5 (default)
; HUDMSG_REPEAT = X ( 1 - Infinite Repeats, 2 or more - will repeats couple of times depending on the value X )
; HUDMSG_RECEIVER = @guards/@prisoners/@spectators, 0 - for all
; HUDMSG_REMOVE = "HUDMSG_ID" Disable/Removes hudmmessage if it has the HUDMSG_REPEAT VALUE equal to 1
;--------------------------------------------------------------------------------------------------------------------->
; Variables/Constants In COMMAND, SOUND, CHAT_MESSAGE, CHATMSG_RECEIVER, HUDMSG_MESSAGE and HUDMSG_RECEIVER values --->
;--------------------------------------------------------------------------------------------------------------------->
; %newline% = ^n
; #%value(logmessage_argument_number) = will be replaced with the value between the apostrophes in the jb logmessage depending on the argument number, logmessage_argument_number is a positive number.
; #%cvar(cvar_name) = will be replaced with the cvar_name value, cvar_name is a string must not be empty.
; #%guards[@] = will return the number of all the connected players in the guards team.
; #%guards[a] = will return the number of all the alive players in the guards team.
; #%guards[d] = will return the number of all the dead players in the guards team.
; #%prisoners[@] = will return the number of all the connected players in the prisoners team.
; #%prisoners[a] = will return the number of all the alive players in the prisoners team.
; #%prisoners[d] = will return the number of all the dead players in the prisoners team.
; #%SPEC = will return the number of all the clients in the spectators team.
; #%useridX = will return the userid of the X player in the logmessage, X is a positive number greater than 0.
; #%usernameX = will return the username of the X player in the logmessage, X is a positive number greater than 0.
; #%hpuserX = will return the user health of the X player in the logmessage, X is a positive number greater than 0.
; #%apuserX = will return the user armorpack of the X player in the logmessage, X is a positive number greater than 0.
; #%cashuser = will return the user cash of the X player in the logmessage, X is a positive number greater than 0.
; #%classuser = will return the user classname of the X player in the logmessage, X is a positive number greater than 0.
; %votedaycounter% = will return the special day time left.
; %lrcounter% = will return the last request countdown time left.
; %today% = will return the current day in the mod or in the game.
; %dayname% = will return the special day name.
; %duelname% = will return the duel name of the last request.
; %hostname% = will return the hostname of the server.
; %y% = will return the year in the current time, time value format changes depending on the letter case.
; %m% = will return the month in the current time, time value format changes depending on the letter case.
; %d% = will return the day in the current time, time value format changes depending on the letter case.
; %h% = will return the hour in the current time, time value format changes depending on the letter case.
; %s% = will return the seconds in the current time, time value format changes depending on the letter case.
[Last request is activated]
HUDMSG_MESSAGE = "Last Request is activated!"
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.45
HUDMSG_REMOVE = "DUEL_HUD"
[Last request is deactivated]
HUDMSG_MESSAGE = "Last Request is deactivated!"
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.45
HUDMSG_REMOVE = "DUEL_HUD"
[Admin has ended the lastrequest duel!]
HUDMSG_REMOVE = "DUEL_HUD"
[LR '#%??' challenging]
HUDMSG_MESSAGE = "%newline% %duelname% %newline% Prisoner(#%hpuser1) #%username1 - Guard(#%hpuser2) #%username2"
HUDMSG_COLOR_R = 255
HUDMSG_COLOR_G = 0
HUDMSG_COLOR_B = 0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.05
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 0.99
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 1
HUDMSG_ID = "DUEL_HUD"
[Guards Win]
HUDMSG_MESSAGE = Guards Win!
HUDMSG_COLOR_R = 255
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.35
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 5.0
sound = sound/jailbreak/guardswin.wav
[Prisoners win]
HUDMSG_MESSAGE = Prisoners Win!
HUDMSG_COLOR_R = 255
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.35
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 5.0
sound = sound/jailbreak/prisonerswin.wav
[Round has ended]
HUDMSG_REMOVE = "MAIN_HUD"
HUDMSG_REMOVE = "FUNDAY_HUD"
HUDMSG_REMOVE = "DUEL_HUD"
HUDMSG_REMOVE = "WARDEN_HUD"
SOUND = "sound/jailbreak/jb_roundend.mp3"
[Round has started]
HUDMSG_MESSAGE = "(Guards: #%guards[a]/#%guards[@]) %today% (Prisoners: #%prisoners[a]/#%prisoners[@])"
HUDMSG_COLOR_R = 0
HUDMSG_COLOR_G = 225
HUDMSG_COLOR_B = 0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.05
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 1.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 1
HUDMSG_ID = "MAIN_HUD"
[Specialday '#%??' has ended]
HUDMSG_REMOVE = "FUNDAY_HUD"
HUDMSG_REMOVE = "GUNGAME_PLAYER_HUD"
HUDMSG_REMOVE = "GUNGAME_LEADER_HUD"
COMMAND = "CLIENT;stopsound"
COMMAND = "CLIENT;mp3 stop"
[Specialday '#%??' has started]
HUDMSG_MESSAGE = "%newline% %newline% %dayname% - %fundaycounter%"
HUDMSG_COLOR_R = 255
HUDMSG_COLOR_G = 0
HUDMSG_COLOR_B = 0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.05
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 0.99
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 1
HUDMSG_ID = "FUNDAY_HUD"
[gungame player level]
HUDMSG_MESSAGE = "Level ##%value(1) - #%value(2)"
HUDMSG_COLOR_R = 200
HUDMSG_COLOR_G = 0
HUDMSG_COLOR_B = 0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 0.99
HUDMSG_STYLE = 0
HUDMSG_REPEAT = 1
HUDMSG_ID = "GUNGAME_PLAYER_HUD"
HUDMSG_RECEIVER = #%username1
[1st leader leading the gungame]
HUDMSG_MESSAGE = "#%username1 is the leader"
HUDMSG_COLOR_R = 255
HUDMSG_COLOR_G = 255
HUDMSG_COLOR_B = 255
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.25
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 0.99
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 1
HUDMSG_ID = "GUNGAME_LEADER_HUD"
[is leading the gungame]
HUDMSG_MESSAGE = "#%username1 is the leader"
HUDMSG_COLOR_R = 255
HUDMSG_COLOR_G = 255
HUDMSG_COLOR_B = 255
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.25
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 0.99
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 1
HUDMSG_ID = "GUNGAME_LEADER_HUD"
[is Looking @]
HUDMSG_MESSAGE = #%username2 %newline% HP: #%hpuser2 AP: #%apuser2 %newline% Cash: $#%cashuser2
HUDMSG_COLOR_R = 255
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 0
HUDMSG_FADEIN_TIME = 0.05
HUDMSG_FADEOUT_TIME = 0.1
HUDMSG_FXTIME = 3.0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 2
HUDMSG_HOLDTIME = 3.00
HUDMSG_STYLE = 0
HUDMSG_REPEAT = 0
HUDMSG_RECEIVER = #%username1
[is now the warden!]
HUDMSG_MESSAGE = "Warden: #%username1"
HUDMSG_COLOR_R = 0
HUDMSG_COLOR_G = 225
HUDMSG_COLOR_B = 0
HUDMSG_POS_X = 0.10
HUDMSG_POS_Y = 0.25
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 1.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 1
HUDMSG_ID = "WARDEN_HUD"
[is nolonger the warden!]
HUDMSG_REMOVE = "WARDEN_HUD"
;[Specialday 'Free day' has started]
;SOUND = "sound/jailbreak/jb_freeday.wav"
;[Specialday 'Nightcrawlers Day' has started]
;SOUND = "sound/jailbreak/jb_nc.mp3"
[countdown '#%??' sec]
HUDMSG_MESSAGE = "~ [ #%value(1) ] ~"
HUDMSG_COLOR_R = 255
HUDMSG_COLOR_G = 225
HUDMSG_COLOR_B = 0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.40
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 1.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 0
[Specialday 'PROTECT THE VIP' has started]
HUDMSG_MESSAGE = "* You have to assinate the VIP before the time rans out *"
HUDMSG_COLOR_R = 200
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 200
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 8.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 0
HUDMSG_RECEIVER = @prisoners
[Specialday 'PROTECT THE VIP' has started]
HUDMSG_MESSAGE = "* You have to protect the vip at all cost *"
HUDMSG_COLOR_R = 200
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 200
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 8.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 0
HUDMSG_RECEIVER = @guards
[Specialday 'TROUBLE IN THE TERRORIST TOWN' has started]
HUDMSG_MESSAGE = "[Trouble in the terrorist town]%newline%Find and Search for the traitors among you before they reach out to you and eliminate you!"
HUDMSG_COLOR_R = 200
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 200
HUDMSG_FADEIN_TIME = 0.01
HUDMSG_FADEOUT_TIME = 0.1
HUDMSG_FXTIME = 2.0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 2
HUDMSG_HOLDTIME = 12.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 0
[Specialday 'Freeze Tag' has started]
HUDMSG_MESSAGE = "[Freeze~Tag]%newline%You must chase down the prisoners and catch them before the time runs out!%newline%TIP: Hold E to use boost!%newline%Stab to freeze!"
HUDMSG_COLOR_R = 200
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 200
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 8.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 0
HUDMSG_RECEIVER = @guards
[Specialday 'Freeze Tag' has started]
HUDMSG_MESSAGE = "[Freeze~Tag]%newline%You must escape the guards%newline%TIP: Hold E to use boost!%newline%Stab Your teammates to unfreeze them!"
HUDMSG_COLOR_R = 200
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 200
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 8.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 0
HUDMSG_RECEIVER = @prisoners
['Freeze Tag' used a boost!]
HUDMSG_MESSAGE = "Using Boost!"
HUDMSG_COLOR_R = 0
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 1.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 0
HUDMSG_RECEIVER = #%username1
['Freeze Tag' the Boost has ran out!]
HUDMSG_MESSAGE = "The Boost ran out!"
HUDMSG_COLOR_R = 200
HUDMSG_COLOR_G = 0
HUDMSG_COLOR_B = 0
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 1.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 0
HUDMSG_RECEIVER = #%username1
[Specialday 'NIGHTCRAWLERS DAY' has started]
HUDMSG_MESSAGE = "Your objective is to take down the prisoners before they take you down!%newline%Use the '+Reload' Key to teleport and the '+Use' Key to climb the walls"
HUDMSG_COLOR_R = 200
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 200
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 8.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 0
HUDMSG_RECEIVER = @guards
[Specialday 'NIGHTCRAWLERS DAY' has started]
HUDMSG_MESSAGE = "Beware, you will not see the attack comming!"
HUDMSG_COLOR_R = 200
HUDMSG_COLOR_G = 200
HUDMSG_COLOR_B = 200
HUDMSG_POS_X = -1.0
HUDMSG_POS_Y = 0.85
HUDMSG_EFFECTS = 1
HUDMSG_HOLDTIME = 8.0
HUDMSG_STYLE = 1
HUDMSG_REPEAT = 0
HUDMSG_RECEIVER = @prisoners
* DAYS SPAWN POINT SYSTEM *
You can set/edit spawns for each fun/special day, sadly you need to do this manually but the editor spawns menu has much useful options you can use.
New Feature Added : Spawns are randomly generated for each special/fun day on each map. Warning: You might end up with some bad spawns that you have to deal with them manually.
The Special days spawn editor menu command :-> jb_days_spawn_editor
* CLASSES SYSTEM *
You can customize your own classes.
check out configs/jailbreak_classes.ini
Syntax Format :-
Code:
[Class name]
TEAM = "GUARD", "PRISONERS", "ANY" // on both teams.
PRIMARY_WEAPON = "ak47,m4a1" // primary weapon items.
SECONDARY_WEAPON = "deagle,glock18" // secondary weapon items.
MODEL = "gign" or "terror" // class skin model
MODEL_SKIN = 0 // model skin number
MODEL_BODY = 0 // model body number
FLAGS = "" // Class admin flags
KNIFE_SOUNDS = "jailbreak/taser" // knife sounds directory, all the knife sounds should have the file name tag(taser) and its sequence format ex: taser_deploy1.wav
P_KNIFE = "models/jailbreak/p_taser.mdl" // players view knife model.
V_KNIFE = "models/jailbreak/v_taser.mdl" // view knife model.
* TRIVIA *
Now its possible to play trivia and answer some questions challenging your intelligence.
* Squid Game doll *
The warden can sum up the prisoners and spawns the doll to play green light/red light game squid game edition.
* Death Realm *
Players can wonder around realms when they are dead and have an extra gameplay, there are currently two realms available, The death realm where as players fight each others and the ghost realm where as players spawn as a ghost to scare the alive players...
* AI / NPCs *
There are several NPCs and monsters the players can interact with such as the Guardian, Sentry, Zombie guard, Zombie Gonome and the Revenant Monster...
CHANGE LOGS :-
Code:
v1.0 : Released.
v2.0 :
* Now you can add the shop items to be used during the days, each day can has its own items,
check out the native register_jailbreak_shopitem(const name[], const info[], cost, team, bitsum_days = 0)!
Added jailbreak_days_shopitems file so you can configure your items in which day to show!
* Alot of code optimized.
* Added voteday chosen day delaying cvar.
* Added New client say command's ( say /eday, /eduel ).
* Added New forward ( jb_mm_itemadded )
v2.1 :
* Fixed alot of bugs, Gang members menu, Voteday menu(now it wont close automatically after choosing a funday), sound system.
* Bazooka Item Code Optimized.
* Added more natives ( jb_save_user_ingang, jb_set_user_ingang, jb_remove_user_fromgang, jb_load_user_ingang, jb_get_commander )
v2.2 :
* Added multilanguage support, fixed several bugs.
* Added new shop item Oxhit/Bullhit.
* Added commander effects, Added jb_deathmatch command to (en/dis)able deathmatch mode, respawn time controlled by jb_day_dm_respawn_time cvar, the command is disabled after a dm day!.
* Blocked weapons pick up on knife duel!
* Added new admin command to set up the cells button (say /set button) aim at the cells button
* Added the ability to give a class an access flag by putting this format in the classname *FLAG=accessflags(abcdef....)*
* Crashing Decreased upto 90%, few bugs fixed.
v2.2_fixed :
* Crashing Decreased upto 99.9%.
* Added new control mod for bazooka (Aiming target mod).
* Several bugs fixed.
* Added new command, jb_chicken <name/#id/@c/@t/@a> CMD Info : transfer player/s into a chicken or back to human + Added chicken sounds!
v2.3 :
* Alot of features has been added.
* Fixed alot of bugs.
* Changed configuration methods. ( Check out jailbreak.ini / jailbreak_shop.ini / jailbreak_classes ) for more information.
* Added more natives and forwards...
v2.4 :
* Added a freeday guy out of minigames.
* Fixed a few bugs.
* Changed jb_sound_system into jb_effects_system, for more information check out the ini file (jailbreak_effects.ini).
* Added more two natives,
PHP Code:
// hook jailbreak logmessages /* return logmessage index */
native register_jailbreak_logmessages(const function[], const logmessage[])
// write a jailbreak logmessage its catchable by hooking with register_jailbreak_logmessages
native jb_logmessage(const logmessage[])
* Changed commander heal command to dropping medkits usable for healing, by pressing 'E' on the medkit.
v2.5 :
* Alot of major changes, and additions.
# v2.5.1 : Just Fixed a bug in the jb_days_spawns
# v2.5.2 : Fixed few errors, now LRmenu will open for the one and only terrorist on spawn if there was a ct, The mod now is not stable.
v2.5.3 :
* Minigames Bugs are all now fixed!
* Added Soccer Minigame comes along with a deathball if the minigame was free for all.
* Added HUDMessages to display player team in the minigame.
* Added a Counter for Last request game.
* More Commands were Added.
v2.5.4 :
* Fixed jb_cells native wasn't returning the index of cells button, fixed auto reviving when jb_deathmatch is active!
v2.5.5 :
Added Shop item zombie pet an NPC (protect/follow) you.
Fixed gang model bug.
Fixed Adding external classes using API.
Fixed/Optimized soccer ball physics.
Fixed a bug in friendlyfire during specified special/fun days.
v2.6 :
* Final version was released.
* an Update added all the missing include files to the archive ( dhudmessage & cvar_util ),
also added compatibility compiling for version 182.
v2.6.1 :
Fixed Mysql connection & quries, now mysql details has their own cfg file ( jailbreak_mysql.cfg ).
Fixed mysql jb cash saving & loading.
Added the ability to open doors during special days and last request.
Added the ability to auto generate hunger games spawns.
Fixed Hulk Day ending bug, which on hulk death day won't ends.
Added a delay on ending a special day when its a free for all.
Fixed the unprecache sound of radio wav files which were causing players to disconnect.
v2.6.2 :
Fixed an issue with the infinite round and round terminator was the enums conflicts.
Changed friendlyfire from chaning teams back and forth to default by using the friendlyfire cvar.
Added new four natives jb_get/set_user_allies & jb_get/set_user_allies, helps to enable friendlyfire for specific players!
v2.6.3 :
Fixed receiving and inflicting damage.
Fixed few bugs with bitsum variables and constants.
Fixed a small bug in minigames.
v2.6.4 :
Fixed memory access error when the round ends on a specialday ending.
Jailbreak_main is now back to been compatible with amxx version 182
Fixed a bug in ttt special day to the sound when ID'ing the body.
v2.6.5 :
Fixed a server startup crash was caused by Invalid global variables declaration (problem from jb_minigames.sma).
Fixed Hulk special ability to smash, some global variables didn't had the correct initial value.
Fixed a Typos in jb_logmessage admin commands events.
v2.6.6 :[INDENT]
Fixed alot of bugs for sure...
Now you can save your gang costumes!
Optimized the jailbreak effects system, map system, gang systems.
Optimized the CT ban.
Optimized MYSQL load/save queries and methods in-addition to adding a prevention against SQL injection attacks!!!
Added a new special item ( Harpoon ).
Added a new minigame ( Deathmatch ).
Added a new specialday ( One in the chamber ).
Admins now are able to force LR on the last prisoner with executing the chat command /lr.
Admins can now end a voteday with executing the chat command /eday.
Added a new chat command for admins /give <gun/weapon/blind/sight> <target> <1/0 or weapon part of name>
v2.7.0 :
The mod is now stable!
Alot of fixes and additions!
Added a support for REHLDS and regamedll!
Dropped the support for AMX ModX version 1.8.2!
* CREDITS *
Credits
WiLS - for the [CS] Player Models API include file.
Major victory - for bazooka.
AMX TEAM - for the amxmodx module.
MeRcyLeZZ - for the zombie effect messages
shine771 - for the w_money_new.mdl :S
Arkshine - Cvar Util, round terminator, infinite round
joaquimandrade - Blackjack Game
HamletEagle - ROG ( Random Origin Generator Include file )
* CREDITS *
* CVARS *
Jailbreak cvars
Code:
; Jailbreak MySQL Cvars
// JAILBREAK Mysql informations
// 0 => load/save by using nVault | 1 => load/save by using mysql
jb_save_type "1"
// mysql server address
jb_mysql_host "localhost"
// mysql username
jb_mysql_user "root"
// mysql user password
jb_mysql_pass "password"
// mysql database name
jb_mysql_database "jb_database"
// mysql tables prefix
jb_sql_tables_prefix "jb_"
// mysql classes table name
jb_sql_classes_table "teams_classes"
// mysql cash table name
jb_sql_cash_table "users_cash"
// sql type ( unused, left for future development )
jb_sql_type "mysql"
; Jailbreak Main Cvars
// Percentage value of how many players are allowed to join guards team
jb_guards_ratio "25"
// percentage value of how many players are allowed to join prisoners team
jb_prisoners_ratio "100"
// 0 => force ratio upon admins | 1 => allow admins to pass by the ratio value
jb_admin_join "1"
// 0 => to disable | greater than 0 => The amount of cash to loose if the a dueler killed a nondueler or vice versa!
jb_duel_loose_cash "10000"
// 0 => Disable the weapons for the guard classes | 1 => show guard class primary/secondary weapons menus for the player | 2 => give all the weapons class for the player
jb_give_guard_weapons "1"
// 0 => Disable the weapons for the prisoner classes | 1 => show prisoner class primary/secondary weapons menus for the player | 2 => give all the weapons class for the player
jb_give_prisoner_weapons "2"
// special voteday timer length!
jb_voteday_timer "15"
// chosen voteday delay timer!
jb_voteday_daychosen_delay "5"
// last request duel countdown!
jb_lastrequest_chosen_delay "3"
// voteday admin's extra vote count!
jb_voteday_admin_extravote "1"
// special votedays auto start on specific days, seperate each day with a comma!
jb_fundays "Friday,Thursday"
// button activation uppon attack ( 0 => Disabled | 1 => Enabled | 2 => Disable knife activation | 3 => Prisoners activates only | 4 => Guards activates only | 5 => Prisoners activates only & Disable knife activation| 6 => Guards activates only & Disable knife activation )
jb_button_activation "1"
// 0 => Disabled | 1 => Block the usage of buttons on last request duels!
jb_block_buttons_onlr "0"
// 0 => Disabled | 1 => Block the usage of buttons on fun/special days!
jb_block_buttons_onfundays "0"
// 0 => Disabled | 1 => Block the usage of heal stations on last request duels!
jb_block_healing_onlr "1"
// 0 => Disabled | 1 => Block the usage of heal stations on fun/special days!
jb_block_healing_onfundays "1"
// 0 => Disabled | 1 => Freeze players on special voteday until the vote ends!
jb_freeze_players_onvoteday "1"
// 'steamid' => save players cash by using their steamid as a key | 'name' => use their name | 'IP' => use their ipaddress
jb_save_cash_through "steamid"
// a => Save cash On disconnection | b => Save cash every new round | c => Save all the time
jb_save_cash_event "a"
; Jailbreak 3rd plugins Cvars
"jb_question_answeringtime" "15" ; ( jb_commander.amxx )
"jb_enable_voicechat_onfunday" "1" ; ( jb_commander.amxx )
"jb_enable_voicechat_onlr" "1" ; ( jb_commander.amxx )
"jb_commander_MaxMedkits" "5" ; ( jb_commander.amxx )
"jb_commander_random_chosen" "1" ; ( jb_commander.amxx )
"jb_commander_effects" "3" ; ( jb_commander.amxx )
"jb_commander_effects_color" "200 200 200 50" ; ( jb_commander.amxx )
"jb_minigame_commander_only" "1" ; ( jb_minigames.amxx )
"jb_minigame_tickingbomb_glow" "0" ; ( jb_minigame_tickingbomb.amxx )
"jb_minigame_tickingbomb_life" "15" ; ( jb_minigame_tickingbomb.amxx )
"jb_soccer_kick_force" "600" ; ( jb_minigame_soccer.amxx )
"jb_day_freeday_call_time" "30" ; ( jb_day_freeday.amxx )
"jb_day_dm_respawn_time" "3.0" ; ( jb_days_custom.amxx )
"jb_day_knives_cthp" "0" ; ( jb_days_custom.amxx )
"jb_day_knives_tshp" "100" ; ( jb_days_custom.amxx )
"jb_day_scoutknivez_gravity" "0.5" ; ( jb_days_custom.amxx )
"jb_day_mario_gravity" "0.385" ; ( jb_days_custom.amxx )
"jb_day_uspninja_jpboost" "550.0" ; ( jb_days_custom.amxx )
"jb_day_snowball_dmg" "75.0" ; ( jb_days_custom.amxx )
"jb_day_snowball_chill_chance" "35" ; ( jb_days_custom.amxx )
"jb_day_snowball_chill_len" "3.0" ; ( jb_days_custom.amxx )
"jb_day_snowball_splash_life" "3.0" ; ( jb_days_custom.amxx )
"jb_day_snowball_chill_sp" "0.50" ; ( jb_days_custom.amxx )
"jb_day_snowball_gravity" "0.3" ; ( jb_days_custom.amxx )
"jb_day_snowball_velocity" "900.0" ; ( jb_days_custom.amxx )
"jb_day_spaceday_gravity" "0.3" ; ( jb_days_custom.amxx )
"jb_day_hidenseek_seeking_time" "150" ; ( jb_days_custom.amxx )
"jb_day_hidenseek_hiding_time" "30" ; ( jb_days_custom.amxx )
"jb_day_hidenseek_guards_grav" "1.0" ; ( jb_days_custom.amxx )
"jb_day_hidenseek_prisoners_grav" "0.8" ; ( jb_days_custom.amxx )
"jb_day_hidenseek_allow_ghosting" "0" ; ( jb_days_custom.amxx )
"jb_day_zombies_zmhp" "3000" ; ( jb_days_custom.amxx )
"jb_day_zombies_zmspeed" "320" ; ( jb_days_custom.amxx )
"jb_day_zombies_zmgrav" "0.65" ; ( jb_days_custom.amxx )
"jb_day_ncs_nchp" "200" ; ( jb_days_custom.amxx )
"jb_day_ncs_ncspeed" "400" ; ( jb_days_custom.amxx )
"jb_day_ncs_ncgrav" "0.5" ; ( jb_days_custom.amxx )
"jb_day_ncs_hit_appear_duration" "1.5" ; ( jb_days_custom.amxx )
"jb_day_ncs_teleport_cost" "50" ; ( jb_days_custom.amxx )
"jb_day_ncs_max_mana" "150" ; ( jb_days_custom.amxx )
"jb_day_dodgeball_grav" "0.75" ; ( jb_days_custom.amxx )
"jb_day_dodgeball_velocity" "800.0" ; ( jb_days_custom.amxx )
"jb_day_dodgeball_dmg" "50" ; ( jb_days_custom.amxx )
"jb_day_dodgeball_freeforall" "1" ; ( jb_days_custom.amxx )
"jb_day_chicken_health" "250" ; ( jb_day_chickens.amxx )
"jb_day_chicken_speed" "400" ; ( jb_day_chickens.amxx )
"jb_day_chicken_gravity" "0.65" ; ( jb_day_chickens.amxx )
"jb_day_chicken_egg_exp_time" "5" ; ( jb_day_chickens.amxx )
"jb_day_chicken_egg_fire_speed" "1750" ; ( jb_day_chickens.amxx )
"jb_day_chicken_egg_fire_delay" "1.0" ; ( jb_day_chickens.amxx )
"jb_day_chicken_egg_maxdamage" "25" ; ( jb_day_chickens.amxx )
"jb_day_chicken_egg_mindamage" "5" ; ( jb_day_chickens.amxx )
"jb_ttt_tratiors_ratio" "35" ; ( jb_day_ttt.amxx )
"jb_ttt_detectives_ratio" "10" ; ( jb_day_ttt.amxx )
"jb_ttt_nearby_voice_distance" "600" ; ( jb_day_ttt.amxx )
"jb_ttt_corpse_analyzing_length" "3" ; ( jb_day_ttt.amxx )
"jb_hulk_gravity" "650" ; ( jb_hulk.amxx )
"jb_hulk_speed" "380" ; ( jb_hulk.amxx )
"jb_hulk_jump_boost" "400" ; ( jb_hulk.amxx )
"jb_hulk_health" "15000" ; ( jb_hulk.amxx )
"jb_hulk_push_force" "8000" ; ( jb_hulk.amxx )
"jb_hulk_smash_radius" "250" ; ( jb_hulk.amxx )
"jb_hulk_smash_damage" "100" ; ( jb_hulk.amxx )
"jb_hulk_smash_jboost" "600" ; ( jb_hulk.amxx )
"jb_hulk_wallbump_damage" "1000" ; ( jb_hulk.amxx )
"jb_day_gg_knife_kill_decrlevel" "1" ; ( jb_day_gungame.amxx )
"jb_day_gg_kills_tolevel" "2" ; ( jb_day_gungame.amxx )
"jb_day_gg_cate_votetime" "2" ; ( jb_day_gungame.amxx )
"jb_day_gg_free4all" "1" ; ( jb_day_gungame.amxx )
"jb_day_gg_knifekill_xp" "2" ; ( jb_day_gungame.amxx )
"jb_day_gg_nade_give_length" "1.0" ; ( jb_day_gungame.amxx )
"jb_day_freezetag_runner_lifetim" "30" ; ( jb_day_freezetag.amxx )
"jb_day_freezetag_hunters_speed" "300" ; ( jb_day_freezetag.amxx )
"jb_day_freezetag_runners_speed" "300" ; ( jb_day_freezetag.amxx )
"jb_day_freezetag_hunters_gravit" "600" ; ( jb_day_freezetag.amxx )
"jb_day_freezetag_runners_gravit" "600" ; ( jb_day_freezetag.amxx )
"jb_day_freezetag_boost_delay" "10" ; ( jb_day_freezetag.amxx )
"jb_day_freezetag_boost_life" "50" ; ( jb_day_freezetag.amxx )
"jb_lr_s4s_autoshot_len" "10" ; ( jb_lr_shot4shot.amxx )
"jb_lr_bio_dropdelay" "3" ; ( jb_lr_biodookie.amxx )
"jb_lr_bio_dmg" "50" ; ( jb_lr_biodookie.amxx )
"jb_lr_bio_radius" "150" ; ( jb_lr_biodookie.amxx )
"jb_lr_bio_lifetime" "10" ; ( jb_lr_biodookie.amxx )
"jb_bazooka_delay" "5" ; ( jb_day_lr_shop_bazooka.amxx )
"jb_bazooka_damage" "550" ; ( jb_day_lr_shop_bazooka.amxx )
"jb_bazooka_radius" "250" ; ( jb_day_lr_shop_bazooka.amxx )
"jb_bazooka_rocket_speed" "800" ; ( jb_day_lr_shop_bazooka.amxx )
"jb_bazooka_rocket_homing_speed" "250" ; ( jb_day_lr_shop_bazooka.amxx )
"jb_bazooka_rocket_camera_speed" "450" ; ( jb_day_lr_shop_bazooka.amxx )
"jb_bazooka_shop_ammo" "1" ; ( jb_day_lr_shop_bazooka.amxx )
"jb_bazooka_homing_radius" "500" ; ( jb_day_lr_shop_bazooka.amxx )
"jb_bazooka_rocket_life" "5.0" ; ( jb_day_lr_shop_bazooka.amxx )
"jb_bazooka_rocket_lights" "0" ; ( jb_day_lr_shop_bazooka.amxx )
"jb_suicide_bomb_radius" "500" ; ( jb_suicidebomb.amxx )
"jb_suicide_bomb_maxdmg" "250" ; ( jb_suicidebomb.amxx )
"jb_suicide_bomb_ff" "1" ; ( jb_suicidebomb.amxx )
"jb_zombie_pet_health" "300" ; ( jb_shop_zmpet.amxx )
"jb_zombie_pet_loyal" "1" ; ( jb_shop_zmpet.amxx )
"jb_zombie_pet_speed" "320" ; ( jb_shop_zmpet.amxx )
"jb_zombie_pet_jumpspeed" "400" ; ( jb_shop_zmpet.amxx )
"jb_zombie_pet_stuck_tele" "1" ; ( jb_shop_zmpet.amxx )
"jb_zombie_pet_att_delay" "0.6" ; ( jb_shop_zmpet.amxx )
"jb_shop_weapon_type" "deagle" ; ( jb_shop_custom_items.amxx )
"jb_shop_weapon_ammo" "7" ; ( jb_shop_custom_items.amxx )
"jb_shop_invisible_time" "10" ; ( jb_shop_custom_items.amxx )
"jb_shop_invisible_radius" "150" ; ( jb_shop_custom_items.amxx )
"jb_shop_noclip_time" "8" ; ( jb_shop_custom_items.amxx )
"jb_shop_zawp_expshots" "1" ; ( jb_shop_custom_items.amxx )
"jb_shop_zawp_expradius" "250" ; ( jb_shop_custom_items.amxx )
"jb_shop_zawp_expdmg" "200" ; ( jb_shop_custom_items.amxx )
"jb_shop_zawp_ff" "1" ; ( jb_shop_custom_items.amxx )
"jb_oxhit_maddness_length" "3.0" ; ( jb_oxhit.amxx )
"jb_moneydrop_amount" "4" ; ( jb_drop_money.amxx )
"jb_moneydrop_guard_loose_ondrop" "0" ; ( jb_drop_money.amxx )
"jb_moneydrop_prisoner_loose_ond" "0" ; ( jb_drop_money.amxx )
"jb_moneydrop_guard_cash" "500" ; ( jb_drop_money.amxx )
"jb_moneydrop_prisoner_cash" "150" ; ( jb_drop_money.amxx )
"jb_moneydrop_dropinevents" "0" ; ( jb_drop_money.amxx )
"jb_moneydrop_glow_money" "0" ; ( jb_drop_money.amxx )
"jb_taser_maxdamage" "30" ; ( jb_taser.amxx )
"jb_taser_mindamage" "10" ; ( jb_taser.amxx )
"jb_ctbans_table_prefix" "jb_" ; ( jb_ctban.amxx )
"jb_ctbans_table" "CTbans" ; ( jb_ctban.amxx )
"jb_ctbans_save_through" "steamid" ; ( jb_ctban.amxx )
"jb_gang_creating_cost" "100000" ; ( jb_gang_system.amxx )
"jb_gang_skin_cost" "20000" ; ( jb_gang_system.amxx )
"jb_gang_show_info_len" "0" ; ( jb_gang_system.amxx )
"jb_gang_max_memberslots" "5" ; ( jb_gang_system.amxx )
"jb_gskill_stamina_maxupg" "25" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_incr_stamina" "15" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_grav_maxupg" "25" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_decr_gravity" "10" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_eva_maxupg" "25" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_incr_evasion" "1" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_hp_maxupg" "25" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_incr_health" "2" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_dmg_maxupg" "25" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_incr_damage" "2" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_disarm_maxupg" "25" ; ( jb_gang_custom_skills.amxx )
"jb_gskill_incr_disarmament" "1" ; ( jb_gang_custom_skills.amxx )
* CVARS *
* CMDS *
Commands
Client Commands :-
Code:
jb_days_spawn_editor // Days Spawns Editor menu.
amx_gangsmenu // Shows the admin gangs panel ( FLAG : ADMIN_IMMUNITY ) !
jb_freeday_menu // Shows the admin the freeday menu.
+paint // Start painting
Say Commands :-
say /set <noclip/armor/godmode/gravity/hp/health> <@a/@c/@t/#userid/name> <amount>
say (/transfer||/trans) <@a/@c/@t/playerID/playerNAME> <@c/@t/@s>
say /revive <@a/@c/@s/@s/@ad - revive all dead players/@aa revive all alive players/etc..>
say /cash <set/give/take> <name> <amount> //Admin Command
say /donate <name> <amount> // donate user an amount of money!
say /cash <player> // check user/player money.
say /set <button/cells> // aim on the cells button inorder to specified the cells button.
say /eday // ADMIN access, end a playing day!
say /eduel // ADMIN access, end a playing duel!
say /lr // for last prisoner alive only
say /day /// admins only to start a fun day...
say /vd // start a votedays event
say /donate <name> <cash> // donate client cash/money...
say /class // change your class...
say /open // open or close the cells.
say /close // to close the cells.
say /command, command, !command // be or leave the commanding of the guards team AKA Warden!.
say /cd <1-15> // to start a count down... ( For Commander )
say /cam // to change the view camera
say /soccer // to configure the soccer field, ball and goals spawns.
say /ball // creates a ball.
say /dball // spawns a death ball.
say /hg // configure hungergame spawns.
say /votemap // Initiate a map voting!
Console Commands :-
Code:
jb_give_bazooka <name/@a/@c/@t> <ammo> // give's a player or all or a specified team a bazooka!
jb_give_suicidebomb <name/@a/@c/@t> // gives a suicidebomb to all or a specified team or a player.
amx_allowmic <name/@a/@t/@c> <1/0> // gives a client/clients ability to talk the whole map.
jb_deathmatch // enable/disable the deathmatch mode, this command is nolonger enabled after the deathmatch day ends.
amx_paints <name> // give's a player the ability to use paint (+paint)
jb_chicken <name/@a/@c/@t> <1/0> // transfer player/s to a chicken or back to human! (Name is Case-sensitive)
jb_hulk <name/@a/@c/@t> <1/0> // transfer player/s to a hulk or back to human! (Name is Case-sensitive)
If you would like to show your appreciation, please donate since this mod was really hard to make and was time consuming and took alot of work to test and process all the bugs, even a small amount of donation is also acceptable Thanks