Thread Rating:
  • 4 Vote(s) - 4.75 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A little Question and Answer Thread.
#74
(01-23-2017, 09:21 AM)Superlagg Wrote: Sorry for the bump, but this thread is actually kinda useful.

How do security logs work, especially regarding what happens when you add new entries? How does Beepsky interpret these new logs to determine who to arrest? Can it be used to set monkeys to arrest?
I have no straight answer to that, but you have made me curious. I looked up the code:

From the Securitron AI
if (src.check_records)
for (var/datum/data/record/E in data_core.general)
var/perpname = perp.name
if (perp:wear_id && perp:wear_id:registered)
perpname = perp.wear_id:registered
if (E.fields["name"] == perpname)
for (var/datum/data/record/R in data_core.security)
if ((R.fields["id"] == E.fields["id"]) && (R.fields["criminal"] == "*Arrest*"))
threatcount = 4
From this we gather that if the target has the same name as (or is wearing the ID-card of somebody who is) the 'name field' in a record, and said is set to 'Arrest', the Securitron will hunt them down.

From the SecMate Program
for (var/datum/data/record/E in data_core.general)
var/perpname = perp.name
if (perp:wear_id && perp:wear_id:registered)
perpname = perp.wear_id:registered
if (E.fields["name"] == perpname)
for (var/datum/data/record/R in data_core.security)
if ((R.fields["id"] == E.fields["id"]) && (R.fields["criminal"] == "*Arrest*"))
threatcount = 4

In the SecMate program, you should be able to set the name field to whatever you want.

So, according to the code, you can create a record for a monkey, set it to arrest, and watch the Securitrons beat them to shit.
I still highly recommend that you try in-game. If it works, report it back here. If it does not work, you should file a bug-report.
It is also very funny.
Reply


Messages In This Thread
RE: A little Question and Answer Thread. - by The Grim Sleeper - 01-27-2017, 12:37 AM
RE: A little Question and Answer Thread. - by Sov - 03-22-2017, 03:41 AM
RE: A little Question and Answer Thread. - by Bob - 07-27-2017, 01:58 AM
RE: A little Question and Answer Thread. - by Sov - 07-28-2017, 12:50 PM
RE: A little Question and Answer Thread. - by Sov - 10-12-2017, 12:31 PM
RE: A little Question and Answer Thread. - by Bob - 02-15-2018, 02:16 PM
RE: A little Question and Answer Thread. - by Bob - 02-15-2018, 05:57 PM
RE: A little Question and Answer Thread. - by Bob - 03-15-2018, 04:14 PM
RE: A little Question and Answer Thread. - by Bob - 04-15-2018, 10:58 AM
RE: A little Question and Answer Thread. - by Bob - 04-15-2018, 02:10 PM
RE: A little Question and Answer Thread. - by Sov - 06-26-2018, 09:06 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)