Certainly looks like a bug; if there's a good, technical reason why that is the case, it's not obvious.
At least in the case of structref, its limitations make sense inasfar dynamic memory allocation is not supported, so local struct references would fall out of scope when returned from a function.
So with the 1.5 patch beta presumably starting soon, I was wondering if you have any idea how long it will take to incorporate the API changes into Galaxy + + ? Too soon to tell?
(FIX)ok i installed Galaxy editor v3.0.8 installer.msi an xnafx31_redist.msi an i start it up an it crashes on me
im running vista
an if you need more info let me kno
all i had to do is run it as admin
Hey, is there any way to use the new script functions from the arcade beta with g++? I have gotten the editor to start the map with the new version but I'm not able to use the new trigger functions as the editor cannot find the function definitions.
I just downloaded your editor and got the following problems:
1) It ignores the code I already have in my map (GUI) (or is it supposed to do this?)
2) When I click on "About" and then on "Project thread on sc2mapster" I get an error
3) When I try to send the error, I get another one
Right now, I have to update the list of functions manually, and then release it in a new version. I have been wanting to add a feature to do this at runtime, but it is not there yet.
@D1000: Go
1) Yes, it is supposed to do this - convert it to custom script, and paste it into the g++] editor.
2) Strange.. Works fine at my place :s
3) Yeah, the server died. It's back up.
I haven't worked on it for a long time. I am busy with a new job, another project, and some exams, but truth be told, part of it is probably also that it is not as interesting anymore as it used to be. I think it's time to make the project public. I'm not really sure how is the best way to go about that, but I will keep the server components and the actual server private. One of these days I will look at publicizing it. I don't think I will stop working on it, but if someone else has more time to fix bugs or add features, then they can look at it, and send the changes to me. Then I might decide to include them in an "official" version.
I haven't worked on it for a long time. I am busy with a new job, another project, and some exams, but truth be told, part of it is probably also that it is not as interesting anymore as it used to be. I think it's time to make the project public. I'm not really sure how is the best way to go about that, but I will keep the server components and the actual server private. One of these days I will look at publicizing it. I don't think I will stop working on it, but if someone else has more time to fix bugs or add features, then they can look at it, and send the changes to me. Then I might decide to include them in an "official" version.
Sad to hear that but it's good that the tool is already in a pretty advanced stage, so it stays usable and I will continue using it. Also I'm really glad that it will not simply get abandoned like Andromeda before this. Making it easy to add native functions would definitely add to its life-span. I will try to take a look at the tool if/when you will make it publicly available and send in some patches but I'm in a similar spot where I don't have that much time.
One way of making it publicly available would be to upload it on bitbucket/github/googlecode/... Then you would have an issue tracker and people could fork your project.
If this tool wouldn't exist, I would have left sc2 mapping already.
Thank you very much for the work you have already done :)
I know there is a lot of code, and zero documentation, but hopefully the structure is atleast somewhat intutive. You could try poking me about problems, or if I missed something. I might be hard to reach the following couple of days though.
could you create a separated command line program that compiles Galaxy + + ==> vanilla Galaxy? like there was for vJass in Wc3
It dont necessarily must be a command line interface, I dont know what could be easier, just guessing: a DLL that exposes the interface, or a .exe that reads a XML with the 'parameters', ... whatever you find better
One useful thing would be to output a .XML with any syntax error
I'd like to request this too, the editor itself keeps crashing on me, and I'd rather use my favorite text editor as opposed to yours. I can always find the ID's of units and stuff separately, so I really just need something to compile Galaxy+ + into regular Galaxy. ATM I can't even get my project to open in Galaxy+ +, would be so convenient if it were just a compiler :(
We can poke around GalaxyCompiler.cs and others in folder to break it into separate program. Anyway, lack of documentation is very perceptible...
It is good time to rebirth the Gemini project i think. I will have a lot more time now. Need only a company to work with.
Gemini project is still open and will be open. Anyone can contribute, anytime, anyhow. Look at the project forum thread. Lets make it alive agin :)
For some reason, the function UnitGroupSearch(string, int, point, fixed, unitfilter, int) doesn't work in Galaxy++.
That is, if I use this function, the compiler doesn't recognize this as a native function and gives me an error.
I'm currently editing the Galaxy++ source so that functions are automatically gathered from the various starcraft 2 script files inside the game mpq's. As SBeier said, right now the available functions are hardcoded, so there may be some missing ones. Functions added with 1.5 are also not available yet.
I'm not sure when I will finish this but it's going well so far. So reading the script files and parsing them for functions/constants works already but the integration with the editor is missing. Since I don't really have a good understanding of the project yet, this may take some time.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Correction: funcref require non-void return functions only when they are defined as arrays.
Yeah, that makes sense... Wait what? Hopefully a bug, and with even more hope that gets fixed.
Wondering if there is something similar with structrefs/arrayrefs...
Certainly looks like a bug; if there's a good, technical reason why that is the case, it's not obvious.
At least in the case of structref, its limitations make sense inasfar dynamic memory allocation is not supported, so local struct references would fall out of scope when returned from a function.
So with the 1.5 patch beta presumably starting soon, I was wondering if you have any idea how long it will take to incorporate the API changes into Galaxy + + ? Too soon to tell?
(FIX)ok i installed Galaxy editor v3.0.8 installer.msi an xnafx31_redist.msi an i start it up an it crashes on me im running vista an if you need more info let me kno all i had to do is run it as admin
Hey, is there any way to use the new script functions from the arcade beta with g
++
? I have gotten the editor to start the map with the new version but I'm not able to use the new trigger functions as the editor cannot find the function definitions.Also, the arcade seems to disallow importing a custom MapScript.galaxy file, which kind of makes Galaxy
++
unuseable for now.Hm, my map works fine on the arcade and uses G
++
. Works as always.I just downloaded your editor and got the following problems:
1) It ignores the code I already have in my map (GUI) (or is it supposed to do this?)
2) When I click on "About" and then on "Project thread on sc2mapster" I get an error
3) When I try to send the error, I get another one
Right now, I have to update the list of functions manually, and then release it in a new version. I have been wanting to add a feature to do this at runtime, but it is not there yet.
@D1000: Go
1) Yes, it is supposed to do this - convert it to custom script, and paste it into the g
++]
editor.2) Strange.. Works fine at my place :s
3) Yeah, the server died. It's back up.
I haven't worked on it for a long time. I am busy with a new job, another project, and some exams, but truth be told, part of it is probably also that it is not as interesting anymore as it used to be. I think it's time to make the project public. I'm not really sure how is the best way to go about that, but I will keep the server components and the actual server private. One of these days I will look at publicizing it. I don't think I will stop working on it, but if someone else has more time to fix bugs or add features, then they can look at it, and send the changes to me. Then I might decide to include them in an "official" version.
@SBeier: Go
1) Ah, okay
2) It seems this was connected to the server problem as well, works fine now (I could reproduce it as often as I wanted before)
Sad to hear that but it's good that the tool is already in a pretty advanced stage, so it stays usable and I will continue using it. Also I'm really glad that it will not simply get abandoned like Andromeda before this. Making it easy to add native functions would definitely add to its life-span. I will try to take a look at the tool if/when you will make it publicly available and send in some patches but I'm in a similar spot where I don't have that much time.
One way of making it publicly available would be to upload it on bitbucket/github/googlecode/... Then you would have an issue tracker and people could fork your project.
If this tool wouldn't exist, I would have left sc2 mapping already.
Thank you very much for the work you have already done :)
I now uploaded the code to http://code.google.com/p/galaxy-pp/
I know there is a lot of code, and zero documentation, but hopefully the structure is atleast somewhat intutive. You could try poking me about problems, or if I missed something. I might be hard to reach the following couple of days though.
could you create a separated command line program that compiles Galaxy + + ==> vanilla Galaxy? like there was for vJass in Wc3
It dont necessarily must be a command line interface, I dont know what could be easier, just guessing: a DLL that exposes the interface, or a .exe that reads a XML with the 'parameters', ... whatever you find better
One useful thing would be to output a .XML with any syntax error
@midiway: Go
I'd like to request this too, the editor itself keeps crashing on me, and I'd rather use my favorite text editor as opposed to yours. I can always find the ID's of units and stuff separately, so I really just need something to compile Galaxy+ + into regular Galaxy. ATM I can't even get my project to open in Galaxy+ +, would be so convenient if it were just a compiler :(
@midiway: Go
We can poke around GalaxyCompiler.cs and others in folder to break it into separate program. Anyway, lack of documentation is very perceptible... It is good time to rebirth the Gemini project i think. I will have a lot more time now. Need only a company to work with. Gemini project is still open and will be open. Anyone can contribute, anytime, anyhow. Look at the project forum thread. Lets make it alive agin :)
Cosmos is coming...
Oh? It's probably going to be awesome since it's coming from you : ).
For some reason, the function UnitGroupSearch(string, int, point, fixed, unitfilter, int) doesn't work in Galaxy++.
That is, if I use this function, the compiler doesn't recognize this as a native function and gives me an error.
@DieHappy1234: Go
I'm currently editing the Galaxy
++
source so that functions are automatically gathered from the various starcraft 2 script files inside the game mpq's. As SBeier said, right now the available functions are hardcoded, so there may be some missing ones. Functions added with 1.5 are also not available yet.I'm not sure when I will finish this but it's going well so far. So reading the script files and parsing them for functions/constants works already but the integration with the editor is missing. Since I don't really have a good understanding of the project yet, this may take some time.