13 posts
Location
Inverkeithing, Fife, Scotland
Posted 01 November 2016 - 05:20 PM
Hey, so I play tekkit legends allot and I play in a team. I want to be able to list what players are in what rooms. So, for example, I would have a map of the base on a monitor and have a pixel where people are, with their username enclosed in [ ]. It will also add what player was in what room along with the time into a text file. I can do all of this bar the sensing players and where they are. Any help? Or example code I can study?
And just to have the dankest memes:
Such doge, much wow, many programs.
2427 posts
Location
UK
Posted 01 November 2016 - 10:14 PM
if per room accuracy is enough then place short-range sensors at doors and log entrance/exit
you may be able to get the player's location out of their table (as returned by the sensor), print out all of the keys of the table:
--# print all the keys/indexes of a table
for k in pairs(myTable) do
print(k)
end
if it isn't provided then you could use several sensors and reverse a gps
13 posts
Location
Inverkeithing, Fife, Scotland
Posted 02 November 2016 - 05:52 PM
if per room accuracy is enough then place short-range sensors at doors and log entrance/exit
you may be able to get the player's location out of their table (as returned by the sensor), print out all of the keys of the table:
--# print all the keys/indexes of a table
for k in pairs(myTable) do
print(k)
end
if it isn't provided then you could use several sensors and reverse a gps
Thanks!