Parse error: syntax error, unexpected T_RETURN in /home/u372522788/public_html/minetest/forum/scripts/setup.php on line 56
Thats what your Website says
Sorry, i am editing it live at the moment, it worked earlier, and i have fixed it now.
You are not logged in. Please login or register.
Minetest Forums → Minetest-related projects → Minetest ModManager 0.1.4 Alpha <- You can upload your Mods to my Repo → Post new reply
All fields with bold label must be completed before the form is submitted.
Parse error: syntax error, unexpected T_RETURN in /home/u372522788/public_html/minetest/forum/scripts/setup.php on line 56
Thats what your Website says
Sorry, i am editing it live at the moment, it worked earlier, and i have fixed it now.
Parse error: syntax error, unexpected T_RETURN in /home/u372522788/public_html/minetest/forum/scripts/setup.php on line 56
Thats what your Website says
I am making a mod database (mysql), can I/You modify the python code to make it work?
(you may use it on your website, when it is finished)
http://multa.bugs3.com/minetest/forum/
https://github.com/rubenwardy/minetest-forum
You can interface with my database using:
(pkg-#) mm/getmodbyname.php: http://multa.bugs3.com/minetest/forum/m … d=mesecons
(pkg-#) mm/getmodbyid.php: http://multa.bugs3.com/minetest/forum/m … d.php?id=2
(PackageList) mm/getmods.php: http://multa.bugs3.com/minetest/forum/mm/getmods.php
It writes the in the same format as the examples on the main post
Maybe do a command like
./mm.py add-repo mysite.com --phpto access mine....
GOOD
I think i'll merge the Changes
Hello sfan5,
I downloaded 0.1.4 version of ModManager and altered it a bit. I replaced argv handling with argparse library calls and separated commands into their own functions. I cleaned the code a bit, defined some paths at the beginning, changed "/" with os.sep and added "available" command that lists avaliable mods. You can view the new version at:
If you like the changes I made, feel free to use them. Also, I would suggest that handling of txt files in .mm directory should be done with ConfigParser library. If you want, I can make those changes too (I'm relatively expirienced with Python and it's libraries).
Best regards,
Zarko
Mauvebic and I are discussing an alternative way of automating Mod installations.
Ok
Awesome project! Could you update the description so that the yellow is a bit darker? I cannot read that part very well...
Update!
New Features in 0.1.4 Alpha:
Fixed potential Bug with extra Newlines in PackageList Files
Fixed Handling of Dependices
Fixed Handling for inexistent Packages
Just a heads up: I uploaded my mods to the repo. :)
There appears to be an issue. Minor issue but breaks it. I added my industrial mod to the repo for tests of the package manager. First off issuing ./mm.y doesn't work but issuing python mm.py does.
Also it seems that uploading a package and stating that default is a dependency breaks it (see quote below).
user@host ~/Downloads $ python mm.py install industrial
ModManager 0.1.3 Alpha
Fetching Package-Info from 'sfan.sf.funpic.de'.. OK
Installing Dependence default
Fetching Package-Info from 'sfan.sf.funpic.de'.. OK
Installing Dependence default
Fetching Package-Info from 'sfan.sf.funpic.de'.. OK
Installing Dependence default
Fetching Package-Info from 'sfan.sf.funpic.de'.. OK
Installing Dependence default
Fetching Package-Info from 'sfan.sf.funpic.de'.. OK
Installing Dependence default
Fetching Package-Info from 'sfan.sf.funpic.de'.. OK
Installing Dependence default
Fetching Package-Info from 'sfan.sf.funpic.de'.. OK
Installing Dependence default
Fetching Package-Info from 'sfan.sf.funpic.de'.. OK
Installing Dependence default
Fetching Package-Info from 'sfan.sf.funpic.de'.. OK
Installing Dependence default
Fetching Package-Info from 'sfan.sf.funpic.de'.. OK
Installing Dependence default
Don't add default to the Dependices in the Form
Theres no Mod called default in my Repo
Lol.
*Bump*
lets throw this into my installer thing :D
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.
Generated in 0.023 seconds (91% PHP - 9% DB) with 8 queries