|
||
|
|||||||
| Other Cant find a category above, use this one! Core mods not listed above go here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
Join Date: Oct 2003
Location: Spokane Valley, WA
Age: 24
Posts: 1,528
|
I wanted to spend the extra time to develop a new main so I did...
What I did is a new feature that I believe might work for other places too... This feature might be neat for those who use Motd versions and people may want to know what version the shard is at or something sooo I developed a XML version easy editable... Simple Installation... Add your main.cs into the correct location, if you have already reworked your main.cs to do something then I would advice you to know what your doing.... Otherwise go ahead and override ...At the first time you load it it will restart the core because it is creating the Core.xml file which contains some properties such as this... RunUO Default (Notice NULL) means that RunUO does not have a Stage, if it was RC then that is where it would have gone... Also notice that if you change the "Shardname" to something else, it will display that RunUO Message underneath it... I would be kind enought if you did not remove this part Afterall RunUO deserves some credit for their work...Also to find these Properties for your shard stuff all you have to do is do... Core.ReadShardVersion and it will put it in there ![]() Notice now, if you Wanted to make your Offical ShardName work well in the ServerList.cs, you need to Change the const to static and it will then Display the shard name if you change it there... Thus will allow you to change the entire shard files or version etc. without having to search and find each script, just incase you decide to change something like your website or something... WARNING: IF YOU TRY TO CHANGE THE CORE.XML WHILE YOUR SHARD IS RUNNING, THE CHANGES WILL NOT CHANGE UNTIL YOU RESTART.... PHP Code:
PHP Code:
![]()
__________________
Creator of Genesis :: genesisworlds.com -- Genesis is the next replacement program for UO Landscaper & Dragon |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
Join Date: Oct 2003
Location: Spokane Valley, WA
Age: 24
Posts: 1,528
|
Any sugesstions or possible features you would like me to fix or add just let me know.
Any bugs on this let me know and I'll fix it asap... Thanks, awakenlands
__________________
Creator of Genesis :: genesisworlds.com -- Genesis is the next replacement program for UO Landscaper & Dragon |
|
|
|
|
|
#3 (permalink) | ||
|
Forum Expert
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
|
Quote:
__________________
Quote:
Just a Simple Staff Tool You can leave me messages. Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else." |
||
|
|
|
|
|
#5 (permalink) |
|
Forum Expert
Join Date: Oct 2003
Location: Spokane Valley, WA
Age: 24
Posts: 1,528
|
Has anyone had issues with this??? And seriously would like to know who has been using this ???
__________________
Creator of Genesis :: genesisworlds.com -- Genesis is the next replacement program for UO Landscaper & Dragon |
|
|
|
|
|
#6 (permalink) | ||
|
Forum Expert
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,848
|
Quote:
I've been using this and had no problems at this point. If I do I'll let you know.
__________________
Quote:
Just a Simple Staff Tool You can leave me messages. Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else." |
||
|
|
|
|
|
#8 (permalink) | |
|
Account Terminated
|
Quote:
awakenlands You do understand this would have been possible without a core modification right? Although it wouldn't be displayed at the top, but then again I didn't look at where your code is displayed. |
|
|
|
|
|
|
#9 (permalink) |
|
Forum Expert
Join Date: Oct 2003
Location: Spokane Valley, WA
Age: 24
Posts: 1,528
|
Yes Phantom I do realize this, but instead of recompiling the core over and over just to change information in there I allowed a XML file that will be read on the application startup
...I use this same method for my general Shard name from ShardList.cs, MOTD.cs and many other files... It was simple and easy to make *shurgs*
__________________
Creator of Genesis :: genesisworlds.com -- Genesis is the next replacement program for UO Landscaper & Dragon |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|