Maps or wrong coords
|
Hello everyone, I have a problem, when I enter my house portal I only get this:
How can I fix this?
I use the crezion source (enth's project)
I don't find it, the coords or something.
Check your region builder. Im no expert on that skill but houses are an instance correct? let me know if im wrong. But the instance might not be created properly.
It is not fixed yet, I don't have a region builder or something. Is there anyone who have experience with this ?
Your dynamic region is broken, could be anything.
Show ur HouseControler.
This is my housecontroler
package com.server.game.player.controlers;
import com.server.game.RegionBuilder;
import com.server.game.World;
import com.server.game.WorldObject;
import com.server.game.WorldTile;
public class HouseCon extends Controler {
private int[] boundChuncks;
@Override
public void start() {
boundChuncks = RegionBuilder.findEmptyChunkBound(8, 8);
player.setNextWorldTile(new WorldTile(boundChuncks[0] * 8 + 35, boundChuncks[1] * 8 + 34, 0));
World.spawnObject(new WorldObject(13405, 10, 0, boundChuncks[0] * 8 + 35, boundChuncks[1] * 8 + 35, 0), true);
player.closeInterfaces();
}
boolean remove = true;
@Override
public boolean processObjectClick5(WorldObject object) {
//house.previewRoom(player, boundChuncks, new RoomReference(Room.GARDEN, 4, 5, 0, 0), remove = !remove);
return true;
}
}
THAT's your problem ...
edit: repping me for not spoondfeeding is kinda sad. With 'That's your problem' I mean that your Controller class is the problem. As you can see only a portal is spawned, look at other sources who have construction. Don't rep me again for not spoonfeeding please
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |