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

[CS:GO] Murder


Post New Thread Reply   
 
Thread Tools Display Modes
Author
LenHard
Senior Member
Join Date: Jan 2016
Plugin ID:
6126
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Murder Mod via Gmod
    Old 05-13-2018 , 02:15   [CS:GO] Murder
    Reply With Quote #1

    Description

    A gamemode of deception and murder, based off of Murder in the Dark.
    One person is a murderer with a knife, who is trying to secretly kill off the other players.
    The other players must use their wits to find out who it is and kill them first.
    Unfortunately they only have the one gun between them. (Source)


    Instructions

    After adding all the files in the correct places, you need to add a MySQL database to make the plugin work. Go to configs/databases.cfg and add "Murder" with your own database information.

    Example:
    Code:
    "Murder"
    {
    	"driver"		        "default"
    	"host"				"YourHost"
    	"database"			"YourDatabase"
    	"user"				"YourUser"
    	"pass"				"YourPassword"
    	//"timeout"			"0"
    	"port"				"3306"
    }
    To add or modify the prop models or voice commands; go to configs/Murder/Props.cfg or Radio.cfg and follow the format.

    Example:
    Code:
    "Props"
    {
    	"Model name"
    	{
    		"model"		"model's path"
    	}
    }
    Code:
    "Radio"
    {
    	"Sound name"
    	{
    		"sound"		"sound's path"
    	}
    }
    All the models you could use are here. Some of them don't work.

    ConVars
    Spoiler


    Natives
    Spoiler


    Credits

    Bara - Grabber Mod
    paegus - Double Jump
    I forgot who else.. If I used your code, let me know, so I could credit you.
    Attached Files
    File Type: zip Murder.zip (296.3 KB, 439 views)
    __________________
    LenHard is offline
    iGANGNAM
    AlliedModders Donor
    Join Date: Sep 2012
    Location: Lithuania
    Old 05-13-2018 , 11:18   Re: [CS:GO] Murder
    Reply With Quote #2

    what kind of maps for this? same as ttt?
    __________________
    iGANGNAM is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 05-13-2018 , 19:45   Re: [CS:GO] Murder
    Reply With Quote #3

    Seems a bit of a waste of a needing a database for something that can be stored in a text file. Nice work though.

    Last edited by Mitchell; 05-13-2018 at 19:49.
    Mitchell is offline
    LenHard
    Senior Member
    Join Date: Jan 2016
    Old 05-14-2018 , 03:12   Re: [CS:GO] Murder
    Reply With Quote #4

    Quote:
    Originally Posted by iGANGNAM View Post
    what kind of maps for this? same as ttt?
    It could be any map but yes, mainly TTT maps.

    Quote:
    Originally Posted by Mitchell View Post
    Seems a bit of a waste of a needing a database for something that can be stored in a text file. Nice work though.
    True, but I assumed it would be more reliable and quicker than regular Key Values when it came to this.
    __________________
    LenHard is offline
    Mitchell
    ~lick~
    Join Date: Mar 2010
    Old 05-14-2018 , 10:35   Re: [CS:GO] Murder
    Reply With Quote #5

    Quote:
    Originally Posted by LenHard View Post
    True, but I assumed it would be more reliable and quicker than regular Key Values when it came to this.
    The way I see it is that a database to hold less than 100 inputs per setup map is a waste of a connection to a MySQL db. Especially when having them as a keyvalue that only loads when the map start, even if it was considered slow, i'm sure it would be faster than a player connecting to the new map. Having them as keyvalues also helps when sharing a map config, instead of posting a sql query for a map.
    Mitchell is offline
    LenHard
    Senior Member
    Join Date: Jan 2016
    Old 05-14-2018 , 15:05   Re: [CS:GO] Murder
    Reply With Quote #6

    Quote:
    Originally Posted by Mitchell View Post
    The way I see it is that a database to hold less than 100 inputs per setup map is a waste of a connection to a MySQL db. Especially when having them as a keyvalue that only loads when the map start, even if it was considered slow, i'm sure it would be faster than a player connecting to the new map. Having them as keyvalues also helps when sharing a map config, instead of posting a sql query for a map.
    Well in the Murder case, the props will respawn every x seconds with different sets. There would be at least a hundred props per map (6 sets). I'll probably push key values for the next version.
    __________________
    LenHard is offline
    iGANGNAM
    AlliedModders Donor
    Join Date: Sep 2012
    Location: Lithuania
    Old 05-21-2018 , 12:50   Re: [CS:GO] Murder
    Reply With Quote #7

    Ah sorry, didn't read post you made in #6
    hoping that you can release your sets soon
    as Mitchell said, KeyValues thing would be alot easier to share with people.
    __________________

    Last edited by iGANGNAM; 05-21-2018 at 13:32.
    iGANGNAM is offline
    Lannister
    Veteran Member
    Join Date: Apr 2015
    Old 07-11-2020 , 18:41   Re: [CS:GO] Murder
    Reply With Quote #8

    Hello! i've uploaded the plugin to my server but i've experienced some bugs and a server crash,

    Error log:

    Code:
    L 07/11/2020 - 19:21:50: [SM] Call stack trace:
    L 07/11/2020 - 19:21:50: [SM]   [0] CloseHandle
    L 07/11/2020 - 19:21:50: [SM]   [1] Line 1716, C:\CSGO-Server\csgo\addons\sourcemod\scripting\Murder\Murder.sp::Menu_RoundData
    L 07/11/2020 - 19:21:50: [SM] Exception reported: Handle 147103e is invalid (error 3)
    L 07/11/2020 - 19:21:50: [SM] Blaming: murder.smx
    Crash log

    https://crash.limetech.org/hr4y6o6pr5vt

    And i had some text colour bugs too, probably because it's an old plugin, like, it was showing a text instead of the colour,

    I know that probably no one use this plugin, but it's a very good mod, and i'd love to have it in my server, but sadly with the crashes i'm not able,

    I hope you can fix this! Thanks!
    Lannister is offline
    Sandervraun
    Senior Member
    Join Date: May 2019
    Location: Denmark
    Old 07-13-2020 , 14:13   Re: [CS:GO] Murder
    Reply With Quote #9

    I was wondering if it would be cool, as the killer to have the ability to turn on/off a "night vision", which would be red (to meet the more scary side and make it more cool that the usual green night vision). And normal players(ct) would get a flashlight..
    Sandervraun is offline
    Affe71
    Junior Member
    Join Date: Oct 2019
    Old 10-02-2020 , 16:28   Re: [CS:GO] Murder
    Reply With Quote #10

    For anyone wondering the mod is still working fine as long as you configure your database right.
    Affe71 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 18:05.


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