SC2Mapster Forums

Resources > Third Party Tools

Galaxy++ editor

    #101 Jun 08, 2011 at 22:46 UTC - 0 likes

    @SBeier: Go

    Awesome, downloading right away.

    Submitted an error with the }-error. Anyway, if you want to reproduce yourself:

    void test() { for(int i=0; i < 10; i) {

    } }

    Simple remove the first } and put it back, and it should error (might have to remove it once more and put it back again before it crashes).

    Last edited Jun 08, 2011 by syranide2
    #102 Jun 08, 2011 at 23:00 UTC - 0 likes
    Quote from xxXEch0Xxx: Go

    Hi, your editor crashes upon folding multiple functions.

    I just folded the shit out of my map code, but nothing happened.

    void test() { for(int i=0; i < 10; i++) { 
    } }
    
    Quote:

    Simple remove the first } and put it back, and it should error (might have to remove it once more and put it back again before it crashes).

    I tried really hard to make it crash again, no luck...

    Maybe pc specific issues?

    Last edited Jun 08, 2011 by Kueken531

    http://img577.imageshack.us/img577/4226/blaj.jpg

    #104 Jun 08, 2011 at 23:18 UTC - 0 likes

    @syranide2: Go

    Wasn't able to reproduce it, but I did something based on the error messages I got.. Now you get to test the update feature ;)

    #105 Jun 09, 2011 at 07:01 UTC - 0 likes

    The V2.0 don`t supply Chinese word input,as V1.93 supply.

    #106 Jun 09, 2011 at 08:15 UTC - 0 likes

    @SBeier: Go

    Tried real quick at work (so can't be sure) and it seemed to have been fixed... however, another issue has just appeared (sent an error message), it seems that whenever it tries to look up variable names it generates an error.

    EDIT: Aha! I found the cause of the old crash with }, it seems that it only happens when I don't have "replace tabs with spaces" ticked.

    Last edited Jun 09, 2011 by syranide2
    #107 Jun 09, 2011 at 09:31 UTC - 0 likes

    @whimsyduke: Go
    Yeah, sorry.. Seems I broke that when I disallowed esc. It's fixed in v2.0.2

    @syranide2: Go
    I was finally able to reproduce your } error :) It should be fixed.

    #108 Jun 09, 2011 at 09:41 UTC - 0 likes

    @SBeier: Go

    Great! Were you able to solve the other issue too? (variable lookup crashes: for(int = 0; i @crash)

    The FTP seems to be unavailable.

    #109 Jun 09, 2011 at 10:41 UTC - 0 likes

    Weird.. it was running but didn't wanna send anything..

    It's up now

    I didn't fix the other crash.. I needed line numbers to know exactly what the error is.

    Last edited Jun 09, 2011 by SBeier
    #110 Jun 09, 2011 at 11:05 UTC - 0 likes

    @SBeier: Go

    Tried the new version (errored when adding a new file to the project, no biggie, sent report). Anyway, I could no longer replicate the issue with the variables so perhaps its fixed too then.

    #111 Jun 09, 2011 at 11:57 UTC - 0 likes

    I didn't do anything to fix the other error, so I'm pretty sure it's still there.. Might be some kind of a race condition though.

    I fixed the new file bug though, and added an option to down grade in case I fuck something up ;)

    #112 Jun 09, 2011 at 12:21 UTC - 0 likes

    @SBeier: Go

    Not sure, it could have been an issue with me running it straight from the zip-file, perhaps one of the library-files didn't get read correctly? Anyway, never had it before, and can't reproduce it so probably not a big issue.

    Anyway, there is another very minor issue in the editor right now, when clicking on a character to place the cursor, rather than snap to the closest position, it always snaps to the position on the left... example: ABC, if you click on ABC, regularily, when you click on B, depending on where you click on B in a regular editor, the cursor will be placed to the left or the right... in your editor it is always placed to the left.

    Another issue I've had infrequently is when editing the map, and "compile and run" from the editor, it seems as if it doesn't always recompile the map, meaning any map changes aren't included. I'm not 100% about this, this could be a user error on my part.

    On another subject, is it possible to compile and test a new map without exiting StarCraft 2 every time? If that's not possible, then I'm curious, for me it takes 2-5 seconds for StarCraft 2 to exit (during which your editor is unusable), however, if I just kill the starcraft process it exits instantly... which to my understanding wouldn't really "break" anything. Is this an "issue" for you too? Would it perhaps be possible to have a "kill starcraft"-button/hotkey in the editor?

    #113 Jun 09, 2011 at 13:03 UTC - 0 likes

    @syranide2: Go

    If you haven't made any changes to the script, the compile and run is just gonna use the files from last time you compiled. At least that's how it's supposed to work.. If it ignores any of your changes, that is a bug.

    I have been looking into testing a map without closing SC2. The problem is that I have no idea how to tell a running SC2 to load another map. It is not done in the same way as when SC2 is not running. If someone got any idea how this is done, I would be happy to hear it.

    #114 Jun 09, 2011 at 13:40 UTC - 0 likes

    @SBeier: Go

    1. Yeah, if there are no code changes, it is logical to not recompile the code... but I also test the map through your editor after making changes to the map. Meaning, unless I also make some insignificant change in a source file, then it seems like it just runs the last compiled map. It will not include the new changes I've done to the map itself.

    2. I'm not aware of any way, I tried to compile the map with SC2 running and simply restart the map in-game, I don't remember exactly what happened, but I don't think it worked... not really sure what SC2 does when you restart. If it reloads it from disk, it might be possible to just rename the running map to something else (to circumvent the SC2 lock on the file) and write a new one with the same name. But I'm unable to test it at the moment as I'm still at work. Although I doubt that it would actually work out.

    Last edited Jun 09, 2011 by syranide2
    #115 Jun 09, 2011 at 13:54 UTC - 0 likes

    1: Are you sure it's an issue? When I try it, it works just fine, as long as I save the changes I made in the normal editor, those changes are there when I test the map from my editor, even if it doesn't recompile the script.

    #116 Jun 09, 2011 at 14:04 UTC - 0 likes
    Quote from SBeier: Go

    1: Are you sure it's an issue? When I try it, it works just fine, as long as I save the changes I made in the normal editor, those changes are there when I test the map from my editor, even if it doesn't recompile the script.

    Yeah, it could be a user error on our part or some strangeness with the SC2 editor (slow saving?). So if it works for you then yeah, it's most likely some external "issue". Can't be sure if this has been happening lately as I'm "working around it" by changing the source code, but I'll try without that when I'm home and I'll see if it occurs again.

    Awesome work with the editor, not sure what I would do without it. ;)

    Last edited Jun 09, 2011 by syranide2
    #117 Jun 09, 2011 at 14:43 UTC - 0 likes

    Btw, it seems like your FTP (and updater) has broken again.

    #118 Jun 09, 2011 at 15:45 UTC - 0 likes

    Okay.. I need some other more reliable ftp server software.. The ftp server will be unavailable while I get that working.

    Edit:
    Got it up and running again. Please note that you will have to update next version manually, since the protocol for downloading files has changed a bit.

    Last edited Jun 09, 2011 by SBeier
    #119 Jun 09, 2011 at 21:21 UTC - 0 likes
    Quote from SBeier: Go

    Okay.. I need some other more reliable ftp server software.. The ftp server will be unavailable while I get that working.

    Edit: Got it up and running again. Please note that you will have to update next version manually, since the protocol for downloading files has changed a bit.

    Where do I find the latest version? 2.0.0 is the latest one on your FTP.

    EDIT: never mind, the FTP client had cached the content

    Last edited Jun 09, 2011 by syranide2
    #120 Jun 10, 2011 at 01:58 UTC - 0 likes

    Maybe there is something need to improve for Chinese characters. But I don`t know how to explain what I want to mean. It`s just because, when I input a Chinese Character,I must use a software of input method,and English not use. In OFFICE WORD or Notepad, it is a bar which used to choose character.This bar automatic move to where the input cursor is.But in Galaxy Editor would not. I don`t know why . There is another problem,may mouse is microsoft x8, it has custom function key,which used to move the edit region left or right. I can use this in Ie and WORD,but not Galaxy Editor. This just what I found , it`s not important,and it is also no problem for English language user.

    #121 Jun 10, 2011 at 13:00 UTC - 0 likes

    @whimsyduke: Go

    Does those things work in programs that is not developed my Microsoft?
    Does the first thing work in the text field you get when you send an error report to me? You can produce an error if you try to upgrade or downgrade (See the help dropdown).

    Also, do you know the name of your input program?

    Last edited Jun 10, 2011 by SBeier

You must login to post a comment. Don't have an account? Register to get one!