Prodigy-Hacking / ProdigyMathGameHacking

Prodigy Hacking: Hacking for the right reasons. | Questions? Ask on our Discord. https://discord.gg/XQDfbfq
https://prodigyhacking.com
Other
17 stars 10 forks source link

Teleport to anybody's house by User ID #438

Closed 1739831 closed 3 years ago

1739831 commented 3 years ago

A method to teleport to somebody's house by inputting the user's ID. This would be added into the cheat menu.

BoredFishRE commented 3 years ago

please name the issues.

PatheticMustan commented 3 years ago

would actually be pretty cool

ArcerionDev commented 3 years ago

maybe not a good idea, wouldn't be ethical to people who don't want their house to be entered

ArcerionDev commented 3 years ago

because I personally know that it's possible to visit any house regardless of that

ArcerionDev commented 3 years ago

I figured it out a few months ago but i forget how to do it

ArcerionDev commented 3 years ago

eh fuck it sure

ghost commented 3 years ago

maybe not a good idea, wouldn't be ethical to people who don't want their house to be entered

i did it a few times to harass my friendos

ghost commented 3 years ago

bump

hugo875 commented 3 years ago

@PatheticMustan @ArcerionDev @ChickenOnYT this is a old hack request

PatheticMustan commented 3 years ago
  1. get the user's house information (easily doable)
  2. load it into (what seems to be) some temp house loader thing, not sure how it works
  3. teleport to house???
ghost commented 3 years ago

please do not say bed words

ghost commented 3 years ago

bad

LeoBadeaux commented 3 years ago

please do not say bed words

Nobody did?

hostedposted commented 3 years ago

I will work on this

hostedposted commented 3 years ago

When you go to a house the game sends this in the multiplayer socket:

42["joinZone","house-170003438"]

so if we can send that in the socket we will be able to do this

hostedposted commented 3 years ago

Prodigy uses

null !== this.socketInterface && (this.zone = t, this.socketInterface.emitEvent("joinZone", t))

to send the requests, I will try to find this.socketInterface.

hostedposted commented 3 years ago

image I found something else but it teleports you to your house.

PatheticMustan commented 3 years ago

looking around in prodigysource, not sure if this will be useful

var n = u.a.instance.prodigy.friendsListNetworkHandler.friendsList.length,
                        e = u.a.instance.prodigy.friendsListNetworkHandler.classList.length;
                    u.a.instance.prodigy.gameContainer.get("32b-57e1").create("house-visit", "click", "hub", n, e, null, null, this.player.userID).broadcast()
hostedposted commented 3 years ago
  1. get the user's house information (easily doable)
  2. load it into (what seems to be) some temp house loader thing, not sure how it works
  3. teleport to house???

getting the house data is simple. we can use the endpoint here https://prodigy-api.hostedposted.com/getting_player_data_from_userID/, parse it as a json then do data[userID].house userID being the user id of the house you want to go to.

Then we could explore _.instance.prodigy.world for a load function.

Then once we load it we might have to send it on the socket or prodigy would of already send it.

When you go to a house prodigy makes the request from this endpoint https://prodigy-api.hostedposted.com/getting_player_data_from_userID/ (they make the field only house but that does not matter) then they probably load it, and the code you showed above does not work for me so I am going to look around some more in prodigysource.

hostedposted commented 3 years ago

I added this in https://github.com/Prodigy-Hacking/ProdigyMathGameHacking/commit/d85648aad7446b90e3d3929dded6af00d56e4f40.

PatheticMustan commented 3 years ago

When you go to a house the game sends this in the multiplayer socket:

42["joinZone","house-170003438"]

so if we can send that in the socket we will be able to do this

Unless the multiplayer socket sends the house data back right after, I would assume this is just for the server's sake, keeping track of which house you're in

hostedposted commented 3 years ago

yes it is but it allows other people on the same world to see you in the house