Author Topic: problems with some ULX plugins  (Read 4020 times)

0 Members and 1 Guest are viewing this topic.

Offline maaarten

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
problems with some ULX plugins
« 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 :-*

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: problems with some ULX plugins
« Reply #1 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.

"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline maaarten

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: problems with some ULX plugins
« Reply #2 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  :-* :-* :-*

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: problems with some ULX plugins
« Reply #3 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?
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline maaarten

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: problems with some ULX plugins
« Reply #4 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.
« Last Edit: August 04, 2006, 02:20:55 PM by maaarten »

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: problems with some ULX plugins
« Reply #5 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.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline maaarten

  • Newbie
  • *
  • Posts: 16
  • Karma: 0
Re: problems with some ULX plugins
« Reply #6 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.