Users.js is gone how will I know when the other user is online now?


#1

users.js is gone how will I know when the other user is online now?


#2

Call them by voice ? :innocent:


#3

we should suggest the navigation bar goes next, we don’t need it there’s the directory and its not like u can tp to anyone now.


Going out Staying in Judas's Blog
#4

@ZappoMan. Im interested in the thinking behind this bold move.
Is it in anticipation of a better system
Is it going back to the original concept of identity and anonymity
Or is it to just drive out anyone not in the hifi offices?
other


#5

I’m on RC 6 and it is still there bottom left.


#6

#7

is thinking about only attending things i’m invited 2 in world


#8

Agrees that user.js is not visible on my v 4762


#9

Is it still in your local files of the High Fidelity install? Can you load it from disk? Either way, it’s not a deal breaker you can still ping the users page and get the list. I’m sure someone will make an app for that.

:blush:

API_URL = "https://metaverse.highfidelity.com/api/v1/users?status=online",     
  API_FRIENDS_FILTER = "&filter=friends"

then that spits out something that looks like this:

{
	"status": "success",
	"data": {
		"users": [{
			"username": "maxsp",
			"location": {
				"path": "/6.43191,31.0946,1.43008/0,0.741961,0,0.670443",
				"domain": {
					"id": "8ebf8755-f3cc-4310-a81f-74da3f9d67ea",
					"network_address": null,
					"network_port": 40102,
					"online": false
				}
			},
			"online": true
		}, {
			"username": "ritzo",
			"location": {
				"path": "/17.271,999.812,-0.628761/0,0.157227,0,0.987562",
				"root": {
					"id": "adb83c6a-d9d6-4e19-9908-7c8065fa84c1",
					"name": "arklo",
					"domain": {
						"id": "c39f7cd1-58ba-4d47-8d4e-aa82b643d597",
						"ice_server_address": "54.183.59.164",
						"online": true
					}
				}
			},
			"online": true
		}, {
			"username": "Alan_",
			"location": {
				"path": "/68.0639,47.2761,586.07/0,-0.2557,0,0.966756",
				"root": {
					"id": "28588490-67ce-4583-b0da-e90441cc5edc",
					"name": "sandbox",
					"domain": {
						"id": "574603af-862b-4cfd-bf84-2488e56eecb2",
						"network_address": "sandbox.highfidelity.io",
						"network_port": 40102,
						"online": true
					}
				}
			},
			"online": true
		}, {
			"username": "KevinMThomas",
			"location": {
				"path": "/1108.14,447.036,-64.3364/0,0.976461,0,-0.215693",
				"domain": {
					"id": "9b3d0190-dc74-4e9c-86ed-6865e609f1db",
					"ice_server_address": "54.183.56.32"
				}
			},
			"online": true
		}, {
			"username": "CatherineOh",
			"location": {
				"path": "/5.06351,31.1076,1.28936/0,-0.731509,0,0.681831",
				"domain": {
					"id": "8ebf8755-f3cc-4310-a81f-74da3f9d67ea",
					"network_address": null,
					"network_port": 40102,
					"online": false
				}
			},
			"online": true
		}, {
			"username": "ericrius1",
			"location": {
				"path": "/-4.69481,0.513004,-5.59665/0,-0.976592,0,-0.215092",
				"domain": {
					"id": "3f97816f-95dc-4077-9225-b3fa27834adf",
					"ice_server_address": "54.183.59.164",
					"online": true
				}
			},
			"online": true
		}, {
			"username": "jamespollack",
			"location": {
				"path": "/45.0345,-8.047,-72.8911/0,0.0315355,0,0.999503",
				"root": {
					"id": "246d0a18-1456-468a-8ffd-b506344ac41b",
					"name": "Playa",
					"domain": {
						"id": "8fbcb37f-e93b-4de8-b8ff-4c0f216dc195",
						"network_address": "hq.highfidelity.io",
						"network_port": 40102,
						"online": true
					}
				}
			},
			"online": true
		}, {
			"username": "ctrlaltdavid",
			"location": {
				"path": "/15999.9,16000.6,16000/0,-0.788039,0,0.615625",
				"root": {
					"id": "c66e2162-6f53-4e3e-b4a3-f864cf09deb2",
					"name": "ctrlaltdavid",
					"domain": {
						"id": "66599647-fff8-4447-b2fc-91dc9e2500a8",
						"ice_server_address": "54.183.200.59",
						"online": true
					}
				}
			},
			"online": true
		}, {
			"username": "sethalves",
			"location": {
				"path": "/142.809,67.466,72.3542/0,-0.77407,0,0.6331",
				"root": {
					"id": "ac4b1e05-e220-4ca2-acdf-54622a9670b6",
					"name": "Eschatology",
					"domain": {
						"id": "99c44ca5-5f58-4107-a3ed-32cf6f7560ec",
						"ice_server_address": "54.183.56.32",
						"online": true
					}
				}
			},
			"online": true
		}, {
			"username": "ozan",
			"location": {
				"path": "/-1.91137,-0.844283,27.755/0,-0.27587,0,-0.961195",
				"root": {
					"id": "b5baa874-c457-4353-aafe-6590558ff5ee",
					"name": "ozan",
					"domain": {
						"id": "f5951a41-04ae-45ee-ada1-e65a848049b9",
						"ice_server_address": "ice.highfidelity.io",
						"online": true
					}
				}
			},
			"online": true
		}, {
			"username": "thoys",
			"location": {
				"path": "/0.301678,1.04068,11.4719/0,0.999778,0,0.0210896",
				"root": {
					"id": "6ea48bd6-3dda-47ba-b997-9a0e1872d499",
					"name": "Music",
					"domain": {
						"id": "967c4f19-9bd1-40ce-93f7-f13060713f9a",
						"network_address": "192.34.62.151",
						"network_port": 40102,
						"online": true
					}
				}
			},
			"online": true
		}, {
			"username": "hyperlogic",
			"location": {
				"path": "/1.35932,0.0614134,0.697555/0,0.936343,0,0.351086",
				"root": {
					"id": "4e1fd848-43b1-47b1-acae-f79dc2b03a13",
					"name": "BlackLodge",
					"domain": {
						"id": "987193fe-40ad-4be3-8e6d-5dc90fc2b9db",
						"ice_server_address": "54.183.200.59",
						"online": true
					}
				}
			},
			"online": true
		}, {
			"username": "Caitlyn",
			"location": {
				"path": "/-19.007,979.071,6.11596/0,0.733362,0,0.679838",
				"root": {
					"id": "b1cbc99e-619d-4ae5-8a71-1c2b4ca2ce56",
					"name": "minigolf",
					"domain": {
						"id": "ee7555ee-af0c-4fbd-b2fa-a0fcd468433c",
						"ice_server_address": "54.183.200.59",
						"online": true
					}
				}
			},
			"online": true
		}]
	}
}

