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-02-27 19:07:08

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

Exact player position

Searching for past threads on this topic turned up this thread.

Does Captain9's EEPhysics still work accurately? At most I'd be tracking players moving around on dots and going through portals.

If not, is there a different library that does the same job?


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

Offline

#2 2016-02-27 20:29:13

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

Re: Exact player position

I don't think it's updated yet, but it was fairly accurate, it takes every single thing in account but it was a bit heavy on the CPU (if I remember correct).

It's not flawless (at least it wasn't on my laptop on which I couldn't even draw at a 20ms delay, so it could actually be flawless on a stronger pc) but I'm pretty sure it's the best you can find.

Offline

#3 2016-02-28 00:21:38

thewrongway
Member
Joined: 2015-12-13
Posts: 13

Re: Exact player position

The pvp battle, i think what was called, that was on a few days ago has ee physics.

Offline

#4 2016-02-28 00:52:35

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

Re: Exact player position

thewrongway wrote:

The pvp battle, i think what was called, that was on a few days ago has ee physics.

Whose bot was it?


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

Offline

#5 2016-02-28 01:14:56

Jesse
Member
From: Antartica?
Joined: 2015-02-16
Posts: 69
Website

Re: Exact player position

I updated the package EEPhysics on nuget to make it work with the latest Everybody Edits version (v207) //forums.everybodyedits.com/img/smilies/cool

Other than that:

"Does Captain9's EEPhysics still work accurately?"
Yes, it still works accurately.

"At most I'd be tracking players moving around on dots and going through portals."
It will be flawless for this!

"It was a bit heavy on the CPU (if I remember correct)."
I think it's your computer specs, for me it doesn't use any CPU at all.

"It's not flawless (at least it wasn't on my laptop on which I couldn't even draw at a 20ms delay, so it could actually be flawless on a stronger pc) but I'm pretty sure it's the best you can find."
It is, it's probably your internet. I tested this and it still draws a block on my position. It could be your internet speed and how far you are away from EE's servers.


Hope these answers help!


Thanks a lot, Sensei1, for drawing this amazing avatar for me <3

Sig.php

Offline

#6 2016-02-28 05:26:34

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

Re: Exact player position

May I ask how do you use the EEPhysics to get the player x/y? I have put all of the stuff into separate classes (EEPhysics.config, PhysicsPlayer, PhysicsWorld, etc)
Not sure how I use this to get the x/y of the player


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#7 2016-02-28 06:27:15, last edited by SmittyW (2016-02-28 06:32:56)

SmittyW
Member
Joined: 2015-03-13
Posts: 2,085

Re: Exact player position

Xfrogman43 wrote:

May I ask how do you use the EEPhysics to get the player x/y? I have put all of the stuff into separate classes (EEPhysics.config, PhysicsPlayer, PhysicsWorld, etc)
Not sure how I use this to get the x/y of the player

original topic
wiki

Offline

Wooted by: (2)

#8 2016-02-28 07:16:17

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

Re: Exact player position

Sorry if I'm sounding dumb right now but:

8RsOkrC.png

It says you should already have a class player but I only have the dictionary "players". I even tried making a class and doing what it said and it still didn't work. Maybe I'm thinking too hard on this or something


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#9 2016-02-28 13:21:16, last edited by Jesse (2016-02-28 13:21:38)

Jesse
Member
From: Antartica?
Joined: 2015-02-16
Posts: 69
Website

Re: Exact player position

Xfrogman43 wrote:

Sorry if I'm sounding dumb right now but:

<Image>

It says you should already have a class player but I only have the dictionary "players". I even tried making a class and doing what it said and it still didn't work. Maybe I'm thinking too hard on this or something

Here is an updated example: http://pastebin.com/bxN3Schp

If you want to grab the player within the "m" message you would do this:

case "m":
     Player player; if (!Players.TryGetValue(m.GetInt(0), out player)) return;

     //Do stuff with player.

     break;

Thanks a lot, Sensei1, for drawing this amazing avatar for me <3

Sig.php

Offline

Wooted by:

#10 2016-02-28 17:37:18

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

Re: Exact player position

Jesse wrote:

I updated the package EEPhysics on nuget to make it work with the latest Everybody Edits version (v207)

Awesome.


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

Offline

#11 2016-02-29 01:42:48

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

Re: Exact player position

1RsNiMD.png

It's saying that m[5] isnt a string and its an int that equals 40. How do I fix this? It's not like I can just change m for it


zsbu6Xm.png thanks zoey aaaaaaaaaaaand thanks latif for the avatar

Offline

#12 2016-02-29 15:27:54

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

Re: Exact player position

Xfrogman43 wrote:

It's saying that m[5] isnt a string and its an int that equals 40. How do I fix this? It's not like I can just change m for it

It's probably an unsigned int, no idea how to fix it tho.

Offline

#13 2016-02-29 19:48:16

Jesse
Member
From: Antartica?
Joined: 2015-02-16
Posts: 69
Website

Re: Exact player position

Xfrogman43 wrote:

1RsNiMD.png

It's saying that m[5] isnt a string and its an int that equals 40. How do I fix this? It's not like I can just change m for it

You need to install the latest version (EEPhysics v1.4.2) from nuget by going to Tools > NuGet Package Manager > Package Mandager Console  In Visual Studio. Then by typing in the following command: Install-Package EEPhysics
It should automatically add EEPhysics to your project!


Thanks a lot, Sensei1, for drawing this amazing avatar for me <3

Sig.php

Offline

#14 2016-02-29 20:38:18

Zoey2070
Moderation Team
From: Shakuras
Joined: 2015-02-15
Posts: 5,509

Re: Exact player position

op requests close
it's super effective


proc's discorb UnGdm07.gif stylish themes for forums/the game UnGdm07.gif
꧁꧂L O V E & C O R N꧁꧂   ᘛ⁐̤ᕐᐷ
danke bluecloud thank u raphe   Gq8tv9Z.gif [this section of my sig is dedicated to everything i've loved that's ever died]
? Hc0cu9u.gif         6yG4Efc.gif

Offline

Wooted by: (2)
Zoey20701456774698586038

Board footer

Powered by FluxBB

[ Started around 1732755903.334 - Generated in 0.095 seconds, 12 queries executed - Memory usage: 1.61 MiB (Peak: 1.81 MiB) ]