-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API issue #4
Comments
Realistically, that can only be fixed in the single computer version. I don't know how modifying the string table gets to the strings, it doesn't have a metatable on it or anything. |
Why don't you use setfenv to use some sort of proxy to the string api for each computer? I don't know the internals of ccemu, but it should be possible :p |
Well, basically, each time the computer "starts", it gets a new api set. The math, table, coroutine, string apis get copied into a new table to prevent:
As to how I'd do a proxy, not sure. |
Hey,
Im not sure on how many API's this really applies, but there is a bug with the string API.
Do the following:
function string:test() print( self ) end
("random"):test()
This works on CC, but not in CCLite. Im assuming you are proxying the string table or any API in that matter, but you shouldnt do that.
The text was updated successfully, but these errors were encountered: