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 » Scripting Helpers
Home Search
 

Re: Output

Previous Thread :: Next Thread 
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
13 Aug 2013 06:22 AM
How would I make an output window? I mean one that actually tells me where the errors are, not just print()s, error()s and assert()s - I'm making a Script Builder and I want people to be able to find out where errors in their scripts are.

I've heard you can do it with the ScriptContext::Error event, but that's locked. Apparently there's a 'model hack' which allows you to do it, but I don't know how to do that.

I want to be able to catch errors similar to the example error shown in this page:

http://wiki.roblox.com/index.php/Error_(Event)
Report Abuse
luke111000 is not online. luke111000
Joined: 26 Apr 2009
Total Posts: 1853
13 Aug 2013 06:26 AM
If you're looking for an in game error debug, use ROBLOX's one.

Possibru.
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
13 Aug 2013 06:26 AM
Okay, I'm on the wrong account.

'PsudeoPlayer' is the account where I have my Script Builder.
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
13 Aug 2013 06:27 AM
@Luke

Ew, no.

Why should I use their ugly code, and modify it every time it starts just so I can get output errors?
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
13 Aug 2013 06:38 AM
:l
Report Abuse
As8D is not online. As8D
Joined: 24 Dec 2009
Total Posts: 2907
13 Aug 2013 07:27 AM
As I said in ze IRC thing:


local succ, errM = ypcall(function()

Your script source here!

end)

while wait(0.1) do
if not succ and errM then

Do stuff here, like printing errM (the error message)

succ, errM = true, nil
end
end


- As, there's always a chance that you cannot leave the claws of evil. I mean... KeyDown!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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