| Time |
Nick |
Message |
| 01:12 |
|
Taoki joined #minetest-dev |
| 01:44 |
|
ShadowNinja joined #minetest-dev |
| 03:05 |
|
doublej472 joined #minetest-dev |
| 03:08 |
hmmmm |
https://github.com/minetest/minetest/commit/939397dd6e9cf26358b7e7f07aa58b72b175691f |
| 03:09 |
hmmmm |
PilzAdam, it would be nice if we could get a different texture for grass that is placed randomly on the map that's shorter perhaps |
| 03:10 |
|
ecube_ joined #minetest-dev |
| 03:10 |
VanessaE |
hmmmm: junglegrass mod has three additional sizes |
| 03:10 |
VanessaE |
http://forum.minetest.net/viewtopic.php?id=3898 |
| 03:10 |
|
ecube joined #minetest-dev |
| 03:10 |
VanessaE |
feel free to use those. |
| 03:10 |
hmmmm |
i'm not getting involved with minetest_game... |
| 03:10 |
VanessaE |
so just grab the texture files from the mod? |
| 03:11 |
hmmmm |
well i won't |
| 03:11 |
hmmmm |
besides, i have stuff to do... |
| 03:11 |
VanessaE |
ok |
| 03:11 |
VanessaE |
oh, I misread that anyway |
| 04:19 |
|
jojoa1997_tablet joined #minetest-dev |
| 04:22 |
jojoa1997_tablet |
will will rivere be added to minetest |
| 05:22 |
|
jin_xi joined #minetest-dev |
| 06:03 |
|
iqualfragile joined #minetest-dev |
| 09:28 |
|
iqualfragile joined #minetest-dev |
| 10:08 |
|
iqualfragile joined #minetest-dev |
| 10:09 |
|
nyuszika7h joined #minetest-dev |
| 10:11 |
|
Calinou joined #minetest-dev |
| 10:53 |
|
troller joined #minetest-dev |
| 11:15 |
Exio |
well, what about https://github.com/minetest/minetest/pull/539 ? |
| 11:15 |
Exio |
it is just a "cosmetic" change |
| 11:16 |
|
PilzAdam joined #minetest-dev |
| 11:19 |
|
darkrose joined #minetest-dev |
| 11:19 |
|
whirm joined #minetest-dev |
| 11:47 |
|
Taoki joined #minetest-dev |
| 12:42 |
|
iqualfragile joined #minetest-dev |
| 13:07 |
|
ecube joined #minetest-dev |
| 13:08 |
|
ecube_ joined #minetest-dev |
| 13:14 |
|
hmmmm joined #minetest-dev |
| 13:15 |
|
proller joined #minetest-dev |
| 13:42 |
PilzAdam |
hmmmm, should I remove the junglegrass generation in Lua? |
| 13:45 |
|
proller joined #minetest-dev |
| 13:53 |
|
proller joined #minetest-dev |
| 14:09 |
|
troller joined #minetest-dev |
| 14:13 |
|
proller joined #minetest-dev |
| 16:03 |
|
Jordach joined #minetest-dev |
| 16:09 |
|
Calinou joined #minetest-dev |
| 16:17 |
|
troller joined #minetest-dev |
| 16:38 |
PilzAdam |
anything against this? https://github.com/PilzAdam/minetest/commit/a3f4416197643203594b768ee888b6b33e6c784f |
| 16:40 |
Calinou |
no |
| 16:40 |
Calinou |
flickering in jungle grass? never saw it |
| 16:40 |
Calinou |
quit playing with 8 bit z-buffer :P |
| 16:42 |
|
rubenwardy joined #minetest-dev |
| 16:53 |
troller |
http://benchmarksgame.alioth.debian.org/u32/benchmark.php?test=all&lang=lua&lang2=v8 |
| 17:20 |
|
rubenwardy joined #minetest-dev |
| 17:39 |
troller |
js v8 faster than lua |
| 17:41 |
troller |
and js language less crap than lua, but crap too |
| 17:45 |
VanessaE |
the speed of a language is mostly dependent on its interpreter or compiler, and of course the skills of the coder. |
| 17:45 |
VanessaE |
not so much on the language semantics or syntax |
| 17:45 |
celeron55 |
what? |
| 17:46 |
celeron55 |
lua is like js made right |
| 17:47 |
celeron55 |
troller: why are you comparing a Javascript JIT to a Lua interpreter? |
| 17:47 |
celeron55 |
stop being biased and compare v8 to luajit |
| 17:52 |
celeron55 |
luajit will beat v8 almost always, by varying factors in the range 2...10 |
| 17:52 |
troller |
googled: luajit slower than v8, but possible to tweak via collectgarbage('setpause', 2000) |
| 17:52 |
celeron55 |
lol, so what's the source for that? |
| 17:53 |
troller |
http://habrahabr.ru/post/113250/ - but its russian |
| 17:53 |
celeron55 |
here's some possibly quite unbiased benchmark (it's aim is to compare an another language to luajit and v8 and others) http://factor-language.blogspot.fi/2010/05/comparing-factors-performance-against.html |
| 17:54 |
troller |
v8 3 years ago was slover |
| 17:54 |
troller |
slower |
| 18:02 |
|
proller__ joined #minetest-dev |
| 18:20 |
rubenwardy |
how to convert wchar_t* or core::stringw to int? |
| 18:20 |
rubenwardy |
CMainMenu.cpp:59:39: error: cast from ‘const wchar_t*’ to ‘int’ loses precision [-fpermissive] |
| 18:29 |
ShadowNinja |
use long int? |
| 18:30 |
VanessaE |
celeron55: is there any particular reason why the python mapper is still supplied with Minetest rather than the C++ one done by mireq? |
| 18:30 |
VanessaE |
(https://github.com/mireq/minetest-mapper-cpp.git - needs a one-line tweak, see #minetest) |
| 18:31 |
PilzAdam |
because the python mapper runs out of the box and the c++ one has extra dependencies? |
| 18:31 |
VanessaE |
meh, not much of a good reason to supply a script that's ~50 times slower |
| 18:57 |
rubenwardy |
yay! my first segfault! |
| 18:58 |
|
Taoki joined #minetest-dev |
| 19:02 |
Exio |
lol rubenwardy |
| 19:03 |
rubenwardy |
outIP = new core::stringw(ipEditBox->getText()); |
| 19:03 |
rubenwardy |
outServer=(*outIP==""); |
| 19:03 |
rubenwardy |
it works when outIP is "", but not when it has values |
| 19:04 |
rubenwardy |
if values, then it segfaults on outServer |
| 19:17 |
rubenwardy |
fixed it |
| 19:22 |
rubenwardy |
for some reason printf("Connecting to server %s",outIP.c_str()); returns just the first letter |
| 19:22 |
|
Taoki joined #minetest-dev |
| 19:29 |
thexyz |
VanessaE: i guess this is because python mapper is easier to update/maintain |
| 19:30 |
thexyz |
rubenwardy: why do you want to printf? |
| 19:30 |
rubenwardy |
debuging |
| 19:31 |
ShadowNinja |
errorstream << "Connecting to server " << outIP.c_str(); |
| 19:31 |
thexyz |
rubenwardy: you either have to %ls or (better?) std::cerr << "Connecting to server " << outIP |
| 19:31 |
thexyz |
or that |
| 19:31 |
thexyz |
not c_str() though |
| 19:32 |
thexyz |
wait, wtf |
| 19:32 |
thexyz |
why do we use core::stringw? |
| 19:33 |
thexyz |
in some places, and std::wstring in other |
| 19:33 |
rubenwardy |
it is not minetest |
| 19:33 |
thexyz |
oh |
| 19:33 |
thexyz |
so, i think you should change %s to %ls |
| 19:33 |
thexyz |
as your string consists of wchars, not chars |
| 19:34 |
thexyz |
also, if it's not minetest related, why do you ask in #*minetest*-dev? |
| 19:34 |
rubenwardy |
because ##c++ and #irrlicht might as well be talking in code |
| 19:35 |
thexyz |
? |
| 19:53 |
|
proller joined #minetest-dev |
| 19:57 |
|
Taoki joined #minetest-dev |
| 20:11 |
|
troller joined #minetest-dev |
| 20:21 |
|
rubenwardy left #minetest-dev |
| 20:21 |
|
celeron55 joined #minetest-dev |
| 20:30 |
hmmmm |
PilzAdam, no, just add a normal grass texture and place that instead of jungle grass |
| 20:31 |
hmmmm |
i'm gonna be pretty busy the next two days |
| 20:31 |
|
celeron55 joined #minetest-dev |
| 20:33 |
PilzAdam |
VanessaE, is it okay if I take plantslib's junglegrass_short.png as grass texture? |
| 20:33 |
hmmmm |
wait no |
| 20:33 |
hmmmm |
i don't just want a shorter version of the same thing |
| 20:34 |
hmmmm |
i'm looking for something that's just as wide as the whole block, but shorter |
| 20:34 |
VanessaE |
hmmmm: the shorter ones are hand-tweaked to look like short grass |
| 20:34 |
hmmmm |
alright |
| 20:34 |
VanessaE |
maybe regular grass should use 2x2 2d nodeboxes instead |
| 20:34 |
VanessaE |
(like the way minecraft draws it) |
| 20:34 |
PilzAdam |
hmmmm, what about rotating the plantlike drawtype only by 44° to prevent flickering if two nodes are next to each other? |
| 20:35 |
PilzAdam |
(this is a problem for junglegrass wich has larger textures) |
| 20:35 |
VanessaE |
that's hacky. |
| 20:35 |
hmmmm |
dunno, i never noticed flickering |
| 20:35 |
VanessaE |
it should be fixed by proper z-buffering if possible. |
| 20:35 |
VanessaE |
but it's better than nothing |
| 20:35 |
hmmmm |
yeah, but that's quite a lot of work if you aren't familiar with the drawing code |
| 20:37 |
VanessaE |
hmmmm: the flickering he refers to is if you stack one junglegrass above another, the overlapping regions z-fight. |
| 20:37 |
VanessaE |
(or side by side) |
| 20:37 |
PilzAdam |
VanessaE, hmmmm is right, can you create a grass texture that goes fills the whole horizontal axis? |
| 20:37 |
VanessaE |
PilzAdam: not right now, but in a little while maybe yeah |
| 20:38 |
hmmmm |
hahaha https://dl.dropbox.com/u/100008207/screenshot_2097666821.jpg wtf |
| 20:39 |
hmmmm |
i guess that happened on the edge with content_ignore, so it got placed |
| 20:39 |
hmmmm |
and then it happened to be air |
| 20:39 |
hmmmm |
definitely not easy to fix |
| 20:40 |
PilzAdam |
VanessaE, not only when stacking junglegrass (you cant do this because its an attached_node), but also when 2 junglegrass nodes are diagonal placed |
| 20:41 |
RealBadAngel |
hmmm, looks like ancient ruins ;) |
| 20:42 |
VanessaE |
oh yes, I've seen that happen before too |
| 20:42 |
PilzAdam |
VanessaE, also different textures (maybe 3 to 5) would be nice too |
| 20:43 |
VanessaE |
I'll see what I can come up with |
| 21:00 |
VanessaE |
PilzAdam: http://digitalaudioconcepts.com/vanessa/hobbies/minetest/images/grasses/ |
| 21:01 |
VanessaE |
a little color shifting would make some kind of weeds or dried-out grass possible too. |
| 21:11 |
PilzAdam |
should I also add this in: https://github.com/minetest/minetest_game/pull/127 ? |
| 21:18 |
VanessaE |
PilzAdam: are those textures adequate? ^^^ |
| 21:18 |
PilzAdam |
the green from dirt with grass would be better |
| 21:19 |
VanessaE |
easily fixed. hold |
| 21:19 |
PilzAdam |
and can you zip them? |
| 21:19 |
VanessaE |
sure. |
| 21:22 |
PilzAdam |
VanessaE, also, whats the license? |
| 21:22 |
VanessaE |
http://digitalaudioconcepts.com/vanessa/hobbies/minetest/grasses-1.zip |
| 21:22 |
VanessaE |
WTFPL |
| 21:23 |
PilzAdam |
and the nyancat textures? |
| 21:23 |
VanessaE |
WTFPL also; both can be CC-By-SA 3.0 if you want, since that is the license of the rest of the default textures. |
| 21:24 |
VanessaE |
(though nyan cat stuff has already long since been updated) |
| 21:27 |
PilzAdam |
https://github.com/PilzAdam/minetest_game/commits/grass |
| 21:28 |
VanessaE |
looks good to me |
| 21:28 |
VanessaE |
guess I'll need to update my junglegrass mod ;-) |
| 21:28 |
troller |
coredump when punching 1 of 10k nodes of floating gravel 8) |
| 21:29 |
VanessaE |
troller: oh sure, give the poor engine a heart attack |
| 21:29 |
PilzAdam |
okay, Ill just push it :-) |
| 21:31 |
troller |
idea about sources: maybe use automatic formater like astyle or indent or... ? |
| 21:48 |
hmmmm |
dunno |
| 21:48 |
hmmmm |
it might cause problems |
| 22:57 |
VanessaE |
hmmmm: https://github.com/minetest/minetest/commit/fc5d2074b99d22022d2bf8e693351274bc3f6d09 |
| 22:57 |
VanessaE |
this appears to be causing more problems than it was supposed to solve. |
| 22:58 |
PilzAdam |
would unpack(timer.args or {}) solve them? |
| 22:58 |
VanessaE |
it solves it for builtin/misc.lua but that's apparently not useful for third-party mods. this breaks mesecons pretty badly - uberi and I have been testing it just now. |
| 22:59 |
VanessaE |
[03-18 18:59] <Uberi> oh and also make sure to mention the fix: builtin/misc.lua:24 should be "table.insert(minetest.timers_to_add, {time=time, func=func, args=...})" |
| 23:02 |
VanessaE |
or rather line 25/. |
| 23:02 |
VanessaE |
25. |
| 23:02 |
VanessaE |
[03-18 19:02] <Uberi> and instead of ..., I meant to write {...} |
| 23:02 |
VanessaE |
[03-18 19:03] <Uberi> so builtin/misc.lua:25 should be "table.insert(minetest.timers_to_add, {time=time, func=func, args={...}})" |
| 23:03 |
PilzAdam |
VanessaE, do these 2 things solve all the problems? |
| 23:03 |
VanessaE |
not sure yet, I'm about to test them |
| 23:03 |
VanessaE |
(I'm chatting with uberi in private) |
| 23:04 |
PilzAdam |
VanessaE, is this correct? https://github.com/PilzAdam/minetest_game/commit/d5c373e290024790cc5e9fb9afcf03ef987f13ef |
| 23:04 |
|
Kray joined #minetest-dev |
| 23:05 |
VanessaE |
PilzAdam: yes, I believe that's what I have locally |
| 23:10 |
VanessaE |
PilzAdam: ok, uberi's above proposed fix to misc.lua seems to work. |
| 23:11 |
VanessaE |
(the change at line 25) |
| 23:13 |
PilzAdam |
https://github.com/PilzAdam/minetest/commit/1e2d9542fa849fbd8cc89233e4e76eb5f1ee7b55 |
| 23:14 |
VanessaE |
checking |
| 23:14 |
VanessaE |
[03-18 19:14] <VanessaE> correct? |
| 23:14 |
VanessaE |
[03-18 19:14] <Uberi> yep |
| 23:14 |
VanessaE |
gold :-) |
| 23:33 |
RealBadAngel |
ROTFL |
| 23:33 |
RealBadAngel |
disabling trees in mapgen works ok |
| 23:33 |
RealBadAngel |
but it doesnt disable APPLES :) |
| 23:33 |
VanessaE |
haha |
| 23:33 |
PilzAdam |
lol |
| 23:34 |
RealBadAngel |
i can see apples floating in the air everywhere |
| 23:34 |
PilzAdam |
^ hmmmm |
| 23:35 |
RealBadAngel |
funny bug :) |
| 23:35 |
PilzAdam |
https://github.com/PilzAdam/minetest_game/commit/e475d1322be05cc0c092cf2b824361219f1b7e90 |
| 23:36 |
PilzAdam |
can someone test the growing speed? |
| 23:38 |
VanessaE |
PilzAdam: someone once suggested to me that vertically-growing things should stop at random heights say +/- 2 nodes |
| 23:38 |
VanessaE |
(it was a suggestion for plants_lib, but may also be warranted here) |
| 23:38 |
PilzAdam |
meh |
| 23:39 |
RealBadAngel |
http://i.imgur.com/Z9ufsMM.jpg |
| 23:39 |
PilzAdam |
VanessaE, dont be too realistic here |
| 23:39 |
VanessaE |
no worries |
| 23:40 |
VanessaE |
I was just passing it alone |
| 23:40 |
VanessaE |
I'l looking at the papyrus growing code..this won't work |
| 23:40 |
VanessaE |
you're testing for neighbors of dirt and grass...but shouldn't neighbors be air? |
| 23:40 |
VanessaE |
similary for cactus |
| 23:40 |
VanessaE |
similarly* |
| 23:40 |
VanessaE |
I don't see how the plant will actually be able to grow upwards |
| 23:41 |
PilzAdam |
the abm runs for the bottom node |
| 23:41 |
VanessaE |
hm, ok |
| 23:41 |
VanessaE |
I see what you're doing now |
| 23:41 |
PilzAdam |
this limits the abm alot |
| 23:42 |
PilzAdam |
I have taken it from my farming mod and tweaked it a bit |
| 23:42 |
PilzAdam |
the farming mod hasnt the height <4 in the while loop, so you can freeze servers by building high stacks of papyrus :-) |
| 23:43 |
VanessaE |
eek |
| 23:43 |
VanessaE |
well this code looks okay to me anyway |
| 23:43 |
VanessaE |
(you better fix farming :D ) |
| 23:43 |
PilzAdam |
growing speed seems to be ok too |
| 23:44 |
PilzAdam |
i had 9 cacit at start and now (after posting the commit here) I have 7 more |
| 23:44 |
PilzAdam |
(about 10 min.) |
| 23:47 |
VanessaE |
that sounds maybe a little fast. Half that speed maybe? |
| 23:48 |
PilzAdam |
now I have 9 |
| 23:49 |
PilzAdam |
I wouldnt make it that much slower |
| 23:50 |
PilzAdam |
when you are really waiting for it, then its slow enough |
| 23:50 |
PilzAdam |
also, you need very much papyrus to get a few bookshelfs |
| 23:51 |
VanessaE |
yeah I know |
| 23:51 |
VanessaE |
bookshelves should at least have some use given their cost |
| 23:51 |
PilzAdam |
3 (for paper) * 3 (for books) * 3 (for the bookshelfs) = 27 |
| 23:51 |
VanessaE |
like storing large messages or something |
| 23:51 |
VanessaE |
good use of that multi-line formspec mayeb |
| 23:51 |
PilzAdam |
enchanting ;-p |
| 23:51 |
VanessaE |
maybe* |
| 23:51 |
VanessaE |
nooOOOooooOOoOO |
| 23:52 |
PilzAdam |
if you start with 9 papyrus you have to wait 30 mins. to get one bookshelf |
| 23:53 |
VanessaE |
your growing code should indeed help that |
| 23:53 |
PilzAdam |
and cacti arent used for anything, so who cares if they grow fast? :-) |
| 23:54 |
VanessaE |
I use them to make green dye :) |