|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Novice
Join Date: Dec 2003
Location: South-Africa
Age: 20
Posts: 165
|
When creating a Samurai or Ninja on an UO:SE enabled shard, using an AOS client, you start in a house/park-like place in Malas, but sadly, only SE client can see those areas, so AOS players start in a black void.
Use this "fix" to make them start somewhere else IF they are NOT using the UO:SE client. Do the following in Misc/CharacterCreation.cs Step 1 Find this: Code:
private static CityInfo GetStartLocation( CharacterCreatedEventArgs args, bool isYoung )
{
and add : Code:
NetState state = args.State; Code:
private static CityInfo GetStartLocation( CharacterCreatedEventArgs args, bool isYoung )
{
NetState state = args.State;
Change at case 6 (Samurai) and case 7 (Ninja) from: Code:
case 6: //Samurai
{
return new CityInfo( "Samurai DE", "Haoti's Grounds", 368, 780, -1, Map.Malas );
}
case 7: //Ninja
{
return new CityInfo( "Ninja DE", "Enimo's Residence", 414, 823, -1, Map.Malas );
}
Code:
case 6: //Samurai
{
if ((state.Flags & 0x10) != 0)// Is UOSE?
{
return new CityInfo( "Samurai DE", "Haoti's Grounds", 368, 780, -1, Map.Malas );
}
else
{
return new CityInfo( "Haven", "Uzeraan's Mansion", 3582, 2587, 0, Map.Trammel );
}
}
case 7: //Ninja
{
if ((state.Flags & 0x10) != 0)// Is UOSE?
{
return new CityInfo( "Ninja DE", "Enimo's Residence", 414, 823, -1, Map.Malas );
}
else
{
return new CityInfo( "Haven", "Uzeraan's Mansion", 3582, 2587, 0, Map.Trammel );
}
}
Thanks to: Zippy- • Help via IRC Installation: Make a backup / rename your current CharacterCreation.cs Place this one in your Custom Folder. Easy =) I hope this helps!
__________________
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|