I r, as long as I stay interested in it =). It would be coolest if other people helped too, it'll all be on github >.<. So far though, nobody has joined, so I'm solo :\, meaning that it will likely never be finished as I'll get bored with it.
Anyways, it would be better if you loaded up both dlls and jar files
Does this support plugins, like custom translators from some language to Galaxy? Furthermore, does it have support for highlighting keywords for those custom translators?
Does this find user defined functions for the intellisense and what not?
Probably going to do a Galaxy OO language using Antlr 4. This is a pretty cool tool, but it doesn't appear to support custom stuff atm :\.
Err... wait. Cool heap allocator implementation, but this is more or less a galaxy library. You can post it as an asset.
but, it'd be best supported in the background of a language so that you have nice syntax with it (treating pointers as arrays/scalars, etc). It's kind of eh to use memory read/write methods :\.
For when you update, I think that the stuff like Galaxy should probably use something more like this for memory allocation/deallocation as it's much faster =).
The array refs in SC2 are relatively useless since they are so static D:.
Could actually do a sizeof thing here, though it could refer to the array size =).
There are actually some really good encryption algorithms for wc3 that you could use in this (granted you rewrite them in Galaxy or w/e). There are also some new compression techniques =).
Also, it might be smart to run this on something like a BigInt. Rather than doing math with strings, you can do it with arrays digit by digit ; ). That'll truly pack as much data as possible into the code ; P.
Furthermore, look at Encoder's tree structure. StarCode could be drastically improved by moving to a tree structure =).
And Scrambler would work on numbers like 60 with passwords that were the same towards the start ;P. It also scrambles better since it scrambles in a set of different bases.
There are still many improvements that can be made to your resource ;p.
Could you generate a set of keys based on a cipher and encrypt the thing with those keys?
Here is my precise thought-
you have your base (like base 87)
You have a cipher (like the person's account name)
For each character of the code, you do an algorithm using the current base and the cipher
For example, first base would be a base derived from the default base and the cipher and applied to character 1 of the code. The next base would be derived from the previous base and the cipher and applied to character 2, etc.
After this point, you do shuffling by putting the code into a uniform matrix + a linear matrix (anything extra after uniform is just put into the line). You go in steps of 2x2 matrices and rotate each one clockwise/counter clockwise (including the linear matrix, which would make each matrix like a 2x2 + 1 matrix). You would go column by column, row by row, so like..
0
@midiway: Go
I r, as long as I stay interested in it =). It would be coolest if other people helped too, it'll all be on github >.<. So far though, nobody has joined, so I'm solo :\, meaning that it will likely never be finished as I'll get bored with it.
Anyways, it would be better if you loaded up both dlls and jar files
http://stackoverflow.com/questions/8850202/use-jar-file-in-c-c
0
How will plugging into the intellisense work? I'd also really love it to support use stuff, like Visual Studio does.
Might you have a look at Antlr 4? It's not that difficult to do when using that, heh.
0
Does this support plugins, like custom translators from some language to Galaxy? Furthermore, does it have support for highlighting keywords for those custom translators?
Does this find user defined functions for the intellisense and what not?
Probably going to do a Galaxy OO language using Antlr 4. This is a pretty cool tool, but it doesn't appear to support custom stuff atm :\.
Galaxy OO current notes
https://github.com/HiveWorkshop/Galaxy-Code/tree/master/Galaxy%20OO
proof of concept for classes in Galaxy
https://github.com/HiveWorkshop/Galaxy-Code/tree/master/Class%20Example
edit
would also be nice to support version control for teams, like git
0
uh huh, Frizi just made it sound like he was updating this and taking over Galaxy or something ;o.
eh nvm then =).
0
Oh? It's probably going to be awesome since it's coming from you : ).
0
but, it'd be best supported in the background of a language so that you have nice syntax with it (treating pointers as arrays/scalars, etc). It's kind of eh to use memory read/write methods :\.
0
For when you update, I think that the stuff like Galaxy should probably use something more like this for memory allocation/deallocation as it's much faster =).
The array refs in SC2 are relatively useless since they are so static D:.
Could actually do a sizeof thing here, though it could refer to the array size =).
0
The idea of the unit anti blocker doesn't work. A person can just build/sell.
Try using A* Pathing Algorithm. If there is no path between 2 points, then the path is blocked.
0
There are actually some really good encryption algorithms for wc3 that you could use in this (granted you rewrite them in Galaxy or w/e). There are also some new compression techniques =).
http://www.hiveworkshop.com/forums/jass-functions-413/snippet-scrambler-189766/ http://www.hiveworkshop.com/forums/spells-569/encoder-3-0-1-2-a-189883
Also, it might be smart to run this on something like a BigInt. Rather than doing math with strings, you can do it with arrays digit by digit ; ). That'll truly pack as much data as possible into the code ; P.
Furthermore, look at Encoder's tree structure. StarCode could be drastically improved by moving to a tree structure =).
And Scrambler would work on numbers like 60 with passwords that were the same towards the start ;P. It also scrambles better since it scrambles in a set of different bases.
There are still many improvements that can be made to your resource ;p.
0
I'm just saying that since there is no overhead in the code size, you could just add an Encrypt function or w/e over a Convert function or something.
I guess the overall architecture would need to change a bit to promote modularity ; ).
I know with something I was working on, I just had number stacks that could have their bases converted, meaning you could really do w/e.
0
thus making it extremely difficult to decrypt without increasing the code size, even with the base key ;).
0
Could you generate a set of keys based on a cipher and encrypt the thing with those keys?
Here is my precise thought-
you have your base (like base 87)
You have a cipher (like the person's account name)
For each character of the code, you do an algorithm using the current base and the cipher
For example, first base would be a base derived from the default base and the cipher and applied to character 1 of the code. The next base would be derived from the previous base and the cipher and applied to character 2, etc.
After this point, you do shuffling by putting the code into a uniform matrix + a linear matrix (anything extra after uniform is just put into the line). You go in steps of 2x2 matrices and rotate each one clockwise/counter clockwise (including the linear matrix, which would make each matrix like a 2x2 + 1 matrix). You would go column by column, row by row, so like..
column+=add;
if (column == matrixSize-1 || column == 0) { add*=-1; column+= add; row+=add2; if (row == matrixSize-1 || row == 0) { add2*=-1; row+=add; } }