View Single Post
Old 05-29-2007, 08:10 PM   #16 (permalink)
Lokai
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

I was going to say "What song were you adding?" but I was not sure that it would be relevant. Now I think it is. Look in your RunUO 1.0 Source Folder, you will find BaseRegion.cs. I was just looking at that, and noticed that there are about half as many songs there as in 2.0. That must be it. The enum is basically a glorified array of INTs, so by calling a "song" not listed, it is calling an integer outside the bounds of the array. (Not sure, but it's a working theory.)
Lokai is offline   Reply With Quote