Hello all, Rariity here. I am curious if anyone could guide me to fixing my error when trying to open a dungeon. I have created the map, spawn, enemies, boss, converted the map to Wmap, and made sure that the .cs file for it is loading the right map. I have made a Crawling Depths for Fabiano Source and I made a .cs file to go with it in wServer>realms>worlds>TheCrawlingDepths.cs I created that file and put in my code for the dungeon so it should work. I will put the code below for my TheCrawlingDepths.cs file and see if anyone can help me with the issue. I will also put the file for the cdepths key from the dat1.xml file but I'm pretty sure you won't need that lel.
The error is: WorldClass not found for The Crawling Depths, can not load world.
#region
using wServer.networking;
#endregion
namespace wServer.realm.worlds
{
public class TheCrawlingDepths : World
{
public TheCrawlingDepths()
{
Name = "The Crawling Depths";
ClientWorldName = "dungeons.The_Crawling_Depths";
Background = 0;
AllowTeleport = true;
}
protected override void Init()
{
LoadMap("wServer.realm.worlds.maps.crawling.wmap", MapType.Wmap);
}
public override World GetInstance(Client psr)
{
return Manager.AddWorld(new TheCrawlingDepths());
}
}
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<Object type="0xcda" id="The Crawling Depths Key">
<Class>Equipment</Class>
<Item/>
<Texture>
<File>lofiObj3</File>
<Index>0x3e9</Index>
</Texture>
<SlotType>10</SlotType>
<Description>{equip.A_key_which_opens_an_entrance_ to_The_Crawling_Depths.}</Description>
<Sound>use_key</Sound>
<Consumable/>
<Soulbound/>
<Activate id="The Crawling Depths">Create</Activate>
<feedPower>270</feedPower>
<DisplayId>{equip.The_Crawling_Depths_Key}</DisplayId>