I have set the .xml and .cfg files for the champion spawn the way I would like them for my server.
The server was restarted and since the champion spawns are placed, I see that none of the changes are relfected.
Then I did something really bad and crashed the server:
Thinking I could remove the champion spawns, which is quite easy, I then did the command
.championinfo
thinking that would generate the champion spawns and they would be updated to use the new system files.
K-A-BOOOMIE!
Ok, so the server crashed.
Code:
Server Crash Report
===================

RunUO Version 0.5, Build 5893.31493
Operating System: Microsoft Windows NT 5.2.3790 Service Pack 2
.NET Framework: 4.0.30319.1022
Time: 2/21/2016 1:54:48 PM
Mobiles: 3983
Items: 157562
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
  at Server.Engines.CannedEvil.ChampionSystem.ChampionSystemGump..ctor() in c:\1) Server 2-19-2016\Scripts\Services\ChampionSystem\ChampionSystem.cs:line 339
  at Server.Engines.CannedEvil.ChampionSystem.ChampionInfo_OnCommand(CommandEventArgs e) in c:\1) Server 2-19-2016\Scripts\Services\ChampionSystem\ChampionSystem.cs:line 229
  at Server.Commands.CommandSystem.Handle(Mobile from, String text, MessageType type) in c:\1) Server 2-19-2016\Server\Commands.cs:line 264
  at Server.Mobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue) in c:\1) Server 2-19-2016\Server\Mobile.cs:line 5112
  at Server.Mobiles.PlayerMobile.DoSpeech(String text, Int32[] keywords, MessageType type, Int32 hue) in c:\1) Server 2-19-2016\Scripts\Mobiles\PlayerMobile.cs:line 3175
  at Server.Network.PacketHandlers.UnicodeSpeech(NetState state, PacketReader pvSrc) in c:\1) Server 2-19-2016\Server\Network\PacketHandlers.cs:line 1570
  at Server.Network.MessagePump.HandleReceive(NetState ns) in c:\1) Server 2-19-2016\Server\Network\MessagePump.cs:line 303
  at Server.Network.MessagePump.Slice() in c:\1) Server 2-19-2016\Server\Network\MessagePump.cs:line 121
  at Server.Core.Main(String[] args) in c:\1) Server 2-19-2016\Server\Main.cs:line 577

So I know not to do that, but HOW then do I remove/replace/update my champions to the files in the Config folder?
Thanks for you assistance!

Shazzy
 
Hrm, I guess I didn't think that through very well when I designed the system. In your Champions.cfg, disable the system and restart the server. That will delete them. Then re-enable the system and restart. That will generate the champions again. I see now this is a bad user experience. I'll add a feature request to have a command for regenerating them.
 
Back