Add corescript ID at top of each file for debugging

This commit is contained in:
Lewin Kelly 2023-04-22 12:18:05 +01:00
parent 6b2ca1f213
commit 7cfea5ac28
45 changed files with 90 additions and 0 deletions

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 107893730")
local New local New
New = function(className, name, props) New = function(className, name, props)
if not (props ~= nil) then if not (props ~= nil) then

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 152908679")
local New local New
New = function(className, name, props) New = function(className, name, props)
if not (props ~= nil) then if not (props ~= nil) then

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 153556783")
local New local New
New = function(className, name, props) New = function(className, name, props)
if not (props ~= nil) then if not (props ~= nil) then

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 157877000")
local Create = assert(LoadLibrary("RbxUtility")).Create local Create = assert(LoadLibrary("RbxUtility")).Create
local gui = script.Parent:FindFirstChild("ControlFrame") or script.Parent local gui = script.Parent:FindFirstChild("ControlFrame") or script.Parent
local Dev_Container = Create("Frame")({ local Dev_Container = Create("Frame")({

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 36868950")
local controlFrame = script.Parent:FindFirstChild("ControlFrame") local controlFrame = script.Parent:FindFirstChild("ControlFrame")
if not controlFrame then if not controlFrame then
return return

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 37801172")
local scriptContext = game:GetService("ScriptContext") local scriptContext = game:GetService("ScriptContext")
local touchEnabled = false local touchEnabled = false
pcall(function() pcall(function()

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 38037565")
local New local New
New = function(className, name, props) New = function(className, name, props)
if not (props ~= nil) then if not (props ~= nil) then

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 39250920")
local New local New
New = function(className, name, props) New = function(className, name, props)
if not (props ~= nil) then if not (props ~= nil) then

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 45284430")
local t = { } local t = { }
local New local New
New = function(className, name, props) New = function(className, name, props)

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 45374389")
local t = { } local t = { }
t.Foo = function() t.Foo = function()
return print("foo") return print("foo")

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 46295863")
local New local New
New = function(className, name, props) New = function(className, name, props)
if not (props ~= nil) then if not (props ~= nil) then

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 48488235")
local ADMINS = { local ADMINS = {
taskmanager = 1, taskmanager = 1,
Heliodex = 1, Heliodex = 1,

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 48488398")
local waitForProperty local waitForProperty
waitForProperty = function(instance, property) waitForProperty = function(instance, property)
while not instance[property] do while not instance[property] do

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 48488451")
local New local New
New = function(className, name, props) New = function(className, name, props)
if not (props ~= nil) then if not (props ~= nil) then

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 53878047")
if game.CoreGui.Version < 3 then if game.CoreGui.Version < 3 then
return return
end end

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 53878057")
if game.CoreGui.Version < 3 then if game.CoreGui.Version < 3 then
return return
end end

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 60595411")
local t = { } local t = { }
local New local New
New = function(className, name, props) New = function(className, name, props)

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 60595695")
local deepakTestingPlace = 3569749 local deepakTestingPlace = 3569749
local sc = game:GetService("ScriptContext") local sc = game:GetService("ScriptContext")
local tries = 0 local tries = 0

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 73157242")
local t = { } local t = { }
local PlaneIntersection local PlaneIntersection
PlaneIntersection = function(vectorPos) PlaneIntersection = function(vectorPos)

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 89449008")
local New local New
New = function(className, name, props) New = function(className, name, props)
if not (props ~= nil) then if not (props ~= nil) then

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 89449093")
if game.CoreGui.Version < 7 then if game.CoreGui.Version < 7 then
return return
end end

View File

@ -1,3 +1,4 @@
print("[Mercury]: Loaded corescript 97188756")
local forceChatGUI = false local forceChatGUI = false
local WaitForChild local WaitForChild
WaitForChild = function(parent, childName) WaitForChild = function(parent, childName)

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- this script creates the gui and sends the web requests for in game purchase prompts -- this script creates the gui and sends the web requests for in game purchase prompts
-- Heliodex's basic New function (basically a simplified version of melt) -- Heliodex's basic New function (basically a simplified version of melt)

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- ContextActionTouch.lua -- ContextActionTouch.lua
-- Created by Ben Tkacheff -- Created by Ben Tkacheff
-- this script controls ui and firing of lua functions that are bound in ContextActionService for touch inputs -- this script controls ui and firing of lua functions that are bound in ContextActionService for touch inputs

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- This is responsible for all touch controls we show (as of this writing, only on iOS) -- This is responsible for all touch controls we show (as of this writing, only on iOS)
-- this includes character move thumbsticks, and buttons for jump, use of items, camera, etc. -- this includes character move thumbsticks, and buttons for jump, use of items, camera, etc.
-- Written by Ben Tkacheff, Roblox 2013 -- Written by Ben Tkacheff, Roblox 2013

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
--Include --Include
Create = assert(LoadLibrary "RbxUtility").Create Create = assert(LoadLibrary "RbxUtility").Create

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
controlFrame = script.Parent\FindFirstChild "ControlFrame" controlFrame = script.Parent\FindFirstChild "ControlFrame"
return if not controlFrame return if not controlFrame

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- Creates all neccessary scripts for the gui on initial load, everything except build tools -- Creates all neccessary scripts for the gui on initial load, everything except build tools
-- Created by Ben T. 10/29/10 -- Created by Ben T. 10/29/10
-- Please note that these are loaded in a specific order to diminish errors/perceived load time by user -- Please note that these are loaded in a specific order to diminish errors/perceived load time by user

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- Heliodex's basic New function (basically a simplified version of melt) -- Heliodex's basic New function (basically a simplified version of melt)
New = (className, name, props) -> New = (className, name, props) ->
if not props? -- no name was provided if not props? -- no name was provided

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- Heliodex's basic New function (basically a simplified version of melt) -- Heliodex's basic New function (basically a simplified version of melt)
New = (className, name, props) -> New = (className, name, props) ->
if not props? -- no name was provided if not props? -- no name was provided

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
t = {} t = {}
-- Heliodex's basic New function (basically a simplified version of melt) -- Heliodex's basic New function (basically a simplified version of melt)

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
t = {} t = {}
t.Foo = -> print "foo" t.Foo = -> print "foo"

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- Heliodex's basic New function (basically a simplified version of melt) -- Heliodex's basic New function (basically a simplified version of melt)
New = (className, name, props) -> New = (className, name, props) ->
if not props? -- no name was provided if not props? -- no name was provided

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
--new playerlist by Zach Lindblad (fusroblox) --new playerlist by Zach Lindblad (fusroblox)
--contact him for any revisions/issues --contact him for any revisions/issues
-------------------- --------------------

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
waitForProperty = (instance, property) -> waitForProperty = (instance, property) ->
until instance[property] until instance[property]
instance.Changed\wait! instance.Changed\wait!

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- Heliodex's basic New function (basically a simplified version of melt) -- Heliodex's basic New function (basically a simplified version of melt)
New = (className, name, props) -> New = (className, name, props) ->
if not props? -- no name was provided if not props? -- no name was provided

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- This script creates almost all gui elements found in the backpack (warning: there are a lot!) -- This script creates almost all gui elements found in the backpack (warning: there are a lot!)
-- TODO: automate this process -- TODO: automate this process

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
return if game.CoreGui.Version < 3 return if game.CoreGui.Version < 3
-- peace out if we aren't using the right client -- peace out if we aren't using the right client

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
t = {} t = {}
-- Heliodex's basic New function (basically a simplified version of melt) -- Heliodex's basic New function (basically a simplified version of melt)

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- Library Registration Script -- Library Registration Script
-- This script is used to register RbxLua libraries on game servers, so game scripts have -- This script is used to register RbxLua libraries on game servers, so game scripts have
-- access to all of the libraries (otherwise only local scripts do) -- access to all of the libraries (otherwise only local scripts do)

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
t = {} t = {}
-- waitForChild = (instance, name) -> -- waitForChild = (instance, name) ->

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- Heliodex's basic New function (basically a simplified version of melt) -- Heliodex's basic New function (basically a simplified version of melt)
New = (className, name, props) -> New = (className, name, props) ->
if not props? -- no name was provided if not props? -- no name was provided

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
-- This script manages context switches in the backpack (Gear to Wardrobe, etc.) and player state changes. Also manages global functions across different tabs (currently only search) -- This script manages context switches in the backpack (Gear to Wardrobe, etc.) and player state changes. Also manages global functions across different tabs (currently only search)
return if game.CoreGui.Version < 7 return if game.CoreGui.Version < 7
-- peace out if we aren't using the right client -- peace out if we aren't using the right client

View File

@ -1,3 +1,6 @@
import "macros" as { $ }
$load $FILE
--[[ --[[
//FileName: ChatScript.LUA //FileName: ChatScript.LUA
//Written by: Sorcus //Written by: Sorcus

2
yue/macros.yue Normal file
View File

@ -0,0 +1,2 @@
export macro load = (file) ->
"print \"[Mercury]: Loaded corescript #{file\sub 8, -6}\""