RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Clean Spawns Command

A_Li_N

Knight
Clean Spawns Command

Had some problems with bad spawns while updating, and read quite a few posts about people trying to get rid of them, so I made a command to help in this.

[CleanSpawns

This will search through the World Items for spawners. Then it'll go through the Spawners' CreaturesName list and see if it's valid (Taken from Spawner.cs) If it's not valid, it removes the name, and sends a Console msg. Then, after it goes through the names, it checks to see if there are any names left, and if not, it adds the Spawner to a list. It then deletes the spawners on that list.

Report any bugs, I did some testing, but there could definately be some bugs.

Hope this helps all who have the badspawns.log!
 

Attachments

  • CleanSpawns.cs
    1.3 KB · Views: 102
Top