Open AleMunin opened 10 years ago
You can use markdown language, checkout these pages: https://help.github.com/articles/markdown-basics https://help.github.com/articles/github-flavored-markdown
Anyhow, its actually as intended - the game only overwrites, or doesn't write at all. So since you've selected "Don't overwrite the constants" the whole project was never touched.
This is actually to prevent data loss / inconsistent changes within the modules. If you'd overwrite the constants as well (or just remove those 2 new default GM constants in your game) - you won't get the warning.
I've made a new task to ignore the 2 default GM constants; https://github.com/RobQuistNL/GMModular/issues/12
Thanks for your work. And yeah, I know it is on purpose, thanks for that btw =) But the problem is that it never does anymore, and neither I can uninstal it, the same problem happens. I tried something in your testfiles without overwriting and it works greatly, just saying.
Please select an option:
0 -CANCEL-
Select module to uninstall [0-0] [0]: 2
PHP Notice: Undefined offset: 1 in /cygdrive/c/users/munin/GMModular-master/gmmodular.php on line 120
PHP Fatal error: Call to a member function getName() on a non-object in /cygdrive/c/users/munin/GMModular-master/scripts/GMModular.class.php on line 119again, thanks, and sorry to bother you.
No problem, can you sum up a method to reproduce the issue?
Sure, I simply tried to run gmm on a new project for the first time:
Okay... Interesting. I'll look in to it :)
Hey, I came to bother you again! Sorry! I took some couple of hours to make tests before I go to my classes, and started playing with your software a bit. Modules seem to be installed just fine, fast an simple, it is quite delightful to watch, really.
But I run into a couple of problems later on. It didn't sync, as you can see, I didn't overwrite the constants, but there rest should be fine, I made an object with the same name and variables similar (but storing different values) and one extra, and then created a script just to see what happens, nothing changed =/
Here follows the code:
Munin@Megas /cygdrive/c/users/munin/GMModular-master $ ./gmmodular.php /Testfiles/myOwnTestGM.gmx/ Welcome to the GMModular application. version 0.1 GMModular by Rob Quist - Licensed under Apache2 License
WARNING: There was a submodule folder found, but no modulefile! (modules.gmm). I f this is the first time running this script, you're okay, since it has not been made yet. If this isn't the first time... You'd better find the file or clean u p your main project manually! Since there was no module file found, would you like to create a new one? [y/n] [n]: y You have 1 uninstalled module(s)!
1 - testMod1
Please select an option:
1 - testMod1
Please select an option:
Please select an option:
Munin@Megas /cygdrive/c/users/munin/GMModular-master
Later on, every time I executed it to see if it found any changes, it simply didn't found any. It gives me a php error if I select -cancel-, but it is probably due to a no module to sync situation, which doesn't bothers me at all, but worth commenting here anyway X)
Munin@Megas /cygdrive/c/users/munin/GMModular-master $ ./gmmodular.php testfiles/myowntestgm.gmx Welcome to the GMModular application. version 0.1 GMModular by Rob Quist - Licensed under Apache2 License
You have 1 uninstalled module(s)!
1 - testMod1
Please select an option:
Ugh, i wish there was bbcode on github, but anyway... sorry to bother you again, and thanks for your patience.