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

Jailbreak doors


Post New Thread Reply   
 
Thread Tools Display Modes
Zyten
Senior Member
Join Date: Jan 2018
Old 07-26-2018 , 04:07   Re: Jailbreak doors
Reply With Quote #11

aatest.sp(46) : error 035: argument type mismatch (argument 1)
aatest.sp(46) : warning 213: tag mismatch
Zyten is offline
mug1wara
AlliedModders Donor
Join Date: Jun 2018
Old 07-26-2018 , 05:00   Re: Jailbreak doors
Reply With Quote #12

Edited code post.

Lol made ConVar handle equivalent to CreateTimer xD.
mug1wara is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 07-26-2018 , 15:10   Re: Jailbreak doors
Reply With Quote #13

L 07/26/2018 - 22:072: [SM] Blaming: sjd_auto_open_ct.smx
L 07/26/2018 - 22:072: [SM] Call stack trace:
L 07/26/2018 - 22:072: [SM] [0] GetClientTeam
L 07/26/2018 - 22:072: [SM] [1] Line 34, D:\New folder (5)\pk-v7 - Copy\csgo\addons\sourcemod\scripting\aatest.s p:oors.CountCheck
L 07/26/2018 - 22:072: [SM] [2] Line 55, D:\New folder (5)\pk-v7 - Copy\csgo\addons\sourcemod\scripting\aatest.s p::Event_Start
L 07/26/2018 - 22:08:00: [SM] Exception reported: Client 5 is not in game
L 07/26/2018 - 22:08:00: [SM] Blaming: sjd_auto_open_ct.smx
L 07/26/2018 - 22:08:00: [SM] Call stack trace:
L 07/26/2018 - 22:08:00: [SM] [0] GetClientTeam
L 07/26/2018 - 22:08:00: [SM] [1] Line 34, D:\New folder (5)\pk-v7 - Copy\csgo\addons\sourcemod\scripting\aatest.s p:oors.CountCheck
L 07/26/2018 - 22:08:00: [SM] [2] Line 55, D:\New folder (5)\pk-v7 - Copy\csgo\addons\sourcemod\scripting\aatest.s p::Event_Start
L 07/26/2018 - 22:08:54: [SM] Exception reported: Client 18 is not in game
L 07/26/2018 - 22:08:54: [SM] Blaming: sjd_auto_open_ct.smx


Not working
Zyten is offline
mug1wara
AlliedModders Donor
Join Date: Jun 2018
Old 07-26-2018 , 17:33   Re: Jailbreak doors
Reply With Quote #14

dropped all bullshit, works now
mug1wara is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 07-27-2018 , 03:33   Re: Jailbreak doors
Reply With Quote #15

i dont see any 5 sec delay to check if there is no ct to open doors right away. in your code

also this sp(21) : error 017: undefined symbol "GetTeamClientCount"

Last edited by Zyten; 07-27-2018 at 03:38.
Zyten is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 07-27-2018 , 05:49   Re: Jailbreak doors
Reply With Quote #16

Quote:
Originally Posted by Zyten View Post
seems like myjailbreak has that door thing i just didnt figure out i need to save doors to sjd. i need thou the one that open right away if there is no one on ct team
MyJB has a very extensive cell door feature, but potatoz' code from post #5 should also work as intended. Both need SJD.
If you don't understand how to setup the doors with SmartJailDoors, take a look at the tutorial videos, or contact me:


If the first method doesn't work for a map try these:
__________________
coding & free software

Last edited by shanapu; 07-27-2018 at 05:49.
shanapu is offline
Zyten
Senior Member
Join Date: Jan 2018
Old 07-27-2018 , 06:36   Re: Jailbreak doors
Reply With Quote #17

Quote:
Originally Posted by shanapu View Post
MyJB has a very extensive cell door feature, but potatoz' code from post #5 should also work as intended. Both need SJD.
If you don't understand how to setup the doors with SmartJailDoors, take a look at the tutorial videos, or contact me:


If the first method doesn't work for a map try these:
Shan i know how to set it up and the potatoz code has done very good job.

i do like the future when there is no one on ct doors open right away but i have map which been trolling "func_breakable" its breaks doors even there is cts, so my idea is to make 5 sec delay before check if there is anyone on ct if not they open doors
Zyten is offline
potatoz
AlliedModders Donor
Join Date: Nov 2016
Old 08-16-2018 , 17:42   Re: Jailbreak doors
Reply With Quote #18

Quote:
Originally Posted by Zyten View Post
i do like the future when there is no one on ct doors open right away but i have map which been trolling "func_breakable" its breaks doors even there is cts, so my idea is to make 5 sec delay before check if there is anyone on ct if not they open doors
While your way of saying it makes it slightly hard to understand, i understand it as you wanna be able to set a slight delay before checking whether there are CT's instead of instantly opening if there are none, correct? Either way, that is what i've done to the attached plugin which is an edit of my original in post #5

Use yourself of the cvar "sjd_auto_open_ctcheck_delay" to set the amount of seconds after round start to do the check, keep in mind it is set to 0 (disabled) by default so you'd have to change it to for instance 5, as you said, in order to see any effect

TL;DR; attached is a plugin which does what i assume is what you've asked for, change "sjd_auto_open_ctcheck_delay" to any amount of seconds see the effect
Attached Files
File Type: smx sjd_auto_open.smx (5.1 KB, 61 views)
File Type: sp Get Plugin or Get Source (sjd_auto_open.sp - 74 views - 1.4 KB)
__________________

Last edited by potatoz; 08-16-2018 at 17:42.
potatoz is offline
Vaggelis
Senior Member
Join Date: May 2017
Old 08-17-2018 , 05:12   Re: Jailbreak doors
Reply With Quote #19

Give a try at this https://forums.alliedmods.net/showthread.php?t=297690
I know its not like SJD but it may be ok for you
Vaggelis 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 14:50.


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