joereynolds / what-to-code

Ideas for things to program
MIT License
1.44k stars 63 forks source link

Tagpro does not send all player location data to each player. #3

Closed christopherjenness closed 8 years ago

christopherjenness commented 8 years ago

"A tagpro add-on that shows the entire map and the location of all the players"

Tagpro does not send all player location data to players It only sends player location data of players near you. This would be impossible to create.

joereynolds commented 8 years ago

There's a tagpro.players array that contains each player object.

Try it out, enter this in the console in game

tagpro.players[1].x tagpro.players[1].y

They have that for every ball, so it should be possible to map it to a grid

christopherjenness commented 8 years ago

https://www.reddit.com/r/TagPro/comments/4x9p7a/does_tagpro_send_you_data_on_all_player_locations/d6dn91u

The creator claims you are not correct.

joereynolds commented 8 years ago

Interesting, I left a comment