Search found 214 matches

by randomproof
Sat Nov 26, 2011 07:05
Forum: Feature Discussion
Topic: Chunk loading improvement
Replies: 5
Views: 2241

I should say that I edited socket.cpp to compress individual packets. It might be possible to compress and decompress higher up in the code and compress large clumps of map data. Here is my code. Look for COMPRESS_NETWORK to find changes. /* Minetest-c55 Copyright (C) 2010 celeron55, Perttu Ahola <c...
by randomproof
Sat Nov 26, 2011 07:01
Forum: Feature Discussion
Topic: Chunk loading improvement
Replies: 5
Views: 2241

I did a little testing and it seems that there is a problems with this idea. Using the compression code from http://www.firstobject.com/easy-zlib-c++-xml-compression.htm (it is a wrapper around zlib 1.2.3) I was able to quickly setup a test. Using this really slowed down the server. The main reason ...
by randomproof
Fri Nov 25, 2011 03:31
Forum: Feature Discussion
Topic: Flying Objects?
Replies: 10
Views: 3304

just calculate a "mass" of every structure That would be the hardest thing to do. How would you determine if a block is part of a structure? I've thought of the idea of calculating weight of blocks and how much they could carry with the thought that large caves and structure could collaps...
by randomproof
Sat Nov 19, 2011 17:58
Forum: Partly official engine development
Topic: Writing onto paper
Replies: 2
Views: 1240

I'm going to clean up the code a little and put some comments then I'll move it over. I'm also think of changing signs to save the text the same way. I'm also thinking about making a poster item that will display the text when you point at it. You could put up a bulletin board near spawn with server...
by randomproof
Sat Nov 19, 2011 08:08
Forum: Partly official engine development
Topic: Writing onto paper
Replies: 2
Views: 1240

Writing onto paper

I've made a fork with added writable paper. A single item of paper is craftable into an item of non-stackable writable paper. When you right-click twice on it in the inventory screen you can add multi-lined text to it. This text is saved with the item on the server. So you could write a message on i...
by randomproof
Sat Nov 19, 2011 05:30
Forum: Feature Discussion
Topic: Writing onto paper
Replies: 14
Views: 3864

Roflo wrote:randomproof: you should add a link to your branch in the patchset page of the Wiki:
http://test.mine.bz/wiki/doku.php?id=patchsets

(in the In Progress section; until it's finished)
.. that way people will know that you're working on it.
Done!
by randomproof
Fri Nov 18, 2011 19:29
Forum: Feature Discussion
Topic: Writing onto paper
Replies: 14
Views: 3864

Ok, so I have some working code. https://github.com/randomproof/minetest How it works: To get writable just put a piece of paper in the center of the crafting area and you will get 1 writable paper(not stackable). I might change this to also require a lump of coal. To change the text on the paper ri...
by randomproof
Fri Nov 18, 2011 15:15
Forum: Problems
Topic: Black screen (buried) on Linux
Replies: 17
Views: 8585

FYI, if the problem primarily happens when you login to a server (or to a local game), it seems to be a bug with the way gravity and collision detection works. When the client environment doesn't update for about half a second (that's often the case when you login), depending on the floating point ...
by randomproof
Thu Nov 17, 2011 22:56
Forum: Feature Discussion
Topic: Writing onto paper
Replies: 14
Views: 3864

I've pulled a fork from git and I'm going to start working on this. What I am going to do first is create a new item called "writeable paper" that is unstackable in the inventory and when you right-click on it the text input from signs will popup and when you hover the mouse over it will s...
by randomproof
Thu Nov 17, 2011 22:29
Forum: Feature Discussion
Topic: Writing onto paper
Replies: 14
Views: 3864

sdzen wrote:why not have books actually have text in them I thought this would relate to the topic if I am wrong tell me
I would think more about writing on the paper and using books to hold many papers.
by randomproof
Thu Nov 17, 2011 22:28
Forum: Feature Discussion
Topic: Writing onto paper
Replies: 14
Views: 3864

I would think that you would want the amount of text that you can attach to some paper be small so as to prevent people trying to fill servers with useless data. Same issue with signs I would imagine. I notice that in constants.h there is #define SIGN_TEXT_MAX_LENGTH 50 but it is not being used.
by randomproof
Thu Nov 17, 2011 20:35
Forum: Feature Discussion
Topic: Writing onto paper
Replies: 14
Views: 3864

Writing onto paper

Has anyone thought about the idea of writing onto paper. My thought is that it would work just like setting text on signs, but you would do it from the inventory screen. Mainly I think this would be good for writing down the locations of interesting places and that you could give them to other playe...
by randomproof
Thu Nov 17, 2011 20:06
Forum: Problems
Topic: Black screen (buried) on Linux
Replies: 17
Views: 8585

Later commits in git have something to do with this bug. So you may try to build the latest source and test if the bug is fixed. The fix is server-side, so if you play on the public server new client version won't help. I've tested this in latest source pulled from git and it still happens. I've ma...
by randomproof
Thu Nov 17, 2011 06:44
Forum: Problems
Topic: Black screen (buried) on Linux
Replies: 17
Views: 8585

This happens with me too. I am usually 3 blocks under where I saved. Very annoying. I've looked at the log and it says that the correct location is sent and received, but the Y position is usually 5.0 below what it should be. The only thing I think i could be is difference with OpenGL on Linux and D...