Time |
Nick |
Message |
00:05 |
|
torgdor joined #minetest |
00:12 |
|
Taoki joined #minetest |
00:29 |
|
behalebabo joined #minetest |
00:29 |
|
redblade7 joined #minetest |
00:54 |
|
Tux[Qyou] joined #minetest |
01:00 |
|
behalebabo joined #minetest |
01:03 |
|
Lymkwi joined #minetest |
01:47 |
|
sea joined #minetest |
02:42 |
|
CalebDavis joined #minetest |
02:49 |
|
Tmanyo joined #minetest |
03:02 |
|
BamaHit joined #minetest |
03:03 |
BamaHit |
Anyone know where i can read up or see examples of; getting all players connected listed into a dropdown menu? |
03:20 |
|
cyberarm joined #minetest |
03:20 |
BamaHit |
Trying to add it to another one. |
03:21 |
BamaHit |
I have changed things on 'waypoints' mod. Was going to try to add this dropdown of players then you can teleport to them. |
03:23 |
BamaHit |
I'm still kinda a noob. I'm reading it trying to catch up with you haha so bear with me |
03:25 |
BamaHit |
Yeah |
03:26 |
BamaHit |
I made irc accounth so long ago i can't remember the any info that why i can't use it here lol |
03:30 |
|
Taoki joined #minetest |
03:31 |
BamaHit |
I tried this https://pastebin.com/1skbdEbC by copying excatly how you said beacuse to be honest you lost me as "Well," haha. But it crashes to a grey screen |
03:33 |
BamaHit |
No error on screen. I'm goign to do it again and check the debug.txt |
03:35 |
BamaHit |
I didn't. I just used that from what you said. But i is used for other stuff. |
03:35 |
BamaHit |
I'mm change that i to an h |
03:36 |
BamaHit |
The terminal thing you said. I'm not sure what you meant by that. |
03:36 |
BamaHit |
windows :( |
03:37 |
BamaHit |
yeah windows 10 |
03:38 |
|
Taoki[mobile] joined #minetest |
03:40 |
BamaHit |
i opened a cmd in the bin folder. typed minetest.exe and it just opened minetst like normal |
03:41 |
BamaHit |
Nope. |
03:42 |
BamaHit |
But i looked in debug.txt; error i guessing is " attempt to call field 'get_connectec_players' (a nil value)" |
03:43 |
BamaHit |
ah crap |
03:43 |
BamaHit |
lol |
03:46 |
BamaHit |
WARNING[Server]: Assignment to undeclared global "names" |
03:46 |
BamaHit |
where i have "names = {}" |
03:46 |
|
Pie-jacker875 joined #minetest |
03:47 |
BamaHit |
Should it be "local names = {}" |
03:50 |
BamaHit |
Still doing that grey screen and i don't understand the debug txt |
03:50 |
BamaHit |
"attempt to call a table value stack traceback" |
03:51 |
BamaHit |
says for this line "for h in minetest.get_connected_players() do" |
03:52 |
BamaHit |
https://pastebin.com/7vba6LyV the snippet as it is |
03:54 |
BamaHit |
OH OH OH |
03:54 |
BamaHit |
I think you did it |
03:55 |
BamaHit |
I'mma connect with my phone to verify with 2 users |
03:57 |
BamaHit |
http://i.imgur.com/Nmhj0gF.png |
03:57 |
BamaHit |
It is Beautiful! |
03:58 |
BamaHit |
THank you so much man. That will help me progress so much adding/learning |
03:58 |
BamaHit |
high-fives bigfoot547 |
03:59 |
|
slemonide joined #minetest |
04:00 |
BamaHit |
I'm about to hit the bed too. I only can because your help :D |
04:03 |
|
skrp joined #minetest |
04:05 |
skrp |
how to do i correctly use user parameter on the on_use -> hearth fn? https://pastebin.com/raw/pA8qz4W5 |
04:09 |
rmbeer |
This place is very very very active. :S |
04:10 |
rmbeer |
but not understand why always ask if a code working instead of hope any report of bugs... |
04:14 |
skrp |
rmbeer, 'get_player_by_name |
04:14 |
skrp |
*derp 'get_player_by_name'(string expected, got userdata) |
04:15 |
rmbeer |
? |
04:19 |
|
ssieb joined #minetest |
04:36 |
skrp |
i can find the userdata structure that the anony fn returns on_use |
04:37 |
BamaHit |
Is there a method for using command in lua? |
04:53 |
|
wilkgr joined #minetest |
04:55 |
wilkgr |
This is weird - I'm starting a singleplayer world in 0.4.16 and getting this error: |
04:55 |
wilkgr |
2017-08-10 14:53:44: ERROR[Main]: ServerEnvironment::loadMeta(): EnvArgsEnd not found! |
04:56 |
wilkgr |
and it says "the server is probably running a different version of Minetest" |
04:56 |
BamaHit |
skrp: hearth = function() -> hearth = function(player) have youy tried that. |
04:57 |
BamaHit |
wilkgr: have you tried deleting your "env_meta.txt" from the world folder? |
04:57 |
skrp |
BamaHit, well i did hearth = function(user) |
04:57 |
wilkgr |
BamaHit, that worked. Thank you :D |
04:57 |
BamaHit |
skrp: what are you trying to do with that function? teleprot to their location? |
04:57 |
BamaHit |
wilkgr: you're welcome |
04:58 |
skrp |
well that would be nice. but its a teleporting stone with hardcoded destinations |
05:03 |
BamaHit |
So when you hold it and you left cliick you want what to happen? |
05:04 |
BamaHit |
I'm sorry I"m not all that great at this myself. but I don't mind trying to help :D |
05:05 |
skrp |
BamaHit, its to teleport the user to a specific location |
05:18 |
BamaHit |
I got to hit the bed. But check out 'waypoints' mod; it probably has the code you are needing. |
05:43 |
|
rmbeer left #minetest |
05:56 |
|
Hawk777 joined #minetest |
06:30 |
|
CWz joined #minetest |
07:19 |
|
Taoki[mobile] joined #minetest |
07:35 |
|
Krock joined #minetest |
08:09 |
MinetestBot |
[git] SmallJoker -> minetest/minetest_game: Beds: Do not crash when placing in an unknown node 67c01a4 https://git.io/v7MoT (2017-08-10T08:08:24Z) |
08:25 |
|
proller joined #minetest |
08:26 |
|
hisforever joined #minetest |
08:27 |
hisforever |
are there more than 1 mods for animals? |
08:34 |
Krock |
yes. |
08:41 |
|
ensonic joined #minetest |
08:47 |
|
Darcidride joined #minetest |
08:53 |
hisforever |
ty Krock |
08:54 |
|
Ritchie joined #minetest |
08:54 |
hisforever |
I had a mod that had rabbits in it but I can't remember it? |
09:04 |
|
zyabin101 joined #minetest |
09:05 |
zyabin101 |
How can I make the observation direction matter when placing a block? |
09:06 |
zyabin101 |
So that the front side is facing the player at time of placement. |
09:06 |
zyabin101 |
s/block/node/ |
09:11 |
|
Taoki[laptop] joined #minetest |
09:16 |
zyabin101 |
nvm found it |
09:17 |
|
Corvus_ joined #minetest |
09:17 |
zyabin101 |
for rotation along xz only: set `paramtype2` to `facedir` |
09:18 |
|
zyabin101 left #minetest |
09:35 |
jas_ |
!server |
09:35 |
MinetestBot |
jas_: *** SkyWars *** by Telesight | skywars.telesight.nl:30010 | Clients: 22/50, 24/39 | Version: 0.4.15 / minetest | Ping: 6ms |
09:36 |
|
Tirifto joined #minetest |
09:41 |
|
abc__ joined #minetest |
09:41 |
|
abc__ left #minetest |
09:59 |
|
proller joined #minetest |
10:18 |
|
Fixer joined #minetest |
10:33 |
|
Corvus__ joined #minetest |
10:45 |
|
twoelk joined #minetest |
10:48 |
|
Beton joined #minetest |
10:48 |
|
Beton joined #minetest |
11:08 |
|
kaeza joined #minetest |
11:09 |
|
cx384 joined #minetest |
11:34 |
|
ThomasMonroe joined #minetest |
11:35 |
|
CalebDavis joined #minetest |
11:46 |
|
Lukc joined #minetest |
11:48 |
|
proller joined #minetest |
12:00 |
|
Tux[Qyou] joined #minetest |
12:04 |
|
Lukc left #minetest |
12:05 |
|
Emperor_Genshin joined #minetest |
12:05 |
|
Emperor_Genshin joined #minetest |
12:10 |
|
proller joined #minetest |
12:19 |
|
nowhere_man joined #minetest |
12:21 |
|
Tirifto joined #minetest |
12:25 |
|
twoelk joined #minetest |
12:45 |
|
Lymkwi joined #minetest |
12:46 |
|
RobbieF joined #minetest |
12:55 |
|
lisac joined #minetest |
13:19 |
|
KrimZon_2 joined #minetest |
13:20 |
|
Pie-jacker875 joined #minetest |
13:26 |
|
Telesight joined #minetest |
13:37 |
|
antims joined #minetest |
13:46 |
|
lisac joined #minetest |
13:47 |
Tirifto |
Hello all! |
13:48 |
jas_ |
hi |
13:49 |
ThomasMonroe_ |
hi |
13:52 |
ph3-der-loewe |
mau. |
13:55 |
Tirifto |
I guess Minetest does not support fully assymetrical 3D skins (out of the box)? |
13:56 |
ThomasMonroe_ |
no i dont think it does (atm) |
13:59 |
|
AndDT joined #minetest |
14:01 |
Krock |
it's quite much possible to make asymmetrical skins with the current model |
14:02 |
Krock |
but some parts are mirrored for easier design |
14:12 |
Tirifto |
Yeah, my question mostly concerns those prats :P |
14:14 |
Tirifto |
Would making a mod to alter that be possible and simple enough? |
14:14 |
Calinou |
Tirifto: possible, but it would break compatibility with existing skins. (It however is possible to automatically convert them) |
14:15 |
Calinou |
welcome to the most commented issue ever on minetest_game on GitHub: https://github.com/minetest/minetest_game/issues/1235 |
14:16 |
|
AndDT joined #minetest |
14:19 |
|
proller joined #minetest |
14:22 |
Calinou |
heh, I have the most commented issue on 2 repositories already now |
14:22 |
Calinou |
(the other has even more comments, 227 comments) |
14:22 |
Calinou |
(and it was locked since a troll derailed it) |
14:28 |
Krock |
Calinou, there's a subgame from d00med (or similar), where discussions have way more posts because they think it's a chat |
14:31 |
twoelk |
discussing and chating are two different things? hm that might explain a few things |
14:32 |
CalebDavis |
i am regestering a decoration for a subgame of mine and i only have 4 biomes in the world but it is showing up in all of them why? |
14:32 |
CalebDavis |
i have the biomes = "icecrystal_forest" in the decoration description |
14:33 |
CalebDavis |
-description+definition |
14:39 |
|
Player_2 joined #minetest |
14:45 |
Tirifto |
Calinou: Whoa, thanks for that. I tried quickly reading through it, but at the end I'm still not sure if there's any progress. :P Good that it exists, though! |
14:50 |
|
Billre joined #minetest |
14:51 |
|
Lymkwi joined #minetest |
14:55 |
|
twoelk left #minetest |
15:03 |
|
Tux[Qyou] joined #minetest |
15:07 |
|
Corvus_ joined #minetest |
15:22 |
|
ensonic joined #minetest |
15:35 |
|
ensonic joined #minetest |
15:43 |
|
Freejack joined #minetest |
15:46 |
|
DI3HARD139 joined #minetest |
15:46 |
|
proller joined #minetest |
15:46 |
|
lisac joined #minetest |
16:09 |
|
slemonide joined #minetest |
16:11 |
|
sonicpp joined #minetest |
16:32 |
|
stujones11 joined #minetest |
16:33 |
stujones11 |
Tirifto: You could try this mod https://forum.minetest.net/viewtopic.php?f=9&t=17543 |
16:37 |
Tirifto |
stujones11: Neat; thanks! :) |
16:39 |
stujones11 |
You're welcome, see the last two posts if you are using a recent development build and/or 3d_armor |
16:42 |
|
Billre left #minetest |
16:49 |
|
Zehra joined #minetest |
16:56 |
|
Jousway joined #minetest |
17:36 |
|
fwhcat joined #minetest |
17:59 |
|
Corvus_ joined #minetest |
18:00 |
|
ssieb joined #minetest |
18:04 |
|
Pie-jacker875 joined #minetest |
18:09 |
|
YuGiOhJCJ joined #minetest |
18:22 |
|
Gundul joined #minetest |
18:30 |
|
behalebabo joined #minetest |
18:31 |
|
Megaf joined #minetest |
18:37 |
|
Tirifto joined #minetest |
19:03 |
|
ThomasMonroe joined #minetest |
19:04 |
|
greeter joined #minetest |
19:06 |
|
verndrman joined #minetest |
19:07 |
|
Lukc joined #minetest |
19:09 |
|
edgy1 joined #minetest |
19:10 |
verndrman |
how do i capture a vector { old_pos = user:getpos() } in order to do { if vector.equals(old_pos, user:getpos()) then }) then |
19:11 |
verndrman |
im trying to break a channel if player moves |
19:11 |
sofar |
confusing question |
19:11 |
sofar |
getpos() returns a vector |
19:11 |
sofar |
what do you mean by "capture"? |
19:16 |
verndrman |
sorry, the data structure to hold the return x=# y=# z=# |
19:17 |
Krock |
that's a simple table. Lua doesn't know data structures |
19:23 |
|
BamaHit joined #minetest |
19:29 |
|
lisac joined #minetest |
19:31 |
|
Wuzzy joined #minetest |
19:31 |
BamaHit |
What up everyone! |
19:33 |
|
Brackston joined #minetest |
19:33 |
verndrman |
Krock, something like this? https://pastebin.com/raw/39kQEDRc |
19:34 |
verndrman |
a type of packing/unpacking a table? |
19:37 |
Krock |
user:setpos({x=0, y=80, z=0}) is correct, if you ask for that |
19:37 |
calcul0n |
verndrman, you don't need from_table, if vector.equals(old_pos, user:getpos()) should work |
19:38 |
verndrman |
damn it must be something else. cause that is what it was before all two hr research spree |
19:38 |
Krock |
you also seem to use a lot global variables there, like "old_pos" and "h_wait". You could get problems with them, when not set to local |
19:38 |
verndrman |
ahh will change |
19:39 |
calcul0n |
maybe a floating point problem, as a == b is can be a problem with floats |
19:39 |
calcul0n |
do you have an error message ? |
19:39 |
verndrman |
never mind sorry guys it works now, ty calculon |
19:40 |
verndrman |
https://pastebin.com/raw/42PLeMBd |
19:40 |
BamaHit |
Anyone know if you can use get_players_control in formspec? |
19:41 |
verndrman |
calcul0n, after some testing i believe u are correct, ill implement trucation |
19:42 |
Krock |
BamaHit, someone just asked this yesterday. No. |
19:43 |
Krock |
well, yes. you could use it but it would (most likely) return the last known keys before the formspec was opened |
19:43 |
BamaHit |
I asked yesterday, I asked again because the two that answered didn't say for certain they said they "think". |
19:43 |
Krock |
thinking is good. trying is better. tried yet? |
19:43 |
BamaHit |
But thanks for confirming :D I can move to another method :) |
19:47 |
Krock |
just tested it. all fields set to false, no matter how you open the formspec |
19:48 |
BamaHit |
oh bro. Thank you for taking that time to test. |
19:48 |
Krock |
!next |
19:48 |
MinetestBot |
Another satisfied customer. Next! |
19:48 |
BamaHit |
haha |
19:53 |
verndrman |
who is working on clientside scripting? id like to check out the code |
19:55 |
Fixer |
!!!back |
19:56 |
|
CalebDavis joined #minetest |
19:57 |
BamaHit |
Anyone checked out this mod smart inventory? It looks really nice. |
20:02 |
stujones11 |
BamaHit: Yes, it's nicely done and I rather like it, depending on the game-mode |
20:05 |
|
Marolinha joined #minetest |
20:07 |
rubenwardy |
verndrman: nerzhul and red-001, here is the code: https://github.com/minetest/minetest/blob/master/src/script/scripting_client.cpp |
20:07 |
rubenwardy |
note that it includes other files |
20:08 |
verndrman |
thanks rubenwardy i appreciate that link |
20:20 |
|
habeangur joined #minetest |
20:25 |
verndrman |
rubenwardy, is your awards mod a better option than quests due to its awards feature? |
20:26 |
verndrman |
i hate using 'better' but im looking for a replacement. and ur mod seems simpler/complete |
20:47 |
|
swift110 joined #minetest |
20:56 |
rubenwardy |
verndrman, I've not used the quests mod |
21:15 |
|
Pie-jacker875 joined #minetest |
21:16 |
BamaHit |
Guys i added the 'invsaw' it don't have a "back" button. So been trying to add one. button is there https://pastebin.com/KmFtUtM1 when i hit it it says "no waypoint" so it is printing. But like line above and have tried many others but all just grey screen and crash |
21:16 |
BamaHit |
I'm trying to add button to close the 'invsaw' and go back to unified inventory. |
21:17 |
BamaHit |
I have tried many different combos. like "unified_inventory.set_inventory_formspec(name, "waypoints")". But everything just crashes. |
21:27 |
|
bigfoot547 joined #minetest |
21:37 |
|
RobbieF left #minetest |
21:38 |
|
Fixer_ joined #minetest |
21:46 |
rubenwardy |
ew, unified inventory |
21:47 |
BamaHit |
I'd like to use smart invengoty but i can't get waypoints to work in it yet. |
21:48 |
BamaHit |
When i get that figured out i will be swapping to that one. |
21:48 |
rubenwardy |
do you know about sfinv? |
21:49 |
BamaHit |
The default one? |
21:49 |
BamaHit |
Hi bigfoot547 |
21:51 |
BamaHit |
rubenwardy: sfinv that is default inventory isn't it? |
21:51 |
rubenwardy |
yeah |
21:51 |
|
Tux[Qyou] joined #minetest |
21:51 |
rubenwardy |
very simple with a nice API |
21:51 |
rubenwardy |
but not very many mods for it yet |
21:56 |
|
wilkgr joined #minetest |
21:57 |
wilkgr |
Hi bigfoot547. |
21:57 |
wilkgr |
Oh, yay, my internet works again :) |
22:04 |
rubenwardy |
woo |
22:38 |
|
jimmijohn joined #minetest |
22:39 |
jimmijohn |
how do you give a player a heart that wears a helmet. player effects, as far as i could tell, only give temp effects. not extra hearts |
22:41 |
BamaHit |
increase maxhp? |
22:41 |
jimmijohn |
BamaHit, yes |
22:41 |
BamaHit |
Can't we just set the hp higher? |
22:42 |
BamaHit |
"set_hp(hp) — set number of hitpoints (2 * number of hearts)" |
22:43 |
BamaHit |
Not sure what that means...but it sounds bad haha |
22:43 |
rubenwardy |
you can override the hearts view |
22:44 |
rubenwardy |
so theoretically you could add fake hp point |
22:44 |
rubenwardy |
points |
22:44 |
rubenwardy |
you'd then override on_damage or whatever to use your fake points first |
22:44 |
rubenwardy |
then consume hp |
22:44 |
jimmijohn |
is there a hacky-way to give player health wearing x armor? |
22:44 |
rubenwardy |
however, it won't be very compatible with other mods |
22:44 |
BamaHit |
bigfoot547: imma post this agian i think you missed it but had an issue earlier. |
22:44 |
rubenwardy |
ie: most use get/set_hp |
22:45 |
BamaHit |
Guys i added the 'invsaw' it don't have a "back" button. So been trying to add one. button is there https://pastebin.com/KmFtUtM1 when i hit it it says "no waypoint" so it is printing. But like line above and have tried many others but all just grey screen and crash |
22:46 |
BamaHit |
I'm trying to add button to close the 'invsaw' and go back to unified inventory. I have tried many different combos. like "unified_inventory.set_inventory_formspec(name, "waypoints")". But everything just crashes. |
22:46 |
jimmijohn |
are you all sure there is no mod that kind of deals with this? seems like a general gaming feature |
22:46 |
BamaHit |
Those guys are pretty smart man |
22:49 |
BamaHit |
I thoguht waypoints was the string. |
22:49 |
BamaHit |
Sure man |
22:49 |
rubenwardy |
UI has an ugly API |
22:49 |
rubenwardy |
and yes, I'm 90% sure it's the formspec string there |
22:50 |
BamaHit |
I copied that code form worldedit's back button that leads back to inventory. |
22:50 |
rubenwardy |
ah |
22:50 |
BamaHit |
that is why it is got me confussed. |
22:51 |
BamaHit |
ill try that now |
22:54 |
BamaHit |
Same results :( |
22:56 |
BamaHit |
attempt to call method 'get_player_name' (a nil value) .. that is odd |
22:56 |
BamaHit |
when it does print the message |
22:57 |
BamaHit |
Oh in unified_inventory/internal.. |
22:57 |
BamaHit |
which is "local player_name = player:get_player_name()" |
22:58 |
BamaHit |
player is definded on the pastebine |
22:58 |
BamaHit |
second line |
23:00 |
rubenwardy |
print(dump(player)) |
23:00 |
BamaHit |
i can print "No waypoints" |
23:01 |
BamaHit |
if i comment out the _formspec |
23:01 |
BamaHit |
k |
23:05 |
BamaHit |
Ok, player is not a string its userdata |
23:06 |
BamaHit |
https://pastebin.com/CKqnZRV5 |
23:06 |
|
troller joined #minetest |
23:09 |
BamaHit |
maybe i should be trying to figure out how to use "minetest.show_formspec() instead of the unified_inventory.set_inventory_formspec |
23:10 |
rubenwardy |
or sfinv ;) |
23:10 |
rubenwardy |
to switch a page you do sfinv.set_page(name, "sfinv:crafting") |
23:10 |
rubenwardy |
although you'd have to make waypoints |
23:13 |
BamaHit |
sfinv seems harder to modify. |
23:13 |
BamaHit |
It is like most of the code is in the engine and not in that sfinv folder. But I am a noob so..... |
23:13 |
rubenwardy |
all of the code is in the sfinv folder :P |
23:13 |
rubenwardy |
it's very easy to add pages |
23:14 |
rubenwardy |
it's very easy to replace or remove pages |
23:14 |
BamaHit |
You can search those 2 files and niether have the names of the Tabs in it so how is it there? |
23:14 |
rubenwardy |
BamaHit, they're called pages as it may not necessarily be tab |
23:14 |
rubenwardy |
*tabs |
23:14 |
rubenwardy |
and all of sfinv's code is in sfinv/api.lua |
23:15 |
rubenwardy |
modifying pages is harder, as you need to get the old page and call it to generate the formspec, then add your own stuff to it |
23:15 |
BamaHit |
I can search that page for "all" and there is no results. |
23:15 |
rubenwardy |
the creative tabs are defined in the creative mod |
23:15 |
BamaHit |
I must be thinking about this all the wrong way lol |
23:15 |
BamaHit |
See you just said it I was haha |
23:15 |
rubenwardy |
sfinv is a inventory mod that provides only a crafting page/tab by default |
23:16 |
rubenwardy |
creative is the mod that adds the creative inventory and creative features |
23:16 |
BamaHit |
Now i'm starting to understand :D |
23:17 |
BamaHit |
Thank you for that rubenwardy |
23:18 |
BamaHit |
All the knowledge i can gain the better |
23:18 |
rubenwardy |
:D |
23:18 |
rubenwardy |
well, it helps that I wrote sfinv |
23:18 |
BamaHit |
no shit? |
23:18 |
BamaHit |
Very nice bro! |
23:21 |
BamaHit |
There is a lot of talented people involved with this game |