Nice!
Nice. That is similar to the system I began coding shortly after reading your post. I actually did it VERY simply by just assigning a name on hall placement, and then I WAS going to have the region check happen upon double click of the stone, but now that you have so geniously pointed out the FAR TOO SIMPLE FOR ME TO THINK OF idea of unregistering bonk self I will have this all happen dynamically. Ironically, I removed the original auto-naming to "<name>'s city" due to the way it was set up, which created the need for the crash workaround, which then lead to the prefix/suffix naming idea. So it's hard for me to be mad at myself
Hence, expect to see automatic name assignment (for added fun) upon placement, and dynamic city and region naming and bounds. (amongst other things.) in v2.0.5
Thanks for your input, Avelyn. Good to have a community of coders all interacting on stuff like this. It's the beauty of RunUO and these forums.
Note: my goal with this system is not to take it over, or change the entire system, but rather to support and update it to the point of it being a self contained, bugless core for 2.0 systems, allowing other coders to expund from there. i'm most interested in seeing what people far more creative and versed can do with it once it is truly sound.
Avelyn said:That is incorrect. You can certainly do the same thing you do at server load actual time in a script. You can rewrite that UpdateRegion method you commented out to do it. All you need to do is calculate the new area, Unregister the region and then register it with the new area calcuations. I have it running on my version of this system flawlessly for weeks. Completely dynamic. Also, you do not have to have the city name have anythign to do with the region name. Write a method to randomly pick region names. Then you can leave the old code in to allow them to do whatever they want with the city name.
Nice. That is similar to the system I began coding shortly after reading your post. I actually did it VERY simply by just assigning a name on hall placement, and then I WAS going to have the region check happen upon double click of the stone, but now that you have so geniously pointed out the FAR TOO SIMPLE FOR ME TO THINK OF idea of unregistering bonk self I will have this all happen dynamically. Ironically, I removed the original auto-naming to "<name>'s city" due to the way it was set up, which created the need for the crash workaround, which then lead to the prefix/suffix naming idea. So it's hard for me to be mad at myself
Hence, expect to see automatic name assignment (for added fun) upon placement, and dynamic city and region naming and bounds. (amongst other things.) in v2.0.5
Thanks for your input, Avelyn. Good to have a community of coders all interacting on stuff like this. It's the beauty of RunUO and these forums.
Note: my goal with this system is not to take it over, or change the entire system, but rather to support and update it to the point of it being a self contained, bugless core for 2.0 systems, allowing other coders to expund from there. i'm most interested in seeing what people far more creative and versed can do with it once it is truly sound.