So after trying the phoenix source i saw there is still no random dungeons, luckly i have beenable to make my own and would love to share it
so the avg might look like this below
Code:
namespace wServer.realm.worlds
{
public class Abyss : World
{
public Abyss()
{
Name = "Abyss of Demons";
Background = 0;
Random r = new Random();
AllowTeleport = true;
base.FromWorldMap(typeof (RealmManager).Assembly.GetManifestResourceStream("wServer.realm.worlds.abyss.wmap"));
}
public override World GetInstance(ClientProcessor psr)
{
return RealmManager.AddWorld(new Abyss());
}
}
}
Now i have 11 dif abysses, some made by me, and some made by my players, so mine looks like this
Code:
namespace wServer.realm.worlds
{
public class Abyss : World
{
public Abyss()
{
Name = "Abyss of Demons";
Background = 0;
Random r = new Random();
AllowTeleport = true;
base.FromWorldMap(typeof(RealmManager).Assembly.GetManifestResourceStream("wServer.realm.worlds.abyss" + r.Next(1, 11 + 1).ToString() + ".wmap"));
}
public override World GetInstance(ClientProcessor psr)
{
return RealmManager.AddWorld(new Abyss());
}
}
}
and now i have to rename my abyss.wmap to abyss1.wmap and then have 10 more going from abyss1.wmap to abyss11.wmap, if you only have 1 map id just keep it the same, but once you are able to get more just change 11 in the number here, to whatever number of maps you got.
id like to give thanks to C453, Club559, Lunati and everyone else workin towards an awesome future for realm!