ro-py / ro.py

ro.py is a modern, asynchronous Python 3 wrapper for the Roblox API.
https://ro.py.jmk.gg/
MIT License
115 stars 46 forks source link

Problems with .join() and browser_tracker_id #28

Closed ghost closed 3 years ago

ghost commented 3 years ago

Describe the bug When trying to launch a game I get this error pycharm64_RoMMnoEtNO

To Reproduce Use .join() on a root game place

Expected behavior Expected the game to start

Additional context I am using the Bleeding Edge version as the stable one had the error in the screenshot pycharm64_099xeypO9t

Boegie19 commented 3 years ago

@iDenis124 Can you try to use the github version aka the newest of the newest pip3 install git+git://github.com/rbx-libdev/ro.py.git

If that does not solve the issue please send me the example code that triggers this problem so that I can write a fix for this issue

ghost commented 3 years ago

Will do when I get home

ghost commented 3 years ago

I have removed then updated it, the BrowserTrackerId problem still persists

Here is the code

import asyncio
from ro_py.client import Client

client = Client(
    token=r"_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|"
)

async def main():
    game = await client.get_game_by_place_id(47324)
    root = await game.get_root_place()
    await root.join()

if __name__ == '__main__':
    asyncio.get_event_loop().run_until_complete(main())

with my token removed, for obvious reasons

Boegie19 commented 3 years ago

@iDenis124 I have run the code and on the

pip3 install git+git://github.com/rbx-libdev/ro.py.git

version it works without any problems for me so I can't replicate it on that version. But on the last release version is is broken it seems.

If you have any more questions or need more help I recommend you to join the RoApi discord https://discord.gg/vMdtQgVUk9

ghost commented 3 years ago

https://user-images.githubusercontent.com/51971218/125944470-e0b4f1ac-452e-42bb-9c05-dff8a9c9283b.mp4

The video shows me installing the latest version from git.

I don't have any more ideas, I also reinstalled Roblox and deleted the appStorage.json file from where it gets the BrowserTrackerId and launched a game in hope of it regenerating.

Maybe Roblox patched this method and it's still working on your machine since you have an old install with the needed file?

Boegie19 commented 3 years ago

@iranathan Any ideas I am also going to do some testing to see if I can get it to work witout the ID

Boegie19 commented 3 years ago

Okay I looked into it a little bit more made a special version for you that you can use until the main branch is updated with this pull request I just send

pip3 install git+git://github.com/Boegie19/ro.py.git@browser_tracker_fix

ghost commented 3 years ago

It works, thank you!