Inventory issues
#11
How about we stick to 0 then. Guaranteed to fit in any numeric variable Smile
Reply
Thanks given by: jan64 , Jammet
#12
I'd still go with an unsigned byte modulo 127, just in case the client actually uses the ID for something we don't know about. Should be safest.
Reply
Thanks given by: Jammet
#13
(I'm really glad you're on to this! It's can be a show stopper.)
Reply
Thanks given by:
#14
Hm, but the modulo 127 is already there:
https://github.com/mc-server/MCServer/bl...ow.cpp#L31
Reply
Thanks given by:
#15
Ah, it's on a *signed* char, so it doesn't work as expected. I'll fix this.
Reply
Thanks given by:
#16
A fix is up for a review: https://github.com/mc-server/MCServer/pull/1883
Reply
Thanks given by:
#17
I'll download that build and unleash the players Wink. Thank you!
Reply
Thanks given by:
#18
Sad 
(04-19-2015, 05:39 AM)fichdlmaa Wrote: Network Game in Creative Mode:
- Moving Items between Inventory and chests still works, but copying items between (as well as duplicating within same storage) doesn't work anymore.
- Sometimes Items disappear or move to another position - awful!

I hope, update will follow soon. Workaround 'til then; howto temporarily downgrade client to 1.8.3? For the future: Any Idea, how to block Mojang-Updates without killing internet route ?

### Server Log - Now with MCServer Build 1.8.4 (ARM)
### Server Update didn't solve problem :-(
[13:10:31] --- Started Log ---

[13:10:31] MCServer Jenkins gcc armhf Release build id: #92
[13:10:31] from commit id: 4fca2f566f95aa3beeb18a1c5ad64756cadc98b0 built at: Fri Apr 17 16:15:16 EDT 2015
[13:10:31] Creating new server instance...
[13:10:31] Reading server config...
[13:10:31] Starting server...
[13:10:31] Compatible clients: 1.7.x, 1.8
[13:10:31] Compatible protocol versions 4, 5, 47
[13:10:32] WebServer: The server is running in unsecured HTTP mode.
[13:10:32] Put a valid HTTPS certificate in file 'webadmin/httpscert.crt' ...
[13:10:32] Loaded 391 crafting recipes
[13:10:32] Loaded 19 furnace recipes and 55 fuels
[13:10:32] -- Loading Plugins --
[13:10:32] Initialised Core v.15
[13:10:32] Initialized TransAPI v.1
[13:10:32] Initialized ChatLog v.3
[13:10:32] -- Loaded 3 Plugins --
[13:10:33] Preparing spawn (world): 5.25% (21/400; 20.90 chunks/s)
[13:10:34] Preparing spawn (world): 25.00% (100/400; 75.89 chunks/s)
[13:10:35] Preparing spawn (world): 48.00% (192/400; 91.72 chunks/s)
[13:10:36] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:10:36] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:10:36] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:10:36] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:10:36] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:10:36] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:10:36] Preparing spawn (world): 70.75% (283/400; 90.73 chunks/s)
[13:10:37] Preparing spawn (world): 99.50% (398/400; 114.43 chunks/s)
[13:10:37] Startup complete, took 6234ms!

It doesn't matter whether you use chests or redstone (= trapped?) chests.

### Client log until MineCraft Launcher is ready:
Bootstrap (v5)
Current time is Apr 25, 2015 1:20:10 PM
System.getProperty('os.name') == 'Linux'
System.getProperty('os.version') == '3.2.0-4-amd64'
System.getProperty('os.arch') == 'amd64'
System.getProperty('java.version') == '1.7.0_75'
System.getProperty('java.vendor') == 'Oracle Corporation'
System.getProperty('sun.arch.data.model') == '64'

Looking for update
Downloading: https://s3.amazonaws.com/Minecraft.Downl....pack.lzma
Got reply in: 938ms
No update found.
...
Starting launcher.
[13:20:18 INFO]: Minecraft Launcher 1.6.11 (through bootstrap 5) started on linux...
[13:20:18 INFO]: Current time is Apr 25, 2015 1:20:18 PM
[13:20:18 INFO]: System.getProperty('os.name') == 'Linux'
[13:20:18 INFO]: System.getProperty('os.version') == '3.2.0-4-amd64'
[13:20:18 INFO]: System.getProperty('os.arch') == 'amd64'
[13:20:18 INFO]: System.getProperty('java.version') == '1.7.0_75'
[13:20:18 INFO]: System.getProperty('java.vendor') == 'Oracle Corporation'
[13:20:18 INFO]: System.getProperty('sun.arch.data.model') == '64'
[13:20:18 INFO]: proxy == DIRECT
[13:20:19 INFO]: Refreshing local version list...
[13:20:19 INFO]: Refreshing remote version list...
[13:20:20 INFO]: Refresh complete.
[13:20:21 INFO]: Loaded 3 profile(s); selected 'FichdlMaa'
[13:20:21 INFO]: Refreshing auth...
[13:20:21 INFO]: Logging in with access token
allright as usual...

