ULX

Author Topic: Automatically load plugins without the init folder  (Read 5937 times)

0 Members and 1 Guest are viewing this topic.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Automatically load plugins without the init folder
« on: September 25, 2006, 10:08:07 PM »
Allows you to put all your plugins/mods in ulx/mods and have them automatically load on game start. Basically, its the exact same thing as putting them in the init folder, except now they are run from ulx/mods and it doesn't clutter up your init folder.

It also has another option for security where you can set which files you want it to run specefically.
IE:
OnlyLoadT = {
"test",
"players"
}

Will only make the script load ulx/mods/test.lua and ulx/mods/players.lua.

The script defaults to loading everything you put in ulx/mods
Just extract to the gmod folder, insert your mods in ulx/mods and you're set
http://ulyssesmod.net/gd/ulxv2scripts/loader/


Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Automatically load plugins without the init folder
« Reply #1 on: September 26, 2006, 03:06:46 PM »
 Similiar to http://forums.ulyssesmod.net/index.php/topic,344.0.html , but with a nicer lua safety feature.
Nice!
I'll check out your other features when I get a chance.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: Automatically load plugins without the init folder
« Reply #2 on: October 13, 2006, 04:04:52 PM »
If this script loads on init, my client crashes with 'ED_Alloc: No edicts yet'. Any one else have this problem?