Random Chitchat 2012-2016
(09-26-2014, 06:53 AM)xoft Wrote: Oh, I though a "glaring error" was a common phrase, wasn't it? And doesn't it work with "problem" as well? What would you have used instead?

My jokes are lost on you...

Or perhaps I'm a terrible comedian.
Thanks given by:
I updated to the current master and now the server crashes on startup Sad

gdb.txt: http://pastebin.com/tjEjpGhQ
Executable: http://www.file-upload.net/download-9583...debug.html

Maybe a_Chunk->GetRedstoneSimulatorData() returns NULL ?
Thanks given by:
@Howaner even worse, it was returning a pointer to object cRedstoneSimulatorData, but then the caller cast the it into a cIncrementalRedstoneSimulatorData * and used that, so it was using a part of cChunk's internal data as a completely different object. @worktycho seems to have fixed it.
Thanks given by:
I found the 1.8 chunk problem. (Display wrong chunks if the chunk isn't loaded?)

It's the SendBlockChanges() packet.
It sends block changes to this chunk without this chunk is loaded.
Older clients ignored this.

Also I added a debug message ("Baum") if the server send a Leave Block change. (With the Multi Block Change packet)
The result is bad:
[spoiler]
Quote:[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM

[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:47] BAUM
[7f00e405a700|23:39:48] BAUM
[7f00e405a700|23:39:48] BAUM
[7f00e405a700|23:39:48] BAUM
[7f00e405a700|23:39:48] BAUM
[7f00e405a700|23:39:48] BAUM
[7f00e405a700|23:39:48] BAUM
[7f00e405a700|23:39:48] BAUM
....
[/spoiler]
Thanks given by:
I found this thing: http://dev.bukkit.org/bukkit-plugins/wor...isualizer/
Basically, it's WECUI for non-modded clients, it displays the selection using particle effects. I think this could be done in MCS as well - if the WorldEdit plugin detects that no WECUI is running, it could emulate using this technique.
[Image: C06iSzA.jpg]
[Image: FQFdU7O.jpg]
Thanks given by:
It should be possible. But then the question is: Do we want to put it in the WorldEdit plugin or should we separate it?
Thanks given by:
Is is possibil to make this a-sync, that only the player using world edit can see the effect?
Thanks given by:
@STR_Warrior: I don't think it would be possible to separate this from the WorldEdit plugin at this moment, since WE is *the* plugin taking care of WECUI communication and selection bookkeeping.

@LO1ZB: It makes sense that only the one player making the selection actually sees it. Each player can have a different selection, so each one would see theirs.

Unfortunately from what I can see in the comments for the plugin, it causes quite a lot of lag for people, so it might not be the best solution. Or perhaps it needs some kind of limiting.
Thanks given by:
Yea, that's probably a big problem. That many particles will cause lagg.
Thanks given by:
It needn't cause a server-side lag, though, it might only cause slow clients to choke on it, which they could prevent by not making too large selections in the first place.
Thanks given by:




Users browsing this thread: 13 Guest(s)