Format - Format your computer
#21
Posted 21 May 2014 - 12:35 PM
#23
Posted 21 May 2014 - 12:41 PM
os.loadAPI loads the API globally
os.unloadAPI unloads the API globally
#24
Posted 21 May 2014 - 12:45 PM
Konlab, on 21 May 2014 - 12:41 PM, said:
os.loadAPI loads the API globally
os.unloadAPI unloads the API globally
#25
Posted 21 May 2014 - 12:49 PM
Konlab, on 21 May 2014 - 12:41 PM, said:
os.loadAPI loads the API globally
os.unloadAPI unloads the API globally
#26
Posted 21 May 2014 - 01:02 PM
I don't know what is getfenv or setfenv, but as I know pcall() is a Lua function, and as I know you can't unload Lua's functions.
#27
Posted 21 May 2014 - 01:05 PM
Konlab, on 21 May 2014 - 01:02 PM, said:
I don't know what is getfenv or setfenv, but as I know pcall() is a Lua function, and as I know you can't unload Lua's functions.
To "unload" a function you can just set it to nil.
#28
Posted 21 May 2014 - 01:11 PM
#30
Posted 21 May 2014 - 01:12 PM
#32
Posted 21 May 2014 - 01:16 PM
#33
Posted 21 May 2014 - 01:16 PM
apemanzilla, on 21 May 2014 - 12:49 PM, said:
print(getfenv(0)['fs']) --# bios.lua env print(getfenv(1)['fs']) --# shell env print(getfenv(2)['fs']) --# program env getfenv(2)['fs'] = nil print(getfenv(0)['fs']) print(getfenv(1)['fs']) print(getfenv(2)['fs'])doesn't matter what env you nil it, whether its the bios env or the program env, its gone. why do you think that when newbies override a function like read the shell and/or bios gets effected?
Edited by theoriginalbit, 21 May 2014 - 01:17 PM.
#34
Posted 21 May 2014 - 01:26 PM
theoriginalbit, on 21 May 2014 - 01:16 PM, said:
apemanzilla, on 21 May 2014 - 12:49 PM, said:
print(getfenv(0)['fs']) --# bios.lua env print(getfenv(1)['fs']) --# shell env print(getfenv(2)['fs']) --# program env getfenv(2)['fs'] = nil print(getfenv(0)['fs']) print(getfenv(1)['fs']) print(getfenv(2)['fs'])doesn't matter what env you nil it, whether its the bios env or the program env, its gone. why do you think that when newbies override a function like read the shell and/or bios gets effected?
#35
Posted 21 May 2014 - 01:47 PM
apemanzilla, on 21 May 2014 - 01:26 PM, said:
As the "developer" said this program is for cc noobs: People are using CC because they want to program. Not because they want stuff to delete their virusses, or because they want to watch their OS doin' nothing (many OSes have the same usefulness as this program)
#36
Posted 21 May 2014 - 02:08 PM
ardera, on 21 May 2014 - 01:47 PM, said:
apemanzilla, on 21 May 2014 - 01:26 PM, said:
As the "developer" said this program is for cc noobs: People are using CC because they want to program. Not because they want stuff to delete their virusses, or because they want to watch their OS doin' nothing (many OSes have the same usefulness as this program)
#37
Posted 21 May 2014 - 06:36 PM
#38
Posted 22 May 2014 - 02:58 AM
For future reference, logsys, please use the report option on your topic, instead of PM'ing a moderator.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


This topic is locked








