Solved❗ [Fabiano Source] How to make Oryx spawn Quest Bosses?

Posts 1–7 of 7 · Page 1 of 1
❗ [Fabiano Source] How to make Oryx spawn Quest Bosses?
If you go /YOUR_FABS_SOURCE/wServer/realm/Oryx.cs, you can find this:

private readonly List<Tuple<string, ISetPiece>> events = new List<Tuple<string, ISetPiece>>
{
Tuple.Create("Skull Shrine", (ISetPiece) new SkullShrine()),
Tuple.Create("Pentaract", (ISetPiece) new Pentaract()),
Tuple.Create("Grand Sphinx", (ISetPiece) new Sphinx()),
//"Lord of the Lost Lands",
//"Hermit God",
//"Ghost Ship",
Tuple.Create("Cube God", (ISetPiece) new CubeGod()),
};
If i remove the "//" things, VS will underline them with red line, how to add it properly?

Edit: I solved the problem with Hermit and Ghost Ship, but i can't solve the red underline of Lord of the Lost Lands
ht tp: //i. imgur. com/xzDOPaC .png i can't post links, sry, remove the spaces to look at the image if you want to (contains code)
Quote Originally Posted by Zxoro View Post
i can't solve the red underline of Lord of the Lost Lands
I think FSOD doesn't have the setpieces for lotll, well anyways you have to add them.
You need to add class to wserver/realm/setpieces called LordOfTheLostLands.cs, next copy all from here
Code:
wServer.realm.setpieces
{
    internal class LordOfTheLostLands : ISetPiece
    {
        public int Size
        {
            get { return 5; }
        }

        public void RenderSetPiece(World world, IntPoint pos)
        {
            Entity puzzy = Entity.Resolve(world.Manager, "Lord of the Lost Lands");
            puzzy.Move(pos.X + 2.5f, pos.Y + 2.5f);
            world.EnterWorld(puzzy);
        }
    }
}
and paste it to your LordOfTheLostLands.cs file
Quote Originally Posted by Jankos View Post
You need to add class to wserver/realm/setpieces called LordOfTheLostLands.cs, next copy all from here
Code:
wServer.realm.setpieces
{
    internal class LordOfTheLostLands : ISetPiece
    {
        public int Size
        {
            get { return 5; }
        }

        public void RenderSetPiece(World world, IntPoint pos)
        {
            Entity puzzy = Entity.Resolve(world.Manager, "Lord of the Lost Lands");
            puzzy.Move(pos.X + 2.5f, pos.Y + 2.5f);
            world.EnterWorld(puzzy);
        }
    }
}
and paste it to your LordOfTheLostLands.cs file
Quote Originally Posted by FinnishFX View Post
I think FSOD doesn't have the setpieces for lotll, well anyways you have to add them.
FSOD already had a setpiece of lotll
/setpiece lordofthelostlands
-.-
The rest you can easily find out if you search
Thanks, solved.
Thing done
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us