Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems crafting with desktop GUI #45

Closed
admsteck opened this issue Oct 22, 2016 · 22 comments
Closed

Problems crafting with desktop GUI #45

admsteck opened this issue Oct 22, 2016 · 22 comments
Assignees
Labels
Category: Client Related to Mojang client (usually client-caused bugs) Category: Gameplay Related to Minecraft gameplay experience Resolution: Fixed

Comments

@admsteck
Copy link

Using the Windows 10 Edition beta, I am unable to craft anything. Server consolet shows:
Notice: Undefined offset: 0 in /opt/pocketmine-src/src/pocketmine/Player.php on line 2598
It also appears to throw the last selected item in front of the player when closing the crafting screen.

The same server works correctly with Win10 Mobile version of minecraft PE.

Steps to reproduce the issue

When running Win10 beta, chop down a block of wood and try to craft planks. It appears to work, but when you close the crafting window, the planks disappear out of inventory and the wood reappears. Server console shows the message mentioned above.

OS and versions

  • PHP: PHP7
  • Server OS: Ubuntu 16.04.1 LTS
    Game/PocketMine versions: Tried with PocketMine master branch(e7e476b) and Minecraft Win10 beta 15.10 and PocketMine 0.16 branch (1680fee) with Win10 beta v0.16.0
@dktapps
Copy link
Member

dktapps commented Oct 22, 2016

Yes, this is a well-known issue.

@admsteck
Copy link
Author

Ok, I didn't see it mentioned anywhere so I thought I would log it.

@dktapps dktapps added Category: Client (W10) Category: Gameplay Related to Minecraft gameplay experience Status: Debugged Cause of the bug has been found, but not fixed labels Oct 22, 2016
@tarik02
Copy link
Contributor

tarik02 commented Nov 9, 2016

@dktapps, I can help you with this, I can port new inventory transactions from Genisys.

@dktapps
Copy link
Member

dktapps commented Nov 9, 2016

The next person who talks about porting things from Genisys is going to get a smack. This project does not exist to copy from the ugly mess that is Genisys.

@tarik02
Copy link
Contributor

tarik02 commented Nov 9, 2016

@dktapps, ok!

@dktapps
Copy link
Member

dktapps commented Nov 22, 2016

This MAY be properly fixable in an upcoming update with shoghicp's work on vanilla transactions. Let's hope...

@IISweePII
Copy link

Hmm, never noticed that before

@archie426
Copy link

Just saying, this is in the spoon that LBSG uses. Seems like this hasn't been fixed there either

@Rover656
Copy link

How long till a fix?

@dktapps
Copy link
Member

dktapps commented Dec 21, 2016

We don't set a specific release date for bugfixes. Don't waste your time or ours asking for ETAs.

@Rover656
Copy link

@dktapps fair enough, sorry

@dktapps
Copy link
Member

dktapps commented Dec 22, 2016

As a way to work around this problem, you can switch W10 Edition to Pocket GUI mode.

Game settings -> Video -> Show Advanced Video Settings ->UI Profile -> Select "Pocket"

This is obviously not a fix, it's simply a workaround until we get around to tackling the problem. (Waiting for shoghicp to finish his work with vanilla inventory transactions.)

@Rover656
Copy link

@dktapps thank you for the solution!!! You're the best!

@dktapps
Copy link
Member

dktapps commented Jul 9, 2017

This issue should be solved in the upcoming MCPE 1.2 update. (It's taken quite some time)

@dktapps dktapps marked this as a duplicate of #1199 Jul 15, 2017
@totor29
Copy link

totor29 commented Aug 5, 2017

same issue i suppose

017-08-05 [00:24:22] �[Server thread/CRITICAL]: ErrorException: "Undefined offset: 0" (EXCEPTION) in "src/pocketmine/Player" at line 2887�

@dktapps dktapps self-assigned this Aug 11, 2017
@stormchaser3000
Copy link

i am sorry if i am stating the obvious or already known but now the android client has this issue to because the inventory was changed to be slightly more like windows 10 and xbox one for 1.2. and because of this it is now impossible to craft anything on 1.2 servers using pmmp on any device when using minecraft 1.2

@teracube
Copy link

@stormchaser3000
i confirm it's impossible to craft for a player op or non op using PMMP 1.2.
tested with PocketMine-MP_1.7dev-71_6e961ae8_API-3.0.0-ALPHA8.phar

@dktapps
Copy link
Member

dktapps commented Sep 24, 2017

Thanks, we are indeed already aware of the problem. Work is currently in progress to reimplement crafting and to resolve this issue. Please be patient, and as always don't ask for ETAs. :)

@dktapps dktapps added Category: Client Related to Mojang client (usually client-caused bugs) Resolution: Fixed and removed Category: Client (W10) Status: Debugged Cause of the bug has been found, but not fixed labels Sep 24, 2017
@stormchaser3000
Copy link

stormchaser3000 commented Sep 24, 2017

i just tested the latest phar and crafting is still not fixed

http://paste.ubuntu.com/25608800/

@teracube
Copy link

teracube commented Sep 24, 2017

i tested the latest phar PocketMineMP_1.7dev-75_38ec5da2_API-3.0.0-ALPHA8.phar
i can craft on mcpe windows 10 but 3 errors appears (see attach file)

errors.txt

update =) errors2.txt
errors 2.txt

RuntimeException: "Index invalid or out of range" (EXCEPTION) in "src/pocketmine/inventory/BaseInventory" at line 95�

@dktapps
Copy link
Member

dktapps commented Sep 24, 2017

there are problems with recipe-book crafting which I'm already aware of and working on.

@tribulant
Copy link

I installed PocketMine on one of my servers and connected to it using Minecraft PE and this issue still exists. Inventory items get uncrafted.

@ghost ghost mentioned this issue Jul 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Client Related to Mojang client (usually client-caused bugs) Category: Gameplay Related to Minecraft gameplay experience Resolution: Fixed
Projects
None yet
Development

No branches or pull requests

10 participants