Time |
Nick |
Message |
00:01 |
|
TheBonsai joined #minetest |
00:02 |
|
YoshiGoneNuts joined #minetest |
00:05 |
|
jin_xi joined #minetest |
00:19 |
Hijiri |
lol |
00:20 |
Hijiri |
I just saw that nyancats and their rainbows are usable as fuel |
00:24 |
Fixer |
hmhmmhmhm |
00:24 |
Fixer |
test results are puzzling |
00:25 |
Fixer |
it is time for HWmonitor graphs |
00:31 |
Hijiri |
textlists don't get scrollbars, right? |
00:45 |
|
est31 joined #minetest |
00:47 |
|
Player_2 joined #minetest |
01:07 |
rubenwardy |
downloaded a base64 string using Nodejs. Decoded it. Exported it to a json file. End up with an array of ascii numbers, when it should be a plaintext string. |
01:07 |
|
jordan4ibanez joined #minetest |
01:37 |
|
afflatus joined #minetest |
01:38 |
afflatus |
Unused arguments in Lua : should they stay or should they go? |
01:39 |
afflatus |
Do they take up memory or do they serve any useful purpose? |
01:42 |
|
lambda-11235 joined #minetest |
01:46 |
rubenwardy |
You do mean arguments? |
01:46 |
rubenwardy |
not variables? |
01:46 |
|
DatJohnDoe joined #minetest |
01:47 |
DatJohnDoe |
Is there a server that has the Nyc world? |
01:48 |
DatJohnDoe |
Also, what is the best way to reduce lag on windows 10? Im getting max 3fps |
01:49 |
rubenwardy |
Not lag, low FPS. Make sure that full range is disabled |
01:49 |
rubenwardy |
(Using R to toggle it on and off) |
01:49 |
RealBadAngel |
Hijiri, read example machine mod from technic itself, music player should be most simple one |
01:50 |
rubenwardy |
experiment with shaders on and off, seeing which is faster for you |
01:50 |
rubenwardy |
set a fixed view range |
01:50 |
|
turtleman joined #minetest |
01:50 |
rubenwardy |
I forget the setting names |
01:50 |
rubenwardy |
Update drivers |
01:50 |
DatJohnDoe |
It is currently set to 5 even in minetest.conf and my drivers are the latest |
01:50 |
DatJohnDoe |
Do i need the latest opengl? |
01:51 |
DatJohnDoe |
Or do i need opengl? |
01:51 |
rubenwardy |
going on big spawn areas will kill your FPS, usually due to a bug in networking |
01:51 |
rubenwardy |
you should already have opengl |
01:51 |
DatJohnDoe |
What version |
01:51 |
rubenwardy |
but you should have at least OpenGL 2.1 to run it. OpenGL 4.x or OpenGL 5.x is recommended |
01:52 |
rubenwardy |
also, the version you run depends on your hardware |
01:52 |
rubenwardy |
*you can run |
01:53 |
DatJohnDoe |
Ok i will install the latest opengl thanks for your help ill be back to tell if it worked |
01:53 |
RealBadAngel |
DatJohnDoe, is performance the same if you use 32 and 64 bit builds? |
01:53 |
DatJohnDoe |
i use mingw 64x builds for max fps |
01:53 |
|
H-H-H joined #minetest |
01:53 |
RealBadAngel |
try the other builds too |
01:54 |
DatJohnDoe |
i have mingw runs the fastest |
01:54 |
rubenwardy |
Also consider trying the latest dev version, there have been a few graphics speed ups and fixes thanks to RealBadAngel |
01:55 |
DatJohnDoe |
from where? Github? |
01:55 |
rubenwardy |
!title https://forum.minetest.net/viewforum.php?f=42 |
01:55 |
MinetestBot |
rubenwardy: View forum - Builds - Minetest Forums |
01:56 |
rubenwardy |
I use sf_n5's builds |
01:56 |
rubenwardy |
usually |
01:59 |
|
kaadmy joined #minetest |
02:01 |
DatJohnDoe |
Ok im getting sfan5 builds now |
02:03 |
afflatus |
yes I mean arguments, obviously unused variables should go |
02:03 |
afflatus |
rubenwardy: ^ |
02:03 |
rubenwardy |
Well, they have a scope which only lasts when the function is running |
02:03 |
rubenwardy |
also, surely how big are your arguments? |
02:04 |
rubenwardy |
Unless they're noise or a massive lua table, the size will be neglible |
02:06 |
afflatus |
normal kind of minetest arguments |
02:06 |
afflatus |
ok, thanks |
02:10 |
DatJohnDoe |
Testing now hopefully good fps |
02:12 |
jordan4ibanez |
Snow https://youtu.be/uo_eN00Y58Y |
02:13 |
DatJohnDoe |
Cool video *Subscribed* hope you make more MT videos |
02:15 |
DatJohnDoe |
Cool im getting great gameplay now thanks so much |
02:15 |
|
Miner_48er joined #minetest |
02:39 |
|
Ardonel joined #minetest |
02:49 |
|
lambda-11235 joined #minetest |
03:10 |
|
ssieb joined #minetest |
03:13 |
|
DatJohnDoe joined #minetest |
03:14 |
DatJohnDoe |
I want to make a mod but i have no ideas tell me some things i should add :D |
03:38 |
|
Clean3d joined #minetest |
03:54 |
jordan4ibanez |
I think this snow is a little too crazy https://youtu.be/0RYM9WZkYgQ |
04:00 |
|
Clean3d1 joined #minetest |
04:59 |
|
Miner_48er joined #minetest |
05:08 |
|
LazyJ joined #minetest |
05:26 |
|
GunshipPenguin joined #minetest |
06:01 |
|
swift110-phone joined #minetest |
06:20 |
|
ploopkazoo joined #minetest |
06:25 |
|
ploopkazoo joined #minetest |
06:44 |
|
linkedinyou joined #minetest |
06:47 |
|
Cryterion__ joined #minetest |
06:49 |
|
CraigyDavi joined #minetest |
06:54 |
Fritigern |
is there a simple way to remove lava buckets and water buckets from the creative inventory? Preferably without removing buckets altogether |
06:59 |
|
Alduin_ joined #minetest |
07:00 |
|
Cryterion joined #minetest |
07:05 |
|
Alduin_ joined #minetest |
07:11 |
swift110-phone |
Hmm |
07:13 |
RealBadAngel |
Fritigern, redefine them with not_in_creative_inventory = 1 in group |
07:14 |
Fritigern |
I'm no modder and really have no Lua knowledge. How do I do this? |
07:14 |
swift110-phone |
I see |
07:25 |
|
nrzkt joined #minetest |
07:25 |
MinetestBot |
[git] kahrl -> minetest/minetest: Remove ClientMap::m_camera_mutex 180893e https://git.io/vgErv (2016-02-09T07:16:00Z) |
07:25 |
MinetestBot |
[git] paramat -> minetest/minetest: FindSpawnPos: Let mapgens decide what spawn altitude is suitable 4adbd69 https://git.io/vgErf (2016-02-09T07:14:45Z) |
07:32 |
|
Thomas-S joined #minetest |
07:33 |
Hijiri |
RealBadAngel: what about the music player? |
07:34 |
RealBadAngel |
Hijiri, music player is most simple technic powered machine, you can use its code as a template |
07:34 |
Hijiri |
for formspecs? |
07:34 |
Hijiri |
I think it was someone else who asked about technic machines |
07:35 |
RealBadAngel |
ouch, other guy asked bout technic machines |
07:36 |
RealBadAngel |
just H tab chosen you ;) |
07:38 |
Hijiri |
If I want a node to drop an item stack with metadata matching something in the node's metadata, is my only option to write an on_dig that copies all the functionality of minetest.node_dig except checking the metadata? |
07:38 |
Hijiri |
though I guess if I did that, it could probably be done in one place for multiple node defs |
07:41 |
|
Yst joined #minetest |
07:50 |
|
enricom joined #minetest |
07:54 |
|
Obani joined #minetest |
08:01 |
|
Cryterion joined #minetest |
08:04 |
|
Darcidride joined #minetest |
08:04 |
MinetestBot |
[git] RealBadAngel -> minetest/minetest: Filmic HDR tone mapping eb3840a https://git.io/vgEKx (2016-02-09T02:55:59-05:00) |
08:08 |
MinetestBot |
[git] RealBadAngel -> minetest/minetest: FormSpec: Add StaticTextSpec and superimpose over item image buttons baa7c8f https://git.io/vgE6s (2016-02-09T03:03:55-05:00) |
08:20 |
|
Krock joined #minetest |
08:48 |
|
YuGiOhJCJ joined #minetest |
08:54 |
|
nrzkt joined #minetest |
08:58 |
|
Trustable joined #minetest |
09:00 |
|
Yepoleb_ joined #minetest |
09:03 |
|
aheinecke joined #minetest |
09:23 |
|
Gael-de-Sailly joined #minetest |
09:25 |
|
everamzah joined #minetest |
09:26 |
|
Cryterion joined #minetest |
09:31 |
|
JamesTait joined #minetest |
09:32 |
JamesTait |
Good morning all! Happy Tuesday, and happy Pancake Day! 🙌 |
09:37 |
|
Ardonel joined #minetest |
09:37 |
|
swift110-phone joined #minetest |
09:52 |
|
superfly joined #minetest |
10:23 |
|
twoelk joined #minetest |
10:32 |
|
Cryterion joined #minetest |
10:36 |
|
Weedy joined #minetest |
10:40 |
|
Calinou joined #minetest |
10:46 |
|
jin_xi joined #minetest |
10:48 |
|
DatJohnDoe joined #minetest |
10:56 |
|
Telesight joined #minetest |
10:59 |
|
Tux[Qyou] joined #minetest |
11:22 |
|
proller joined #minetest |
11:41 |
|
sonic joined #minetest |
11:42 |
|
proller joined #minetest |
11:44 |
|
konrados joined #minetest |
11:45 |
|
konrados left #minetest |
11:47 |
|
Cryterion joined #minetest |
11:49 |
|
Megaf joined #minetest |
11:51 |
Megaf |
Hi all, can you test this for me? Start a server (with pre generated map), wait 10 minutes, observe memory use on the server. Join the server, walk around in your already generated map, for about 10 minutes, observe the memory use climb. Leave the server, wait 10 minutes, memory use will not return to when you started the server. Memory use only climbs. |
11:52 |
|
Ardonel joined #minetest |
11:53 |
|
proller joined #minetest |
11:58 |
Megaf |
!server Megaf |
11:58 |
MinetestBot |
Megaf: Megaf Server v4.0 | mt.megaf.info:30003 | Clients: 1/9, 0/1 | Version: 0.4.13-Megaf / MegafXploreNext | Ping: 7ms |
11:58 |
Megaf |
!up mt.megaf.info |
11:58 |
MinetestBot |
mt.megaf.info:30000 is up (9ms) |
11:58 |
Megaf |
!up mt.megaf.info 30003 |
11:58 |
MinetestBot |
mt.megaf.info:30003 is up (9ms) |
11:59 |
everamzah |
!server Amhi |
11:59 |
MinetestBot |
everamzah: Amhi | 73.255.203.67:48258 | Clients: 3/25, 2/9 | Version: 0.4.13 / dcb | Ping: 121ms |
11:59 |
giho |
!server Darkage |
11:59 |
MinetestBot |
giho: Darkages | me0w.net | Clients: 0/32, 0/3 | Version: 0.4.13-dev / minetest | Ping: 7ms |
12:04 |
giho |
Well, I checked, but no Megaf here to answer to :3 |
12:04 |
|
Gael-de-Sailly joined #minetest |
12:04 |
giho |
RSS after startup: 51344 after join: 116680 after walking: 295184 after leaving: 295464 |
12:06 |
giho |
And 10880 after neigbouring gcc forced it to move pages to swap |
12:19 |
DatJohnDoe |
!server Darkages |
12:19 |
MinetestBot |
DatJohnDoe: Darkages | me0w.net | Clients: 0/32, 0/3 | Version: 0.4.13-dev / minetest | Ping: 6ms |
12:19 |
DatJohnDoe |
!server Amhi |
12:19 |
MinetestBot |
DatJohnDoe: Amhi | 73.255.203.67:48258 | Clients: 0/25, 2/9 | Version: 0.4.13 / dcb | Ping: 119ms |
12:21 |
|
Fixer joined #minetest |
12:22 |
|
tpe joined #minetest |
12:24 |
|
Calinou joined #minetest |
12:25 |
|
xeranas joined #minetest |
12:31 |
|
Gael-de-Sailly joined #minetest |
12:34 |
|
turtleman joined #minetest |
12:50 |
|
H-H-H joined #minetest |
12:55 |
everamzah |
!up lumaria.duckdns.org 30001 |
12:55 |
MinetestBot |
lumaria.duckdns.org:30001 is up (123ms) |
12:56 |
|
DMackey- joined #minetest |
13:07 |
|
Gael-de-Sailly_ joined #minetest |
13:14 |
|
Megaf joined #minetest |
13:15 |
Megaf |
So, did anyone do the test? |
13:15 |
ObsidianZ3R0 |
what test? |
13:16 |
Megaf |
<Megaf> Hi all, can you test this for me? Start a server (with pre generated map), wait 10 minutes, observe memory use on the server. Join the server, walk around in your already generated map, for about 10 minutes, observe the memory use climb. Leave the server, wait 10 minutes, memory use will not return to when you started the server. Memory use only climbs. |
13:16 |
RealBadAngel |
yeah, but you left |
13:17 |
RealBadAngel |
read logs |
13:17 |
giho |
Megaf: http://me0w.net/pit/1455023820 |
13:17 |
giho |
tld; Memory consuption grows -> I don't care, i have swap and pushmem. |
13:20 |
Megaf |
RealBadAngel, well, you didnt say your results did you? |
13:21 |
RealBadAngel |
i havent said that i tested anything |
13:21 |
Megaf |
giho, and you proves my affirmation |
13:21 |
Megaf |
This is quite old bug |
13:22 |
giho |
$softwarename leaks is wery old bug :3 |
13:23 |
Megaf |
I call that bad programming ;) |
13:24 |
giho |
Why don't you make swap so pages that are not used will be pushed there. |
13:24 |
Megaf |
!up mt.megaf.info |
13:24 |
MinetestBot |
mt.megaf.info:30000 is up (8ms) |
13:25 |
Megaf |
giho, because that doesn't fix anything, it just ignores the bug |
13:37 |
|
ruskie joined #minetest |
13:39 |
|
cornernote joined #minetest |
13:56 |
|
ruskie joined #minetest |
14:00 |
|
ruskie joined #minetest |
14:01 |
|
ruskie joined #minetest |
14:17 |
|
STHGOM joined #minetest |
14:38 |
|
kaadmy joined #minetest |
14:39 |
|
Fixer joined #minetest |
14:56 |
* Fixer |
slaps everyone with a very large bug |
14:56 |
* kaadmy |
slaps Fixer's /me command |
14:57 |
kaadmy |
!server pixture |
14:57 |
MinetestBot |
kaadmy: pixture | pixture.quelcom.xyz | Clients: 1/10, 0/1 | Version: 0.4.13-dev / pixture | Ping: 37ms |
14:57 |
kaadmy |
someone's on? |
14:59 |
sfan5 |
!server players:most |
14:59 |
MinetestBot |
sfan5: just test | 87.110.8.195 | Clients: 24/78, 17/29 | Version: 0.4.12-dev / minetest | Ping: 36ms |
15:01 |
kaadmy |
what are the 2 stats shown for clients with !server |
15:01 |
kaadmy |
current/max, ?/? |
15:03 |
everamzah |
current/max, average/top -- same as servers.minetest.net |
15:03 |
kaadmy |
H |
15:03 |
kaadmy |
ah* |
15:05 |
|
lambda-11235 joined #minetest |
15:11 |
Fixer |
and now it is time for everybody loves cross-compiling |
15:11 |
Fixer |
! |
15:20 |
|
thefamilygrog66 joined #minetest |
15:21 |
thefamilygrog66 |
Howdy folks |
15:21 |
|
CraigyDavi joined #minetest |
15:21 |
thefamilygrog66 |
I'm having an issue with PilzAdam's Nether mod -- it's crashing my server with the following error: |
15:21 |
thefamilygrog66 |
ERROR[main]: ERROR: An unhandled exception occurred: ../mods/nether/init.lua:128: attempt to index local 'objpos' (a nil value) |
15:22 |
thefamilygrog66 |
Any suggestions? |
15:24 |
sofar |
if pilzadam would move his mod to minetest-mods I'd fix it up, but he refuses to acknowledge that others have a use for his mods or allow others to fix his mod up |
15:25 |
thefamilygrog66 |
well, all politics aside, any ideas on how I could fix this? |
15:26 |
sofar |
test for objpos being nil before using it |
15:26 |
thefamilygrog66 |
thanks, I'll try that |
15:31 |
Fixer |
sofar, why not to fork it? |
15:44 |
|
DFeniks joined #minetest |
16:04 |
|
hmmmm joined #minetest |
16:29 |
RealBadAngel |
Fixer, is there actually single PA's mod that wasnt already forked and fixed? |
16:30 |
RealBadAngel |
highly doubt that |
16:30 |
|
red-001 joined #minetest |
16:37 |
|
Nishikino-Maki joined #minetest |
16:49 |
|
alket joined #minetest |
17:02 |
thefamilygrog66 |
RealBadAngel: are you aware of a fixed fork of PilzAdam's Nether mod? I haven't seen one, myself. |
17:03 |
RealBadAngel |
exception proves the rule? ;) |
17:03 |
RealBadAngel |
but seriously, that mod is damn old |
17:05 |
|
ud1_ joined #minetest |
17:05 |
Fixer |
ahhhhhh, no drowning glitch is on, swim time! |
17:10 |
red-001 |
why is drowning only client sided ? |
17:14 |
RealBadAngel |
it could be too slow only server side? |
17:17 |
red-001 |
I guess |
17:17 |
red-001 |
still a server sided check could be nice |
17:17 |
red-001 |
to reduce hacking a bit |
17:18 |
|
Jordach joined #minetest |
17:19 |
Fixer |
i'm not drowning right now, not sure why |
17:22 |
sofar |
Damage is client side |
17:22 |
red-001 |
I know |
17:22 |
red-001 |
I wonder why |
17:27 |
|
jin_xi joined #minetest |
17:31 |
RealBadAngel |
to react faster on that |
17:31 |
|
Krock2 joined #minetest |
17:32 |
RealBadAngel |
otherwise client should send event to server, wait for response and then start drowning |
17:32 |
RealBadAngel |
with lags you could be drowning too late or something like that ;) |
17:35 |
|
Pest joined #minetest |
17:36 |
everamzah |
!up lumaria.duckdns.org 30001 |
17:36 |
MinetestBot |
lumaria.duckdns.org:30001 is up (128ms) |
17:36 |
everamzah |
^ not Lumaria |
17:40 |
|
Robert_Zenz joined #minetest |
17:43 |
|
casimir joined #minetest |
17:45 |
thefamilygrog66 |
!up darkside.zapto.org 30003 |
17:45 |
MinetestBot |
darkside.zapto.org:30003 is up (137ms) |
17:47 |
|
redblade joined #minetest |
17:48 |
redblade |
hi |
17:48 |
|
Obani joined #minetest |
17:48 |
redblade |
can anyone suggest a popular "minimum version" in line with this: https://forum.minetest.net/viewtopic.php?f=6&t=9771 |
17:49 |
redblade |
something that everyone should have at least |
17:49 |
Obani |
redblade, this might not be a problem anymore |
17:49 |
Obani |
android version is the same as actual stable one |
17:49 |
redblade |
ok |
17:50 |
Obani |
And yes it can cause problem if android version is n ot updated, in some cases |
17:50 |
redblade |
tenplus1 told me the other day that there are unofficial clients that cause lag, including mobile clients |
17:50 |
redblade |
because mobile clients on my servers time out a lot |
17:51 |
redblade |
i just ran into that and was curious |
17:51 |
Obani |
redblade, reason 1 : connection too weak, reason 2 : you've got too much mods |
17:51 |
Obani |
(IMO) |
17:51 |
Obani |
Yes many tablets player timeout |
17:54 |
redblade |
my creative server has about 30 mods and my non-creative server has about 20 |
17:54 |
redblade |
it's not every mobile user |
17:54 |
redblade |
but i'd say most |
17:55 |
redblade |
i've done a lot of small changes over the months but still not perfect |
17:55 |
redblade |
the most effective change was that i got rid of most mobs |
17:56 |
|
SylvieLorxu joined #minetest |
17:57 |
redblade |
but there doesn't seem to be a 100% solution |
17:57 |
redblade |
the non-creative one doesn't have the high-lag mods (mesecons and technic) |
17:58 |
redblade |
i've niced the process, etc |
17:58 |
redblade |
but nothing seems to be perfect, there's always a few people who time out |
17:58 |
redblade |
tenplus1 told me about reducing dropped object lifetime the other night |
18:00 |
redblade |
upgraded the vps (as part of installing the second server) which doubled my available cores, memory, and speed |
18:00 |
redblade |
very little swapspace is used now |
18:05 |
|
Darcidride joined #minetest |
18:08 |
Fixer |
probably because out of memory |
18:10 |
redblade |
not out of memory |
18:11 |
redblade |
especially not now |
18:11 |
redblade |
beforehand i was relying on slow swapspace |
18:12 |
|
red-001 joined #minetest |
18:12 |
|
lambda-11235 joined #minetest |
18:12 |
redblade |
now it's the normal <10M |
18:12 |
redblade |
that it should be |
18:12 |
redblade |
was 2G now 4G |
18:13 |
redblade |
2G+4G swap now 4G+8G swap |
18:13 |
redblade |
there is other stuff running on the vps though, including another game server |
18:14 |
redblade |
for urbanterror |
18:14 |
redblade |
but memory is now ok |
18:14 |
redblade |
and there are 4 cores now |
18:14 |
redblade |
instead of 2 |
18:14 |
Fixer |
redblade, i mean out of memory on those shitty android "devices" |
18:15 |
redblade |
what do you think, fixer |
18:15 |
redblade |
oh ok |
18:15 |
|
nrzkt joined #minetest |
18:15 |
redblade |
i use a desktop and since i build them myself i spend more money and max out at 32G and don't use swap at all |
18:16 |
redblade |
windows needs a minimum for dumps |
18:16 |
|
Cryterion joined #minetest |
18:18 |
redblade |
when you have that much you can dump browser cache and other stuff on a ramdisk |
18:18 |
redblade |
or /dev/shm for linux |
18:32 |
|
sonic joined #minetest |
18:41 |
|
GunshipPenguin joined #minetest |
18:56 |
|
est31 joined #minetest |
19:05 |
red-001 |
!seen red-001 |
19:05 |
MinetestBot |
red-001: red-001 was last seen at 2016-02-09 18:12:02 UTC on #minetest |
19:06 |
red-001 |
!seen minetestbot |
19:06 |
MinetestBot |
red-001: minetestbot was last seen at 2016-01-25 06:03:38 UTC on #minetest-fr |
19:06 |
|
Soni joined #minetest |
19:14 |
Hijiri |
I'm contemplating whether I should write an item tick module for my mod |
19:15 |
Hijiri |
It would be O(players * registered ticks) I guess, with high constant factors |
19:16 |
Hijiri |
but probably I would make it only happen on intervals of 1 second |
19:17 |
Hijiri |
maybe add something to stagger it to prevent lag spike |
19:17 |
Hijiri |
e.g. at t = 0.1 do the first 1/10 players, at t = 0.2 do the second 1/10 of players etc. |
19:24 |
|
ssieb joined #minetest |
19:26 |
|
Cryterion joined #minetest |
19:27 |
|
SylvieLorxu joined #minetest |
19:42 |
|
DatJohnDoe joined #minetest |
19:52 |
|
Obani joined #minetest |
19:56 |
|
Alduin_ joined #minetest |
19:58 |
|
nanovad joined #minetest |
20:04 |
|
Gael-de-Sailly joined #minetest |
20:11 |
|
proller joined #minetest |
20:12 |
|
lambda-11235 joined #minetest |
20:44 |
|
Soni joined #minetest |
20:44 |
|
GunshipPenguin joined #minetest |
21:13 |
|
DatJohnDoe joined #minetest |
21:13 |
DatJohnDoe |
Can I ask questions about mod development? |
21:14 |
sofar |
always |
21:15 |
DatJohnDoe |
How would i make a node that uses a meseconductor signal to place another node in front of it? |
21:15 |
DatJohnDoe |
Or multiple nodes? |
21:17 |
sofar |
I believe that you add a nodedef field to trigger execution |
21:18 |
DatJohnDoe |
But how about placing the seperate node? |
21:18 |
sofar |
mesecons = {effector = {action_on = functionname}} |
21:18 |
sofar |
have you looked at lua_api.txt? |
21:19 |
DatJohnDoe |
Yes but not very well obviously brb |
21:20 |
|
cimbakahn joined #minetest |
21:23 |
sofar |
DatJohnDoe: just look for minetest.place_node() |
21:23 |
DatJohnDoe |
Ok |
21:27 |
DatJohnDoe |
Ahh so i would i get the position of the original node? Minetest.get_node()? |
21:31 |
sofar |
check the mesecons api |
21:31 |
DatJohnDoe |
Ok |
21:32 |
sofar |
actually I don't know if there is one |
21:33 |
sofar |
action_on = function (pos, node) |
21:33 |
sofar |
so you get pos and node |
21:35 |
DatJohnDoe |
But where do i get pos from? |
21:35 |
DatJohnDoe |
also there isnt one |
21:35 |
DatJohnDoe |
I think, i looked on github |
21:36 |
Fixer |
._. |
21:36 |
DatJohnDoe |
Im a Newb |
21:37 |
sofar |
I just showed you |
21:37 |
sofar |
but, try reading some other mod code first |
21:37 |
sofar |
find a mod that does something similar to what you want |
21:37 |
sofar |
then look at its code |
21:38 |
DatJohnDoe |
Ok |
21:38 |
sofar |
e.g. is there a node that you know reacts to being powered by mesecons? |
21:47 |
|
Taoki joined #minetest |
21:49 |
|
roboman2444 joined #minetest |
21:59 |
DatJohnDoe |
Ok so i looked at the code for the mod (it was the deployer from pipeworks) but the code uses get_pointed_thing by using "VirtPlayer", what is that? |
22:01 |
sofar |
DatJohnDoe: irrelevant for you, there is no such thing when mesecons activates your node |
22:01 |
|
Hirato joined #minetest |
22:01 |
sofar |
DatJohnDoe: try to find a case where mesecons fires off a function through an action_on function instead |
22:02 |
sofar |
e.g. TNT or doors are a good example |
22:02 |
DatJohnDoe |
But they use that to get the pos of the node, minetest.place_node(POS, node) |
22:02 |
DatJohnDoe |
How do i know the pos of the original node? |
22:02 |
sofar |
you get pos and node from the caller |
22:03 |
sofar |
as params to your function |
22:03 |
sofar |
https://github.com/minetest/minetest_game/blob/master/mods/tnt/init.lua#L216 |
22:03 |
sofar |
boom() gets called from mesecons |
22:03 |
sofar |
https://github.com/minetest/minetest_game/blob/master/mods/tnt/init.lua#L243 |
22:04 |
sofar |
mesecons passes (pos, node) to boom() |
22:04 |
sofar |
function boom(pos) only uses "pos" so it omits putting node in the definition |
22:04 |
sofar |
but otherwise it would have also received "node" |
22:06 |
|
swift110 joined #minetest |
22:06 |
|
swift110 joined #minetest |
22:08 |
|
proller joined #minetest |
22:08 |
DatJohnDoe |
local function placeNode(pos) minetest.set_node(pos, {"name = modname:block"} end |
22:09 |
DatJohnDoe |
But replace local with "action_on =" no quotes |
22:11 |
|
steven3 joined #minetest |
22:14 |
steven3 |
hi, how can I do to save chat as a client? I am trying to use "--verbose" and "--log file" but it is still not saving it |
22:16 |
steven3 |
--logfile* |
22:18 |
est31 |
you'll have to modify engine source |
22:18 |
est31 |
right now it doesnt support it. |
22:19 |
steven3 |
ow, even with "--trace"? |
22:21 |
MinetestBot |
[git] nerzhul -> minetest/minetest: shader.cpp: don't test twice if shader programs are present 4e3fe46 https://git.io/vgg2m (2016-02-09T23:19:19+01:00) |
22:23 |
|
Robert_Zenz joined #minetest |
22:24 |
DatJohnDoe |
Ok other than modding im having another problem |
22:25 |
DatJohnDoe |
when i go into a server from my pc most of my items are gone but when i login from my android they are there |
22:26 |
est31 |
do you use the official minetest client? |
22:26 |
est31 |
which android app |
22:26 |
DatJohnDoe |
Yes from minetest.net |
22:27 |
DatJohnDoe |
i downloaded latest android from minetest.net |
22:27 |
DatJohnDoe |
Not a fake knock off of mt |
22:28 |
est31 |
so its 0.4.13 apk? |
22:28 |
est31 |
do you have screenshots? |
22:28 |
est31 |
of both android and pc |
22:28 |
DatJohnDoe |
i can make some |
22:28 |
DatJohnDoe |
Brb |
22:33 |
DatJohnDoe |
http://imgur.com/fRGss82 from android |
22:33 |
DatJohnDoe |
http://imgur.com/W4elrx7 |
22:33 |
DatJohnDoe |
From pc |
22:34 |
|
Wayward1 joined #minetest |
22:34 |
kaadmy |
DatJohnDoe: second link's broken |
22:35 |
DatJohnDoe |
Imgur.com/W4elRx7 |
22:35 |
|
Wayward1 joined #minetest |
22:36 |
DatJohnDoe |
waiiitt usernames are different |
22:36 |
DatJohnDoe |
ffs |
22:36 |
DatJohnDoe |
I'm sorry |
22:37 |
DatJohnDoe |
Yup that was the problem |
22:41 |
kaadmy |
heh |
22:41 |
kaadmy |
no |
22:41 |
kaadmy |
np* |
22:44 |
|
STHGOM joined #minetest |
22:46 |
|
jin_xi joined #minetest |
22:52 |
MinetestBot |
[git] nerzhul -> minetest/minetest: Fix inverted conditions in shader.cpp ba8fa9e https://git.io/vgg6x (2016-02-09T23:50:37+01:00) |
22:54 |
|
STHGOM joined #minetest |
22:58 |
|
User45787 joined #minetest |
22:59 |
User45787 |
Hi |
23:01 |
kaadmy |
some people need to learn IRC |
23:01 |
kaadmy |
not just connect, say "Hi" and leave |
23:01 |
kaadmy |
or ask a question and leave |
23:08 |
|
roboman2444 joined #minetest |
23:15 |
MinetestBot |
[git] sofar -> minetest/minetest: Fix backface culling when connecting to new servers. 47464c9 https://git.io/vggDY (2016-02-10T00:10:51+01:00) |
23:23 |
|
rubenwardy joined #minetest |
23:23 |
|
red-001 joined #minetest |
23:33 |
Fixer |
when compilation is automated -> feels soo good man |
23:33 |
Hijiri |
player pos is at the bottom of the collisionbox, right? |
23:33 |
Hijiri |
Is this true for any height of collisionbox? |
23:50 |
|
turtleman joined #minetest |
23:59 |
|
rubenwardy_ joined #minetest |