Servuo57
Beta copy booted right up

I just can't get spawn in trammel!!!!!!!!
Made copy scripts with trammel names. But won't spawn in trammel?????
Seems to be in felucca...

Second the add time zone option
And a fel/tram option
 

Attachments

  • InvasionSystemTrammel.zip
    8.4 KB · Views: 6
I can't tell for sure, based on your source code (I never attempted to run it), but you went WAY overboard on changing the files to make Trammel spawn. My best guess is you renamed a variable in one file somewhere, but missed renaming it somewhere else.

Invasion System.cs should be the only file you need to change.

Line 26 -> private Map _SpawnMap = Map.Trammel;
and then for every town -> SpawnMap = Map.Trammel;

Those should be the only changes you need to make for the system to work in Trammel.
 
Welp I was bored.... Lol...

Got this one to work on servuo57..huzzah...
Separate system for tram..

Kept having already existent methods and arguments didn't equate? Added tram to prevent duplicates..
Tried to add spawn map definitions and invasion towns for tram on original invasion system to have fel and tram but I lack know how to add a button for it on gump ....

So I made this guy...
 

Attachments

  • InvasionSystemTrammel.zip
    8.4 KB · Views: 24
The gump is automatically generated based on the entries in the configs. 1611438121553.png

Thats what the one looks like on my server.

public void OnStart()
{
if (!IsRunning)
{
InvasionTowns invading = InvasionTown;

switch (invading)
{
case InvasionTowns.Daft:
{
Top = new Point3D(4014, 626, 30);
Bottom = new Point3D(4113, 561, 0);
MinSpawnZ = 0;
MaxSpawnZ = 5;
SpawnMap = Map.Felucca;
TownInvaded = "Daft Guild";
break;
}

case InvasionTowns.CWBY:
{
Top = new Point3D(152, 303, -5);
Bottom = new Point3D(233, 295, 35);
MinSpawnZ = 20;
MaxSpawnZ = 30;
SpawnMap = Map.Tokuno;
TownInvaded = "CWBY Guild";
break;
}

case InvasionTowns.Ethereal:
{
Top = new Point3D(2416, 214, 0);
Bottom = new Point3D(2519, 166, 30);
MinSpawnZ = 0;
MaxSpawnZ = 5;
SpawnMap = Map.Felucca;
TownInvaded = "Ethereals House";
break;
}

}

foreach (Region r in Region.Regions)
{
if (r is GuardedRegion && r.Name == TownInvaded)
{
WasDisabledRegion = ((GuardedRegion) r).Disabled;

((GuardedRegion)r).Disabled = true;
}
}

Spawn();
}
}

public static MonsterTownSpawnEntry[] OreElementals = new MonsterTownSpawnEntry[]
{
//Monster //Amount (24)
new MonsterTownSpawnEntry( typeof( ShameIron ), 5 ),
new MonsterTownSpawnEntry( typeof( ShameDullCopperl ), 5 ),
new MonsterTownSpawnEntry( typeof( ShameShadowIron ), 5 ),
new MonsterTownSpawnEntry( typeof( ShameCopper ), 2 ),
new MonsterTownSpawnEntry( typeof( ShameBronze ), 2 ),
new MonsterTownSpawnEntry( typeof( ShameGold ), 2 ),
new MonsterTownSpawnEntry( typeof( ShameAgapite ), 1 ),
new MonsterTownSpawnEntry( typeof( ShameVerite ), 1 ),
new MonsterTownSpawnEntry( typeof( ShameValorite ), 1 )
};



and yes, CWBY in Tokuno does work.
 
Has anyone been able to work this invasion system into the old runuo 1.0 server?
I would love to have this on my server.
I would be willing to pay someone with the skills to make the needed changes for this this to work on runuo1.0.
I know this is a old version of runuo but I hope to hear from someone.
 
Has anyone been able to work this invasion system into the old runuo 1.0 server?
I would love to have this on my server.
I would be willing to pay someone with the skills to make the needed changes for this this to work on runuo1.0.
I know this is a old version of runuo but I hope to hear from someone.
shouldn't be too difficult, probably the only or main edit needed is to have it save via an item in the world
 
Back