pk api/stream

... sit down, kick back and relax, and talk about anything that doesn't belong on one of the other forums.
Xylan
Posts: 105
Joined: Tue Jun 06, 2017 7:52 pm

Re: pk api/stream

Post by Xylan » Fri Oct 13, 2017 9:11 pm

Without mobol/imm/code intervention you can sorta kinda achieve something like this on client side by making a script that simply collects information from narrates. Though, the obvious limitation is you are required to be online to broadcast a feed.

[friend] narrates "on [enemy] [optional location]"

Generally you can just set up triggers to collect information from just polling for commonly used pk terms to figure out who is fighting who:
"charged", "stabbed", "bashed", "passed", "past", "hit", "target", "dism", "bloody", "going n|s|e|w", "crit", "beat", "batt", "low", "rip", "in"

But you'd have to filter [enemy] to make sure it isn't a chokepoint/location, but a player name.

And then any mentionings of [enemy] will need to refresh a countdown to which will drop [enemy] out of a timeout queue. Similiarily, seeing "rip [enemy]" will drop them out of queue and add a flag "xxx(,xxx2,xxx3,etc) has/have slain [name]"
Then you can take this data, serialize it and push it to a server for all others to publicly see.

briana
Posts: 49
Joined: Fri Jan 29, 2016 12:59 pm

Re: pk api/stream

Post by briana » Mon Oct 16, 2017 9:49 am

how do we do that.. that sounds cool! :) think we can incorporate java or something interesting into an app? I'm in school for this sort of thing so figured it'd be a fun project.

mythras
Posts: 6
Joined: Wed Apr 22, 2015 12:02 pm

Re: pk api/stream

Post by mythras » Mon Oct 16, 2017 10:01 am

Yep. This type of thing isn't particularly difficult outside of the language parsing stuff. One approach may be to just have a stream of narrates and then you come in afterwards and tag each message with what it is describing and see if you can AI it a bit...

Meshi
Posts: 19
Joined: Thu May 26, 2016 8:05 am

Re: pk api/stream

Post by Meshi » Tue Oct 17, 2017 9:37 am

mythras wrote:Yep. This type of thing isn't particularly difficult outside of the language parsing stuff.
Curing many genetic diseases isn't hard outside of the gene analysis stuff. :P

Vaen
Posts: 204
Joined: Wed Jun 10, 2015 2:20 pm

Re: pk api/stream

Post by Vaen » Tue Oct 17, 2017 12:19 pm

Not an expert, but I think the analysis part is actually relatively easy, it's the delivery and uptake that's always been tricky. Enter CRISPR. https://en.wikipedia.org/wiki/CRISPR /pedantic

Post Reply