Coder Social home page Coder Social logo

bettergen's Introduction

Ad5001

Welcome to my Github profile! Please keep in mind this is only a mirror for all my repositories over on git icon Gitea.

Learn more about me Mirror of Gitea Link to applications website

Contact me

The primary mean to contact me is by icon email.

However, you can also contact me through git icon Gitea or github icon Github for development related purposes.

Iโ€™m not really active on mastodon icon Mastodon or twitter icon Twitter, but you can still contact me there. However, do except it may take time for me to respond.

bettergen's People

Contributors

ad5001 avatar fyvekatz avatar inxomnyaa avatar wyt3dr4g0n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bettergen's Issues

I want to see your copyright.

image
Looking into the license: Everyone can change license type. When i change it to any, i can do whatever i want - gg.

Chest data packs folder not being created

[22:21:23] [Asynchronous Worker #1 thread/CRITICAL]: ErrorException: "file_get_contents(/root/pm02/plugins/BetterGen/resources/loots/mineshaft.json): failed to open stream: No such file or directory" (EXCEPTION) in "BetterGen-master/src/Ad5001/BetterGen/loot/LootTable" at line 71
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #0 (): pocketmine\error_handler(integer 2, string file_get_contents(/root/pm02/plugins/BetterGen/resources/loots/mineshaft.json): failed to open stream: No such file or directory, string /root/pm02/plugins/BetterGen-master/src/Ad5001/BetterGen/loot/LootTable.php, integer 71, array Array())
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #1 BetterGen-master/src/Ad5001/BetterGen/loot/LootTable(71): file_get_contents(string /root/pm02/plugins/BetterGen/resources/loots/mineshaft.json)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #2 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(173): Ad5001\BetterGen\loot\LootTable::buildLootTable(pocketmine\math\Vector3 object, integer 2, pocketmine\utils\Random object)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #3 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(332): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 321, integer 38, integer 209, integer 1, pocketmine\utils\Random object)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #4 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(135): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 323, integer 38, integer 209, integer 0, pocketmine\utils\Random object)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #5 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(135): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 317, integer 38, integer 209, integer 0, pocketmine\utils\Random object)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #6 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(345): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 312, integer 38, integer 209, integer 0, pocketmine\utils\Random object)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #7 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(335): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 310, integer 34, integer 209, integer 2, pocketmine\utils\Random object)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #8 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(329): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 310, integer 34, integer 206, integer 0, pocketmine\utils\Random object)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #9 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(176): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 307, integer 34, integer 206, integer 1, pocketmine\utils\Random object)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #10 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(69): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 313, integer 34, integer 206, integer 1, pocketmine\utils\Random object)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #11 BetterGen-master/src/Ad5001/BetterGen/generator/BetterNormal(392): Ad5001\BetterGen\populator\MineshaftPopulator->populate(pocketmine\level\SimpleChunkManager object, integer 19, integer 13, pocketmine\utils\Random object)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #12 src/pocketmine/level/generator/PopulationTask(109): Ad5001\BetterGen\generator\BetterNormal->populateChunk(integer 19, integer 13)
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #13 src/pocketmine/scheduler/AsyncTask(67): pocketmine\level\generator\PopulationTask->onRun()
[22:21:23] [Asynchronous Worker #1 thread/DEBUG]: #14 (): pocketmine\scheduler\AsyncTask->run()
[22:21:23] [Server thread/CRITICAL]: Could not execute asynchronous task PopulationTask: Task crashed

Add custom swamp biomes

I may be incorrect in saying this, but I'm pretty sure that swamp biomes have trees and lily pads. This is just a lake with the incorrect biome...
screenshot 90

BetterGen does not generate under some circumstances

After creating a world and entering it it generates fine. However, the world will stop generating using BetterGen when the world is defined to load when the server starts in the pocketmine.yml

If you remove it from pockemine.yml then you enter the world during gameplay, of course in a different location, it will go back to generating using BetterGen. This is also the case if it is set as level-name=BetterGenWorld in the pocketmine.server

BetterGen seems to have an issue being the generator if any map is loaded at server start rather than if a player actively goes there causing the world to load. Perhaps you can force it to load the plugin before the server loads the "level" and worlds: ?

CRITICAL - failed to open stream: No such file or directory

I have this problem on console.

2017-07-13 [18:48:03] [Server thread/INFO]: Enabling BetterGen v1
2017-07-13 [18:48:03] [Server thread/CRITICAL]: ErrorException: "file_put_contents(\BetterGen\processingLoots.json): failed to open stream: No such file or directory" (EXCEPTION) in "BetterGen_v1.phar/src/Ad5001/BetterGen/Main" at line 46
2017-07-13 [18:48:03] [Server thread/INFO]: Disabling BetterGen v1

Plugin crash when delBio option is specified

createworld survival3 betternormal 0 {"delBio":"BetterDesert"}
[16:49:59] [Server thread/INFO]: [BetterGen] Generating level survival3 with generator betternormal and seed 7261..
[16:49:59] [Server thread/INFO]: Preparing level "survival3"
[16:49:59] [Server thread/ERROR]: Could not generate level "survival3": Undefined index: de
[16:49:59] [Server thread/CRITICAL]: ErrorException: "Undefined index: de" (EXCEPTION) in "BetterGen/src/Ad5001/BetterGen/generator/BetterNormal" at line 417
[16:49:59] [Server thread/DEBUG]: #0 BetterGen/src/Ad5001/BetterGen/generator/BetterNormal(417): pocketmine\error_handler(integer 8, string Undefined index: de, string /share/MD0_DATA/.qpkg/Pocketmine/plugins/BetterGen/src/Ad5001/BetterGen/generator/BetterNormal.php, integer 417, array Array())
[16:49:59] [Server thread/DEBUG]: #1 src/pocketmine/level/Level(391): Ad5001\BetterGen\generator\BetterNormal->__construct(array Array())
[16:49:59] [Server thread/DEBUG]: #2 src/pocketmine/Server(1068): pocketmine\level\Level->initLevel()
[16:49:59] [Server thread/DEBUG]: #3 BetterGen/src/Ad5001/BetterGen/Main(169): pocketmine\Server->generateLevel(string survival3, integer 7261, string Ad5001\BetterGen\generator\BetterNormal, array Array())
[16:49:59] [Server thread/DEBUG]: #4 src/pocketmine/command/PluginCommand(58): Ad5001\BetterGen\Main->onCommand(pocketmine\command\ConsoleCommandSender object, pocketmine\command\PluginCommand object, string createworld, array Array())
[16:49:59] [Server thread/DEBUG]: #5 src/pocketmine/command/SimpleCommandMap(258): pocketmine\command\PluginCommand->execute(pocketmine\command\ConsoleCommandSender object, string createworld, array Array())
[16:49:59] [Server thread/DEBUG]: #6 src/pocketmine/Server(1946): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\command\ConsoleCommandSender object, string createworld survival3 betternormal 0 {"delBio":"BetterDesert"})
[16:49:59] [Server thread/DEBUG]: #7 src/pocketmine/Server(1931): pocketmine\Server->dispatchCommand(pocketmine\command\ConsoleCommandSender object, string createworld survival3 betternormal 0 {"delBio":"BetterDesert"})
[16:49:59] [Server thread/DEBUG]: #8 src/pocketmine/Server(2492): pocketmine\Server->checkConsole()
[16:49:59] [Server thread/DEBUG]: #9 src/pocketmine/Server(2243): pocketmine\Server->tick()
[16:49:59] [Server thread/DEBUG]: #10 src/pocketmine/Server(2119): pocketmine\Server->tickProcessor()
[16:49:59] [Server thread/DEBUG]: #11 src/pocketmine/Server(1701): pocketmine\Server->start()
[16:49:59] [Server thread/DEBUG]: #12 src/pocketmine/PocketMine(305): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /share/MD0_DATA/.qpkg/Pocketmine/, string /share/MD0_DATA/.qpkg/Pocketmine/plugins/)
[16:49:59] [Server thread/DEBUG]: #13 /share/MD0_DATA/.qpkg/Pocketmine/PocketMine-MP-3.0.0-ALPHA12.phar(1): require(string phar:///share/MD0_DATA/.qpkg/Pocketmine/PocketMine-MP-3.0.0-ALPHA12.phar/src/pocketmine/PocketMine.php)

Code from file:

    /**
     * Constructs the class
     *
     * @param array $options
     */
    public function __construct(array $options = []) {
            self::$options["preset"] = $options["preset"];
            $options = (array) json_decode($options["preset"]);
            if(isset($options["delBio"])) {
                    if(is_string($options["de"])) $options["delBio"] = explode(",", $options["delBio"]);
                    if(count($options["delBio"]) !== 0) {
                            self::$options["delBio"] = $options["delBio"];
                    }
            }

If I'm reading this correctly, just some missing characters. I changed that "de" to "delBio" and the level generated correctly.

Working on 3.5.7

I managed to get the plugin to world by making the following changes mostly due to the biome class move. I hope others can enjoy this pluging.

/src/Ad5001/BetterGen/Main.php +use pocketmine\level\generator\GeneratorManager;
  •           Generator::addGenerator(BetterNormal::class, "betternormal");
    
  •           GeneratorManager::addGenerator(BetterNormal::class, "betternormal");
    
  •                                           $generator = Generator::getGenerator("betternormal");
    
  •                                           $generator = GeneratorManager::getGenerator("betternormal");
    

/src/Ad5001/BetterGen/biome/BetterDesert.php

-use pocketmine\level\generator\biome\Biome;
-use pocketmine\level\generator\normal\biome\SandyBiome;
+use pocketmine\level\biome\Biome;
+use pocketmine\level\biome\SandyBiome;

/src/Ad5001/BetterGen/biome/BetterForest.php
-use pocketmine\level\generator\biome\Biome;
-use pocketmine\level\generator\normal\biome\ForestBiome;
+use pocketmine\level\biome\Biome;
+use pocketmine\level\biome\ForestBiome;

/src/Ad5001/BetterGen/biome/BetterIcePlains.php
-use pocketmine\level\generator\biome\Biome;
-use pocketmine\level\generator\normal\biome\SnowyBiome;
+use pocketmine\level\biome\Biome;
+use pocketmine\level\biome\SnowyBiome;

/src/Ad5001/BetterGen/biome/BetterMesa.php
-use pocketmine\level\generator\normal\biome\SandyBiome;
+use pocketmine\level\biome\SandyBiome;

/src/Ad5001/BetterGen/biome/BetterMesaPlains.php
-use pocketmine\level\generator\normal\biome\SandyBiome;
+use pocketmine\level\biome\SandyBiome;

/src/Ad5001/BetterGen/biome/BetterRiver.php
-use pocketmine\level\generator\biome\Biome;
+use pocketmine\level\biome\Biome;

/src/Ad5001/BetterGen/populator/DeadbushPopulator.php
-use pocketmine\level\generator\biome\Biome;
+use pocketmine\level\biome\Biome;

/src/Ad5001/BetterGen/generator/BetterNormal.php
-use pocketmine\level\generator\biome\Biome;
+use pocketmine\level\biome\Biome;

  •   public function init(ChunkManager $level, Random $random) {
    
  •   public function init(ChunkManager $level, Random $random) :void{
    
  •   public function generateChunk($chunkX, $chunkZ) {
    
  •   public function generateChunk(int $chunkX, int $chunkZ) :void {
    
  •           $noise = Generator::getFastNoise3D($this->noiseBase, 16, 128, 16, 4, 8, 4, $chunkX * 16, 0, $chunkZ * 16);
    
  •           $noise = $this->noiseBase->getFastNoise3D(16, 128, 16, 4, 8, 4, $chunkX * 16, 0, $chunkZ * 16);
    
  •   public function populateChunk($chunkX, $chunkZ) {
    
  •   public function populateChunk(int $chunkX, int $chunkZ) :void {
    

** This is a change I am not sure if it's ok, knda patchwork.

the error was : Fatal error: Class Ad5001\BetterGen\generator\BetterBiomeSelector contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (pocketmine\level\generator\biome\BiomeSelector::lookup) in /dwarf/minecraft-svr/bettergen/plugins/BetterGen/src/Ad5001/BetterGen/generator/BetterBiomeSelector.php on line 25

/src/Ad5001/BetterGen/generator/BetterBiomeSelector.php

    public function __construct(Random $random, callable $lookup, Biome $fallback) {
            parent::__construct($random, $lookup, $fallback);
            $this->fallback = $fallback;
  •           $this->lookup = $lookup;
    
  •           $this->lookup_p = $lookup
    
  • protected function lookup(float $temperature, float $rainfall) : int{

  •    return $lookup_p($temperature, $rainfall);
    
  • }

Crashes when trying to login

I started a new test server, installed from your most recent source, created a world. I set that world to the "level" in server.properties and when I log on it gets stuck trying to load world and console says:
[06:55:28] [Asynchronous Worker #1 thread/CRITICAL]: Error: "Call to undefined m ethod Ad5001\BetterGen\populator\MineshaftPopulator::getHighestBlockAt()" (EXCEP TION) in "/BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator" a t line 90 [06:55:28] [Server thread/CRITICAL]: Could not execute asynchronous task Populat ionTask: Task crashed

Undefined property trunk height - console spamming

The console is spamming with the error below.

Notice: Undefined property: pocketmine\level\generator\object\OakTree::$trunkHeight in C:\Users\Administrator\Desktop\New fold\plugins\BetterGen-master\src\Ad5001\BetterGen\structure\FallenTree.php on line 72 Vector3(x=188,y=65,z=160) is not overwritable (106).

No Console command check on world tp.

console output from fresh install of pocketmine-mp 1.7dev build 743 (default/unmoddified pocketmine.yml) on debian stretch with latest version of BetterGen "master" branch, PurEntitiesX "3.0.0-ALPHA11" branch, and DevTools 1.12.9:

[02:24:21] [Server thread/INFO]: Loading pocketmine.yml...
[02:24:21] [Server thread/INFO]: Loading server properties...
[02:24:21] [Server thread/INFO]: Selected English (eng) as the base language
[02:24:21] [Server thread/INFO]: Starting Minecraft: PE server version v1.2.10
[02:24:21] [Server thread/WARNING]: Online mode is disabled. The server will not verify that players are authenticated to Xbox Live.
[02:24:21] [Server thread/WARNING]: While this makes it possible to connect without internet access, it also allows hackers to connect with any username they choose.
[02:24:21] [Server thread/WARNING]: To enable authentication, set "xbox-auth" to "true" in server.properties.
[02:24:21] [Server thread/INFO]: Opening server on 0.0.0.0:19132
[02:24:21] [Server thread/INFO]: This server is running PocketMine-MP version 1.7dev-743 "[REDACTED]" (API 3.0.0-ALPHA11)
[02:24:21] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
[02:24:21] [Server thread/INFO]: Loading recipes...
[02:24:21] [Server thread/INFO]: Loading resource packs...
[02:24:21] [Server thread/INFO]: Loading DevTools v1.12.9
[02:24:21] [Server thread/INFO]: Enabling DevTools v1.12.9
[02:24:21] [Server thread/INFO]: Loading source plugin BetterGen v1.1
[02:24:21] [Server thread/INFO]: Loading source plugin PureEntitiesX v0.4.0
[02:24:21] [Server thread/INFO]: [PureEntitiesX] Originally written by milk0417. Currently maintained by RevivalPMMP for PMMP 'REDACTED'.
[02:24:21] [Server thread/INFO]: [DevTools] Registered folder plugin loader
[02:24:21] [Server thread/INFO]: Enabling BetterGen v1.1
[02:24:21] [Server thread/INFO]: Enabling PureEntitiesX v0.4.0
[02:24:21] [Server thread/NOTICE]: [PureEntitiesX] Configuration loaded: [enableNBT:1] [enableSpawn:1] [enableAsyncTasks:1] [enableLookingTasks:1] [loggingEnabled:] [findPartnerDistance:49] [interactDistance:3] [teleportTamedDistance:20] [tamedFollowDistance:14] [blockOfInterestTicks:100] [checkTargetSkipTicks:5] [pickupLootTicks:10] [interactiveButtonCorrection:1] [useBlockLight:] [useSkyLight:] [emitLoveParticles:1] [xpEnabled:] [idleChance:80] [idleMin:100] [idleMax:500] [idleTimeBetween:20secs] [panicEnabled:1] [panicTicks:100] [entityMaxAge:72000]
[02:24:21] [Server thread/NOTICE]: Level "world" not found
[02:24:21] [Server thread/INFO]: Preparing level "world"
[02:24:21] [Server thread/NOTICE]: Spawn terrain for level "world" is being generated in the background
[02:24:21] [Server thread/INFO]: Starting GS4 status listener
[02:24:21] [Server thread/INFO]: Setting query port to 19132
[02:24:21] [Server thread/INFO]: Query running on 0.0.0.0:19132
[02:24:21] [Server thread/INFO]: Default game type: Creative Mode
[02:24:21] [Server thread/INFO]: Done (0.594s)! For help, type "help" or "?"
[02:24:41] [Server thread/NOTICE]: Player data not found for "skinlayers", creating new profile
[02:24:48] [Server thread/INFO]: Skinlayers[/192.168.23.106:47820] logged in with entity id 1 at (world, 256, 68, 256)
[02:24:50] [Server thread/INFO]: Skinlayers joined the game
createworld betterworld
[02:27:25] [Server thread/INFO]: [BetterGen] Generating level betterworld with generator betternormal and seed 14192..
[02:27:25] [Server thread/INFO]: Preparing level "betterworld"
[02:27:25] [Server thread/NOTICE]: Spawn terrain for level "betterworld" is being generated in the background
[02:27:56] [Server thread/INFO]: Skinlayers[/192.168.23.106:47820] logged in with entity id 8 at (world, 280.8761, 72, 255.9134)
[02:27:57] [Server thread/INFO]: Skinlayers joined the game
worldtp betterworld
[02:28:21] [Server thread/INFO]: An unknown error occurred while attempting to perform this command
[02:28:21] [Server thread/CRITICAL]: Unhandled exception executing command 'worldtp betterworld' in worldtp: Call to undefined method pocketmine\command\ConsoleCommandSender::teleport()
[02:28:21] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\command\ConsoleCommandSender::teleport()" (EXCEPTION) in "BetterGen-master/src/Ad5001/BetterGen/Main" at line 182
[02:28:21] [Server thread/DEBUG]: #0 src/pocketmine/command/PluginCommand(58): Ad5001\BetterGen\Main->onCommand(pocketmine\command\ConsoleCommandSender object, pocketmine\command\PluginCommand object, string worldtp, array Array())
[02:28:21] [Server thread/DEBUG]: #1 src/pocketmine/command/SimpleCommandMap(258): pocketmine\command\PluginCommand->execute(pocketmine\command\ConsoleCommandSender object, string worldtp, array Array())
[02:28:21] [Server thread/DEBUG]: #2 src/pocketmine/Server(1989): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\command\ConsoleCommandSender object, string worldtp betterworld)
[02:28:21] [Server thread/DEBUG]: #3 src/pocketmine/Server(1974): pocketmine\Server->dispatchCommand(pocketmine\command\ConsoleCommandSender object, string worldtp betterworld)
[02:28:21] [Server thread/DEBUG]: #4 src/pocketmine/Server(2528): pocketmine\Server->checkConsole()
[02:28:21] [Server thread/DEBUG]: #5 src/pocketmine/Server(2283): pocketmine\Server->tick()
[02:28:21] [Server thread/DEBUG]: #6 src/pocketmine/Server(2158): pocketmine\Server->tickProcessor()
[02:28:21] [Server thread/DEBUG]: #7 src/pocketmine/Server(1744): pocketmine\Server->start()
[02:28:21] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(556): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /data/, string /data/plugins/)
[02:28:21] [Server thread/DEBUG]: #9 /opt/pmmp/PocketMine-MP.phar(1): require(string phar:///opt/pmmp/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

server.properties:

#Properties Config file
#Fri Feb 16 23:42:13 UTC 2018
allow-flight=on
announce-player-achievements=on
auto-save=on
difficulty=1
enable-query=on
enable-rcon=off
force-gamemode=off
gamemode=1
generator-settings=
hardcore=off
level-name=world
level-seed=
level-type=DEFAULT
max-players=20
motd=Threshold House
pvp=on
rcon.password=XXXXXXXX
server-port=19132
spawn-animals=on
spawn-mobs=on
spawn-protection=16
view-distance=8
white-list=1
xbox-auth=off

I forgot to upload this shit so i have to redo it

	case 'temple':{
			if($sender instanceof ConsoleCommandSender) return false;
			/** @var Player $sender */
			$temple = new Temple();
			$temple->placeObject($sender->getLevel(), $sender->x, $sender->y, $sender->z, new Random(microtime()));
			return true;
		}

Poggit Orphanage Adoption

Would you give your permission for Poggit Orphanage to update and maintain this plugin in your absence?

Poggit Orphanage is an organization created to update and maintain older plugins that are commonly used within the community. Since it has been almost a year since the last commit, and there have been some requests for this plugin's addition, please consider granting the community's wishes.

Regards,
Poggit Orphanage
https://github.com/poggit-orphanage

World type?

World type in server.properties is normal or its other?

Notice: Undefined index: generation.level4.generator

Notice: Undefined index: generation.level4.generator in phar://C:/Users/Administrator/Desktop/Server/MinecraftPE/WolvesFortressCSphp7/ClearSky-PocketMine-MP_1.6.2dev.phar/src/pocketmine/scheduler/AsyncTask.php on line 142
[20:16:46] [Asynchronous Worker #2 thread/CRITICAL]: Error: "Cannot access protected property Ad5001\BetterGen\generator\BetterNormal::$options" (EXCEPTION) in "/BetterGen/src/Ad5001/BetterGen/biome/BetterDesert" at line 46
[20:16:46] [Asynchronous Worker #1 thread/CRITICAL]: Error: "Cannot access protected property Ad5001\BetterGen\generator\BetterNormal::$options" (EXCEPTION) in "/BetterGen/src/Ad5001/BetterGen/biome/BetterDesert" at line 46
[20:16:46] [Asynchronous Worker #1 thread/DEBUG]: #0 /BetterGen/src/Ad5001/BetterGen/generator/BetterNormal(148): Ad5001\BetterGen\biome\BetterDesert->__construct(boolean)
[20:16:46] [Asynchronous Worker #2 thread/DEBUG]: #0 /BetterGen/src/Ad5001/BetterGen/generator/BetterNormal(148): Ad5001\BetterGen\biome\BetterDesert->__construct(boolean)
[20:16:46] [Asynchronous Worker #1 thread/DEBUG]: #1 /src/pocketmine/level/generator/GeneratorRegisterTask(53): Ad5001\BetterGen\generator\BetterNormal->init(pocketmine\level\SimpleChunkManager object, pocketmine\utils\Random object)
[20:16:46] [Asynchronous Worker #2 thread/DEBUG]: #1 /src/pocketmine/level/generator/GeneratorRegisterTask(53): Ad5001\BetterGen\generator\BetterNormal->init(pocketmine\level\SimpleChunkManager object, pocketmine\utils\Random object)
[20:16:46] [Asynchronous Worker #2 thread/DEBUG]: #2 /src/pocketmine/scheduler/AsyncTask(80): pocketmine\level\generator\GeneratorRegisterTask->onRun(boolean)
[20:16:46] [Asynchronous Worker #1 thread/DEBUG]: #2 /src/pocketmine/scheduler/AsyncTask(80): pocketmine\level\generator\GeneratorRegisterTask->onRun(boolean)
[20:16:46] [Asynchronous Worker #2 thread/DEBUG]: #3 (): pocketmine\scheduler\AsyncTask->run(boolean)
[20:16:46] [Asynchronous Worker #1 thread/DEBUG]: #3 (): pocketmine\scheduler\AsyncTask->run(boolean)

Notice: Undefined index: generation.level4.generator in phar://C:/Users/Administrator/Desktop/Server/MinecraftPE/WolvesFortressCSphp7/ClearSky-PocketMine-MP_1.6.2dev.phar/src/pocketmine/scheduler/AsyncTask.php on line 142
[20:16:46] [Server thread/CRITICAL]: Could not execute asynchronous task GeneratorRegisterTask: Task crashed
[20:16:46] [Server thread/CRITICAL]: Could not execute asynchronous task GeneratorRegisterTask: Task crashed
zend_mm_heap corrupted
[20:16:46] [Asynchronous Worker #2 thread/CRITICAL]: Error: "Cannot access protected property Ad5001\BetterGen\generator\BetterNormal::$options" (EXCEPTION) in "/BetterGen/src/Ad5001/BetterGen/biome/BetterDesert" at line 46
bin\php\php.exe: Exit 1

worldtp error: unknown error occurred when attempting to perform this command

[06:09:18] [Server thread/CRITICAL]: Unhandled exception executing command 'worldtp fart' in worldtp: Return value of Ad5001\BetterGen\Main::onCommand() must be of the type boolean, none returned
[06:09:18] [Server thread/CRITICAL]: TypeError: "Return value of Ad5001\BetterGen\Main::onCommand() must be of the type boolean, none returned" (EXCEPTION) in "/BetterGen-master/src/Ad5001/BetterGen/Main" at line 148

Update ?

Can you update the plugin in 3.0.0-ALPHA10 ? Thanks

Parameter Redefinition error in MineschaftPopulator

Error: Redefinition of parameter $level
File: /plugins/BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator
Line: 134
Type: E_COMPILE_ERROR

THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN : BetterGen v1

Code:
[125] // First, filling everything blank.
[126] BuildingUtils::fill($this->level, new Vector3($x, $y, $z - 1 ), new Vector3($x - 4, $y + 2, $z + 1 ));
[127] // Then, making sure the floor is solid.
[128] BuildingUtils::fillCallback(new Vector3($x, $y - 1, $z - 1 ), new Vector3($x - 4, $y - 1, $z + 1 ), function ($v3, $level) {
[129]
[130] if ($level->getBlockIdAt($v3->x, $v3->y, $v3->z ) == Block::AIR)
[131] $level->setBlockIdAt($v3->x, $v3->y, $v3->z, Block::PLANK);
[132] }, $this->level);
[133] // Putting rails
[134] BuildingUtils::fillCallback(new Vector3($x, $y, $z ), new Vector3($x - 4, $y, $z ), function ($v3, $level, $level) {
[135] if ($random->nextBoundedInt(30 ) !== 0) {
[136] $level->setBlockIdAt($v3->x, $v3->y, $v3->z, Block::RAIL);
[137] $level->setBlockDataAt($v3->x, $v3->y, $v3->z, 1);
[138] }
[139] }, $this->level, $random);
[140] // After this, building the floor maintener (the wood structure)
[141] $level->setBlockIdAt($x, $y, $z - 1, Block::FENCE);
[142] $level->setBlockIdAt($x, $y, $z + 1, Block::FENCE);
[143] $level->setBlockIdAt($x, $y + 1, $z - 1, Block::FENCE);
[144] $level->setBlockIdAt($x, $y + 1, $z + 1, Block::FENCE);

Backtrace:
#0 (): pocketmine\Server->crashDump(boolean)

Tesseract version: 0000000000000000000000000000000000000000 [Protocol 107; API 3.0.1]
uname -a: Linux vps60265.vps.ovh.ca 4.2.0-18-generic #22-Ubuntu SMP Fri Nov 6 18:25:50 UTC 2015 x86_64
PHP version: 7.0.2
Zend version: 3.0.0
OS : Linux, linux

Server uptime: 27 seconds
Number of loaded worlds: 4
Players online: 1/75

Error.

[18:21:51] [Server thread/CRITICAL]: Could not save Config C:\Users\mikha\Desktop\PocketMine-MP\BetterGen\processingLoots.json: file_put_contents(C:\Users\mikha\Desktop\PocketMine-MP\BetterGen\processingLoots.json): failed to open stream: No such file or directory

Issue : Could not execute asynchronous task PopulationTask

[20:05:47] [Asynchronous Worker #2 thread/CRITICAL]: ErrorException: "file_get_contents(/root/pm02/plugins/BetterGen/resources/loots/mineshaft.json): failed to open stream: No such file or directory" (EXCEPTION) in "BetterGen-master/src/Ad5001/BetterGen/loot/LootTable" at line 71
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #0 (): pocketmine\error_handler(integer 2, string file_get_contents(/root/pm02/plugins/BetterGen/resources/loots/mineshaft.json): failed to open stream: No such file or directory, string /root/pm02/plugins/BetterGen-master/src/Ad5001/BetterGen/loot/LootTable.php, integer 71, array Array())
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #1 BetterGen-master/src/Ad5001/BetterGen/loot/LootTable(71): file_get_contents(string /root/pm02/plugins/BetterGen/resources/loots/mineshaft.json)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #2 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(173): Ad5001\BetterGen\loot\LootTable::buildLootTable(pocketmine\math\Vector3 object, integer 2, pocketmine\utils\Random object)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #3 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(332): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 321, integer 38, integer 209, integer 1, pocketmine\utils\Random object)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #4 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(135): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 323, integer 38, integer 209, integer 0, pocketmine\utils\Random object)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #5 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(135): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 317, integer 38, integer 209, integer 0, pocketmine\utils\Random object)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #6 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(345): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 312, integer 38, integer 209, integer 0, pocketmine\utils\Random object)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #7 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(335): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 310, integer 34, integer 209, integer 2, pocketmine\utils\Random object)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #8 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(329): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 310, integer 34, integer 206, integer 0, pocketmine\utils\Random object)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #9 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(176): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 307, integer 34, integer 206, integer 1, pocketmine\utils\Random object)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #10 BetterGen-master/src/Ad5001/BetterGen/populator/MineshaftPopulator(69): Ad5001\BetterGen\populator\MineshaftPopulator->generateMineshaftPart(integer 313, integer 34, integer 206, integer 1, pocketmine\utils\Random object)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #11 BetterGen-master/src/Ad5001/BetterGen/generator/BetterNormal(392): Ad5001\BetterGen\populator\MineshaftPopulator->populate(pocketmine\level\SimpleChunkManager object, integer 19, integer 13, pocketmine\utils\Random object)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #12 src/pocketmine/level/generator/PopulationTask(109): Ad5001\BetterGen\generator\BetterNormal->populateChunk(integer 19, integer 13)
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #13 src/pocketmine/scheduler/AsyncTask(67): pocketmine\level\generator\PopulationTask->onRun()
[20:05:47] [Asynchronous Worker #2 thread/DEBUG]: #14 (): pocketmine\scheduler\AsyncTask->run()
[20:05:47] [Server thread/CRITICAL]: Could not execute asynchronous task PopulationTask: Task crashed

doesnt work

i cant get the gen to work. It is same as normal pocketmine gen

Critical Error

Console spit out the following:
[07:16:40] [Asynchronous Worker #1 thread/CRITICAL]: Error: "Function name must be a string" (EXCEPTION) in "/BetterGen-master/src/Ad5001/BetterGen/generator/BetterNormal" at line 266 [07:16:40] [Server thread/CRITICAL]: Could not execute asynchronous task PopulationTask: Task crashed [07:23:42] [Asynchronous Worker #1 thread/CRITICAL]: Error: "Function name must be a string" (EXCEPTION) in "/BetterGen-master/src/Ad5001/BetterGen/generator/BetterNormal" at line 266 [07:23:42] [Server thread/CRITICAL]: Could not execute asynchronous task PopulationTask: Task crashed

This occurred when I was exploring a mineshaft. some areas failed to generate and I just saw emptiness. I realized the whole level would no longer generate so i did "/reload" still wouldn't generate and no more errors came out. After stopping the server and starting it again the level was generating as it should.

Undefined constant - plank

Getting this error when generating a world with /createworld.
[20:16:12] [Asynchronous Worker #2 thread/CRITICAL]: Error: "Undefined class constant 'pocketmine\block\Block::PLANK'" (EXCEPTION) in "/plugins/BetterGen-master/src/Ad5001/BetterGen/utils/BuildingUtils" at line 198 [20:16:12] [Asynchronous Worker #1 thread/CRITICAL]: Error: "Undefined class constant 'pocketmine\block\Block::PLANK'" (EXCEPTION) in "/plugins/BetterGen-master/src/Ad5001/BetterGen/utils/BuildingUtils" at line 198 [20:16:13] [Asynchronous Worker #2 thread/CRITICAL]: Error: "Undefined class constant 'pocketmine\block\Block::PLANK'" (EXCEPTION) in "/plugins/BetterGen-master/src/Ad5001/BetterGen/utils/BuildingUtils" at line 198 [20:16:13] [Server thread/CRITICAL]: Could not execute asynchronous task PopulationTask: Task crashed

Feature Request: Add the other features back

You should add the other features back, otherwise we will have no features left. If needed, add a config that sets __ to false by default, but the user can set it to true if they do not mind the bugs

Having an issue with the BiomeSelector

When generating a world I get the following errors:
[05:32:17] [Server thread/ERROR]: pocketmine.level.generateError [05:32:17] [Server thread/CRITICAL]: TypeError: "Argument 2 passed to pocketmine\level\generator\biome\BiomeSelector::__construct() must be an instance of pocketmine\level\generator\biome\Biome, array given, called in /home/TEST/plugins/BetterGen-master/src/Ad5001/BetterGen/generator/BetterBiomeSelector.php on line 48" (EXCEPTION) in "/src/pocketmine/level/generator/biome/BiomeSelector" at line 42

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.