Minetest logo

IRC log for #minetest, 2020-08-26

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:54 fluxflux e.g. https://minetest-bower.herokuapp.com/mods/craft_table
00:54 fluxflux oops
00:54 fluxflux sorry wrong window
00:57 QtSssSircBot joined #minetest
00:59 olliy joined #minetest
01:04 NathanS21 joined #minetest
01:44 Seirdy joined #minetest
01:45 riff_IRC joined #minetest
02:11 absurb joined #minetest
02:13 swift110 joined #minetest
03:30 riff_IRC joined #minetest
03:39 FennecCode joined #minetest
03:54 shangul joined #minetest
05:52 TomTom joined #minetest
06:45 Flabb joined #minetest
06:51 absurb joined #minetest
07:15 FeXoR joined #minetest
07:49 search_social joined #minetest
08:00 ShadowNinja joined #minetest
08:18 Talkless joined #minetest
08:24 shangul joined #minetest
08:34 mangul joined #minetest
08:40 Swift110-mobile joined #minetest
08:47 calcul0n joined #minetest
09:19 Darcidride joined #minetest
09:19 MinetestBot Darcidride: Aug-25 07:07 UTC <BuckarooBanzai> hey, why did you shutdown your servers? lack of money/interest? i'm curious, sorry :)
09:37 BuckarooBanzai joined #minetest
10:00 Darcidride joined #minetest
10:06 blaise joined #minetest
10:12 proller joined #minetest
10:49 Taoki[laptop] joined #minetest
10:50 Fixer joined #minetest
11:08 DrFrankenstone_ joined #minetest
11:10 gry joined #minetest
11:18 andyo joined #minetest
11:39 shangul Is it a "must" that client retrieve media stuff from server?
11:48 rubenwardy there's also remote media
11:48 rubenwardy over HTTP
11:59 shangul But media "must" be received by client at all. right?
12:01 rubenwardy yes
12:01 rubenwardy there is also a cache
12:01 rubenwardy wait - you don't have to get the media if you don't use it
12:01 rubenwardy like, if it doesn't render at all
12:01 rubenwardy you can just tell the server that you already have all media in the cache
12:03 Darcidride joined #minetest
12:15 shangul rubenwardy, hmm that's very good. How can I do that?
12:19 rubenwardy shangul: there's probably a packet to tell the server that the client has finished loading media
12:20 rubenwardy \o/
12:23 shangul hmm
12:26 shangul In client/clientopcodes.cpp I have found just TOCLIENT_BLOCKDATA and TOCLIENT_MEDIA
12:27 shangul Imagine shangulbot on ruben's CTF killing all enemies who become close to base!
12:27 shangul :D
12:28 shangul Or imagine a bot war server(something like robocode.sf.net)
12:40 eeerungur there are minetest bots?
12:53 Fixer_ joined #minetest
12:58 Krock joined #minetest
12:59 shangul eeerungur, Unfortunately no. I was just expressing my imaginations :)
13:01 awell joined #minetest
13:05 kamdard joined #minetest
13:08 eeerungur shangul: it's a cool idea. :)
13:09 shangul I think so, too :)
13:12 rubenwardy pls no cheating
13:12 rubenwardy get good by actually getting good
13:15 eeerungur i wasn't thinking about cheating.
13:15 eeerungur i like the idea of bots as npcs.
13:16 eeerungur are there any good lua bots?
13:17 deltanedas joined #minetest
13:22 Jhalman joined #minetest
13:46 shangul <rubenwardy> pls no cheating -> It is not cheating. Coding a good PvP bot especially in Minetest is an uneasy and complex job.
13:46 shangul Even with a good bot framework
13:46 Scarecrow joined #minetest
13:47 rubenwardy perhaps scheduled tests could occur
13:47 shangul But I don't want to do anything with your server if you don't want that.
13:47 shangul And till now we even don't have a bot which just connects to server and sits there.
14:03 DrFrankenstone joined #minetest
14:03 daniel__ joined #minetest
14:04 daniel__ hi
14:10 shangul bye
14:12 Scarecrow joined #minetest
14:21 shangul \o/
14:21 shangul _o/
14:21 shangul \o_
14:21 shangul :D
14:22 shangul After a few days, now I have a bot which connects to server successfully(and does nothing after that).
14:24 Corey[m] hmm, you're writing a minetest agent? (bot)
14:24 shangul Not exactly. I am trying to get a minetest bot framework out of minetest code...
14:25 shangul Only a crazy person like me may do this with about zero knowledge...
14:25 eeerungur shangul: your bot spawns a character in game?
14:26 Corey[m] Well I had the same idea, but didn't have the time to pursue it 3;
14:26 shangul eeerungur, I don't know. let me check. it should do
14:26 Corey[m] I believe the bot would just act like a normal player connecting to the server
14:26 FeXoR joined #minetest
14:26 shangul yeah
14:26 Corey[m] the only difference is it would be controlled by the AI
14:27 Corey[m] but are you doing this at the network level or just a client side mod in minetest?
14:27 shangul yeah and bot owners better append "bot" to their nick and use it as their bot's name
14:27 shangul Corey[m], network level
14:27 Corey[m] oof, you'll have to emulate the physics engine I think
14:28 Corey[m] I believe the physics calculation is done client side, correct me if I'm wrong
14:28 shangul No idea I am not a Minetest developer at all.
14:29 shangul Never touched engine's code before this
14:30 eeerungur shangul: it would be cool if you could just make a player walk around in a circle or something.
14:30 eeerungur basic proof of concept.
14:31 eeerungur you know like those turtle games kids play to learn coding.
14:31 Corey[m] walking around in a circle would be an accomplishment, I'd say a proof of concept is the player just jumping
14:31 eeerungur the bot wouldn't necessarily have to see the world and react to it, you could just code animations.
14:31 eeerungur Corey[m]: true. a bot player joining and doing a jump would be great.
14:32 eeerungur i'm imagining building a stage and having bot actors. they move around the stage saying their lines at the right time. :)
14:33 eeerungur https://archive.codeplex.com/?p=logo
14:34 eeerungur like logo, but instead of moving a turtle around a screen, you move a minetest player around.
14:34 eeerungur that could be a cool educational toy.
14:36 eeerungur shangul: what language are you using?
14:37 shangul eeerungur, As I said before I'm not writing much new. I am just trying to extract a bot framework out of minetest code.
14:37 shangul Currently it looks like this: http://92.222.41.125/users/farooqkz/screenshot_20200826_185818.png
14:38 eeerungur nice. :)
14:38 shangul No it is ugly :(
14:38 shangul But I will work on it
14:38 eeerungur good for you.
14:43 Talkless joined #minetest
14:51 Fixer joined #minetest
15:07 craigger joined #minetest
15:15 newbie41 joined #minetest
15:15 newbie41 ck twoelk
15:18 twoelk actally there had been npc like objects floating about in the past
15:19 twoelk one called "luigi" was used to make a copy of the surface of the redcrab server
15:21 twoelk the explore_map mod was along similar ideas https://forum.minetest.net/viewtopic.php?id=2950
15:23 eeerungur interesting. thanks twoelk.
15:24 twoelk most servers banned map surveying bots though
15:43 appguru joined #minetest
16:38 fluxflux joined #minetest
17:08 olliy joined #minetest
17:24 olliy joined #minetest
17:32 tnewman6 joined #minetest
17:34 FeXoR joined #minetest
17:44 Conradish006 joined #minetest
17:53 GreenXenith joined #minetest
18:03 appguru joined #minetest
18:22 DS-minetest joined #minetest
18:24 SwissalpS joined #minetest
18:35 DS-minetest is it somehow possible to recompile minetest with puc lua (ie. switching between PUC lua and luajit) without deleting the cmakecache.txt file?
18:36 Krock modify the Makefile manually
18:36 Krock and delete compiled .o files if necessary
18:37 DS-minetest maybe I should ask differently: what is the easiest way to switch between luajit and not luajit?
18:37 Krock link dynamically and attempt to LD_PRELOAD overwrite the library
18:38 Krock works as long both libraries have the same functions, which does AFAIK not apply to 100% for Lua/LuaJIT
18:38 DS-minetest so, it does not work 100%?
18:39 Krock try it. I wouldn't be too confident
18:47 DS-minetest getting a segfault in luaJIT_setmode
18:49 DS-minetest I guess I'll just copy the minetest dir (without all the mods and worlds though)
18:53 Krock why? specify another build dir
18:54 Krock same source, different build options. is very handy when switching between release and debug builds
18:55 DS-minetest how can I do this?
18:58 DS-minetest with the --build option in cmake?
19:00 stiell joined #minetest
19:10 proller joined #minetest
19:11 derp joined #minetest
19:12 Krock DS-minetest: instead of cmake .  it's cmake /path/to/build/dir
19:12 Krock not sure though. I always use cmake-gui...
19:13 DS-minetest I've found out how to do it
19:13 DS-minetest I have to use cmake /path/to/minetest in the build dir
19:14 DS-minetest but there mustn't be a "in-source build"
19:15 DS-minetest which means I need to rename the cmakecache file when i create the "out-of-source build"
19:15 DS-minetest anyway, thanks for your help! :)
19:15 * DS-minetest really needs to learn how to use cmake at some point
19:18 YuGiOhJCJ joined #minetest
19:19 Krock !next
19:19 MinetestBot Another satisfied customer. Next!
19:26 DS-minetest mmh, deleting cmakecache.txt wasn't enough
19:26 DS-minetest it uses 2 src/cmake_config.h now
19:30 Lone_Wolf joined #minetest
19:31 Menchers can edit CMakeCache.txt
19:32 Menchers erm, wait, I think there's a knob specifically for choosing this
19:32 Menchers ENABLE_LUAJIT:BOOL
19:32 Menchers can just turn that on and off
19:32 DS-minetest Menchers: yeah, that's not the problem
19:32 Menchers hm, it doesn't update the library paths?
19:33 Menchers there are LUA_INCLUDE_DIR and LUA_LIBRARY
19:33 DS-minetest anyway, I do know now how I want to handle it
19:33 Menchers ok
19:37 DS-minetest how can I easily find out what all the files are that were automatically generated by cmake (and remove them)?
19:39 Menchers I'm not sure if there's an easy way to do that
19:40 * DS-minetest just sees that there's a ".DS_Store" in minetest's .gitignore. This is surely meant for me.
19:40 Menchers the hacky way I reset everything (only works with git) is rm -rf *; git reset --hard
19:40 Menchers make really sure you're in the proper dir with that rm :P
19:40 DS-minetest Menchers: yeah, but that also removes worlds and mods
19:40 Menchers it doesn't hose any dotfiles so git can restore everything fro .git
19:40 Menchers ah, yes, if you have those in-tree
19:40 Menchers that would be a problem
19:40 Krock it doesn't remove worlds if they're git-ignored
19:41 Krock or unversioned AFAIK
19:41 Menchers ?
19:41 Menchers the rm would
19:41 Krock anyway, use symlinks
19:41 Krock ah yes, but not git reset --hard
19:41 Menchers I just don't keep stuff in my work tree generally
19:42 Menchers was going to suggest git status, but that doesn't show stuff that's listed in .gitignore :/
19:43 DS-minetest git reset --hard also doesn't remove the cmake stuff
19:43 Menchers yeah I think that just restores files to their committed state
19:43 Menchers it doesn't delete anything
19:43 Menchers whether it is ignored or not (I think)
19:43 Menchers not positive on that last thing
19:44 Menchers my personal setup is to install it to $HOME/.local and add $HOME/.local/bin to my PATH
19:44 Menchers though, this only works for one minetest :/
19:45 DS-minetest I use a bash alias
19:45 Menchers if you have a variant that still uses minetest's pathnames one of them's going to have to be RUN_IN_PLACE or installed to a different prefix
19:45 DS-minetest :sweat_smile:
19:47 DS-minetest hm, I could just comment out the ## Build files lines in .gitignore and then reset --hard
19:47 Menchers I could maybe change all the pathnames to be minetest-5/minetest-6 instead of minetest, so I could have a couple variants installed side by side
19:47 Menchers that may be rather involved though
19:48 Menchers I'll just keep one RUN_IN_PLACE, it's the lazy solution
19:50 pyrollo joined #minetest
20:05 DS-minetest ok, removing cmake stuff by removing it from .gitignore, adding it and resetting --hard worked well
20:08 DS-minetest or maybe not...
20:08 DS-minetest there's still a CMakeFiles folder
20:08 DS-minetest only contains empty folders
20:08 DS-minetest git...
20:12 proller joined #minetest
20:14 appguru joined #minetest
20:18 DS-minetest hm, while the minetest binary is created in the minetest_src/bin folder, the output of make doc is in the build dir
20:18 DS-minetest the cmake build dir thing
20:19 Menchers CMakeFiles is important
20:19 Menchers er
20:20 Menchers nvm
20:20 Menchers was confusing it with CMakeLists.txt
20:58 Verticen_ joined #minetest
21:24 Lone_Wolf joined #minetest
21:46 DS-minetest why are some cmake options (like CUSTOM_LOCALEDIR) not documented in the README ?
21:47 sfan5 ¯\_(ツ)_/¯
21:52 DS-minetest can I somehow find out in a mod whether there's puc lua or luajit (without measuring time)
21:52 DS-minetest ?
21:53 DS-minetest (tried _VERSION but it always says "Lua 5.1")
21:53 sfan5 rawget(_G, "jit") ~= nil
21:54 DS-minetest oh, I didn't know that this existed, thanks!
22:02 testman3 joined #minetest
22:16 Shara_ joined #minetest
22:16 alket_ joined #minetest
22:21 Extex joined #minetest
22:27 tyler-2 left #minetest
23:01 tyler-2 joined #minetest
23:09 fluxflux joined #minetest
23:16 twoelk left #minetest
23:23 tyler-2 left #minetest
23:23 tyler-2 joined #minetest
23:50 minduser00 joined #minetest
23:50 minduser00 joined #minetest

| Channels | #minetest index | Today | | Google Search | Plaintext