### Server-Log after connecting a client ...
[13:20:09] User FichdlMaa authenticated with UUID 04b153094b8341ffa16f2917d299eb97
[13:20:09] Player FichdlMaa has joined the game
[13:20:09] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:20:09] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:20:09] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:20:09] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:20:09] Block entity type mismatch: exp "Chest", got "TrappedChest".
[13:20:09] Block entity type mismatch: exp "Chest", got "TrappedChest".

### ... and try to interact with a chest:
[13:22:35] Unhandled window click mode / button combination: 770 (0x302)
[13:22:35] *** Window lost sync at item 0 in SlotArea with 27 items ***
[13:22:35] My item: oaklog:0 * 64
[13:22:35] Their item: -1:0:0 * 0
[13:22:35] SlotArea: Unhandled click action: 255 (caUnknown)
[13:22:38] Unhandled window click mode / button combination: 770 (0x302)
[13:22:38] *** Window lost sync at item 1 in SlotArea with 27 items ***
[13:22:38] My item: coal:0 * 64
[13:22:38] Their item: -1:0:0 * 0
[13:22:38] SlotArea: Unhandled click action: 255 (caUnknown)
[13:22:41] Unhandled window click mode / button combination: 770 (0x302)
[13:22:41] *** Window lost sync at item 2 in SlotArea with 27 items ***
[13:22:41] My item: redstonedust:0 * 64
[13:22:41] Their item: -1:0:0 * 0
[13:22:41] SlotArea: Unhandled click action: 255 (caUnknown)
[13:22:53] Unhandled window click mode / button combination: 770 (0x302)
[13:22:53] *** Window lost sync at item 0 in SlotArea with 27 items ***
[13:22:53] My item: oaklog:0 * 64
[13:22:53] Their item: -1:0:0 * 0
[13:22:53] SlotArea: Unhandled click action: 255 (caUnknown)
[13:23:11] Unhandled window click mode / button combination: 770 (0x302)
[13:23:11] *** Window lost sync at item 1 in SlotArea with 27 items ***
[13:23:11] My item: coal:0 * 32
[13:23:11] Their item: -1:0:0 * 0
[13:23:11] SlotArea: Unhandled click action: 255 (caUnknown)

I've "killed" a redstone chest, bulit a new and tried to copy items from inventory to it (okal, coal, redstone).
Moving items - complete amount as well as e.g. half amount works fine.
Copying doesn't work. Item disapperas in target slot, no matter which copy direction.

I hope, the above logs will help to manage the issue(s).

Perhaps the used world is irreparably damaged???

Greetings

The FichdlMaa
Reply
Thanks given by:
#19
The log says it all - "unhandled window click mode / button combination: 0x302". That means that whatever you're doing to "copy" the items, it's not implemented in the server yet.

Looking at the protocol specification ( http://wiki.vg/Protocol#Click_Window ), 0x302 is the middle button click. What is that supposed to do?
Reply
Thanks given by:
#20
(04-25-2015, 09:50 PM)xoft Wrote: The log says it all - "unhandled window click mode / button combination: 0x302". That means that whatever you're doing to "copy" the items, it's not implemented in the server yet.

Looking at the protocol specification ( http://wiki.vg/Protocol#Click_Window ), 0x302 is the middle button click. What is that supposed to do?

Hello xsoft, mny tnx for quick reply

1.) ??? Yes.
* Middle MB is for fast copying/duplicating complete slot to another slot.
* Right MB for copying/moving half amount of slot.
* Left MB is for moving whole slot.
That's the regular mouse button binding in original Mojang MC
(already at least since 1.7.x). Didn't you know ???

I remember, it worked in MCServer 1.8.3 with Mojang Client 1.8.3, too.
Or - did we dream? Hetzloser and me?

2) and what about the chest error message *before* starting the client?
Any idea?

Greetings
FM
Reply
Thanks given by:




Users browsing this thread: 10 Guest(s)