Comments (9)
I don't see where this project provides a "view distance api" your talking about.
So i don't see how this project can fix something that is not even provided?
from pandaspigot.
I don't see where this project provides a "view distance api" your talking about.
So i don't see how this project can fix something that is not even provided?
Don't you have viewDistance in EntityPlayer?
public int viewDistance; // PaperSpigot - Player view distance API
from pandaspigot.
with this simple plugin,
public final class Testplugin extends JavaPlugin {
@Override
public void onEnable() {
getCommand("test").setExecutor(this);
// Plugin startup logic
}
@Override
public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
if(sender instanceof Player) {
Player player = (Player) sender;
player.spigot().setViewDistance(Integer.parseInt(args[0]));
}
return false;
}
}
after trying server/client to view-distance to 10 and tried 3 to 6 to 10 to 4
also random to 32 chunks then client to 32 and then back to 10 view-distance server
it kind of unloaded slow client side server was fast
but haven't found any "ghost" chunks
even with a second client breaking block outside the other 3 viewdistance client I haven't observed your behavior
from pandaspigot.
with this simple plugin,
public final class Testplugin extends JavaPlugin { @Override public void onEnable() { getCommand("test").setExecutor(this); // Plugin startup logic } @Override public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { if(sender instanceof Player) { Player player = (Player) sender; player.spigot().setViewDistance(Integer.parseInt(args[0])); } return false; } }after trying server/client to view-distance to 10 and tried 3 to 6 to 10 to 4
also random to 32 chunks then client to 32 and then back to 10 view-distance server it kind of unloaded slow client side server was fast
but haven't found any "ghost" chunks
even with a second client breaking block outside the other 3 viewdistance client I haven't observed your behavior
Try sending block change packet outside of view distance.
- Have client-side render of 10.
- Have server-side view distance to 6.
- Have player's view distance to 4.
- When you receive block change packet from outside of player's view distance and run away this chunk, when you go back to it it will have ghost blocks. You can repeat that to have even more ghost blocks.
from pandaspigot.
Or I do something wrong with your steps.
Or I don't get the same result then you.
video of the steps I did: https://www.youtube.com/watch?v=ice5FMWJ7Ug
also tried it by flying away even further same as video above with the changing chunks just outside the player view distance but not outside the client distance
from pandaspigot.
You are placing blocks normally not sending block change packets manually, also it has to be done pretty much at the same time. That's how I was bugging it.
from pandaspigot.
You are placing blocks normally not sending block change packets manually, also it has to be done pretty much at the same time. That's how I was bugging it.
If it was a floating block with a empty chunk and the block was the block that was touched by the packet then I found it and I also believe I found a solution for it that got patched in paper 1.12
~~ https://github.com/mechoriet/PandaSpigot/tree/pr/PacketPlayOutBlockChange-void-chunks ~~
Looks like this fixes that no floating block or empty void chunks on the edges of the view-distance
from pandaspigot.
I don't understand, but if this is the fix that's not it. https://github.com/mechoriet/PandaSpigot/blob/pr/PacketPlayOutBlockChange-void-chunks/patches/server/0064-Fix-block-break-desync.patch
from pandaspigot.
Bump
from pandaspigot.
Related Issues (20)
- I receive damage from the sword even though there's nothing in my hand. HOT 6
- RCON doesn't work
- Tool break sound/animation HOT 1
- Stop-Sprint feature pls🥺 HOT 4
- Server Crashed HOT 2
- error max length HOT 15
- Stricter client sign limits patch does not fix crash HOT 5
- PandaSpigot break reflection or smth HOT 1
- how 2 compile HOT 2
- [Feature] Add a parameter in "./panda jar" to compile without reapplying patches HOT 1
- PandaSpigot terminal is broken/weird/incorrect HOT 1
- /plugins disconnects the player who ran the command if too many plugins are installed HOT 7
- 0073-Optimize-light-level-comparisons.patch breaks my private plugin
- [Suggestion] disable logs and .console_history HOT 1
- java.lang.IndexOutOfBoundsException when clicking on a slot in an inventory of type ANVIL created via Bukkit.createInventory()
- Crash every so often: Exception ticking world entities HOT 5
- Fix Unix Domain Sockets
- Clicking in the custom anvil doesn't work
- crash
- the ender dragon bug HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandaspigot.