Author Topic: ULX Cleaner  (Read 21106 times)

0 Members and 1 Guest are viewing this topic.

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
ULX Cleaner
« on: June 21, 2006, 09:55:52 PM »
Since no others worked for me, I made this. It cleans the server really.
Say ulx_clean or !clean to delete everything in the server
Say a keyword after ulx_clean to clean just that thing.

ulx_clean ragdolls will remove all ragdolls  ;)

If you forget a type, just say !clean help and it will show you ingame.

Keywords:

NPCs
Ragdolls
Effects
Props
Balloons
Thrusters
Ropes
Emitters
Flares
Flames
Dynamite
Vehicles
Sparks
Wheels
Decals
Welds
Ballsockets
Sliders
Lamps
Magnets
Help - Shows the help + types

Version 2:
Now removes:
Wheels
Decals
Welds
Ballsockets
Sliders
Lamps
Magnets

http://ulyssesmod.net/gd/cleaner.html
« Last Edit: December 18, 2006, 06:57:52 PM by Golden-Death »


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6197
  • Karma: 394
  • Project Lead
Re: ULX Cleaner
« Reply #1 on: June 21, 2006, 10:02:07 PM »
* Megiddo claps
Experiencing God's grace one day at a time.

Offline Griff

  • Newbie
  • *
  • Posts: 40
  • Karma: 3
Re: ULX Cleaner
« Reply #2 on: June 22, 2006, 06:04:33 AM »
wowza! thanks so much. my dreams have come true :) no more pests spamming stuff, w000t! also, will one of these commands clean up sliders(if sliders arnt in the ropes group) thanks for this lua, its great :)

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: ULX Cleaner
« Reply #3 on: June 22, 2006, 01:14:12 PM »
I made it because gmod+s was borked, lazyness is the mother of invention. Should work I guess, but I haven't tested it.


Offline RedNick27

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: ULX Cleaner
« Reply #4 on: June 23, 2006, 09:18:44 AM »
I just acquired ULX mod recently and can tell I love it!  ;D

This cleaner is just what I was looking for, but isnĀ“t this just a raw code? How do I use it?

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: ULX Cleaner
« Reply #5 on: June 23, 2006, 12:32:26 PM »
save it as a .lua file and put it in ulx/modules


Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: ULX Cleaner
« Reply #6 on: June 23, 2006, 01:00:37 PM »
Version 2:
Now removes:
Wheels
Decals
Welds
Ballsockets
Sliders
Lamps
Magnets


Offline Griff

  • Newbie
  • *
  • Posts: 40
  • Karma: 3
Re: ULX Cleaner
« Reply #7 on: June 24, 2006, 03:37:25 AM »
cheers man. thanks so much :)

Offline RedNick27

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: ULX Cleaner
« Reply #8 on: June 24, 2006, 05:58:59 AM »
Yay! It works! Thanks!  :D

I just wish it could remove npc corpses also.

UltimateApocalypse

  • Guest
Re: ULX Cleaner
« Reply #9 on: June 24, 2006, 11:39:33 PM »
Rednick:

g_ragdoll_maxcount 0

Makes the NPC corpses disappear when you kill them.

Offline RedNick27

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
Re: ULX Cleaner
« Reply #10 on: June 25, 2006, 11:42:45 AM »
Rednick:

g_ragdoll_maxcount 0

Makes the NPC corpses disappear when you kill them.

Oh, thanks.

Offline Mediarocker

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: ULX Cleaner
« Reply #11 on: June 30, 2006, 06:30:19 PM »
You Rock. Out Loud. 8)

Offline Golden-Death

  • Hero Member
  • *****
  • Posts: 751
  • Karma: 0
  • Honored Lua Scripter
    • BlueFire
Re: ULX Cleaner
« Reply #12 on: July 01, 2006, 10:59:16 AM »
 ;)


Offline Diablodoc

  • Newbie
  • *
  • Posts: 5
  • Karma: -1
Re: ULX Cleaner
« Reply #13 on: August 10, 2006, 10:16:21 AM »
Can you make it remove dead player bodies, sprays and paintings and player/npc weapons?

Offline Jobbe

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: ULX Cleaner
« Reply #14 on: August 23, 2006, 12:47:54 AM »
Rednick:

g_ragdoll_maxcount 0

Makes the NPC corpses disappear when you kill them.

hey thanks i have been looking for this command so long ;D