Some of those are useful. String constants already exist, use "\n" for a newline, or it may be "/n" can't ever remember.
Few suggestions for E2 . I hope people don't have a nasty excuse for them lol.
E2 Virtualization
A way to virtualize expression 2's in E2 code. Opens up
many doors for increased performance, jit compilers,
wired computers, etc.
Internal E2 Code Update
Not sure of the string length limit. I've always wanted to
have E2 chips updated remotely. Something like a
"updateCode("code here")" function would be nice. E2
Virtualization might completely replace the need for this.
GVar Group Permissions
In the past i've been challenged by people to keep my
E2 network system safe. Maybe you should have a
function that limits GVar group usage to certain E2's
by using their Entity ID's.
String Constants
Constants that add things such as a line feed to a string.
I've never been able to write a file with more than one
line.
Cheap Function and Include support
Expand on functions and includes before the code
enters the compiler. Add Prefix to variables for a
local scope. Persists should be chucked out, but allow
backwards compatibility. If persists are used then
you can disallow function support maybe? You know
whats best.
Simple Fake Encryption
A way to exchange a string for a globally uniquely
identifyable string. Real encryption would be nice.
Binary Reader/Writer
Probably not the best suggestion but worth a
try.
Hash Functions
Probably another shit suggestions. Would be a nice
thing to have for integrity checks. May have a few uses.
Regex Support
More compact regular expressions.
Last edited by Ph3wl; 04-11-2010 at 10:07 PM.
Beta:
CBNS (Centralized Bank Network System)
RSA Public-Key Cryptography
Alpha:
GPU/EGP/E2 WYSIWYG & IDE Editor
NS2 (Network System 2) - Network equipment and Standards for Wiremod. Highly improved from NS1 used in CBNS.
Upcoming:
RingZero - An OS Kernel for Wiremod.
some good ones in there. and some terrible ideas.
E2, Virtualization. wat? why virtualize a virtual environment.
Internal code update: erm. do you mean like a way to compile an e2 from file?
that would be awesome. runFromFile() kinda like file functions, but the chip would basically become just a interface for the code. but the actual code would reside in another file. totally dupe-safe imo.
GVar permissions based on prop protection, or steamfriends might be awesome.
String constants: S="your constant"
Cheap function and include: No. persist is to valuable. and im not even sure what your talking about here.
Encryption: sounds interesting. not sure why though.
Binary reader: why?
Hash functions: this would be cool, but i doubt it would be feasible on a large scale.
Regex support: never heard of it.
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
It's \n.
And lua has no support for binary read/write.
some code that reloads the Expression2 with another code .. like filefunctions would be awesome...
couse if you are coding on a huge programm like an OS and you got now near 600 lines.... and sapwning them..uh...server laggs for 3 secounds if you spawn the chip...
so you could split the codes in file parts and load them manually...
i would love that
i love to being "THAT GUY" xD
SAVE YOUR BRAIN!!! STOP USING IT!
--i know my english suckz..the reason is i got a 4 in english!! ^_^---
What? I'm not even sure how this is related to what Ph3wl suggested, or why you would care if people show pornography on a screen in wiremod.
That's what we have ULX, MooCow, NewAdmin etc for.
</offtopic>
E2 Virtualization
A way to virtualize expression 2's in E2 code. Opens up
many doors for increased performance, jit compilers,
wired computers, etc.
If you're looking for self-modifying code, use CPU.
Internal E2 Code Update
Not sure of the string length limit. I've always wanted to
have E2 chips updated remotely. Something like a
"updateCode("code here")" function would be nice. E2
Virtualization might completely replace the need for this.
This would actually be a good idea, triggering an E2 to load from a file, compile and then run would be great.
GVar Group Permissions
In the past i've been challenged by people to keep my
E2 network system safe. Maybe you should have a
function that limits GVar group usage to certain E2's
by using their Entity ID's.
Another good idea, maybe make it so you can have an array of players / steamIDs of players whos E2s can access your gVars.
String Constants
Constants that add things such as a line feed to a string.
I've never been able to write a file with more than one
line.
Use "\n" .
Cheap Function and Include support
Expand on functions and includes before the code
enters the compiler. Add Prefix to variables for a
local scope. Persists should be chucked out, but allow
backwards compatibility. If persists are used then
you can disallow function support maybe? You know
whats best.
Syranide is working on compiling E2 into native lua so he can just use lua_runstring on it instead of running E2 on its own virtual machine thing etc.
I actually asked him about function support a while back, he said it's a possibility, but the workload would be huge. I'm not sure if functions would be easier to implement after the whole native lua compiling thing or not. Don't expect anything soon though.
Simple Fake Encryption
A way to exchange a string for a globally uniquely
identifyable string. Real encryption would be nice.
Just make your own ROT13 script.
Also, being able to load E2 code from a string so I can send updates to E2's owned by other people. Not sure if the file write works in the Expression 2 folder. CPU is too slow atm.
Bookmarks