PDA

View Full Version : Encounter Tracking Demonstration


quido
12-21-2013, 02:06 PM
About a week ago I started working on an encounter-tracking system that would not only keep track of people entering and leaving the encounter and their associated hate, but also the positions of all entities within the zone involved in the encounter. I then put together a php script that will allow you to select a particular encounter (all encounters work, including those that don't result in a mob death) and generate an animated gif showing a map of the encounter.

Here is a demonstration of what I have so far:

http://www.youtube.com/watch?v=uoDeE_iHWKg

As you can see, I tag Severilous and run all over EJ before CotHing myself. The last few seconds of the video show a fraps of the animated gif that was generated from this encounter.

It still needs some polishing and some more options, but so far I think it is pretty nifty! If p99 had this running, I doubt we'd see many more delay kites.

I welcome your feedback!

YendorLootmonkey
12-21-2013, 02:08 PM
That's pretty sweet!

Tasslehofp99
12-21-2013, 02:10 PM
That's really pretty cool.


The path you take looks oddly familiar, though lol.

quido
12-21-2013, 02:29 PM
The path you take looks oddly familiar, though lol.

This guy! Thanks for the kind words =)

A little more information about what's going on here:

This system is implemented through the quest manager system (which isn't just for quests). When the mob is first aggroed, a quest event (perl) is invoked which in turn calls a C++ function which sets up a profile for the encounter in the database. At this point, a 1-second timer is set which will call a different C++ function when it has expired. This function is setup to be as efficient as possible for the sake of present time and requires only a single database insert for each 1-second tick. The bulk of the work is left up to the post-processing which can sort through the mess of data at its leisure. The php script that generated the animated gif took about 15 seconds to run on my system, most of which was disk I/O.

tacite
12-21-2013, 02:30 PM
I like the music, really reminds me of Mahavishnu Orchestra. What is it?

quido
12-21-2013, 02:34 PM
I like the music, really reminds me of Mahavishnu Orchestra. What is it?

I can see why you'd make this connection! Not only is the fusion world a relatively small one, but the bassist from this trio played with McLaughlin from 1983 to 1988.

The group is called Hellborg, Lane, and Sipe (Jonas Hellborg, Shawn Lane, and Jeff Sipe, or HLS) and this track is from the album Time is the Enemy.

talian21
12-21-2013, 03:06 PM
I can see why you'd make this connection! Not only is the fusion world a relatively small one, but the bassist from this trio played with McLaughlin from 1983 to 1988.

The group is called Hellborg, Lane, and Sipe (Jonas Hellborg, Shawn Lane, and Jeff Sipe, or HLS) and this track is from the album Time is the Enemy.

Reminds me of the guitarist Eric Johnson, if anyone remembers him.

quido
12-21-2013, 03:07 PM
Shawn Lane plays circles around Eric Johnson.

Lune
12-21-2013, 03:09 PM
very cool

sanforce
12-21-2013, 03:37 PM
awesome script Jeremy. Would this be run server side to assist the GMs?

quido
12-21-2013, 03:38 PM
awesome script Jeremy. Would this be run server side to assist the GMs?

Yes, that's the idea. It's also the only way this could really function.

Argh
12-21-2013, 03:40 PM
neat script

quido
12-21-2013, 05:41 PM
https://www.youtube.com/watch?v=ZB2Jffswi0E

Here is another example showing two people on Sev's hate list. You can see where I /goto Glitterati. I hope to get a bunch of people on my box one of these nights to try it out with like a dozen or more people.

GM Speed is so fast!

Vandy
12-21-2013, 06:24 PM
just need like 5 people 6-boxing

khanable
12-21-2013, 06:26 PM
that's... actually really cool

quido
12-21-2013, 06:35 PM
not likely!

Blink
12-21-2013, 06:38 PM
nice job

Splorf22
12-21-2013, 06:38 PM
It's a cute idea although 95% of that video is you running around randomly.

I have long thought that the devs could implement automatic train detection and kiting code.

quido
12-21-2013, 06:43 PM
It's a cute idea although 95% of that video is you running around randomly.

No shit, I wanted to show the path that is being drawn.

I have long thought that the devs could implement automatic train detection and kiting code.

It definitely wouldn't be hard to come up with a "pull efficiency" statistic and set a threshold for what's acceptable.

radditsu
12-21-2013, 06:44 PM
It would be cook to tie it in with ingame find function to show a path ingame.

Vandy
12-21-2013, 09:43 PM
I support this function. Thumbs up !

Glitterati
12-21-2013, 11:18 PM
lol my path to CoM is so graceful

danceparty
12-21-2013, 11:25 PM
this shit is no longer necessary. with TMO gone the rest of the server will actually play nice and share.

Glitterati
12-21-2013, 11:37 PM
LMAO, yeah, cause if the history of the server has taught us anything it's that it will be strippers, rainbows and candy from now on

danceparty
12-22-2013, 12:19 AM
it took the server less than two hours to implement a pnp after the tmo ban. think tmo wasn't the problem? lmao back at ya =D

quido
12-22-2013, 02:28 AM
You're naive if you really believe there won't be problems now.

JerSar
12-22-2013, 03:07 AM
Impressed. Good job.

Dirtnap
12-22-2013, 06:16 AM
There will always be dick heads. So there will always be people trying to hoard content/items for themselves.

Autotune
12-22-2013, 06:59 AM
it took the server less than two hours to implement a pnp after the tmo ban. think tmo wasn't the problem? lmao back at ya =D

Oh look how well we are behaving after a banhammer has swung!!!

Color me not very surprised at all.

Clark
12-22-2013, 07:12 AM
nice work

quido
12-22-2013, 01:46 PM
ok well back to making baby rape jokes then cuz thats funny... real funny

apologize and maybe ill change my opinion of you.

that was in reference to his forceful entry into the UK's prison system ya moran

radditsu
12-22-2013, 01:53 PM
that was in reference to his forceful entry into the UK's prison system ya moran

I liked the joke. Dark humor is my bag.

YendorLootmonkey
12-22-2013, 02:02 PM
.

quido
12-22-2013, 02:05 PM
Would you guys mind saving the RnF for another thread please? Thanks

Pheer
12-22-2013, 03:24 PM
actually a pretty cool feature if its feasible for the devs to implement