Solved❗ Fabs Source Custom Maps

Posts 1–4 of 4 · Page 1 of 1
❗ Fabs Source Custom Maps
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>
Your code is correct, did you maybe forgot rebuilding your project? Because the "world class not found" error means that your world (the class) was not found in the current assembly. Make sure you did the following things:

1. Project rebuild after adding the class
2. Check the namespace (correct in your case)
3. Check the name of your class (Needs to be the same as the dungeon name (TheCrawlingDepths (whitespaces will be removed and the name is case sensitive (correct in your code))))
Hmmm, thank I'll try rebuilding the server but I'm positive I rebuilt it. Thanks though. I'll reply if it doesn't work
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us