ServUO Version
Publish 57
Ultima Expansion
Lord Blackthorn's Revenge
can someone point me to the script that give to the location of new starting characters
 
Trying to change the location New player start, after char is created. this change also should happen no matter how old the account is, basically forcing players to spawn only in Felucca only. im looking at this part of the script but not under standing

CC Snip it,:
            var city = args.City;
            var map = Siege.SiegeShard && city.Map == Map.Trammel ? Map.Felucca : city.Map;

            newChar.MoveToWorld(city.Location, map);

            Utility.PushColor(ConsoleColor.Green);
            Console.WriteLine("Login: {0}: New character being created (account={1})", state, args.Account.Username);
            Utility.PopColor();
            Utility.PushColor(ConsoleColor.DarkGreen);
            Console.WriteLine(" - Character: {0} (serial={1})", newChar.Name, newChar.Serial);
       [I]    [/I][B][I] Console.WriteLine(" - Started: {0} {1} in {2}", city.City, city.Location, city.Map);[/I][/B]
            Utility.PopColor();

            new WelcomeTimer(newChar).Start();


this line...

C#:
Console.WriteLine(" - Started: {0} {1} in {2}", city.City, city.Location, city.Map);

or even if im in the right spot.
 
this line sends the player to the defined location:
newChar.MoveToWorld(city.Location, map);

so you would change the Location and Map to your need.
You can also define your own CityInfo and set var city to it
 
Back