Hey! Listen!
Toolboxing For A Cause 2.0
a /tg/Station13 Charity Tournament
Will begin Saturday the 12th at 1pm PST / 4pm EST / 8pm GMT at the Event Hall.
(You've donated r-right?)

[MERGED] New AI ability: Bot Call! + Bots revamp!

How, what and why to code in BYOND.

Would you like this feature added? - Please vote again as the feature has been expanded!

Approve
24
31%
Approve
24
31%
Approve
24
31%
Reject
0
No votes
Reject
0
No votes
Reject
0
No votes
Revise (Please explain)
0
No votes
Revise (Please explain)
0
No votes
Revise (Please explain)
0
No votes
Abstain
2
3%
Abstain
2
3%
Abstain
2
3%
 
Total votes : 78

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

[MERGED] New AI ability: Bot Call! + Bots revamp!

Postby Gun Hog » Wed May 14, 2014 4:41 am #5755

This is an idea I have had for a while now - giving the AI the ability to control bots!

The biggest flaw of all bots are that they are never where they are needed most! A Roboticist cannot take his floorbot into a bombed out hole!
So, why not give the station's computer the ability to control where the robots go? Using it would be simple! Give the AI a verb to bring up a panel listing the station's bots, and remotely call them to a place the AI designates!

The benefits of such an idea would include:
- Floorbots can reach and repair hull damage with no risk to humans.
- Clean bots can be directed to the messiest areas of the station.
- Medibots can be sent to treat patients.
- ED-209s and Securitrons can be sent to deal with perps!
- MULEs can be sent to...well...run over people.
- It helps to give AIs something to do during boring, low-population Changeling rounds.

UI improvement!
- Bots now use the nicer looking dark UI!

Floorbots improved!
- "Replace Tiles" function now places tiles on floors that are missing them.
- They can now be configured to repair damaged tiles.
- BRIDGE MODE IS BACK, BABY!

Medibot changes
- Medibots now respond to patients in critical with inaprovaline instead of tricord. Intended to help stabilize a patient in critical until someone arrives to help. (Good luck!)

Patrol code has been centralized!
- The Medibot and floorbot are now able to patrol! Enable it through their settings menu, appropriate access required.

PDA summoning for more bots!
- Engineers get floorbots.
- Doctors get Medibots.
- Janitors get cleanbots.
- ED-209s added to security PDAs.

Intended bot behavior
The priority of bot operation is intended to be AI waypoints > Target (Dirt for a cleanbot, criminals for Beepsky) > PDA summons > Patrol route. Each bot is an independent machine that can be directed by the station's main computer (The AI), which is the entity that can best manage them effectively. If the bot is not currently performing a task, it can be summoned by PDA as well, however you must have access to the area you wish the bot to access. When summoned, the bot will attempt to download the user's access data based on the ID stored within the PDA. If the user does not have an ID inside the PDA, the bot will use its own access instead.. If the AI calls it, the bot will always be given all-access.

This is the interface here:
Screenshot 2014-06-26 10.18.10.png


MERGED PR here: https://github.com/NTStation/NTstation13/pull/648

On my TODO list so far:
- Have a switch for bots to disable remote interaction with the AI. Done!
*Silicons do not see it, and it will not work if a silicon hacked it or if a human emagged it.

- A refresh button for the interface. Done!
- Allow other bot types to be summoned. Medibots for Doctors, Cleanbots for the janitor, and Floorbots for Engineers. Done!
- Tell the AI player when AStar cannot calculate a path. Done!
- Find a way to deal with obstacles and odd things such as someone turning the bot off, dragging it away, then trying to get it to perform its function again. Done!
The bot will simply give up if it gets moved away, and shutting it down resets the call entirely.
- Give the bot all-access during the time it is responding to the AI's call command. Done!
- Think of a way to report to the AI when the bot has reached its destination. Done!

On my wish list:
- Have a waypoint marker visible only to the AI
Last edited by Gun Hog on Sun Aug 03, 2014 7:51 pm, edited 16 times in total.



User avatar
Stickymayhem
In-Game Game Master
 
Joined: Mon Apr 28, 2014 6:13 pm
Byond Username: Stickymayhem

Re: [POLL] New AI ability: Bot Call!

Postby Stickymayhem » Wed May 14, 2014 8:24 am #5784

What a simple, ingenious and elegant idea.

This is beautiful as a way to prevent harm IC, give an AI more harmless but useful things to micromanage, and a reason for robotocists to mass produce the suckers.

Nice one. I look forward to using this.
Image

Omni Tears

Spoiler:
Image
Image
Image

User avatar
peoplearestrange
In-Game Admin
 
Joined: Tue Apr 22, 2014 12:02 pm
Location: UK
Byond Username: Peoplearestrange

Re: [POLL] New AI ability: Bot Call!

Postby peoplearestrange » Wed May 14, 2014 11:24 am #5798

Nice. Good work!
A few of my favourite quotes:
Spoiler:
oranges wrote:singulo.io is the center point of rational and calm debate, where much of tg's issues are worked out in a fun and family friendly environment

miggles wrote:it must have been quite the accomplishment, killing a dead butterfly

WeeYakk wrote:If you take a step back from everything watching the community argue janitor related changes is one of the most surreal and hilarious things about this game. Four pages of discussing the merits of there being too much or too little dirt in a video game.

Operative wrote:Vote PAS for headmin! Get cucked and feel good getting cucked.

TheNightingale wrote:I want to get off Mr. Scones's Wild Ride...

NikNakFlak wrote:Excuse you, I was doing intentional bug testing for the well being of the server. I do not make mistakes.

Fragnostic wrote:stop cucking the first shitshow ever that revolved around me.
This is my moment, what are you doing?!

Anonmare wrote:Oranges gestures at the thread, it shudders and begins to move!

Saegrimr wrote:
callanrockslol wrote:all you have to do is ban shitters until the playbase improves/ceases to exist, whichever comes first.

IM TRYING

Screemonster wrote:hellmoo is the mud for grown adults who main reaper in overwatch

Kor wrote:
confused rock wrote:...its like if we made fire extinguishers spawn in emergency boxes and have them heal you when you put out fires rather than them being in wall storages...


Are you having a stroke

bandit wrote:you are now manually GLORFing

PM:[USER]->IrishWristWatch0: Yeah, im make it on but how im make the station to to sun and not go to sun

OOC: Francinum: Five Rounds at PAS's
"You are destinied to defeat Dr. Uguu and his 5 Robot Masters
(All-Access-Man, ShootyBlackCoat Man, ChloralHydrate Man, Singulo Man and TeleportArmor Man)"

I'm a box - IceCreamCohn's #1 reason for signing up to the forums.

User avatar
Skorvold
 
Joined: Fri Apr 18, 2014 2:36 pm
Byond Username: Skorvold

Re: [POLL] New AI ability: Bot Call!

Postby Skorvold » Wed May 14, 2014 12:11 pm #5803

Way too OP.

Edit: Last thing I want to deal with ICly is an AI playing fucking cop, whether it's too prevent harm or not, this on a HoPcurity level of bad from my perspective. Can't wait to spend my tator rounds cutting cameras.
Never give up! Trust your instincts!
Spoiler:
http://steamcommunity.com/id/skorvold
Talk to me on steam anytime.

AseaHeru
Rarely plays
 
Joined: Mon Apr 21, 2014 12:26 pm

Re: [POLL] New AI ability: Bot Call!

Postby AseaHeru » Wed May 14, 2014 12:17 pm #5804

((It could also be used against security. Subvert the AI, have it call all the securibots, emag them and have them let loose...))
I am located here, lurking in your posts, leaving piles of transparent wordings and being confused. Oh, I also try to map...

This, this is an example of what I leave for you.
Also, these days I mostly play Ursit McStation, mostly because I like roleplay.

User avatar
Remie Richards
 
Joined: Thu Apr 17, 2014 7:11 pm
Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
Byond Username: CrimsonVision

Re: [POLL] New AI ability: Bot Call!

Postby Remie Richards » Wed May 14, 2014 2:25 pm #5822

How does it order the Bot's around? I'd like to see the code, considering the current issue with Beepsky and other Bots Path-finding code causing lag, It'd be bad to increase the amount of that type of Path-finding if it does use the same system.
私は完璧

AseaHeru
Rarely plays
 
Joined: Mon Apr 21, 2014 12:26 pm

Re: [POLL] New AI ability: Bot Call!

Postby AseaHeru » Wed May 14, 2014 2:33 pm #5827

Probably the same way that sec can call secbots.
I am located here, lurking in your posts, leaving piles of transparent wordings and being confused. Oh, I also try to map...

This, this is an example of what I leave for you.
Also, these days I mostly play Ursit McStation, mostly because I like roleplay.

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [POLL] New AI ability: Bot Call!

Postby Gun Hog » Wed May 14, 2014 5:42 pm #5867

The code is absolutely horrid, which is why I have not posted it to my github. I will leave it up for you to view if you like. Just have plenty of buckets. It is quite terrible code.
https://github.com/GunHog/-tg-station/c ... Call_Alpha

I did not use the radio code as not all bots supported it, also because I did not understand it well enough to use it. My method is more direct (and "hacky"), calculate the path once, then have the bots step through it.

I do not plan to PR this any time soon, of course.

User avatar
Remie Richards
 
Joined: Thu Apr 17, 2014 7:11 pm
Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
Byond Username: CrimsonVision

Re: [POLL] New AI ability: Bot Call!

Postby Remie Richards » Wed May 14, 2014 6:37 pm #5877

Code: Select all
B.called = AStar(B.loc, end_loc, /turf/proc/CardinalTurfsWithAccess, /turf/proc/Distance_cardinal, 0, 255, id=B.botcard)
src << "[B] - CALLED - [src.waypoint.x],[src.waypoint.y]"


AStar is the Proc causing all the Bot lag, using it ONCE doesn't seem to bad, but if you have multiple bots all doing it at once, I could see it stacking up.
私は完璧

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [POLL] New AI ability: Bot Call!

Postby Gun Hog » Wed May 14, 2014 7:24 pm #5884

Remie Richards wrote:
Code: Select all
B.called = AStar(B.loc, end_loc, /turf/proc/CardinalTurfsWithAccess, /turf/proc/Distance_cardinal, 0, 255, id=B.botcard)
src << "[B] - CALLED - [src.waypoint.x],[src.waypoint.y]"


AStar is the Proc causing all the Bot lag, using it ONCE doesn't seem to bad, but if you have multiple bots all doing it at once, I could see it stacking up.


The call is a high priority function for all bots, most of the bots will respond on the next game tick. Until the bot exhausts its number of moves or move attempts, the bot will do nothing else. Once that happens, it resumes its normal behavior. The way the poll is going fills me with the motivation to continue with this until I can get it working well and up to standard!

The AI player itself could potentially spam calls, but it takes two clicks to do so. (Press the "Call" button, then click a spot).

EDIT: Moving my TODO list to the OP!
Last edited by Gun Hog on Sat May 31, 2014 5:13 am, edited 3 times in total.

User avatar
paprika
Rarely plays
 
Joined: Fri Apr 18, 2014 10:20 pm
Location: in down bad
Byond Username: Paprka

Re: [POLL] New AI ability: Bot Call!

Postby paprika » Thu May 15, 2014 12:05 am #5935

>MULEBOTS

Yesssssss finally
Oldman Robustin wrote:It's an established meme that coders don't play this game.

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [POLL] New AI ability: Bot Call!

Postby Gun Hog » Sun May 18, 2014 6:47 am #6635

Given that this poll is quite successful, I will keep working on this, and get help from the other coders in the PR stage (Especially getting MULEs working). Thank you for your support.

EDIT: Got MULEs working!

User avatar
paprika
Rarely plays
 
Joined: Fri Apr 18, 2014 10:20 pm
Location: in down bad
Byond Username: Paprka

Re: [POLL] New AI ability: Bot Call!

Postby paprika » Thu May 29, 2014 4:42 am #9670

>subvert AI
>give it 4 hacked, fast and deadly mulebots
>laugh ass off at radios
Oldman Robustin wrote:It's an established meme that coders don't play this game.

User avatar
Cipher3
In Game PermaBanned
 
Joined: Thu May 08, 2014 11:17 pm
Byond Username: Cipher3

Re: [POLL] New AI ability: Bot Call!

Postby Cipher3 » Thu May 29, 2014 4:49 pm #9753

paprika wrote:>subvert AI
>give it 4 hacked, fast and deadly mulebots
>laugh ass off at radios

So much yes.
Spoiler:
Nathanael Greene begins to reshape Bryce Pax's genitals to look more feminine.
Nathanael Greene has made a woman of Bryce Pax!

Valerie Sinnet says, "Nathaniel Greene charged the brig with a fucking HONK."

[Common] Assists-the-Crew hisses, "Walker Quinn s-s-s-ss-stole the HoP's-s-s-ss-s door"

OOC: HotelBravoLima: I literally can't be removed from power.

This line gets me every time:
I demand this ban be lifted right now. ~Bibliodewangus

What you hear walking past people:
Erin Wake whispers, "You should ready up on Badger and boink with me..."

"I think you guys are just tired of drinking hitler and now you want diet hitler.
I've got all that great hitler flavor but only half the hitler calories." - Anon3

You seem to be under the mistaken assumption that PR matters. ~MisterPerson

DEAD: Ichigo Momomiya says, "Coravin's just an ass."

Linus Johnson says, "Hey you know I got this game Skyrim last week"
Linus Johnson says, "I have a level 19 ranger and its so fun"
Weston Zadovsky says, "did he just"
Weston Zadovsky says, "fucking hell"

The emergency shuttle has been called. It will arrive in 10 minutes.
Nature of emergency:
Coravin, just Coravin.

Beryl Nyuphoran says, "Fucking get out."
Coravin Vattes asks, "Please?"
Beryl Nyuphoran says, "Please get the fuck outta my lab."
Coravin Vattes exclaims, "Okay!"
[Common] Beryl Nyuphoran {RD} asks, "WHO GAVE CORAVIN ALL ACCESS?"

Lindsay Donk stammers, "L-Luc-ck w-was-s-s s-s-such-h a beaut-tifu p-p-p-pr-r-rom-m q-q-q-queen"

Ty Andrews curls up in a ball on the floor and purrs.

by oranges » Sun Feb 15, 2015 7:15 pm
Get out bluespace, you've not been relevant since you lost the elections

That said, I think there are a shitton of degenerates here and I'd probably gas the lot of you if I had the chance. ~Loonikus


Image

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [POLL] New AI ability: Bot Call!

Postby Gun Hog » Fri Jun 06, 2014 11:21 pm #11923

paprika wrote:>subvert AI
>give it 4 hacked, fast and deadly mulebots
>laugh ass off at radios

Laugh even MORE when the AI commands the MULE to PICK UP THE CORE AND DRIVE IT AROUND, CRUSHING EVERYONE IN ITS PATH.

User avatar
MrSnapwalk
 
Joined: Fri Apr 18, 2014 8:28 pm
Byond Username: MrSnapwalk

Re: [POLL][PR] New AI ability: Bot Call!

Postby MrSnapwalk » Fri Jun 06, 2014 11:33 pm #11925

Gun Hog wrote:
paprika wrote:>subvert AI
>give it 4 hacked, fast and deadly mulebots
>laugh ass off at radios

Laugh even MORE when the AI commands the MULE to PICK UP THE CORE AND DRIVE IT AROUND, CRUSHING EVERYONE IN ITS PATH.

By the way, Gun had to refactor large portions of his code in order to allow this to work. APPRECIATE HIS EFFORT, DAMN YOU!

(Also, thumbs-up from me. I may actually play AI if this gets in.)
Petethegoat wrote:we need to procedurally generate asses so they can actually be used as evidence

JStheguy wrote:Being a closet serial killer is not polite, helpful, truthful, or clean.

I am the last of the moderators for the /NT/station subforums. Please don't PM me any questions, comments, or complaints, because there is nothing I can do about them.

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [POLL][PR] New AI ability: Bot Call!

Postby Gun Hog » Sat Jun 07, 2014 12:20 am #11934

Special thanks to MrSnapwalk for helping me test! I did not even think AIs could ride MULEbots any more!

User avatar
Tokiko2
 
Joined: Mon Apr 21, 2014 12:18 am
Byond Username: Tokiko1

Re: [POLL][PR] New AI ability: Bot Call!

Postby Tokiko2 » Sat Jun 07, 2014 3:42 am #11953

Since you are already coding this, how about adding the functionality to call a mulebot to a (traitor)-item too? Fun traitoring potential, it's one of the things I always wanted.

User avatar
Cipher3
In Game PermaBanned
 
Joined: Thu May 08, 2014 11:17 pm
Byond Username: Cipher3

Re: [POLL][PR] New AI ability: Bot Call!

Postby Cipher3 » Sat Jun 07, 2014 3:45 am #11954

Job-specific traitor item for a cargo tech to mount something on a MULE? Yes please.
Spoiler:
Nathanael Greene begins to reshape Bryce Pax's genitals to look more feminine.
Nathanael Greene has made a woman of Bryce Pax!

Valerie Sinnet says, "Nathaniel Greene charged the brig with a fucking HONK."

[Common] Assists-the-Crew hisses, "Walker Quinn s-s-s-ss-stole the HoP's-s-s-ss-s door"

OOC: HotelBravoLima: I literally can't be removed from power.

This line gets me every time:
I demand this ban be lifted right now. ~Bibliodewangus

What you hear walking past people:
Erin Wake whispers, "You should ready up on Badger and boink with me..."

"I think you guys are just tired of drinking hitler and now you want diet hitler.
I've got all that great hitler flavor but only half the hitler calories." - Anon3

You seem to be under the mistaken assumption that PR matters. ~MisterPerson

DEAD: Ichigo Momomiya says, "Coravin's just an ass."

Linus Johnson says, "Hey you know I got this game Skyrim last week"
Linus Johnson says, "I have a level 19 ranger and its so fun"
Weston Zadovsky says, "did he just"
Weston Zadovsky says, "fucking hell"

The emergency shuttle has been called. It will arrive in 10 minutes.
Nature of emergency:
Coravin, just Coravin.

Beryl Nyuphoran says, "Fucking get out."
Coravin Vattes asks, "Please?"
Beryl Nyuphoran says, "Please get the fuck outta my lab."
Coravin Vattes exclaims, "Okay!"
[Common] Beryl Nyuphoran {RD} asks, "WHO GAVE CORAVIN ALL ACCESS?"

Lindsay Donk stammers, "L-Luc-ck w-was-s-s s-s-such-h a beaut-tifu p-p-p-pr-r-rom-m q-q-q-queen"

Ty Andrews curls up in a ball on the floor and purrs.

by oranges » Sun Feb 15, 2015 7:15 pm
Get out bluespace, you've not been relevant since you lost the elections

That said, I think there are a shitton of degenerates here and I'd probably gas the lot of you if I had the chance. ~Loonikus


Image

User avatar
miggles
 
Joined: Fri Apr 18, 2014 9:02 am
Byond Username: Miggles

Re: [POLL][PR] New AI ability: Bot Call!

Postby miggles » Sat Jun 07, 2014 7:54 am #12008

MG mount for MULEs
turn MULEs into gun drones
dezzmont wrote:I am one of sawrge's alt accounts

dezzmont wrote:sawrge has it right.

Connor wrote:miggles is correct though

AseaHeru
Rarely plays
 
Joined: Mon Apr 21, 2014 12:26 pm

Re: [POLL][PR] New AI ability: Bot Call!

Postby AseaHeru » Mon Jun 09, 2014 12:35 pm #12484

Just an MG? Not a missile system?
I am located here, lurking in your posts, leaving piles of transparent wordings and being confused. Oh, I also try to map...

This, this is an example of what I leave for you.
Also, these days I mostly play Ursit McStation, mostly because I like roleplay.

User avatar
Jeb
 
Joined: Thu Apr 17, 2014 4:01 pm
Byond Username: Stapler2025

Re: [POLL][PR] New AI ability: Bot Call!

Postby Jeb » Mon Jun 09, 2014 2:16 pm #12490

Insert Gygax on MULE.
Image
Unbiased Global Moderator
Guy that made a thing that got put on the homepage of /tg/station13
Defeated in the Great Purge of 2014
[Security] Fiz Bump says, "Beats me, I'm not a scientist. But this is a problem that can be solved with harmbatons."
Johnson Fitzwell asks, "HOW THE FUCK ARE YOU STILL ALIVE?"
Image

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [POLL][PR] New AI ability: Bot Call!

Postby Gun Hog » Tue Jun 10, 2014 10:48 pm #12735

You are probably better off coding a new bot entirely rather than shoving things on a MULE. It would probably take a lot of work to make mobile turret bots work!

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [RE-POLL][PR] New AI ability: Bot Call! + Bots revamp!

Postby Gun Hog » Tue Jun 17, 2014 4:19 am #14111

I updated my OP with the latest work! It has expanded beyond the previous scope of the project, so I need a re-vote! Please review the current project and provide feedback!

Incomptinence
 
Joined: Fri May 02, 2014 3:01 am
Byond Username: Incomptinence

Re: [RE-POLL][PR] New AI ability: Bot Call! + Bots revamp!

Postby Incomptinence » Wed Jun 25, 2014 9:43 pm #15867

Hey you are playing with ED-209 code?

Are you still keeping in the robocop reference that prevents them engaging people with security access?

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [RE-POLL][PR] New AI ability: Bot Call! + Bots revamp!

Postby Gun Hog » Wed Jun 25, 2014 9:47 pm #15869

Incomptinence wrote:Hey you are playing with ED-209 code?

Are you still keeping in the robocop reference that prevents them engaging people with security access?

Code: Select all
   if((idcheck) && (allowed(perp)) && !(lasercolor))
      threatcount = 0//Corrupt cops cannot exist beep boop


I had not touched assessment code, but upon checking it, I found that little piece. It is HILARIOUS. I am not sure, a change like that should not be included in this PR though.

Mandurrrh
 

Re: [RE-POLL][PR] New AI ability: Bot Call! + Bots revamp!

Postby Mandurrrh » Thu Jul 10, 2014 6:31 pm #18784

Gun Hog wrote:This is an idea I have had for a while now - giving the AI the ability to control bots!

The biggest flaw of all bots are that they are never where they are needed most! A Roboticist cannot take his floorbot into a bombed out hole!
So, why not give the station's computer the ability to control where the robots go? Using it would be simple! Give the AI a verb to bring up a panel listing the station's bots, and remotely call them to a place the AI designates!

The benefits of such an idea would include:
- Floorbots can reach and repair hull damage with no risk to humans.
- Clean bots can be directed to the messiest areas of the station.
- Medibots can be sent to treat patients.
- ED-209s and Securitrons can be sent to deal with perps!
- MULEs can be sent to...well...run over people.
- It helps to give AIs something to do during boring, low-population Changeling rounds.

Floorbots improved!
- "Improves Floors" function now places tiles on floors that are missing them.
- They can now be configured to repair damaged tiles.

Patrol code has been centralized!
- The Medibot and floorbot are now able to patrol! Enable it through their settings menu, appropriate access required.

PDA summoning for more bots!
- Engineers get floorbots.
- Doctors get Medibots.
- Janitors get cleanbots.
- ED-209s added to security PDAs.

Intended bot behavior
The priority of bot operation is intended to be AI waypoints > Target (Dirt for a cleanbot, criminals for Beepsky) > PDA summons > Patrol route. Each bot is an independent machine that can be directed by the station's main computer (The AI), which is the entity that can best manage them effectively. If the bot is not currently performing a task, it can be summoned by PDA as well, however you must have access to the area you wish the bot to access. When summoned, the bot will attempt to download the user's access data based on the ID stored within the PDA. If the user does not have an ID inside the PDA, the bot will use its own access instead.. If the AI calls it, the bot will always be given all-access.

This is the interface here:
Screenshot 2014-06-26 10.18.10.png


WIP PR here: https://github.com/NTStation/NTstation13/pull/648

On my TODO list so far:
- Have a switch for bots to disable remote interaction with the AI. Done!
*Silicons do not see it, and it will not work if a silicon hacked it or if a human emagged it.

- A refresh button for the interface. Done!
- Allow other bot types to be summoned. Medibots for Doctors, Cleanbots for the janitor, and Floorbots for Engineers. Done!
- Tell the AI player when AStar cannot calculate a path. Done!
- Find a way to deal with obstacles and odd things such as someone turning the bot off, dragging it away, then trying to get it to perform its function again. Done!
The bot will simply give up if it gets moved away, and shutting it down resets the call entirely.
- Give the bot all-access during the time it is responding to the AI's call command. Done!
- Think of a way to report to the AI when the bot has reached its destination. Done!

On my wish list:
- Have a waypoint marker visible only to the AI



Added to my current list of reasons why I love GunHog. I hope this means they can also emag them as malf/traitor? Because being able to slip fuckers over and over again is hilarious. Start and epidemic in medbay and everyone panics. Would be good sneaky fun to stir suspicion or full blow silicon attack!

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [RE-POLL][PR] New AI ability: Bot Call! + Bots revamp!

Postby Gun Hog » Fri Jul 11, 2014 3:17 am #18854

Mandurrrh wrote:

Added to my current list of reasons why I love GunHog. I hope this means they can also emag them as malf/traitor? Because being able to slip fuckers over and over again is hilarious. Start and epidemic in medbay and everyone panics. Would be good sneaky fun to stir suspicion or full blow silicon attack!


You can already hack (gives emag effects, but can be toggled) bots as a borg or AI, no special antag roles required. The only thing that stops you hacking bots is your lawset! This update allows you to move them to where you want them, then hack them remotely via the "Interface" command!

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby Gun Hog » Sun Aug 03, 2014 7:52 pm #22716

IT IS HAPPENING :D

User avatar
ShizCalev
Code Maintainer
 
Joined: Wed Apr 23, 2014 3:12 am
Byond Username: ShizCalev
Github Username: ShizCalev

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby ShizCalev » Sun Aug 03, 2014 10:56 pm #22733

:D !
ImageImage


>Be ling
>Spread misinformation about how SM works to sabotage it
OOC: ChemicalRascal: Lying about game mechanics in relation to an engine that is poorly understood by most isn't cool, though

User avatar
Phalanx300
 
Joined: Fri Aug 08, 2014 7:26 pm
Byond Username: Phalanx300

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby Phalanx300 » Fri Aug 08, 2014 8:32 pm #23446

An excellent update, I remember suggesting this ages ago. Also another thing we need regarding bots, is to make those control panels in the hallways accesable by Roboticists. That was Roboticists can alter routes taken by robots, currently they have no acces.

Regarding other stuff the AI should be able to do:

- Control Mules, allowing it to place itself on top of a Mule for some human roadkill.
- AI control being based on the APC rather then the cameras, with the cameras only taking away vision but not that of machines (machines being always visible). However cutting the AI control wire in the APC will remove the AI's ability to interact with machines in the area.
- Malf idea should shunt to a computer, rather then a APC. Hacking now also applies to computers, rather then APCs. Having a big blue face showing up on your console as all air is being sucked away sounds fun.

Latter two being just some realism things which would increase the fun I think.

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby Gun Hog » Fri Aug 08, 2014 8:43 pm #23451

Phalanx300 wrote:An excellent update, I remember suggesting this ages ago. Also another thing we need regarding bots, is to make those control panels in the hallways accesable by Roboticists. That was Roboticists can alter routes taken by robots, currently they have no access. You mean the beacons? I can take a look, at least.

Regarding other stuff the AI should be able to do:

- Control Mules, allowing it to place itself on top of a Mule for some human roadkill.
AIs can do this with the help of a borg or human to hack it beforehand. Unanchor your core and have someone bring you to the station. Once the MULE can reach you, you can have it pick you up and drive you anywhere you wish! (You just have to hit the "stop" button, else it will try to unload you)
- AI control being based on the APC rather then the cameras, with the cameras only taking away vision but not that of machines (machines being always visible). However cutting the AI control wire in the APC will remove the AI's ability to interact with machines in the area.
Could be viable if there were a central panel for it and the CE to control the powernet.
- Malf idea should shunt to a computer, rather then a APC. Hacking now also applies to computers, rather then APCs. Having a big blue face showing up on your console as all air is being sucked away sounds fun.
I would totally do this if I know how; Balancing such a thing would be a nightmare, though.

Latter two being just some realism things which would increase the fun I think.

User avatar
Phalanx300
 
Joined: Fri Aug 08, 2014 7:26 pm
Byond Username: Phalanx300

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby Phalanx300 » Fri Aug 08, 2014 8:49 pm #23453

Thanks for the reply!

And yes I meant those beacons. I played Roboticist once spamming robots and planned to alter their pathways, only to find out I need head level clearance to alter the beacons. Which was quite disappointing as the Roboticist should be doing that.

Regarding the Mule, I envisioned a malf AI using arrow keys to ride the mule around to kill people.

As for another idea, I would love if AI's would be able to hack vending machines so they shoot stuff at people. Kinda trivial but very fitting.

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby Gun Hog » Fri Aug 08, 2014 9:02 pm #23459

I will be giving Roboticists more bot access (medibot, cleanbot, floorbot) as well as access to the beacons. That is something easy and that I can do right now. As for controlling MULES with arrow controls..too much work for something that will probably only ever happen a few items. Bots cannot even reach the satellite without help. As for hacking machines, as a Malf AI, you can make them rise up and attack people! It is hard to justify a non-malf AI doing that though, as vending machines normally do not like to interface with AIs!

https://github.com/NTStation/NTstation13/pull/915 For details!

User avatar
Phalanx300
 
Joined: Fri Aug 08, 2014 7:26 pm
Byond Username: Phalanx300

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby Phalanx300 » Fri Aug 08, 2014 9:36 pm #23466

Great, thank you! Though does this mean the Roboticist still can't acces the other bots?

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby Gun Hog » Fri Aug 08, 2014 10:39 pm #23471

Phalanx300 wrote:Great, thank you! Though does this mean the Roboticist still can't acces the other bots?

I am not giving Robos access to Security robots for balance reasons, and Roboticists do not make or use MULEs, so I do not see the point in giving them access.

User avatar
Stickymayhem
In-Game Game Master
 
Joined: Mon Apr 28, 2014 6:13 pm
Byond Username: Stickymayhem

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby Stickymayhem » Sat Aug 09, 2014 11:50 am #23557

Is a /tg/station merge being planned?
Image

Omni Tears

Spoiler:
Image
Image
Image

User avatar
Gun Hog
 
Joined: Sat Apr 19, 2014 5:19 am
Byond Username: Gun Hog

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby Gun Hog » Sat Aug 09, 2014 7:18 pm #23572

Stickymayhem wrote:Is a /tg/station merge being planned?

Unlikely. Our code differs quite a bit now, so I would have to do a line-by-line edit to ensure everything works as expected. I do not mind doing that, however...I do not believe that I have a very good chance of getting a merge; I was told that I would have to do a complete rework of bots rather than 'moving code around'. Given that, I am not willing to waste a week or more of my time working on something that is ultimately going to get shot down.

Now, if I had a good chance of getting it in, I would do all the work I needed to do to get it ready and keep it bug-free, and also fix anything that comes up afterward - but I need to know if this is a feature that coderbus wants. I would be much more confident in committing fully to creating a /tg/ version if I had the go-ahead first.

That being said, if anyone wanted to port it themselves, I would be more than happy to help out.

User avatar
ShizCalev
Code Maintainer
 
Joined: Wed Apr 23, 2014 3:12 am
Byond Username: ShizCalev
Github Username: ShizCalev

Re: [MERGED] New AI ability: Bot Call! + Bots revamp!

Postby ShizCalev » Sat Aug 09, 2014 8:37 pm #23576

Oh fuck, this is NTStation's area.


I'm sad now. This whole separation thing is really silly. Wish TG got this as well. :[
ImageImage


>Be ling
>Spread misinformation about how SM works to sabotage it
OOC: ChemicalRascal: Lying about game mechanics in relation to an engine that is poorly understood by most isn't cool, though


Return to NTStation Coding

Who is online

Users browsing this forum: No registered users