Time Nick Message 00:22 MTDiscord Well, are you using the player_api mod? 00:23 MTDiscord *and depending on it 00:24 AntumDeluge Yes: optional_depends = player_api; if core.global_exists("player_api") then 00:26 AntumDeluge print("Using player_api: " .. tostring(core.global_exists("player_api"))); Output: "Using player_api: true" 00:32 Benau hello rubenwardy... not sure if i can find "MoNTE48" here...... 00:43 MTDiscord oh duh, you need to set the player in the player_api.player_attached[playername] AntumDeluge, i read over the player_api jogged my memory 00:44 MTDiscord //lua player_api.player_attached["wsor"] = true --no idea what you should set for the value //lua player_api.set_animation(minetest.get_player_by_name("wsor"), "sit") 00:45 AntumDeluge Thank you Jonathon! 00:46 AntumDeluge I'll try it out as soon as I get done submitting an issue report for a mod. 00:46 MTDiscord https://notabug.org/TenPlus1/mobs_redo/src/8012250258243709e95ff178d62e6a069ef74afa/mount.lua#L162 lol, guess true is correct 00:48 MTDiscord and np 00:49 MTDiscord https://github.com/minetest/minetest_game/blob/master/mods/player_api/api.lua#L116 for anyone who wants to know the specifics 00:56 BrBridge 14 VanessaE: do you still use loadstring() in APIs? 01:30 AntumDeluge Thank you Jonathon, it worked. 03:22 BrBridge 13 https://youtu.be/T0NYZDGTA5g the l0de radio hour is live! IRC's FINEST HOUR, the late night call in show where you are the star! Call in live, tonight's episl0de: A Small White Dog 03:36 BrBridge 08 lolwut 06:34 AntumDeluge So it seems that with newer mods that attach entities have not problems with "entity:set_yaw(player:get_look_horizontal())", but when trying to update old mods to use "get_look_horizontal", it's always about 90 degrees off. Anyone have any idea why? Does it have something to do with something hardcoded into the model? 06:35 AntumDeluge Example: motorbike mod does "bike:set_yaw(placer:get_look_horizontal())", player view & motorbike aligned... 06:37 AntumDeluge Trying to convert hovercrafts: self.object:set_yaw(clicker:get_look_horizontal()) -- player view is about -90 degrees from front of hovercraft 06:39 AntumDeluge After attachment, the values of self.object:get_yaw() & clicker:get_look_horizontal() are the same (or nearly the same), but still the view is off. 06:41 AntumDeluge get_look_yaw description: Angle is counter-clockwise from the +x direction. 06:41 AntumDeluge get_look_horizontal description: Angle is counter-clockwise from the +z direction. 06:44 AntumDeluge I'm not that good at math, but I'm thinking I use pi to compensate? 06:54 AntumDeluge Ah! The fix is "clicker:get_look_horizontal() + math.rad(90)" 06:55 AntumDeluge Doesn't explain why the fix is needed, but it works. :) 08:17 BrBridge 14 /!\ THIS CHANNEL HAS MOVED TO IRC.LIBERA.CHAT #HAMRADIO /!\ 08:17 BrBridge 14 /!\ JOIN #HAMRADIO TODAY. THIS CHANNEL HAS MOVED TO IRC.LIBERA.CHAT #HAMRADIO /!\ 09:01 BrBridge 08 Wow spammers already? 09:12 BrBridge 10 Emerald2: they've been hitting the network since it launched :-/ 09:13 BrBridge 10 also YAY, my servers are all back up and running :D 09:13 BrBridge 08 Go figure. :/ 09:13 BrBridge 08 Yay for running servers though. :D 09:27 BrBridge 08 hmm, some other migrated channels have relays between the old Freenode channel and the newly created one on libera 09:27 gehmehgeh ah 09:27 gehmehgeh this, too :D 09:27 gehmehgeh *this one, too 09:27 gehmehgeh ECHO! :D 09:27 BrBridge 08 echo 09:27 BrBridge 08 *scnr* 09:28 MTDiscord Ok 09:28 MTDiscord Some bot 12:39 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: GUIEditBox: Allow selecting and copying read-only texts 1393f43c8 https://git.io/Js9TD (152021-05-22T12:39:41Z) 13:47 Sven_vB hi :) 13:47 Sven_vB I'm trying to find the definition of utf8_to_wide_c(). is it this? --> src/gettext.h:48:extern wchar_t *utf8_to_wide_c(const char *str); 13:48 Sven_vB oh, I misread grep. actually I'm looking for utf8_to_wide, without the _c 13:52 Sven_vB I guess it's src/util/string.cpp:90:std::wstring utf8_to_wide(const std::string &input) + src/util/string.cpp:149:std::wstring utf8_to_wide(const std::string &input) 13:59 sfan5 yes 17:49 wsor4035 test 17:49 MTDiscord yay 23:08 BrBridge 07  my terminal font doesn't have the pickaxe so i get colorful boxes 23:08 BrBridge 07 the solution is to install GNU unifont 23:09 BrBridge 07 only terminal font i know with monochrome emoji that are actually, for the most part, recognizable 23:09 BrBridge 07 (disclaimer: i made a lot of emoji for unifont, but that was years back) 23:09 BrBridge 07 (so i might be a bit biased) 23:18 MTDiscord erlhemann: here's the MT engine doing something crazy 23:18 MTDiscord https://gfycat.com/grayimpracticalamericansaddlebred 23:55 AntumDeluge Is there a feature I can check before choosing to call between `object:get_pos()` & `object:getpos()`, `object:set_yaw()` & `object:setyaw()`, etc.? Or is it not possible to keep backward compat in this case? 23:56 MTDiscord getpos is so outdated I dont think its worth keeping backwards compat 23:56 MTDiscord but you can do local get_pos = object.get_pos or object.getpos 23:56 AntumDeluge Okay, that's good to know. Makes things easier.