Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2016-06-28 13:42:06

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

[Question] Which zombie infected who?

Player Z is a zombie and Player H is a zombie - I can easily know this but if Player Z infects Player H is there a way I can definitively know that it was Player Z and nobody else?

Current idea is that when Player H is infected I would then grab a snapshot of the locations nearby and find the closest player to the new zombie.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#2 2016-06-28 13:46:25

jbbill
Member
Joined: 2016-06-01
Posts: 97

Re: [Question] Which zombie infected who?

what if their are multiple zombies there? Zombie Y is standing closer but zombie H infects. Or at times when 2 zombies literally crash into a single player. Or at times when the infector zombie dies


MCUtZoK.png
Made by HG //forums.everybodyedits.com/img/smilies/big_smile(and avatar)

Offline

#3 2016-06-28 13:52:37

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Question] Which zombie infected who?

jbbill wrote:

what if their are multiple zombies there? Zombie Y is standing closer but zombie H infects. Or at times when 2 zombies literally crash into a single player. Or at times when the infector zombie dies

That's the problem I'm facing

Koya wrote:

is there a way I can definitively know that it was Player Z and nobody else?


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#4 2016-06-28 13:55:26

jbbill
Member
Joined: 2016-06-01
Posts: 97

Re: [Question] Which zombie infected who?

Perhaps replicate the same actions same speeds etc inside bot?


MCUtZoK.png
Made by HG //forums.everybodyedits.com/img/smilies/big_smile(and avatar)

Offline

#5 2016-06-28 13:56:43

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Question] Which zombie infected who?

jbbill wrote:

Perhaps replicate the same actions same speeds etc inside bot?

Would just be over-complicated - I could look to see if any aren't moving and where the player has traveled but if I were to use it I could just credit potential infectors


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#6 2016-06-28 14:24:11

Tomahawk
Forum Mod
From: UK
Joined: 2015-02-18
Posts: 2,847

Re: [Question] Which zombie infected who?

EEphysics might help.


One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.

Offline

#7 2016-06-28 14:32:07, last edited by Koya (2016-06-28 15:45:09)

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Question] Which zombie infected who?

Tomahawk wrote:

EEphysics might help.

Obviously I would use that; I've figured out a model which just holds people's location data for the past 3 seconds and draws lines at the points and where the closest crossing to where someone is infected the zombie there is awarded.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#8 2016-06-28 15:42:25

Xfrogman43
Member
From: need to find a new home
Joined: 2015-02-15
Posts: 4,174

Re: [Question] Which zombie infected who?

If a player isn't moving, and you walk over them, and THEY have zombie, you get infected.


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#9 2016-06-28 15:44:59

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Question] Which zombie infected who?

Xfrogman43 wrote:

If a player isn't moving, and you walk over them, and THEY have zombie, you get infected.

By movement data I meant location data.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

Wooted by:

#10 2016-06-28 15:46:22

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: [Question] Which zombie infected who?

Well great ya stole my idea. *shrug* Buy you'd make better use of it.

Anyways what you could do, is have a bot that prevents zombification - such as you would have your bot connect with the health effect, and you would listen for the "effect" event. If someone becomes a zombie, and no players around that player is already a zombie, "unzombify" the player that just became a zombie, rather than having to do all of this mess.

Offline

#11 2016-06-28 15:54:02

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Question] Which zombie infected who?

ninjasupeatsninja wrote:

Well great ya stole my idea. *shrug* Buy you'd make better use of it.

Anyways what you could do, is have a bot that prevents zombification - such as you would have your bot connect with the health effect, and you would listen for the "effect" event. If someone becomes a zombie, and no players around that player is already a zombie, "unzombify" the player that just became a zombie, rather than having to do all of this mess.

This isn't the first time I thought about it, and I doubt I was the first; it's a pretty general idea which you shouldn't try and claim as your own.
I want one that works with vanilla zombies and goes on top.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#12 2016-06-28 15:57:50

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: [Question] Which zombie infected who?

Koya wrote:
ninjasupeatsninja wrote:

Well great ya stole my idea. *shrug* Buy you'd make better use of it.

Anyways what you could do, is have a bot that prevents zombification - such as you would have your bot connect with the health effect, and you would listen for the "effect" event. If someone becomes a zombie, and no players around that player is already a zombie, "unzombify" the player that just became a zombie, rather than having to do all of this mess.

This isn't the first time I thought about it, and I doubt I was the first; it's a pretty general idea which you shouldn't try and claim as your own.
I want one that works with vanilla zombies and goes on top.

Well maybe my topic inspired you, who knows, but yes, ideas definitely are tossed everywhere.

Also what do you mean with vanilla zombies and goes on top? Do you mean like to send an "m" message to teleport the bot to different places?

Offline

#13 2016-06-28 16:00:20

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: [Question] Which zombie infected who?

Let's see. The most straightforward would be for the admins to actually send that information.

You'll obviously need the EE Physics, but you'll have to cut some people some slack; sometimes folks just lag out. Don't forget portals, either.

Otherwise it looks like you've got it figured out. If a zombie collides with a non-zombie, according to EE Physics, flag 'em and wait for the incoming message. If you get one without a flag, ... flag it! lol

Offline

Wooted by:

#14 2016-06-28 16:08:19

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Question] Which zombie infected who?

hummerz5 wrote:

Let's see. The most straightforward would be for the admins to actually send that information.

