Happy Thursday! Here are the release notes for 620:
cool update its good but you havent done 611
Players.getUserIdFromName now throttles request locally at 250/min.
Was there a limit before or is this a new limit?
Why was this added, just out of curiosity? I have no need to use this very much but I’m kinda wondering why this was implemented.
Players.getUserIdFromName now throttles request locally at 250/min.
There was a limit to it which was quite less. Seems they increased it.
It can be used for people who want to make a random valid name generator.
Nobody asked but here’s the API for ScriptProfilerService
:
Added Class ScriptProfilerService : Instance [NotCreatable] [Service]
Added Function ScriptProfilerService:ClientRequestData(player: Player) -> () {PluginSecurity}
Added Function ScriptProfilerService:ClientStart(player: Player, frequency: number?) -> () {PluginSecurity}
Added Function ScriptProfilerService:ClientStop(player: Player) -> () {PluginSecurity}
Added Function ScriptProfilerService:DeserializeJSON(jsonString: string?) -> { [string]: any } {PluginSecurity} [CustomLuaState]
Added Function ScriptProfilerService:SaveScriptProfilingData(jsonString: string, filename: string) -> string {RobloxScriptSecurity}
Added Function ScriptProfilerService:ServerRequestData() -> () {PluginSecurity}
Added Function ScriptProfilerService:ServerStart(frequency: number?) -> () {PluginSecurity}
Added Function ScriptProfilerService:ServerStop() -> () {PluginSecurity}
Added Event ScriptProfilerService.OnNewData(player: Player, jsonString: string) {PluginSecurity}
Added Event ScriptProfilerService.RequestData() {RobloxSecurity} [Hidden]
Added Event ScriptProfilerService.SetProfilingState(start: boolean, frequency: number) {RobloxSecurity} [Hidden]
(You can view it with some fancy highlighting at Maximum_ADHD’s website)
Is Workspace.InsertPoint writable?
@TooManyOveralls I noticed something that is not cool, but I am writing it here because it could probably be fixed in the next version. When we want to log out of the studio and delete the saved data, we have to press the button with the cross. However, when I press the cross button, everything remains unchanged. My username is not deleted, it is still saved even after pressing the cross. It reappears when we close and reopen the studio…
Is there any way we’ll be able to see the Script Profiler API be available in live games for the purposes of analytics? Related: Allow scripts to access microprofiler & memory tag data for performance analytics
Yes. It will even be visible in the properties pane so you’ll be able to type a precise position in, paste, and have the object paste at that location.
Though the main purpose is to let plugins like F3X and SBS reach parity with built in tooling with respect to pasting where you’d expect them to paste.
Does this pair with loading assets via InsertService? I believe the current behaviour is it’ll just load the asset in at the world origin, could possibly be wrong though.
Thanks for the speedy response.
This only relates to Studio features which directly insert stuff into the 3d scene.
InsertService
loads the content but leaves it parented to nil. It’s up to your Lua code to decide where to put it in the scene and even whether to add it to the scene at all. Though now with the InsertPoint property you could easily copy the behavior of Paste by calling :MoveTo(workspace.InsertPoint)
on the thing you loaded with InsertService
.
Can you please fix the issue of the Animation Editor not working on the MacOS version?
To clarify, is this feature meant to set the default location of all objects when inserted to the workspace?
It’s the current location which things will be inserted into the workspace at. Studio tooling edits that location when you move stuff around and take other actions. This was an existing piece of state that was there in Studio before, but there was no public way to set it.
For example, try moving a part, then undoing the move, and then pasting. The pasted object will show up at the old location of the object rather than were it currently is, because the undo history did not track the change to the insert point correctly.
That’s an additional thing I’ll be able to fix now that it’s exposed as a property.
WE want mesh parts. WE want mesh parts!!!
Honestly, I’d love for local model files .rbxm
to insert at/near the camera position, instead of being inserted at the coordinates they were at when initially saving them to my computer.
It’s annoying working on a part of a map, inserting a model, and having my camera be dragged all the way to the other side of the map so I have to drag the model back to where I was working.
Good news, I’m touching the InsertPoint because I’m working on restructuring the code backing all those insert paths at the moment, and that’s one of the things I’m going to fix as part of it. Insert from File will work the same as Paste.