FIXED ChampionSpawnAlter

xG00BERx

Journeyman III
Supporter
ServUO Link here:
https://www.servuo.com/threads/championspawn-alter.8110/

Copy and Paste Below: (Pictures are on ServUO, not gonna reload them here... #Lazy)
Champion Spawn Platforms are a bit off from OSI
Look at the difference
ServUO Platform (Inactive Spawn):
View attachment 9770

OSI Platform(Inactive Spawn):
View attachment 9771

First, the Item ID's on the steps and shit are wrong... I have done the favor of changing it for yall in the code provided below.
You will need to go to ChampionPlatform.cs
and change your code from lines 9-34 to this:
Code:
        public ChampionPlatform(ChampionSpawn spawn)
        {
            this.m_Spawn = spawn;

            for (int x = -2; x <= 2; ++x)
                for (int y = -2; y <= 2; ++y)
                    this.AddComponent(0x3EE, x, y, -5);

            for (int x = -1; x <= 1; ++x)
                for (int y = -1; y <= 1; ++y)
                    this.AddComponent(0x3EE, x, y, 0);

            for (int i = -1; i <= 1; ++i)
            {
                this.AddComponent(0x3EF, i, 2, 0);
                this.AddComponent(0x3F0, 2, i, 0);

                this.AddComponent(0x3F1, i, -2, 0);
                this.AddComponent(0x3F2, -2, i, 0);
            }

            this.AddComponent(0x03F7, -2, -2, 0);
            this.AddComponent(0x03F8, 2, 2, 0);
            this.AddComponent(0x03F9, -2, 2, 0);
            this.AddComponent(0x03FA, 2, -2, 0);
        }

Secondly, as I have noted above these champion spawns are both inactive.. ServUO has a black platform and OSI has a blue color...

In that same script ChampionPlatform.cs go to line 45 and change the hue/line to this
Code:
            ac.Hue = 0x452;

Fuckin spotify needs to get over this commercial...
Anyways resuming....

Third, You see that the Pentagram on top of the Alter is not colored on ServUO but it is on OSI...
OSI Hue is 0x455 I would go in and try to figure out how to add it to the Alter hue and stuff but im not fully sure on how to test my code and regenerate the champ spawn alter without starting fresh ServUO over and over till I got the code right... Sorry not smart enough to trust myself throwing a random line of code at you and not bored enough to deal with the tedious bullshit without knowing how to respawn all the champion spawns.

When the champion spawn is active the alter is set to default color of 0; it is not hued at all.
View attachment 9772

In short Active Spawns alter have a hue of 0
Inactive Spawns have a hue of 0x455

I will be checking the locations for 100% Accuracy on Alter locations here pretty soon... Will post seperately when I get bored enough to run around getting the X, Y data on that.
 

Dan

Staff Member
Administrator
Game Master
Good stuff. It seems ServUO applied your fixes so I will be doing the same.
 

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
23 hours
Players Online
9
Houses
860
Vendors
297
Gold
4,987,023,621gp
Top Bottom