Probably too old to ask, but would there be any way to do this in java? Been trying for a while and havent been able to whatsoever.
It’s definitely possible, as long as you can handle HTTP requests, download and upload files.
I’ve tried quickly in Java but I have a lots of trouble getting it to work because of my poor knowledge of the language. What’s blocking you ?
For me its the fact that attempting to update more than 3-4 places within a couple minutes doesnt actually publish them. Its really annoying for me to mass update if half the places dont get updated.
I tried this in java, and javascript. It still happens.
I also noticed this occuring in the python code as well.
Are you saying that the script first works for a few places, then stops working for the rest of places you are publishing ?
Could you send a screenshot of the output using the Python script ?
In my game, I have 11 places to publish, and it always works.
Make sure you use the “Update all” feature of packages before running the script by the way.
I can describe it, If you have discord though I can add you to make contacting easier.
Lets say the places version is 11, and I want it updated to 12.
The place sometimes does update, and returns {version:12}, but sometimes it returns {version:11} instead, showing that it didnt update.
Someone had the same thing here: Publishing all places of a universe after package mass-update - #13 by homermafia1
Basically, it happens when you try publishing a place that is the same as the latest version and that this version is published already.
So make sure you used the “Update all” feature of packages before running the script, otherwise, no changes will be present so the version number won’t change.
Interesting, thank you!
“but it seems like that only applies the changes once you actually open the places. Thanks for the help!” To quote that person, I wish roblox made this not the case however.
It works and publishes the places but I see no changes ingame and I still have to manually go to every place and publish it again in order to see changes
Are you sure you used the “Update all” feature of the package beofre, in order to update all occurences of your package in all your places of your universe ? This step will save all your places with the updated package, and then run the script to published the saved place.
Oh that was the issue, now it works perfectly fine. Thank you!
I am getting this following error:
published {"code":"Unauthorized","message":"API Key has insufficient scopes."}
Make sure your API key is configured correctly:
and
I’m trying to use it again after getting back from a holiday now I’m getting this error.
File “work.py”, line 12, in
version = int(place_data.history[0].headers[“roblox-assetversionnumber”])
IndexError: list index out of range
any help would be greatly appreciated
NVM I FIXED IT
I tried running “pip install requests” in my terminal but it just keeps saying “zsh: command not found: pip”.
Make sure you checked the “Add Python to environment variable” box during the installation (see the screenshot in the original post).
If you haven’t, you can run the installation wizard again and check the box.
oh i didnt get that box unfortunately
If for some reason you did not have that option during the installation, you will need to manually add the path to python’s bin folder to your operating system’s PATH. The steps to do this depend on your operating system. Below is a link that explains how to do it on Windows, Mac and Linux: How to Add Python to PATH on Windows, Linux, and Mac
Once you have done this, make sure you close all running terminals and open them again.
I hope this helps !
The API key is enabled and has every necessary permission set. I am calling it on the correct IP address, have tried re-enabling and regenerating the key, and I still get the same error.
I feel like I’m going insane.
The generated API key can only be seen and copied once. After that, the API key will be truncated on the creator dashboard.
Make sure you copy the full API key as soon as you have generated it.
I hope this helps !
what did you do? Im getting this error now and IDK why. i ran this before
EDIT: I fixed it, I had pasted my cookie in wrong.
basically, in the cookie listing, there are extra characters like underscores and lines. make sure you’re not getting those extra characters.
in my case it was
COOKIES = {".ROBLOSECURITY": "_E041C4F59A6EB5...
when it should have been
COOKIES = {".ROBLOSECURITY": "E041C4F59A6EB5...
edit2:
would be nice if it would actually update the place though