#10

Maybe they’re just rebuilding it into a QML window like the other tools???


#11

First of all - you can still run users.js - just search in Running Scripts and run it… it will be there for your clicking pleasure.

Second, we don’t have any plans (AFAIK) to remove the metaverse APIs that allow you to get the online data… so you can certainly right your own version if you’d like.

Thirdly - I removed it because I was told to… I was just following orders. :wink:

But seriously… you can still run it… go for it… it’s just not included by default.


#12

note: it’s not included in default scripts… but you can still run it manually…


#13

I don’t expect you to follow all of the things that I do here; but yeah, I’ve already written one. :smiley: Actually, you might be able to help me figure out why onreadstatechange when envoked in QML leaves me with a duplicate call. At first I figured I needed to check the xhr.status but when that didn’t fix it, I kinda walked away from it.


#14

I take it this is the hyperrealism, user interface simplification process - by default we can only do in VR that which can do in RL. And, if we do want super powers like being able to tell who is around us or TP to them, we write our own programs or dig around for premade scripts. Makes sense in a Steve Jobs kind of way. I guess this is more of the let the game developers make the interfaces approach.

Hopefully we’ll not lose the ability to fly? Actually get rid of flying too since it opens up a massive vehicle business opportunity :slight_smile:


#15

It’s annoying that that script is removed. it’s the only way to teleport to somewhere.


#16

It is there, just no longer loaded by default. You have to load it manually, or, make a new loadDefaults.js and add it back.


#17

The location bar allows you to teleport to places or people…

Press “Enter” - type place name or @person name and press “Enter”…


#18

What would be really nice is to have the location bar also display a user list. Then you could point at the person and TP to them. Like this:


#19

I think that invisible should be default . if this script isn’t default I think users would be uncomfortable knowing they might be being tracked


#20

Note that the list of users online reported by users.js / the API is not exhaustive: when the number of users online increases above a few score (I don’t know the exact number) the API will only report N of them (from memory, possibly preferring the most recently logged in users though I wouldn’t be sure on this). … At least, this is my memory of the API details.