generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Previous Thread :: Next Thread 
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
28 Aug 2015 11:07 PM
Is there a way, to get a list of all main variables Roblox stores in the main environment?
I do not mean script defined globals, but rather the standard main environment that includes things such as math, table, Instance, CFrame, UserSettings, etc.

I'm assuming I cannot do it via code, as that requires circumventing the metatable attached to main environment as well as a table/environment to iterate through.
Report Abuse
PerilousDanger is not online. PerilousDanger
Joined: 21 Aug 2012
Total Posts: 3773
28 Aug 2015 11:14 PM
you can look at the roblox wiki section for that
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
28 Aug 2015 11:30 PM
Roblox hid that in the global environment's metatable, which of course is locked.
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
29 Aug 2015 02:16 AM
I've written a program which brute forces global variables:

os
Game
time
string
CFrame
game
Stats
Version
_G
type
error
rawget
rawset
require
getfenv
getmetatable
ipairs
next
pairs
pcall
setfenv
setmetatable
xpcall
table
math
coroutine
debug
Enum
workspace
Vector2
Vector2int16
Vector3
Vector3int16
Region3
Region3int16
BrickColor
Color3
Ray
UDim
UDim2
Rect
Instance
Workspace
warn
version
Faces
Axes
UserSettings
DebuggerManager
shared
print
tick
elapsedTime
ElapsedTime
wait
Wait
delay
Delay
ypcall
spawn
Spawn
printidentity
dofile
loadfile
loadstring
load
settings
PluginManager
LoadLibrary
stats
tostring
NumberSequence
NumberSequenceKeypoint
NumberRange
ColorSequence
ColorSequenceKeypoint
CellId
assert
collectgarbage
gcinfo
rawequal
select
tonumber
unpack
_VERSION
newproxy
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
29 Aug 2015 02:17 AM
ooh looks like Rect is new
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
29 Aug 2015 02:38 AM
Thank you! I've been scraping the wiki for ages and only had 83/86
Would it be possible to get copy of said program for future use?

It's kinda ridiculous that we have to brute force the environment just to know what's predefined for us, this really should be documented better.

i.e. LoadRobloxLibrary and UserSettings
The former does not exist and the latter is no longer (or never was?) a protected function.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
29 Aug 2015 03:43 AM
"It's kinda ridiculous that we have to brute force the environment just to know what's predefined for us, this really should be documented better."

Yeah, and the fact that trying to access a nonexistent member of a userdata errors. (Among others) I mean, what's up with that?!
Report Abuse
TwelthTitan is not online. TwelthTitan
Joined: 17 Jan 2015
Total Posts: 198
29 Aug 2015 03:52 AM
its part of the fun.
lol


:nbc me, omg
Report Abuse
Sevrick is not online. Sevrick
Joined: 22 Oct 2013
Total Posts: 3846
29 Aug 2015 04:02 AM
twelfth gtfo you cannoT SCRIPT
Report Abuse
TwelthTitan is not online. TwelthTitan
Joined: 17 Jan 2015
Total Posts: 198
29 Aug 2015 04:03 AM
:( but bb my gun


:nbc me, omg
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
29 Aug 2015 04:08 AM
@Causalist google roblox-global-variable-enumerator, should be the first result
Report Abuse
TwelthTitan is not online. TwelthTitan
Joined: 17 Jan 2015
Total Posts: 198
29 Aug 2015 05:02 AM
seranok is OP


:nbc me, omg
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image