Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: maaarten on August 04, 2006, 07:41:01 AM

Title: problems with some ULX plugins
Post by: maaarten on August 04, 2006, 07:41:01 AM
Hi everybody,
I have a problem with some plugins for ulx that after installing the Menu Adds V2.0 plugin not seems to work anymore.
these are the plugins i want to use but are not working: ULX cleaner, ULX restartmap and scriptmanager

I added the following lines to the ulx_init.lua file, and also tried to run the plugins manualy by typing lua_openscript /ulx/plugins/cleaner.lua in the console but both things didn't work. can anybody help me with this.

Quote
   _Openscript( "plugins/cleaner.lua" )         -- map cleaning plugin
   _openscript( "plugins/findplayer.lua" )         -- plugin to find a player on the map
   _openscript( "plugins/scriptmanager.lua" )      -- manager to start scripts en give weapons
   _openscript( "plugins/restart.lua" )         -- script so start a kickplayer and restartmap vote

Thanks :-*
Title: Re: problems with some ULX plugins
Post by: JamminR on August 04, 2006, 10:49:09 AM
Try the following
(Make sure you're using ULX v1.13 (latest 1.x version)

Move the lua plugin files you downloaded into gmod9/lua/ulx/modules
.. the modules folder is the equivalent to lua/init, but, ulx executes those files only after ulx has loaded. This way, no changes to ulx_init need to be made (normally).

Remove those openscript lines from your ulx_init file. (ulx/modules/*.lua load automagically)

If that doesn't work, it may be conflicts among the plugins.
I've used findplayer and cleaner successfully together.
Not sure how the others would affect each other.

Title: Re: problems with some ULX plugins
Post by: maaarten on August 04, 2006, 12:04:39 PM
that works, at least for 3 of the plugins, only cleaner still don't work :(
i go look if i can find a way to fix that.

thanks a lot  JammirR  :-* :-* :-*
Title: Re: problems with some ULX plugins
Post by: JamminR on August 04, 2006, 01:40:46 PM
Only cleaner? Interesting, cleaner isn't too complex a script. Are you getting any errors in console when you try to use ulx_clean?
Is it showing in your ulx_help menu?
Title: Re: problems with some ULX plugins
Post by: maaarten on August 04, 2006, 02:09:58 PM
when I type !clean props in chat i get a message that all props are deleted, but the are not, and when i type !clean everthing is still there but he says he deleted it all, haven't tried yet if it showing in ulx_help, i wil try in just a minute.

edit: yes it does show in ulx_help and also tried console command ulx_clean an neither console or chat command works.
Title: Re: problems with some ULX plugins
Post by: JamminR on August 04, 2006, 02:43:59 PM
maaarten, I don't know why.
There are a few limits to what his script won't delete, but they are few.
What are you trying to have deleted? Just any prop? Or a certain effect/prop in particular.
Title: Re: problems with some ULX plugins
Post by: maaarten on August 04, 2006, 02:53:01 PM
first i tried to delete specific like just props, ragdolls, vehicles, then i tried to delete evrything on the server,

nothing of the cleaner seems to work.