Y_VRN
(Y_VRNDLL)
#3
This sounds a bit vague, and it may help if you follow the format and provide more details as shown here:
To get you started with string manipulation (which may help with filtering as well), check this documentation: string | Roblox Creator Documentation
Ye one sec here
--Server Script
local LogService = game:GetService("LogService")
LogService.MessageOut:Connect(function(UnfilteredMessage, MessageType)
if MessageType ~= Enum.MessageType.MessageOutput then
print("Found Error")
game.ReplicatedStorage.RemoteEventLFE:FireAllClients(UnfilteredMessage)
print("Send Event")
end
end)
--Local Script
local Remote = game.ReplicatedStorage.RemoteEventLFE
Remote.OnClientEvent:Connect(function(Message)
print("Got Event")
if Message ~= nil then
local Gui = game.Players.LocalPlayer.PlayerGui:WaitForChild("ErrorLogsForEveryone")
local Clone = Gui.MainFrame.Template:Clone()
Clone.Visible = true
Clone.Text = "Problem: "..Message
Clone.Parent = Gui.MainFrame
end
end)
Y_VRN
(Y_VRNDLL)
#5
What does the output print as of now?
it prints errors/warnings/info but unfiltered
Y_VRN
(Y_VRNDLL)
#7
I mean, what do the unfiltered errors say in the output? I was looking for something like this:
-- the kind of error i was looking for:1: Incomplete statement: expected assignment or a
-- function call
but with the Player ID?
Qinrir
(Quin)
#8
I already got error logs I just want to filter messages
Qinrir
(Quin)
#10
by that what do you mean? can you clarify?
oh I think you didn’t understand by saying errors/warnings/info I mean output of roblox console
Y_VRN
(Y_VRNDLL)
#12
He wants the Player IDs out of the unfiltered error strings.
nope you didn’t understand I would like to filter text without player id
Qinrir
(Quin)
#14
local output = -- the output
for i,v in pairs(game.Players:GetChildren()) do
local id = string.match(output,v.UserId)
print(id)
end
i guess this may help?
lemme check if yes then i will mark it as solution
nvm its not what im trying to do
Y_VRN
(Y_VRNDLL)
#18
I’m still unsure of what error you are trying to filter. A screenshot or a copy & paste of the unfiltered string would be nice.
nvm I already got but thanks for trying to help me
I already did it by myself that what i mean