Ulysses

Ulysses Stuff => Suggestions => Topic started by: vader0146 on July 17, 2009, 03:19:17 AM

Title: Modules folder moved to data?
Post by: vader0146 on July 17, 2009, 03:19:17 AM
When I need to install a module I have to spend ages going to garrysmod/addons/ulx/lua/ulx/modules/cl
Can it be moved to /data/ in the next release of ULX? It would make everything much easier.

Thanks for reading.
Title: Re: Modules folder moved to data?
Post by: Megiddo on July 17, 2009, 07:07:23 PM
No, sorry. For the following reasons:

1. That doesn't make sense
2. Lua scripts can't be loaded from there
3. How often do you install modules?
Title: Re: Modules folder moved to data?
Post by: vader0146 on July 18, 2009, 12:54:34 PM
I install modules maybe a few times a day.

And Lua scripts CAN be loaded from data, as seen with the "FPtje virus".
Title: Re: Modules folder moved to data?
Post by: JamminR on July 18, 2009, 08:51:00 PM
Several hacks/exploits, yes, do take advantage of lua in /data
However, we're not going to rewrite ULib to use any of those hacks because of reason 1... Lua shouldn't be run from data; it doesn't make sense.
And back to reason #2... though we could, as soon as we did... Garry would block it again like he's blocked execution from so many other folders.
The path exists because of Garry's 'lua should only be run from /lua' program model
Title: Re: Modules folder moved to data?
Post by: Megiddo on July 18, 2009, 09:48:05 PM
Why don't you create a shortcut to the folder on your desktop?
Title: Re: Modules folder moved to data?
Post by: vader0146 on July 19, 2009, 03:23:30 PM
I can't make a shortcut on my desktop because my FTP client doesn't let me make shortcuts within the server.
Title: Re: Modules folder moved to data?
Post by: Megiddo on July 19, 2009, 06:49:11 PM
If you have a good FTP client it will let you make shortcuts
Title: Re: Modules folder moved to data?
Post by: vader0146 on July 20, 2009, 03:27:58 PM
I use FileZilla.
Which FTP clients allow shortcuts?
Title: Re: Modules folder moved to data?
Post by: JamminR on July 20, 2009, 06:00:52 PM
Heck, even Windows XP "Internet Explorer" will let you have shortcuts, as bad as IE is about being a true ftp client.

Right click desktop, New > Shortcut
Path = ftp://<your.host.com>/gmod/addons/ulx/lua/ulx/modules
Next
Name of Shortcut "ULX Server Modules"
Finish.
Double click... proper FTP should open, autologin or prompt depending on settings... done.

Try different ftp programs until that opens properly for you.