Creative gamemode improving kay's attempt of properly replicating mc #1995
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
feature request
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#1995
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've seen the pr of @kay27 (#1946) and had some ideas about properly implementing this kind of behaviour into mineclone
Let's take a look at what's required and/or convenient
For properly integrating minetest behaviour, mc creative simulation should be dependent on at least fly and fast. Two alternative methods could be implemented
Second solution is my favourite, personally
Integration with minetest own's creative behaviour
Possible choices:
Inventory management
As you know, mc just wants one block for you to place blocks indefinitely and yadda yadda yadda
Kay's creative mode doesn't work like this, once you place that block, doesn't matter which mode are you in, it's lost, full stop.
I thought about a solution for solving it, the server could just reply "nay you didn't place that block you fool" while actually considering it as placed
But, this means that upon lag client behaviour would stop you from setting blocks, which would be fairly annoying from my point of view. So I thought about this a bit crappy solution
Alternatively, please suggest a way of integrating the pros of minetest creative mode
Seems noone is willing to brainstorm a bit on this
Sorry i suppose people are busy with other things right now. I don't think we should do this before release in any case.
But yeah this has been planned for a long time: MineClone2/MineClone2#132
I don't think the "loosing" of the blocks is an acutaly problem though.
consider this simple mod:
this would result in no blocks ever being removed from players inventories upon placing. You'd have to check for privileges of course instead of unconditionally returning true. I do not think this has a lot to do with lag. The client prediction might run out of blocks but as soon as it gets an inventory update from the server they would be restored.
Cora I need you in private
yes, goddess
i am still at work though. 2-3 hours i guess
If you are on a survival server and then disconnect your wifi/ethernet cable, you can place as many blocks as you want until your client timeout or you reconnect. 🤔
yes but your inv will be restored upon reconnection
@kay27 do you by any chance have a few simple commits in mcl5 that would get it to current mcl5-state (it's not perfect but you can live-switch to creative which would be a huge + i suppose).
I've made a branch from kays old PR just removed the unrelated mcl_anticheat from it. It works (just needs restart).
https://git.minetest.land/MineClone2/MineClone2/src/branch/creative_gamemode
Yes, please check two first from 3 resulted:
7c5554a0f6
(crash fixed here)ae63e32048
(here is also a chunksize change, it's better not to do it for mcl2 right now, i suppose)By the way, I think,
fast
priv is currently very bad for servers. Map generates slowly. Several players with fast priv cause significant freezes. I think we should better ban everybody who attempts to usefast
if they aren't a developer doing it for a reasonAlso,
noclip
probably should be used for spectator game mode, right?