Minetest logo

IRC log for #minetest-hub, 2021-04-16

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

All times shown according to UTC.

Time Nick Message
03:34 LoneWolfHT Would I run into issues if I made a mod that gets/sets player meta by accessing the player db during runtime?
04:00 MTDiscord joined #minetest-hub
04:12 MTDiscord <Jordach> well yes but actually yes
07:07 olliy joined #minetest-hub
07:14 MTDiscord joined #minetest-hub
08:00 ShadowNinja joined #minetest-hub
08:29 Peppy joined #minetest-hub
09:23 calcul0n__ joined #minetest-hub
09:37 olliy_ joined #minetest-hub
10:04 Fixer joined #minetest-hub
10:38 Fixer joined #minetest-hub
10:52 Fixer_ joined #minetest-hub
11:18 Fixer joined #minetest-hub
12:01 calcul0n_ joined #minetest-hub
12:16 Fixer joined #minetest-hub
15:30 MTDiscord <appguru> It would probably not work if you are using SQLite; that holds an exclusive lock. Using Postgres you would most likely get some fine data corruption.
15:40 BuckarooBanzai LoneWolfHT: if the player is online then your data would be deleted on the next update from the engine, see: sqlite: https://github.com/minetest/minetest/blob/master/src/database/database-sqlite3.cpp#L485-L491 postgres: https://github.com/minetest/minetest/blob/master/src/database/database-postgresql.cpp#L525
15:41 BuckarooBanzai if the player is offline then there should be no problems (done this a few times already)
15:43 BuckarooBanzai also: you _can_ write with multiple threads/processes into a sqlite database, but in the minetest-case you should take care that the statements don't take too much time otherwise it stalls the main-loop
15:43 LoneWolfHT I could have the mod use the normal method if the player is online
15:43 LoneWolfHT Alrighty then, kewl
15:56 MTDiscord <appguru> Still, you're probably using SQLite, and I'm pretty sure that holds a lock on the DB file.
16:45 Fixer joined #minetest-hub
16:53 Peppy joined #minetest-hub
16:57 Fixer_ joined #minetest-hub
17:37 hlqkj joined #minetest-hub
19:44 ssieb joined #minetest-hub
21:14 hlqkj_ joined #minetest-hub
22:30 luk3yx sfan5: Hi, there's a server that appears to be lying on the server list
22:30 luk3yx https://i.imgur.com/mebbmgk.png
22:31 MTDiscord <luk3yx> @wwar, Abuzer of Bugz You said there were only 6 in-game players right?
22:31 MTDiscord <wwar> Indeed
22:31 MTDiscord <wwar> Im in game i can send a screenshot to the status
22:32 luk3yx I've watched that player list for >5 minutes and I haven't seen the player count change at all
22:32 MTDiscord <wwar> 4 online now
22:32 MTDiscord <wwar> https://cdn.discordapp.com/attachments/747163533212516474/832745270012805170/Screenshot_2021-04-17-01-33-49.png
22:32 MTDiscord <wwar> I did too
22:34 MTDiscord <wwar> In server list it:
22:34 MTDiscord <wwar> https://cdn.discordapp.com/attachments/747163533212516474/832745709363003442/Screenshot_2021-04-17-01-35-17.png
22:36 MTDiscord <wwar> Also it has creative logo in server list but it isnt..
22:47 luk3yx Apparently it's shut down, perhaps whoever runs it is lurking here
22:47 luk3yx Maybe I should have sent that report in a PM instead
22:47 sfan5 when I saw that earlier I assumed it was just the "no rules, hacked clients allowed" in action but didn't bother to check
22:48 MTDiscord <wwar> I bothered to check because it was empty last days, so weird when it get that amount in one day
22:51 hlqkj joined #minetest-hub

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