Raised This Month: $32 Target: $400
 8% 

JailMod++


Post New Thread Reply   
 
Thread Tools Display Modes
Eternal Rebel
Junior Member
Join Date: May 2010
Old 05-26-2010 , 20:38   Re: JailMod++
Reply With Quote #11

I did everything you said to do but it still says database not connected in game. Any ideas?
Eternal Rebel is offline
ocbigriver
Junior Member
Join Date: Feb 2010
Location: Orange*County
Old 05-27-2010 , 14:43   Re: JailMod++
Reply With Quote #12

I got this working on my dods server last night after reading the posts very closely. The simplest way to do this is with sqlite, so that is what I did. I edited configs/database.cfg

"jailmod"
{
"driver" "sqlite"
"database" "jailmod"
}
Then I uploaded jailmod_my.sql to /configs/sql-init-scripts/sqlite. Then I recompiled jailmod.sp and uploaded. You don't have to recompile. I recompile only to make sure the plugin is compiled on the same version of sourcemod that I am running which is 1.3.2. Done and everything is working great.
ocbigriver is offline
Eternal Rebel
Junior Member
Join Date: May 2010
Old 05-27-2010 , 19:35   Re: JailMod++
Reply With Quote #13

Thanks so much for the input. I will test it out tonight hopefully.
Eternal Rebel is offline
Eternal Rebel
Junior Member
Join Date: May 2010
Old 05-27-2010 , 23:29   Re: JailMod++
Reply With Quote #14

Is there anyway that u could add like a setspawn to this script so that when people in jail die they respawn there until unjailed? Also it strips weapons in tf2 but leaves the melee weapon.
Eternal Rebel is offline
ocbigriver
Junior Member
Join Date: Feb 2010
Location: Orange*County
Old 06-03-2010 , 18:26   Re: JailMod++
Reply With Quote #15

Quote:
Originally Posted by Eternal Rebel View Post
Is there anyway that u could add like a setspawn to this script so that when people in jail die they respawn there until unjailed? Also it strips weapons in tf2 but leaves the melee weapon.
I agree its too easy for the players to type 'kill' in the console when they are jailed so they could respawn like normal. Or players in the same jail can kill each other with the melee weapons. If those 2 features could be added this plugin would be complete imo.
ocbigriver is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 03-09-2011 , 17:45   Re: JailMod++
Reply With Quote #16

Can you update this to fix the players killing themselves problem please?
Snaggle is offline
WhosAsking
Member
Join Date: May 2011
Old 05-19-2011 , 12:41   Re: JailMod++
Reply With Quote #17

I notice a cosmetic bug with the jail and unjail commands. I think it boils down to a syntax fault involving ShowActivity2. Basically, you forgot the Tag parameter.

Original text:
Code:
ShowActivity2( client, "[JAIL] Put %s in jail.", target_name );
What it should be:
Code:
ShowActivity2( client, "[JAIL] ", "Put %s in jail.", target_name );
The exact same problem is in unjail.

Original text:
Code:
ShowActivity2( client, "[JAIL] Freed %s from jail.", target_name );
What it should be:
Code:
ShowActivity2( client, "[JAIL] ","Freed %s from jail.", target_name );
WhosAsking is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 09-10-2011 , 12:59   Re: JailMod++
Reply With Quote #18

Quote:
Originally Posted by Snaggle View Post
Can you update this to fix the players killing themselves problem please?
This was my attempt at editing this to fix this problem:

http://forums.alliedmods.net/showthread.php?t=152408
__________________
databomb is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 05-30-2012 , 20:40   Re: JailMod++
Reply With Quote #19

We use this on our servers, and the only way to escape jail is to disconnect from the server. In fact we have some players who simply use retry and escape without effort.
Therefore would it be possible to add a ban function, whereby if a player leaves the server before they have been properly unjailed a ban is automatically issued? As a side function, I'd ask that there be a cvar that admins can use to adjust the automatic ban length to what they want.
__________________
Werewolf_UK is offline
zyncool99
Junior Member
Join Date: Jun 2013
Old 06-14-2013 , 16:55   Re: JailMod++
Reply With Quote #20

can any one help me pls!!!!
it said
[JAIL] : Sorry, no jail are availeible
zyncool99 is offline
Reply



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 20:59.


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