This is where fixed bugs can be seen. Please do not post new bugs into this forum, it is purely to see what has been fixed and most topics will be locked.

information in the console.

information in the console.

Postby ant0N » 15 Jul 2014, 13:56

not sure what this error Skyline, perhaps it should be.
If you use the command entity.addScript("any script, even non-existent"), in the console prints information about the keystrokes and mouse movements.
details in the video.
http://youtu.be/_6vAXLYgQ7s
User avatar
ant0N
Skyline Moderator
Skyline Moderator
 
Posts: 415
Joined: 02 Nov 2012, 12:49
Location: Россия, Москва
Skill: Programmer
Skill: 3D Modeller

Re: information in the console.

Postby SolarPortal » 15 Jul 2014, 14:43

lol :P, by design; if it cannot find the script you are wanting, then it loads the default which prints out all of the information seen.
You can find that script in "Asset Library/Scripts/Default.lua".
Yes you are right, it should display an error rather than printing all that information though, but at least it didn't crash hehe... ;)

Tip to all users: When adding a script, you need to add the .lua extension onto the name. In the latest version(0.8.0) of skyline, you do not need to specify a path to the script as it should exist within the resource list.
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer

Re: information in the console.

Postby ant0N » 15 Jul 2014, 14:47

thanks for explaining, SolarPortal. Now I have no doubt... :D :D :D
User avatar
ant0N
Skyline Moderator
Skyline Moderator
 
Posts: 415
Joined: 02 Nov 2012, 12:49
Location: Россия, Москва
Skill: Programmer
Skill: 3D Modeller

Re: information in the console.

Postby SolarPortal » 15 Jul 2014, 14:54

i have added the error message when a script does not exist. :D
User avatar
SolarPortal
Skyline Founder
Skyline Founder
 
Posts: 3631
Joined: 29 Jul 2012, 15:56
Location: UK
Skill: 3D Modeller
Skill: 2D Artist
Skill: Programmer
Skill: Level Designer


Return to Fixed Bugs

Who is online

Users browsing this forum: No registered users and 2 guests