Jump to content
×
×
  • Create New...
  • 0

Callout Config for Department Restrictions - Need Guidance


Go to solution Solved by MostChameleon,
Reason for Locking
Solved.

By Smanbg, on 07/20/20 10:08 PM.

Question

Hello All,

 

I was wondering if anyone would be able to help or guide me in the right direction with an issue I seem to be running into with trying to get the department restrictions to work with callouts. I have several community callouts that I am trying to use, and I am trying to separate the callouts out to only be given to certain departments. So, for example, fire and ems go to the Fire Department; traffic goes to SO, PD, and HP; etc. However, even after following the guides provided by the updates forum posts, I still seem to be falling short of that goal and callouts are still going to all departments. Here is a look into what I have setup currently:

 

Server Console (After a "restart fivepd"):

image.thumb.png.997ad73fdcda4a0075cf37e0c63f35cf.png

image.thumb.png.b0b25fc36bfc8b2e53909a0282a07b79.png

image.thumb.png.8c35e6b4b1b7535ee440cc5a0aeb6fa1.png

image.thumb.png.7011d17498d2a16434a6e4514268ced4.png

image.png.b0df2609d486b4608681b61a2c1c3a4a.png

image.png.608e5ba8d793b0505aa93fd339a8a4d7.png

 

Callouts folder structure:

image.png.2acd3ba84facdc81257e175e2a24fe7b.png

image.png.c1a570200e0b8dd991170b1cff330f9f.png

 

Config.json contents (Callout Class used are the callout names in console with no spaces, as informed by another post/answer in the forum):

{
	"AircraftFire": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [5]
	},
	"BrushFire": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [5]
	},
	"CarFire": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [5]
	},
	"LargeStructureFire": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [5]
	},
	"PedestrianStruckByVehicle": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3, 5]
	},
	"StructureFire": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [5]
	},
	"VehicleCollision": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3, 5]
	},
	"TerrorismCallout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"ShotsFired": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"SlowVehicle": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"OfficerBackup": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"GangShootout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"LostMCShootout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"Kidnapping": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"StolenMilitary": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"PoliceEscort": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [2, 3]
	},
	"StrandedBoat": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"OversizedVehicleCallout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"PursuitofArmedSuspects": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"RecklessDriverCallout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"ReverseCarCallout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"SlowDriverCallout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"SmallVehicleCallout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"StolenAmbulanceCarCallout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"StolenFiretruckCallout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"StolenPoliceCarCallout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"StolenPoliceCar(Hostage)Callout": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"PursuitofArmedSuspects(Van)": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"DrunkFight": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"DrunkDriverPursuit": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"DrunkDriver": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"DrunkBiker": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"EscapedConvicts": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3]
	},
	"Shoplifting": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"Overdose": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3, 5]
	},
	"Homicide": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"911Hang-upCall": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"BankRobbery": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"ShopRobbery": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"SuspiciousPerson": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2]
	},
	"VehicleCollisions": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [1, 2, 3, 5]
	},
	"CultHostageSituation": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [4]
	},
	"HikerStuck": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [4]
	},
	"HikerAttacked": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [4]
	},
	"DeadBodyFound": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [4]
	},
	"PossibleWeedFarm": {
		"IgnoreDistance": false,
		"MinTimeout": 0,
		"Probability": 1,
		"Departments": [2, 4]
	}
}

 

Departments in SQL database:

image.thumb.png.057b0d975ca0584f9b5952f301d42d9b.png

 

Callout .dlls being used (Prior to merging due to FivePD callout limitations):

image.png.24f187ff46c30c87f12bba97d71c6bdb.png

 

Once again, the main issue is that with all this in the current configuration, all departments still get all callouts (just those within their radius, that is).
If more information is needed, please let me know. Any guidance is appreciated. Thanks.

 

(I am so sorry for the length of the post, I apparently don't know how to use hidden spoilers on this forum.)

Edited by MostChameleon
Link to post
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.