I was wondering if this was added while I was away - I read through the messages and couldn't find it

hummerz5 wrote:

You'll obviously need the EE Physics, but you'll have to cut some people some slack; sometimes folks just lag out. Don't forget portals, either.

Mhm yeah

hummerz5 wrote:

Otherwise it looks like you've got it figured out. If a zombie collides with a non-zombie, according to EE Physics, flag 'em and wait for the incoming message. If you get one without a flag, ... flag it! lol

I was going to plot points and use maths to figure out who was infected rather than trying to see who is on the same block - because I believe there won't be anyone who is missed at all.

----

ninjasupeatsninja wrote:

Well maybe my topic inspired you, who knows, but yes, ideas definitely are tossed everywhere.

I've been working on and off the idea for a little while, your post is why I asked if there is a better way because my experience of looking through your programming - it isn't perfect and you didn't even supply the source to your bot.

ninjasupeatsninja wrote:

Also what do you mean with vanilla zombies and goes on top? Do you mean like to send an "m" message to teleport the bot to different places?

You know the zombie effect block? When people touch that and then other people they are infected - why would I be teleporting a bot?

ninjasupeatsninja wrote:

Do you mean like to send an "m" message to teleport the bot to different places?

Also the way you talk to other people throwing around terms that don't need to be said is bothering me, try:

Do you mean teleporting the bot to different places?


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#15 2016-06-28 16:30:11

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: [Question] Which zombie infected who?

I was going to plot points and use maths to figure out who was infected rather than trying to see who is on the same block - because I believe there won't be anyone who is missed at all.

I guess I don't quite follow this. Are you using a combination of EEPhysics and maths? You don't think anyone will glitch?

Offline

#16 2016-06-28 16:33:11

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Question] Which zombie infected who?

hummerz5 wrote:

I was going to plot points and use maths to figure out who was infected rather than trying to see who is on the same block - because I believe there won't be anyone who is missed at all.

I guess I don't quite follow this. Are you using a combination of EEPhysics and maths? You don't think anyone will glitch?

Imagine if you were moving around and a line was drawn from where you were to where you are each time the bot checks and each line is given an id and all lines generated at the same time have the same ID - if a line from a zombie and a line from a non-zombie cross where the IDs are the same and the non-zombie was infected then it would have to be the zombie who crossed over.

I had issues with EEPhysics a little while ago where a player's position isn't always picked up quickly and I feel that 2 players could cross each other and the bot would miss it.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#17 2016-06-28 16:43:49

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: [Question] Which zombie infected who?

Ohhhh, so you're splicing the EE physics tick things together to a line! Well, I can't see EEPhysics being /that/ slow as to let a user skip over 16 pixels, but your method certainly works. I suppose the 'ID' would be like a timestamp. IF they're in the same place at the same time, it makes sense.

So you'd run a function each time a line intersects, and calculate those points' times based on other points' times... to determine if the points have [almost] the same time/IDs. Cool.

Offline

#18 2016-06-28 16:45:51

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Question] Which zombie infected who?

hummerz5 wrote:

Ohhhh, so you're splicing the EE physics tick things together to a line! Well, I can't see EEPhysics being /that/ slow as to let a user skip over 16 pixels, but your method certainly works. I suppose the 'ID' would be like a timestamp. IF they're in the same place at the same time, it makes sense.

So you'd run a function each time a line intersects, and calculate those points' times based on other points' times... to determine if the points have [almost] the same time/IDs. Cool.

Yep, the span in which the lines are able to cross is the same as the timestamp from the first person to the last.
The function to see if people cross will be done only when someone is infected and won't flag every crossing.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

#19 2016-06-28 16:51:47

hummerz5
Member
From: wait I'm not a secret mod huh
Joined: 2015-08-10
Posts: 5,853

Re: [Question] Which zombie infected who?

^ Further optimizations. Soon you'll be running this on PDAs.

Well, good luck with it. Or is this pure theory?

Offline

#20 2016-06-28 16:54:18

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Question] Which zombie infected who?

hummerz5 wrote:

^ Further optimizations. Soon you'll be running this on PDAs.

Well, good luck with it. Or is this pure theory?

Currently just theory, I'll give this some time later


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

Wooted by:

#21 2016-06-29 00:14:50

den3107
Member
From: Netherlands
Joined: 2015-04-24
Posts: 1,025

Re: [Question] Which zombie infected who?

The plotting gets quite some harder when a player jumps, goes through portals, etc.
Also, the fact that you'll have to keep track of that last so many positions of the player requires a bit beefier CPU, doubt RAM will be a quick problem though. Main problem is simply speed.

Offline

#22 2016-06-29 00:16:44

Koya
Fabulous Member
From: The island with those Brits
Joined: 2015-02-18
Posts: 6,310

Re: [Question] Which zombie infected who?

Jesse has done it, no point in me doing it - I'll let him post a new thread rather than posting here.

Locked.


Po9cnQh.png

PLNQVL8.png
Thank you eleizibeth ^

1SYOldu.png

I stack my signatures rather than delete them so I don't lose them
giphy.gif

WfSi4mm.png

Offline

Koya1467155804610330

Board footer

Powered by FluxBB

[ Started around 1732748463.493 - Generated in 0.172 seconds, 12 queries executed - Memory usage: 1.75 MiB (Peak: 2.02 MiB) ]