AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   [TF2] TF2Jail (Jailbreak for TF2) (https://forums.alliedmods.net/showthread.php?t=223874)

captaindeterprimary 08-19-2013 15:06

Re: [TF2] TF2Jail (Jailbreak for TF2)
 
Neat. I will try joining your server tonight maybe.

kamild1996 08-21-2013 01:11

Re: [TF2] TF2Jail (Jailbreak for TF2)
 
Found bugs:
- Sometimes I can't give last request to somebody because "client must be alive" - and I'm sure I give last request to the right and alive person. Should be fixed.
- HHH round is not working (does it need 3rd party plugin?)
- I can't use !banguard for some players because plugin says "[TF2Jail] " in chat - and nothing more. I will check for console errors later.
- sm_jail_rebel_time "0" is not working - rebel status is taken after one second

Suggestions from me:
- Make menu with players list for !givelr command, this will make things easier
- What about hats like in Counter-Strike 1.6? Is it possible?

Besides that TF2Jail is freakin' awesome! I hope this plugin will live long and prosper well :3

Drixevel 08-21-2013 03:04

Re: [TF2] TF2Jail (Jailbreak for TF2)
 
Quote:

Originally Posted by kamild1996 (Post 2018445)
Found bugs:
- Sometimes I can't give last request to somebody because "client must be alive" - and I'm sure I give last request to the right and alive person. Should be fixed.
- HHH round is not working (does it need 3rd party plugin?)
- I can't use !banguard for some players because plugin says "[TF2Jail] " in chat - and nothing more. I will check for console errors later.
- sm_jail_rebel_time "0" is not working - rebel status is taken after one second

Suggestions from me:
- Make menu with players list for !givelr command, this will make things easier
- What about hats like in Counter-Strike 1.6? Is it possible?

Besides that TF2Jail is freakin' awesome! I hope this plugin will live long and prosper well :3

HHH round requires the "Bethehhh" plugin in order to function properly. I plan to make some sub modules soon for the plugin to work off of in order to make things easier. I fixed the bug regarding client must be alive checking but have no idea why the rebel_timer isn't working properly for you. If it's set to 0 then it shouldn't even do anything because it checks for values more than or equal to 1.0. Try setting it to 1.0 and see if that fixes it.

I'm planning !givelr menu as a feature but the CS1.6 hats request is impossible without custom models which I'm not doing.

- Jack

Drixevel 08-21-2013 04:08

Re: [TF2] TF2Jail (Jailbreak for TF2)
 
Plugins have been updated:
Code:

++ 08/21/2013

Jailbreak-
* Updated all menus to use switch statements instead of if/else statements.
* Fixed a bug where trails would stick to players through rounds if they were Freeday.
* Fixed the required check that client must be alive to receive LR.
* Added 'sm_givelrmenu' or 'sm_givelrm' to give the Warden a menu instead. I will put them on the same command later.
* Cleaned up the code a bit.

Bluebans-
* Fixed a PrintToChat error on PlayerSpawn.
* Updated plugin information at the top of the source.
* Reformatted code to make things easier to work with.
* Changed up the database names used to all lowercase letters to play nice with PHP scripts.

--

I haven't tested anything so let me know if anything's broken.

- Jack

kamild1996 08-21-2013 04:29

Re: [TF2] TF2Jail (Jailbreak for TF2)
 
Thank you, I will check that update as soon as possible!
Oh, and is there a way to put last request menu to phrases file? I don't feel like translating that menu every single update ;)

Drixevel 08-21-2013 04:30

Re: [TF2] TF2Jail (Jailbreak for TF2)
 
Quote:

Originally Posted by kamild1996 (Post 2018527)
Thank you, I will check that update as soon as possible!
Oh, and is there a way to put LR and ban guard menus to phrases file? I don't feel like translating those menus every single update ;)

Menu translations will come soon enough.

- Jack

kamild1996 08-21-2013 05:39

Re: [TF2] TF2Jail (Jailbreak for TF2)
 
And there is an issue when trying to be a warden:
Code:

L 08/21/2013 - 11:34:15: [SM] Plugin encountered error 25: Call was aborted
L 08/21/2013 - 11:34:15: [SM] Native "ThrowError" reported: Invalid client index 0
L 08/21/2013 - 11:34:15: [SM] Displaying call stack trace for plugin "TF2Jail.smx":
L 08/21/2013 - 11:34:15: [SM]  [0]  Line 39, G:\SteamCMD\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\include\morecolors.inc::CPrintToChat()
L 08/21/2013 - 11:34:15: [SM]  [1]  Line 1980, G:\SteamCMD\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\TF2Jail.sp::BecomeWarden()


Drixevel 08-21-2013 05:43

Re: [TF2] TF2Jail (Jailbreak for TF2)
 
2 Attachment(s)
Quote:

Originally Posted by kamild1996 (Post 2018553)
And there is an issue when trying to be a warden:
Code:

L 08/21/2013 - 11:34:15: [SM] Plugin encountered error 25: Call was aborted
L 08/21/2013 - 11:34:15: [SM] Native "ThrowError" reported: Invalid client index 0
L 08/21/2013 - 11:34:15: [SM] Displaying call stack trace for plugin "TF2Jail.smx":
L 08/21/2013 - 11:34:15: [SM]  [0]  Line 39, G:\SteamCMD\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\include\morecolors.inc::CPrintToChat()
L 08/21/2013 - 11:34:15: [SM]  [1]  Line 1980, G:\SteamCMD\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\TF2Jail.sp::BecomeWarden()


Edit: Reuploaded in this post, fixed a silly error.

- Jack

kamild1996 08-21-2013 06:01

Re: [TF2] TF2Jail (Jailbreak for TF2)
 
Still not working. Am I doing anything wrong?

Drixevel 08-21-2013 06:27

Re: [TF2] TF2Jail (Jailbreak for TF2)
 
Quote:

Originally Posted by kamild1996 (Post 2018564)
Still not working. Am I doing anything wrong?
http://speedy.sh/r4r2z/TF2Jail.sp

I fixed it, silly mistake.

- Jack


All times are GMT -4. The time now is 19:59.

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