Git Product home page Git Product logo

pocketmine-mp's Introduction

PocketMine-MP Legacy repository

This repository is no longer maintained and is kept for historical purposes only. Active development on PocketMine-MP can now be found here.

pocketmine-mp's People

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  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  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  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

pocketmine-mp's Issues

after Update.cmd ran successfully fatal error on start.cmd

After running update.cmd and letting the newest version pull down when you subsequently run start.cmd the following error is displayed:

Fatal error: Cannot redeclare class TreeObject in C:\temp\mcpe\src\misc\world\generator\ob
ject\tree\TreeObject.php on line 29

Warning: fopen(C:\temp\mcpe\src\common/../../logs/console.in): failed to open stream: No s
uch file or directory in C:\temp\mcpe\src\common\input.php on line 28

These folders and files do exist. Only way i've been able to fix is to delete all the files and rerun the exe installer, let it pull down the newest files and continue on. This happened prior to 1.01 and now again with 1.0.2.

Time commands don't work.

Time Day/ Night/ Sunrise/ Sunset do not work.

Probably related to Issue #64

Server Time doesn't seem to be getting sent to clients.

Just updated and its dead

I have just updated the server but when I load it, the white screen is gone but a black ones there and it flashed on for a second then goes.

the error is...

[16-Jan-2013 21:30:42 UTC] PHP Fatal error: Cannot redeclare class Async in C:\Program Files\PocketMineMP\src\classes\Async.php on line 71

i dont understand as it worked before i updated but not now

plz help

Main TODO Issue to Alpha_1.0.6

Things To Do for Alpha_1.0.6

  • Correct blocks with metadata drop
  • Placing blocks where an Entity is #39
  • Doble Doors #53
  • Chat API #51
  • Optional online players broadcast #48
  • Event repetition loop #24
  • More API events #37
  • Player Disconnect memory leak #45 #55
  • Unfreed handlers and events responses memory leak
  • Unfreed actions memory leak
  • Linux Compile script without root
  • Correct entity despawning
  • Fall Damage fix
  • UPnP Port Forwarding
  • Console parameters
  • Error dump on server crash
  • Added Iron Doors

ansicon: cannot find file

I updated, and the server crashed with a line error Async.php on line 71 (end of file).

So I renamed the server directory, then pulled the stable release from http://shoghicp.github.com/PocketMine-MP/ and installed fresh into a new directory. Once installed, (windows installer) I get:

ANSICON: php: The system cannot find the file specified

when digging around, I found this in start.exe

) else ( if exist bin\ansicon.exe ( bin\ansicon.exe php -d enable_dl=On PocketMine-MP.php --enable-ansi ) else ( php -d enable_dl=On PocketMine-MP.php ) )

So I verified the path, and it is there. Anything I am missing?

Chat

When you type in the chat, sometimes it appears twice on the iDevices

placing items in a chest glitch.

This is in survival mode

When placing items into chest inventory they go into the inventory. This is until you close out of the chest inventory, and then they are shown on the outside of the chest in the world. After a while of testing they weren't even showing up on the outside of the chest. Multiple item placements into the chest just places the first item outside. The rest of the items are lost.

This isn't quite stated as an operational function. I noticed that some functionality was enabled though and wanted to see.

Done with survival mode for today, have to do all of the repairs to our map now. :D

Async redeclare

after update.exe ran on working server

Fatal error: Cannot redeclare class Async in C:\securelocation\PocketMine-MP\src\cl asses\Async.php on line 71

dumping Alpha_1.0.6.zip over directory takes back to stable version and it works.

Time Zone PHP issue

