Beefcake
Member
Could anyone help me get this sorted out? This is on a fresh install for testing, my current install won't compile either.
I've followed instructions according to: https://www.servuo.com/archive/ultimalive.687/
(1) UltimaLive Scripts
-Move included server files into (ServUO/Scripts/Customs)
// UltimaLive-Master (folder): docs (folder), igrping (folder), mhook (folder), ServerSideScripts (folder), UltimaLive (folder), VisualStudio2013 (folder), VisualStudio2015 (folder), .gitIgnore (file), README.md (file)
//[Suggestion1]: select only ServerSideScripts (folder)
(2) UltimaLive Scripts/Client (folder)
(ServUO/Scripts/Customs) & (C:\Program Files(x86)\Client)
-Rename (2.2)
igrping.dll to _igrping.dll
-Move (2.3)
UltimaLive's igrping.dll into Client (folder); (Note: file no longer exists in 'ServUO/Scripts/Customs')
(3) Edit PlayerMobile.cs
(ServUO/Scripts/Mobile)
-Adjust (3.2)
to
-Adjust (3.3)
to
-Adjust (3.4)
to
After recompiling the core with administrative rights, the console indicates this message: IHonorTarget
//Suggestion2:
-Comment out IHonorTarget in (ServerUO /Scriots/Mobiles - PlayerMobile.cs) & (/Customs/UltimaLive/ServerSideScripts - PlayerMobilePartial.cs)
After including a new map, according to the instructions and recompiling the core with administrative rights
(4) Edit Map.cs, MapDefinitions.cs, MapRegistry.cs
(ServUO/Map.cs), (ServUO/Scripts/Misc/MapDefinitions.cs), (/Customs/UltimaLive/ServerSideScripts/MapRegistry.cs)
-Adjust (4.2) (ServUO/Map.cs)
to
-Adjust (4.3) (ServUO/Scripts/Misc/MapDefinitions.cs)
to
-Adjust (4.4) (/Customs/UltimaLive/ServerSideScripts/MapRegistry.cs)
to
After recompiling the core with administrative rights, the console displays this:
I'm on a Windows10-Licensed & fully updated.
After removing the map edits, the server compiles just fine. And UltimaLive functionality exists; adding/removing statics, LandTiles, etc, and updating to other clients online. However, the streaming functionality does not.
I've followed instructions according to: https://www.servuo.com/archive/ultimalive.687/
(1) UltimaLive Scripts
-Move included server files into (ServUO/Scripts/Customs)
// UltimaLive-Master (folder): docs (folder), igrping (folder), mhook (folder), ServerSideScripts (folder), UltimaLive (folder), VisualStudio2013 (folder), VisualStudio2015 (folder), .gitIgnore (file), README.md (file)
//[Suggestion1]: select only ServerSideScripts (folder)
(2) UltimaLive Scripts/Client (folder)
(ServUO/Scripts/Customs) & (C:\Program Files(x86)\Client)
-Rename (2.2)
igrping.dll to _igrping.dll
-Move (2.3)
UltimaLive's igrping.dll into Client (folder); (Note: file no longer exists in 'ServUO/Scripts/Customs')
(3) Edit PlayerMobile.cs
(ServUO/Scripts/Mobile)
-Adjust (3.2)
C#:
public class PlayerMobile : Mobile, IHonorTarget
C#:
public partial class PlayerMobile : Mobile, IHonorTarget
-Adjust (3.3)
C#:
public override void SetLocation(Point3D loc, bool isTeleport)
{
if (!isTeleport && IsPlayer() && !Flying)
{
// moving, not teleporting
int zDrop = (Location.Z - loc.Z);
if (zDrop > 20) // we fell more than one story
{
Hits -= ((zDrop / 20) * 10) - 5; // deal some damage; does not kill, disrupt, etc
SendMessage("Ouch!");
}
}
base.SetLocation(loc, isTeleport);
if (isTeleport || --m_NextProtectionCheck == 0)
{
RecheckTownProtection();
}
}
C#:
public override void SetLocation(Point3D loc, bool isTeleport)
{
if (!isTeleport && IsPlayer() && !Flying)
{
// moving, not teleporting
int zDrop = (Location.Z - loc.Z);
if (zDrop > 20) // we fell more than one story
{
Hits -= ((zDrop / 20) * 10) - 5; // deal some damage; does not kill, disrupt, etc
SendMessage("Ouch!");
}
}
base.SetLocation(loc, isTeleport);
if (isTeleport || --m_NextProtectionCheck == 0)
{
RecheckTownProtection();
}
/* Begin UltimaLive Mod */
if (BlockQuery != null)
{
m_PreviousMapBlock = BlockQuery.QueryMobile(this, m_PreviousMapBlock);
}
/* End UltimaLive Mod */
}
-Adjust (3.4)
C#:
protected override void OnMapChange(Map oldMap)
{
ViceVsVirtueSystem.OnMapChange(this);
if (NetState != null && NetState.IsEnhancedClient)
{
Waypoints.OnMapChange(this, oldMap);
}
if ((Map != Faction.Facet && oldMap == Faction.Facet) || (Map == Faction.Facet && oldMap != Faction.Facet))
{
InvalidateProperties();
}
BaseGump.CheckCloseGumps(this);
DesignContext context = m_DesignContext;
if (context == null || m_NoRecursion)
{
return;
}
m_NoRecursion = true;
HouseFoundation foundation = context.Foundation;
if (Map != foundation.Map)
{
Map = foundation.Map;
}
m_NoRecursion = false;
}
C#:
protected override void OnMapChange(Map oldMap)
{
/* Begin UltimaLive Mod */
if (BlockQuery != null)
{
m_PreviousMapBlock = BlockQuery.QueryMobile(this, m_PreviousMapBlock);
}
/* End UltimaLive Mod */
ViceVsVirtueSystem.OnMapChange(this);
if (NetState != null && NetState.IsEnhancedClient)
{
Waypoints.OnMapChange(this, oldMap);
}
if ((Map != Faction.Facet && oldMap == Faction.Facet) || (Map == Faction.Facet && oldMap != Faction.Facet))
{
InvalidateProperties();
}
BaseGump.CheckCloseGumps(this);
DesignContext context = m_DesignContext;
if (context == null || m_NoRecursion)
{
return;
}
m_NoRecursion = true;
HouseFoundation foundation = context.Foundation;
if (Map != foundation.Map)
{
Map = foundation.Map;
}
m_NoRecursion = false;
}
After recompiling the core with administrative rights, the console indicates this message: IHonorTarget
//Suggestion2:
-Comment out IHonorTarget in (ServerUO /Scriots/Mobiles - PlayerMobile.cs) & (/Customs/UltimaLive/ServerSideScripts - PlayerMobilePartial.cs)
After including a new map, according to the instructions and recompiling the core with administrative rights
(4) Edit Map.cs, MapDefinitions.cs, MapRegistry.cs
(ServUO/Map.cs), (ServUO/Scripts/Misc/MapDefinitions.cs), (/Customs/UltimaLive/ServerSideScripts/MapRegistry.cs)
-Adjust (4.2) (ServUO/Map.cs)
C#:
public static Map Felucca { get { return m_Maps[0]; } }
public static Map Trammel { get { return m_Maps[1]; } }
public static Map Ilshenar { get { return m_Maps[2]; } }
public static Map Malas { get { return m_Maps[3]; } }
public static Map Tokuno { get { return m_Maps[4]; } }
public static Map TerMur { get { return m_Maps[5]; } }
public static Map Internal { get { return m_Maps[0x7F]; } }
C#:
public static Map Felucca { get { return m_Maps[0]; } }
public static Map Trammel { get { return m_Maps[1]; } }
public static Map Ilshenar { get { return m_Maps[2]; } }
public static Map Malas { get { return m_Maps[3]; } }
public static Map Tokuno { get { return m_Maps[4]; } }
public static Map TerMur { get { return m_Maps[5]; } }
public static Map ATestMap { get { return m_Maps[40]; } }
public static Map Internal { get { return m_Maps[0x7F]; } }
-Adjust (4.3) (ServUO/Scripts/Misc/MapDefinitions.cs)
C#:
if (Siege.SiegeShard)
{
RegisterMap(0, 0, 0, 7168, 4096, 4, "Felucca", MapRules.FeluccaRules);
RegisterMap(1, 1, 1, 7168, 4096, 0, "Trammel", MapRules.FeluccaRules);
RegisterMap(2, 2, 2, 2304, 1600, 1, "Ilshenar", MapRules.FeluccaRules);
RegisterMap(3, 3, 3, 2560, 2048, 1, "Malas", MapRules.FeluccaRules);
RegisterMap(4, 4, 4, 1448, 1448, 1, "Tokuno", MapRules.FeluccaRules);
RegisterMap(5, 5, 5, 1280, 4096, 1, "TerMur", MapRules.FeluccaRules);
}
else
{
RegisterMap(0, 0, 0, 7168, 4096, 4, "Felucca", MapRules.FeluccaRules);
RegisterMap(1, 1, 1, 7168, 4096, 0, "Trammel", MapRules.TrammelRules);
RegisterMap(2, 2, 2, 2304, 1600, 1, "Ilshenar", MapRules.TrammelRules);
RegisterMap(3, 3, 3, 2560, 2048, 1, "Malas", MapRules.TrammelRules);
RegisterMap(4, 4, 4, 1448, 1448, 1, "Tokuno", MapRules.TrammelRules);
RegisterMap(5, 5, 5, 1280, 4096, 1, "TerMur", MapRules.TrammelRules);
}
C#:
if (Siege.SiegeShard)
{
RegisterMap(0, 0, 0, 7168, 4096, 4, "Felucca", MapRules.FeluccaRules);
RegisterMap(1, 1, 1, 7168, 4096, 0, "Trammel", MapRules.FeluccaRules);
RegisterMap(2, 2, 2, 2304, 1600, 1, "Ilshenar", MapRules.FeluccaRules);
RegisterMap(3, 3, 3, 2560, 2048, 1, "Malas", MapRules.FeluccaRules);
RegisterMap(4, 4, 4, 1448, 1448, 1, "Tokuno", MapRules.FeluccaRules);
RegisterMap(5, 5, 5, 1280, 4096, 1, "TerMur", MapRules.FeluccaRules);
RegisterMap(40, 0, 0, 1448, 1448, 1, "ATestMap", MapRules.FeluccaRules);
}
else
{
RegisterMap(0, 0, 0, 7168, 4096, 4, "Felucca", MapRules.FeluccaRules);
RegisterMap(1, 1, 1, 7168, 4096, 0, "Trammel", MapRules.TrammelRules);
RegisterMap(2, 2, 2, 2304, 1600, 1, "Ilshenar", MapRules.TrammelRules);
RegisterMap(3, 3, 3, 2560, 2048, 1, "Malas", MapRules.TrammelRules);
RegisterMap(4, 4, 4, 1448, 1448, 1, "Tokuno", MapRules.TrammelRules);
RegisterMap(5, 5, 5, 1280, 4096, 1, "TerMur", MapRules.TrammelRules);
RegisterMap(40, 0, 0, 1448, 1448, 1, "ATestMap", MapRules.FeluccaRules);
}
-Adjust (4.4) (/Customs/UltimaLive/ServerSideScripts/MapRegistry.cs)
C#:
public static void Configure()
{
AddMapDefinition(0, 0, new Point2D(7168, 4096), new Point2D(5120, 4096)); //felucca
AddMapDefinition(1, 1, new Point2D(7168, 4096), new Point2D(5120, 4096)); //trammel
AddMapDefinition(2, 2, new Point2D(2304, 1600), new Point2D(2304, 1600)); //Ilshenar
AddMapDefinition(3, 3, new Point2D(2560, 2048), new Point2D(2560, 2048)); //Malas
AddMapDefinition(4, 4, new Point2D(1448, 1448), new Point2D(1448, 1448)); //Tokuno
AddMapDefinition(5, 5, new Point2D(1280, 4096), new Point2D(1280, 4096)); //TerMur
//those are sample maps that use same original map...
//AddMapDefinition(32, 0, new Point2D(7168, 4096), new Point2D(5120, 4096));
//AddMapDefinition(33, 0, new Point2D(7168, 4096), new Point2D(5120, 4096));
//AddMapDefinition(34, 1, new Point2D(7168, 4096), new Point2D(5120, 4096));
EventSink.ServerList += new ServerListEventHandler(EventSink_OnServerList);
EventSink.Login += new LoginEventHandler(EventSink_Login);
}
C#:
public static void Configure()
{
AddMapDefinition(0, 0, new Point2D(7168, 4096), new Point2D(5120, 4096)); //felucca
AddMapDefinition(1, 1, new Point2D(7168, 4096), new Point2D(5120, 4096)); //trammel
AddMapDefinition(2, 2, new Point2D(2304, 1600), new Point2D(2304, 1600)); //Ilshenar
AddMapDefinition(3, 3, new Point2D(2560, 2048), new Point2D(2560, 2048)); //Malas
AddMapDefinition(4, 4, new Point2D(1448, 1448), new Point2D(1448, 1448)); //Tokuno
AddMapDefinition(5, 5, new Point2D(1280, 4096), new Point2D(1280, 4096)); //TerMur
AddMapDefinition(40, 0, new Point2D(1448, 1448), new Point2D(1448, 1448)); //ATestMap
//those are sample maps that use same original map...
//AddMapDefinition(32, 0, new Point2D(7168, 4096), new Point2D(5120, 4096));
//AddMapDefinition(33, 0, new Point2D(7168, 4096), new Point2D(5120, 4096));
//AddMapDefinition(34, 1, new Point2D(7168, 4096), new Point2D(5120, 4096));
EventSink.ServerList += new ServerListEventHandler(EventSink_OnServerList);
EventSink.Login += new LoginEventHandler(EventSink_Login);
}
After recompiling the core with administrative rights, the console displays this:
I'm on a Windows10-Licensed & fully updated.
After removing the map edits, the server compiles just fine. And UltimaLive functionality exists; adding/removing statics, LandTiles, etc, and updating to other clients online. However, the streaming functionality does not.