Ulysses Stuff > Suggestions

!strip <player>

<< < (3/4) > >>

Chironex:

--- Quote from: Megiddo on August 12, 2007, 12:27:49 PM ---And now ULX is modularized! :D

Check out SVN if you wanna see it.

--- End quote ---

Hmm, what that mean exactly ?

Another question related to :
--- Quote from: JamminR on August 12, 2007, 07:07:43 AM ---I believe this is bad practice. Any changes you make would get overwritten during an update by us.
--- End quote ---

Can i create a new file and place my commands in it (without bugs like commands not showing in ulx help), so this is not deleted when there is a svn update ?

Megiddo:
With the new module system, you can just stick your commands in a separate file under the 'module' folder.

Chironex:
Ok, tested, works :)

Also i saw you did so commands are sorted alphabetically (ulx help), thanks.

But (sorry wrong place):

--- Code: ---ULX version 3.20 (BETA) SVN revision 40 loaded.
Timer Error: base.lua:166: bad argument #1 to 'ipairs' (table expected, got nil)

--- End code ---

Megiddo:

--- Quote from: Kyzer on August 12, 2007, 02:04:22 PM ---Ok, tested, works :)

Also i saw you did so commands are sorted alphabetically (ulx help), thanks.

But (sorry wrong place):

--- Code: ---ULX version 3.20 (BETA) SVN revision 40 loaded.
Timer Error: base.lua:166: bad argument #1 to 'ipairs' (table expected, got nil)

--- End code ---

--- End quote ---

Hmm interesting. Either the ULX callback isn't working or something's seriously screwed up. Was this error on a listen server? Do you get it each time?

jrarmas:
I have an issue when i insert the like
" function ulx.cc_stripweapons( ply, command, argv, args )
   if #argv < 1 then
      ULib.tsay( ply, ulx.LOW_ARGS )
      return
   end

   local targets, err = ULib.getUsers( argv[ 1 ], _, true, ply ) -- Enable keywords
   if not targets then
      ULib.tsay( ply, err )
      return
   end

   for _, v in ipairs( targets ) do
      ulx.logUserAct( ply, v, "#A stripped #T's weapons" )
      v:StripWeapons()
   end
end
ulx.concommand( "strip", ulx.cc_stripweapons, "<user(s)> - Strips user(s)'s weapons.", ULib.ACCESS_ADMIN, "!strip", _, ulx.ID_PLAYER_HELP )"

i load up my server and it boots me (to main menu) saying "Too many lua errors"

PLEASE HELP!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version