Warning: date(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /Users/Family/Downloads/Pocket-Minecraft-PHP-master-2/common/functions.php on line 115

comes up on my terminal prompt whenever I attempt to enter a command through input.php

Item Interaction

What has to be added (at least in survival) is the use item feature. You can't use the hoe or eggs/arrows.
You probably already know this, but it would be fun, once it is done. (Like hoeing makes goldblock or other stuff ^^)

Survival Mode

When in a survival world, you cannot open chests, furnaces etc. and you cannot die such as no drowning and unlimited health!!

Auto Online

Is there a way of stoping the Online: command activating every few minuets as it can be anoying when building on the offline server.

weather theres a setting or code to be deleted i will try as i dont like it

Login.. on 0.5.1

I'm a bit worried that anyone can find out my username and act as if that was me... I had experienced these ALOT and i could not even do anything.
On 0.5.1, there will be signs.
and... with the signs, you can type things... like passwords!
So, when i first join a server, i have to make a password.
After that, I can login with my password with a sign!

Debian Install Script autoconf dependency

When using the install script on a stock installation (like Ubuntu) it failed to install autoconf.

This can be solved running apt-get install autoconf as root before using the install script.

The next version of the script will include this fix

Thanks @sekjun9878!

Things To Do for Alpha_1.1

0.6.0 special update

  • Placing Signs #42
  • New types of blocks
  • Armor
  • New placement rules for stairs
  • New placement rules for slabs

Miscellaneous

  • Tall grass and flower growth using bonemeal
  • Multiple Config Formats class
  • ANSI Color Codes support
  • Ban API
  • Lava and water flow generates cobble, stone and obsidian
  • Water now generates source blocks
  • Eating

Tile Entities

  • Tile Entity saving
  • Signs

Entities

  • Entity Gravity #32
  • Entity Saving
  • Entity Metadata
  • Item Despawn
  • Death Messages
  • Drowing
  • Lava
  • Cactus damage
  • Fire damage (block)
  • Burning
  • Suffocation
  • Void damage

Chunk enhancement #16

  • Chunks get corrupted #66 (minor issue, check the info)

Anti-cheat

  • Inventory check

Simple Inventory Support #34

  • Checking place
  • Partial Saving (only picked blocks)

Fixed Issues

  • Correct time sending #64 #65
  • #62 Division by zero
  • Correct lateral slab placement
  • Fixed When placing a block in a slab, it becomes a double one (only stone)
  • Generated trees now look more normal
  • Entities not being deleted
  • Item restoration duplication
  • Health regeneration during death

Normal Map generator

Is there a way of changing it to a normal load instead of flat. i looked in the src folder and there seems to be evedence of it but i dont know how to change

i see the files:

  • NormalGenerator.class.php

-SuperflatGenerator.class.php

in the classes folder so somewhere there should be a way of switching... can i just swap there names will that work or is there an easyer way...

Map Chunks are inverted

When the player loads sent chunks, these will be inverted (all the map is rotated 180 degrees).

This can be seen in doors and stairs, that appear rotated.

Online Server

is it possable to run this php server software online instead of having only the ability to join from your own network. Would running it from a website work to

If this is possable could someone make a tutorial for it as im stuck and dont want to look else where for someone elses software that can do it

Things To Do for Beta (Survival Update)

Things To Do for Survival Update (Beta)

  • Nether Reactor
  • Complete API documentation #50
  • Inventory Management #34
  • Signs #42
  • Tile Entities
  • Crafting
  • Falling Damage
  • Smelting
  • Environment damage
  • Placing Paintings #28
  • Normal Map Generator #35
  • Entity Moving #32
  • Check for Correct block placement #40
  • Grow Block Updates
  • Correct chunk sending #16
  • Better player movement (jerking)
  • Individual block properties
  • Ban API
  • Multiworld Support
  • Portals
  • Explosions
  • Mob spawning
  • Entity saving
  • Snowballs, arrows
  • Eating

server crash on die (kill)

02:02:41 [INFO] Issued server command: /kill TREEKILLER30
02:02:56 [CHAT] TREEKILLER30 was killed

Fatal error: Call to a member function setHealth() on a non-object in C:\secure_directory\PocketMine-MP\src\API\PlayerAPI.php on line 48
02:02:56 [CHAT] Stopping server...
02:02:58 [INFO] Saving entities...
02:02:58 [INFO] Session with 192.168.1.127:55361 Client ID -1851286686 closed due to stop
02:02:58 [ERROR] [Socket] Socket closed, Error 125: The disk has no volume label.

need to tell to respawn before health regen? is same results on die or kill

if I need to just comment on the old thread, just let me know, and i'll keep that in mind when doing the tests.

Div by zero

With a zero-length "description" in server.properties, the server continuously says "Warning: Division by zero in .../src/classes/PocketMinecraftServer.php on line 431" whenever a client is on the 'join game' screen.

water soaks up

Server set to survival mode

Water soaks up even if confined to one block.

Still quite an upgrade from old water reaction on flat land.

Client Side Block Detection

If on a client someone destroys a block, they can walk into the destroyed block. On another client looking at the first one they appear to be in the block, even if it is still solid to them.

Being able to place blocks in your self

When playing(building a roof or making a land flat by placing blocks), you are able to place blocks inside the space you are standing. This bug seems to be in the collision detection part of the program and should be fixed.

Memory Leaks

There are Huge memory leaks when a player disconnects, loads chunks, and more

We need more API!

Shogicp, Can we have an event that triggers when a new players join the server? like player.join or something. I need this for my @#$%^&&^%$#$%^ plugin.

Thanks.

fatal error, Memory

per the error dump

PocketMine-MP Error Dump Thu Jan 10 01:37:48 CET 2013

Error: array (
'type' => 1,
'message' => 'Allowed memory size of 536870912 bytes exhausted (tried to allocate 65488 bytes)',
'file' => 'C:\SECURE FILE\PocketMine-MP\src\classes\PocketMinecraftServer.class.php',
'line' => 218,
)

PM Version: Alpha_1.0.5 #517 [Protocol 5]
uname -a: Windows NT ST0LL3N 6.1 build 7601 (Windows 7 Home Premium Edition Service Pack 1) i586
PHP Version: 5.4.7
Zend version: 2.4.0
OS : WINNT, win
Debug Info: array (
'tps' => 20.4871,
'memory_usage' => '512MB',
'memory_peak_usage' => '512MB',
'entities' => 0,
'events' => 8,
'actions' => 9,
'garbage' => 0,
)

Parameters: array (
'input' =>
array (
),
'commands' =>
array (
),
'flags' =>
array (
),
)

server.properties: array (
'server-name' => 'ST0LL3N minecraft PE server',
'description' => 'Hosted by st0ll3n.com',
'motd' => 'Welcome @username!',
'invisible' => false,
'port' => 19132,
'memory-limit' => '512M',
'last-update' => 1357777885,
'white-list' => false,
'debug' => 1,
'max-players' => 5,
'server-type' => 'normal',
'time-per-second' => 20,
'gamemode' => 1,
'difficulty' => 1,
'generator-settings' => '1',
'seed' => '0',
'level-name' => 'j1',
'server-id' => '-not relevant',
'update-channel' => 'stable',
'upnp-forwarding' => false,
)

Loaded Modules: array (
0 => 'Core',
1 => 'bcmath',
2 => 'calendar',
3 => 'ctype',
4 => 'date',
5 => 'ereg',
6 => 'filter',
7 => 'ftp',
8 => 'hash',
9 => 'iconv',
10 => 'json',
11 => 'mcrypt',
12 => 'SPL',
13 => 'odbc',
14 => 'pcre',
15 => 'Reflection',
16 => 'session',
17 => 'standard',
18 => 'mysqlnd',
19 => 'tokenizer',
20 => 'zip',
21 => 'zlib',
22 => 'libxml',
23 => 'dom',
24 => 'PDO',
25 => 'bz2',
26 => 'SimpleXML',
27 => 'wddx',
28 => 'xml',
29 => 'xmlreader',
30 => 'xmlwriter',
31 => 'pthreads',
32 => 'Phar',
33 => 'curl',
34 => 'mbstring',
35 => 'exif',
36 => 'gd',
37 => 'gettext',
38 => 'mysql',
39 => 'mysqli',
40 => 'pdo_mysql',
41 => 'pdo_sqlite',
42 => 'soap',
43 => 'sockets',
44 => 'sqlite3',
45 => 'xmlrpc',
46 => 'xsl',
47 => 'mhash',
)

blocks keep dropping

The server set to survival mode

Inventory drop(block dropped by the mining of the "fetch able" block) keeps visually dropping over and over. Until user enters the space the block was mined from. Even if inventory item was fetched from a block space below it (even one block)

Upon further investigation, this appears to be the case on inventory items that land in their originally mined space. It isn't as apparent though, as the item only glitches a bit on the cycle of the animation.

This is true on several block types, so it isn't just a specific items problem.

If I seem to be jumping the gun on reporting glitches on the survival mode please poke me in the side. I can wait until you are ready, I just saw the updates and wanted to try em, and give a little input if I can... mind you, I am only troubleshooting on items that are implemented.

compile_php.sh using windows line break.

chmod: cannot access `./compile_php.sh\r': No such file or directory

That /r looks like a windows like break to me.
Seems like the installer has been edited using windows notepad therefore using windows line breaks?

Should be able to be fixed in a few seconds.

Add Signs [Signs: You can, We cant! ]

Hi, in part of you website with the screenshots in, you have a pic with a written sign where as we cant write on the sign so what i am asking.

Could you please tell us how you did it as i would love to do this at my spawn

Website Compatable

I have a little bit of knowledge about making websites but my question is...

Could you run this off a web server if you had enough bandwith and the ip for the server

can the files be edited so you could have a page to change server side settings. i would love this as i cant port forward as i dont have access to the router (perents own it) and would like to have my own server.

i can get 10gb space and 100gb bandwith with an ip and php settings so i will test it if you want, if its indeed possable

thanks for the answer in advance
Epicness2

server crash on playerapi.php error on line 47

from command line

QUOTE
01:17:04 [CHAT] FAKEUSERNAME was killed
Fatal error: Call to a member function fetchArray() on a non-object in C:\secure_location\PocketMine-MP\src\API\PlayerAPI.php on line 47
01:17:06 [CHAT] Stopping server...
01:17:08 [INFO] Saving entities...
01:17:08 [INFO] Session with 192.168.1.108:36838 Client ID -1894352554 closed due to stop
01:17:08 [ERROR] [Socket] Socket closed, Error 125: The disk has no volume label.
END QUOTE

this was due to the client blocks not being quite all loaded and the user roaming around. This is a client conflict with the server. But the users' death should at very most boot the client from the server, Instead of causing a server crash. Another note was that this was when in servival mode doing demo of changes!

The connection that was closed after the server stopped, was not the client that caused the crash, that was another user.

this was on current server as of 4:30pm pacific 1/5/2013

Props on all of the good work. any special requests of me are welcome.

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.