Minetest logo

IRC log for #minetest, 2021-05-01

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

All times shown according to UTC.

Time Nick Message
00:03 specing_ joined #minetest
01:03 big_caballito joined #minetest
01:35 delta23 joined #minetest
02:05 TechDude joined #minetest
02:32 Verticen joined #minetest
02:45 Surfer2011 joined #minetest
04:00 MTDiscord joined #minetest
04:09 MTDiscord <MisterE, Modder of Sorts> hi, Im getting some really interesting problems
04:09 MTDiscord <MisterE, Modder of Sorts> I have the newest version of player_api
04:09 MTDiscord <MisterE, Modder of Sorts> and I have a skins mod that sets the player skin using player_api
04:10 MTDiscord <MisterE, Modder of Sorts> the problem is that just after I join a game, the player's skin gets reset to the default sam several times
04:11 MTDiscord <MisterE, Modder of Sorts> so, even though the skins mod does set it to something else, it gets undone
04:11 MTDiscord <MisterE, Modder of Sorts> I have no idea what is causing it.
04:11 MTDiscord <MisterE, Modder of Sorts> I am running minetest game and a few other mods that do not interfere
04:12 big_caballito joined #minetest
05:04 Krock_ joined #minetest
05:04 MTDiscord <MisterE, Modder of Sorts> ANyone have any idea waht is causing it?
05:04 MTDiscord <MisterE, Modder of Sorts> to get me on the right track to fixing it?
05:08 MTDiscord <MisterE, Modder of Sorts> basically, something is preventing me from changing player textures
05:17 Unit193 joined #minetest
05:23 erlehmann joined #minetest
05:23 zceejkr joined #minetest
05:31 MTDiscord <MisterE, Modder of Sorts> my entire codebase is here: https://gitlab.com/arcadeemulationserver/aes_game/-/tree/master  the skins mod is here: https://gitlab.com/arcadeemulationserver/skins_collectible  and the player_api mod is here: https://gitlab.com/arcadeemulationserver/aes_game/-/tree/master/mods/player_api/textures
05:35 Andrew__ joined #minetest
06:12 Verticen joined #minetest
06:52 FeXoR joined #minetest
07:17 olliy joined #minetest
08:00 ShadowNinja joined #minetest
08:06 gehmehgeh joined #minetest
08:20 Flabb joined #minetest
09:08 hlqkj joined #minetest
09:20 EvergreenTree joined #minetest
09:21 [m]testman joined #minetest
09:25 entuland joined #minetest
09:37 ssieb joined #minetest
09:45 calcul0n joined #minetest
10:10 Flabb joined #minetest
10:18 proller joined #minetest
10:36 Andrew__ joined #minetest
10:37 sys4 joined #minetest
10:45 sfan5 you'll want to figure out which calls sets the texture and then identify all places where this is called
10:50 Verticen joined #minetest
11:18 hlqkj_ joined #minetest
12:02 submariner joined #minetest
12:05 specing joined #minetest
13:12 Kimapr joined #minetest
13:12 SwissalpS joined #minetest
13:28 Fixer joined #minetest
13:39 absurb joined #minetest
13:43 riff-IRC joined #minetest
13:57 entuland joined #minetest
14:13 MTDiscord <MisterE, Modder of Sorts> I tried to do that. I combed through the codebase, but could not identify it. I have a potential fix; I was supposed to use a special version of player_api. I will see if that does fix it
14:16 Splyncryth joined #minetest
14:26 MTDiscord <MisterE, Modder of Sorts> My server crashed unexpectedly: I got a bunch of errors like the first before the crash, and then the crash error is the last error:  2021-05-01 08:02:34: WARNING[Server]: Map::getNodeMetadata(): Block not found 2021-05-01 08:02:34: WARNING[Server]: Map::removeNodeMetadata(): Block not found 2021-05-01 08:02:34: ERROR[Server]: An unhandled exception occurred: std::bad_alloc 2021-05-01 08:02:34: ERROR[Server]: In thread
14:26 MTDiscord 0xc763acba840: 2021-05-01 08:02:34: ERROR[Server]: /home/minetest/minetest4/src/server.cpp:7d: virtual void *ServerThread::run(): A fatal error occurred: std::bad_alloc
14:26 sfan5 std::bad_alloc == The program ran out of RAM
14:39 MTDiscord <MisterE, Modder of Sorts> great, thx. I guess I need a new server
14:41 MTDiscord <MisterE, Modder of Sorts> How much ram does Minetestserver need?
14:42 sfan5 it depends on what the mods do, could also just be a bug in them
14:42 MTDiscord <MisterE, Modder of Sorts> ok
14:44 sagax joined #minetest
14:44 gehmehgeh joined #minetest
15:04 Krock !tell kilbith oooo nice. I love it
15:04 MinetestBot Krock: I'll pass that on when kilbith is around
15:08 MTDiscord <MisterE, Modder of Sorts> I only have 1 gb ram btw
15:12 Bombo MisterE: is this a rpi? ;)
15:14 Bombo i got a 'prob' i played around with the server and mods and games, now i got one 'unknown item' in my inventory, can i find out what it was? no idea where that came from, i thought i installed all mods again hehe
15:14 Bombo (i deleted/moved mods and back)
15:15 gehmehgeh hmm, when Minetest throws an "Error" that such and such dependency for some mod X doesn't exist, does that mean mod X also doesn't get loaded?
15:27 big_caballito joined #minetest
15:29 MTDiscord <MisterE, Modder of Sorts> Bombo: no its not
15:29 MTDiscord <MisterE, Modder of Sorts> its a VM
15:31 MTDiscord <MisterE, Modder of Sorts> sfan5: I have the server crashing with those errors.  2021-05-01 17:30:42: WARNING[Server]: Map::getNodeMetadata(): Block not found 2021-05-01 17:30:42: WARNING[Server]: Map::removeNodeMetadata(): Block not found 2021-05-01 17:30:42: WARNING[Server]: Map::getNodeMetadata(): Block not found 2021-05-01 17:30:42: WARNING[Server]: Map::removeNodeMetadata(): Block not found 2021-05-01 17:30:42: WARNING[Server]:
15:31 MTDiscord Map::getNodeMetadata(): Block not found 2021-05-01 17:30:42: WARNING[Server]: Map::removeNodeMetadata(): Block not found 2021-05-01 17:30:42: WARNING[Server]: Map::getNodeMetadata(): Block not found 2021-05-01 17:30:42: WARNING[Server]: Map::removeNodeMetadata(): Block not foun
15:31 MTDiscord <MisterE, Modder of Sorts> and the server;s webpanel says it was only using 38% memory
15:32 MTDiscord <MisterE, Modder of Sorts> those errors just scroll on by while minetestserver is unresponsive
15:37 sfan5 those aren't errors, just warnings
15:37 sfan5 in any case it depends on what mods are doing
15:38 MTDiscord <MisterE, Modder of Sorts> well, while it does that, the game is unrespionsive, only shutting it down makes it responsive again
15:40 gehmehgeh sfan5: thanks
15:40 MTDiscord <Jordach> tl;dr one mod is trying to get invalid nodes inside a loop that doesn’t exist
15:40 MTDiscord <Jordach> Exit
15:40 sfan5 gehmehgeh: that answer wasn't for you
15:43 sfan5 for your question the answer is "yes"
15:43 gehmehgeh hm
15:43 gehmehgeh uh
15:57 MTDiscord <MisterE, Modder of Sorts> sfan5:
15:57 MTDiscord <MisterE, Modder of Sorts> 2021-05-01 15:55:03: WARNING[ConnectionSend]: con(5/1) Packet quota used up for peer_id=7, was 341 pkts
15:57 MTDiscord <MisterE, Modder of Sorts> waht does that mean?
15:58 sfan5 the server has a large amount of data to deliver to a client and couldn't send it all at once
15:58 MTDiscord <MisterE, Modder of Sorts> ok, is that a problem, or normal?
15:58 sfan5 not a problem if doesn't happen regularily
15:59 MTDiscord <MisterE, Modder of Sorts> ok. I got 16 of those msgs all at once
15:59 MTDiscord <MisterE, Modder of Sorts> so... About the memory problem:
15:59 MTDiscord <MisterE, Modder of Sorts> I installed the game on another server that has 4 gb of ram
16:00 MTDiscord <MisterE, Modder of Sorts> that isnt giving me  2021-05-01 17:30:42: WARNING[Server]: Map::removeNodeMetadata(): Block not found
16:00 MTDiscord <MisterE, Modder of Sorts> whereas the one with 1 gb ram is
16:16 Hawk777 joined #minetest
16:19 MTDiscord <MisterE, Modder of Sorts> sfan5: do you have any idea why skins are mysteriously reset every so often? I have a skins mod that changes the skin, but it gets reset back to sam (character.png) at join and every few minutes. So the skins mod is able to set the skin, but it automatically gets set back to character.png after a few minutes
16:24 sfan5 I can't guess that, no
16:31 MTDiscord <MisterE, Modder of Sorts> ok, thnks anywas. My next step is to try skinsdb, and see if it still happens with that. If it doesn, then I know its not the skins mod at fault, if not, then I know it is
16:32 Helenah joined #minetest
16:32 bdju joined #minetest
16:48 Splyncryth joined #minetest
16:50 fizi joined #minetest
17:04 Bombo i removed a lot already but i still get WARNING[Server]: active block modifiers took 201ms (processed 49 of 485 active blocks)
17:06 Bombo i tried profiling but don't know what everything means in the txt on_step[24] max 86.7 and 91.4 sound much
17:06 Bombo for mobs_animal
17:18 proller joined #minetest
17:20 erlehmann joined #minetest
17:32 Pexin MT server with 1G hahaha
17:33 sfan5 you can run an MT server with 1GB fine but you have to careful about the player amount and mods you use
17:34 Pexin barebones mt_game with one player tho
17:34 sfan5 nah, up to 5 should be fine
17:44 MTDiscord <MisterE, Modder of Sorts> so.. yeah, now I have 4 gb ram
17:44 MTDiscord <MisterE, Modder of Sorts> It got upgraded
17:45 Bombo is there a way to remove all animalworld:* objects/nodes/entities?
17:45 big_caballito Hey, can you detect if an object is a player?
17:45 big_caballito id imagine so
17:46 Bombo i removed the mod, now there are ERROR[Server]: LuaEntity name "animalworld:frog" not defined
17:47 MTDiscord <Jonathon> bombo: yes, alias's and globalstep to check for unregistered objs and remove them
17:49 MTDiscord <Jonathon> big_caballito minetest.is_player
17:50 Bombo Jonathon i need to write a lua script?
17:51 MTDiscord <Jonathon> you would need to make a mod to remove nodes and entities from the world
17:52 Bombo i got no idea how that works (yet)
17:53 Bombo do mods have functions like unregister?
17:53 Bombo if i want to remove one
17:54 MTDiscord <Jonathon> unless the mod author wrote one, no
17:54 MTDiscord <Jonathon> the minetest api does
17:54 MTDiscord <MisterE, Modder of Sorts> so, even with 4 gb ram, im still getting these warnings, and the server becomes unresponsive:
17:54 MTDiscord <MisterE, Modder of Sorts> 2021-05-01 19:53:54: WARNING[Server]: Map::getNodeMetadata(): Block not found 2021-05-01 19:53:54: WARNING[Server]: Map::removeNodeMetadata(): Block not found 2021-05-01 19:53:54: WARNING[Server]: Map::getNodeMetadata(): Block not found 2021-05-01 19:53:54: WARNING[Server]: Map::removeNodeMetadata(): Block not found
17:54 MTDiscord <MisterE, Modder of Sorts> any idea what could cause this?
17:55 MTDiscord <MisterE, Modder of Sorts> could it be that the world is corrupted?
17:55 Bombo MisterE does this happen on a fresh new world?
17:55 MTDiscord <MisterE, Modder of Sorts> good question, I will try it
17:56 Bombo now i got no more 'active block modifiers took 201ms' ;)
17:56 Bombo but lots of unknown
17:58 Bombo need a cleanup mod ;)
17:59 MTDiscord <Jonathon> there are ones that will nuke stuff to air, however i wont recommend one of those in good faith as you may want to have control over what it converts them to
18:00 hlqkj https://github.com/neko259/mod-cleaner
18:00 hlqkj this one worked fine with me
18:02 MTDiscord <MisterE, Modder of Sorts> it doesnt seem to happen with a new world 😦     is there anything to do to repair a world?
18:02 delta23 joined #minetest
18:03 big_caballito Jonathan: Thanks.
18:03 Bombo hlqkj: ok thx will check tomorrow
18:04 hlqkj are you using the technic mod perhaps? we had that error, and found out was due to tech
18:04 Pexin to remove all instances of <block>, what I would do is shut down server, open database in commandline editor, and mass overwrite those records. but that's because I'm probably insane, so please ignore me.
18:04 hlqkj *warning sorry. 'abm took to long' thig
18:05 hlqkj nodes are not stored plain in the database, you would have to run across all nodes stored in each mapblock
18:05 MTDiscord <Jonathon> Pexin: lol, best to make a back up first, but that would save you keeping the alias for all of time
18:05 entuland joined #minetest
18:05 Pexin yeah I remembered after I hit enter
18:06 MTDiscord <Jonathon> hlqkj: every machine is a abm in technic if i recall correctly, not surprising
18:06 Pexin instead there's a utility to decode/re-encode the map, so.. not quite simple as a database query
18:06 hlqkj no, only the switching station is an abm
18:06 Bombo i found https://forum.minetest.net/viewtopic.php?t=21589 sound even better
18:07 hlqkj problem sw/stations forceloads map blocks and never release them
18:07 hlqkj as the time passes you end up having a ton of blocks loaded, and the abm running through them. that caused the warning on our server
18:08 hlqkj Pexin, that's what i meant :)
18:09 Pexin yeah. I just forgot.
18:10 Bombo what does abm stand for?
18:10 hlqkj Active Block Modifier
18:11 Bombo ok thx
18:12 hlqkj about the link you posted a few mins ago, not the one to judge but someone I know got serious problems with that mod once
18:21 somtalgutoo joined #minetest
18:25 Kimapr joined #minetest
18:32 Verticen joined #minetest
18:55 hlqkj joined #minetest
19:01 Taoki joined #minetest
19:14 I_am_6r1d joined #minetest
19:30 Talkless joined #minetest
19:37 awell joined #minetest
19:40 MTDiscord <MisterE, Modder of Sorts> sfan5 or others who know:   2021-05-01 21:38:34: WARNING[ConnectionSend]: con(4/1) Packet quota used up for pee r_id=8, was 512 pkts  im getting that alot actually, what does that mean?
19:41 sfan5 you asked the same question 4 hours ago
19:48 Verticen joined #minetest
19:59 z812 joined #minetest
19:59 z812 joined #minetest
20:00 est31 joined #minetest
20:37 I_am_6r1d joined #minetest
20:55 TomTom joined #minetest
20:55 Swift110-mobile joined #minetest
21:29 MTDiscord <MisterE, Modder of Sorts> you said not a prob if it doesnt happen regularly... so its happening regularly, so Id like a bit more info about it.
21:30 sfan5 the game/a mod is causing too much traffic for the server and it can't keep up with delivering it
21:31 MTDiscord <MisterE, Modder of Sorts> thats happening with a few players online: does that mean that my server does not have good enough internet to support many players
21:31 MTDiscord <MisterE, Modder of Sorts> ?
21:31 MTDiscord <MisterE, Modder of Sorts> or does it just mean that the clients dont have good internet, or are we not able to tell?
21:31 sfan5 neither
21:32 MTDiscord <MisterE, Modder of Sorts> oh..
21:32 sfan5 it means a game or mod is not well optimized
21:32 sfan5 (probably)
21:32 MTDiscord <MisterE, Modder of Sorts> ok. Is there a process to figure out which one it is?
21:33 MTDiscord <MisterE, Modder of Sorts> So I can put it on a todo
21:33 hlqkj joined #minetest
21:33 sfan5 not directly
21:33 MTDiscord <MisterE, Modder of Sorts> ok, thanks
21:34 sfan5 if you run the client with --verbose it can inform you about which packets are sent very often
21:34 sfan5 and for most you can determine which function would have been called that caused them
21:35 proller joined #minetest
21:35 sfan5 and then you look for calls to it in mods and inefficient places are usually obvious
21:47 riff-IRC joined #minetest
22:00 systwi joined #minetest
22:00 Sven_vB joined #minetest
22:34 entuland joined #minetest
22:37 swift110 joined #minetest
22:38 swift110 joined #minetest
23:43 est31 joined #minetest

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