XboxUnity / AuroraScripts

Various LUA scripts for Aurora
33 stars 16 forks source link

Console Info Viewer - Refactored/Ideas #3

Closed saywaking closed 7 years ago

saywaking commented 7 years ago

Basic Refactoring What i noticed, Code Review:

1.) We Could need simple functions for the Scripts like

ThaMattie commented 7 years ago

1)

saywaking commented 7 years ago

Ok, thx for clarification I hoped for more global helper functions, but we can also do ot for ourselves. The main reason is because lua has some things missing like those or switch case for example, but yeah, that will be our problem

You missed my 3rd point. If we have Kernel Api permission, and its working, either we would have to check all its get-Functions against 'nil', or we don't. I assume we dont and i dont know why you checked dvd and cpu key certainly. I assume every console which runs Aurora is able to return its Keys. Either all or none. Maybe i miss something technically. You tell me.

This pull request was just intended for code review purposes. You can close it or merge the better aligned clean code. :)

Swizzy commented 7 years ago

CPU and DVD key both require dashlaunch in order to function... this means it'll return nil if you don't have them installed... (it's using the same functionality as i do in Simple 360 Nand Flasher)