Minetest logo

IRC log for #minetest-dev, 2013-09-22

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

All times shown according to UTC.

Time Nick Message
00:01 ShadowNinja kahrl: How is httpfetch coming along?
00:16 werwerwer_ joined #minetest-dev
00:22 iqualfragile_ joined #minetest-dev
00:34 kahrl ShadowNinja: haven't done anything in a while
00:34 kahrl there were too many open pull requests for the main menu that would conflict
00:34 kahrl also I was lazy
01:56 diemartin joined #minetest-dev
01:57 Prestotron562 joined #minetest-dev
02:13 BrandonReese_ joined #minetest-dev
04:33 Prestotron562 joined #minetest-dev
04:46 nore joined #minetest-dev
05:14 Prestotron562 joined #minetest-dev
07:24 ImQ009 joined #minetest-dev
07:32 neko259 joined #minetest-dev
08:01 BrandonReese joined #minetest-dev
08:10 VanessaE in an sqlite map, what's the highest value the pos field can take under normal circumstances?
08:11 darkrose joined #minetest-dev
08:18 EdB joined #minetest-dev
08:31 kahrl roughly 32505403281
08:32 VanessaE ok
08:33 VanessaE http://pastebin.com/pSvjT6Gq
08:33 VanessaE first successful iteration of a map merging script that soko and I were working on,
08:33 VanessaE (the large numbers are from before your answer)
08:34 VanessaE everything's hard-coded but for my use case, it worked
08:34 kahrl easy way to check: generate +X,+Y,+Z corner of map and select MAX(pos)
08:37 VanessaE heh, didn't even think to do that
08:45 thexyz echo ".dump" | sqlite3 survival_map.sqlite | grep -v "CREATE TABLE" | sqlite3 creative_map.sqlite
08:45 VanessaE yep, I know I coulda done that
08:46 VanessaE just wanted to get it working first before optimizing it
08:47 thexyz and why do you use two updates?
08:47 VanessaE because when I tried to do it with just one, it kept erroring out, complaining about pos being non-unique
08:48 VanessaE so I got the idea that it's probably a simple collision between what's there and what I wanted change it to
08:48 VanessaE so I figured, move the whole damn map up out of the way, then move it back to where it should be.
08:49 VanessaE I was reminded of older CPU "move" instructions, where you had two of them to handle cases like that ^^
08:49 VanessaE (65816, MVP and MVN)
08:50 thexyz riight
08:50 thexyz sqlite sucks
08:50 VanessaE lol
08:50 VanessaE well I suppose, but I just figured it was being blind is all :)
08:51 * VanessaE goes back to watching silly youtube videos of floppy drive music
09:45 EdB joined #minetest-dev
09:52 Jordach joined #minetest-dev
10:00 johnDC joined #minetest-dev
10:01 diemartin joined #minetest-dev
10:02 Semilevel joined #minetest-dev
10:50 hax404 joined #minetest-dev
11:06 Ritchie joined #minetest-dev
11:25 proller joined #minetest-dev
11:56 EdB joined #minetest-dev
12:06 EdB joined #minetest-dev
12:37 PilzAdam joined #minetest-dev
12:49 ImQ009_ joined #minetest-dev
12:58 n4x joined #minetest-dev
13:01 nore joined #minetest-dev
13:24 Zeitgeist_ joined #minetest-dev
13:25 smoke_fumus joined #minetest-dev
13:44 BlockMen joined #minetest-dev
13:44 nore joined #minetest-dev
14:00 nore joined #minetest-dev
14:05 nore_ joined #minetest-dev
14:05 nore joined #minetest-dev
14:07 iqualfragile joined #minetest-dev
14:28 diemartin joined #minetest-dev
15:22 neko259 joined #minetest-dev
15:29 Miner_48er joined #minetest-dev
16:37 ImQ009 joined #minetest-dev
17:09 ImQ009_ joined #minetest-dev
17:13 ImQ009_ joined #minetest-dev
17:38 Semilevel joined #minetest-dev
19:47 SpeedProg joined #minetest-dev
20:04 kahrl what is the security issue fixed in https://github.com/fairiestoy/minetest/commit/bfabc52841eedf832426a4cfddb3f87d70256dcf?
20:06 PilzAdam kahrl, mods could modify the table, and builtin wouldnt notice that
20:06 kahrl a mod could simply override minetest.get_connected_players as well
20:07 PilzAdam but mods cant modify player_list
20:08 PilzAdam if they would insert something that is not a player, then it would crash in on_leaveplayer()
20:09 kahrl ah
20:09 kahrl I wouldn't call that security though as there isn't really any security in the mod API anyway
20:12 kahrl is table.remove safe while looping over the table?
20:12 PilzAdam there could be a return; after that
20:13 thexyz codestyle doesn't match the rest of the file
20:14 thexyz tabs and spaces are mixed
20:15 thexyz and I think the preferred way would be to define table.copy
20:15 kahrl it's odd that lua doesn't provide a table.copy by default
20:16 thexyz and maybe it'd be better to index players by names
20:16 PilzAdam no, that would break current API
20:16 thexyz how so?
20:16 kahrl if you have the loop in get_connected_players you can reindex it freely
20:16 PilzAdam it breaks ipairs(get_connected_players())
20:16 thexyz no it doesn't
20:17 thexyz I'm talking about temporary table
20:17 thexyz when is "player_ref:is_player" false in on_joinplayer?
20:18 thexyz s/temporary table/player_list/
20:19 PilzAdam yea, woulb be better there
20:19 PilzAdam *would
20:52 salamanderrake joined #minetest-dev
21:50 SpeedProg joined #minetest-dev
22:22 BlockMen left #minetest-dev
22:35 kaeza joined #minetest-dev
23:16 iqualfragile any plans for a release date?
23:17 VanessaE "soon"
23:19 iqualfragile yeah, i mean besides soon
23:19 Taoki joined #minetest-dev
23:19 iqualfragile lots of features were added since minetest 0.4.7 and i think its time to release soon
23:29 iqualfragile i mean look at that featurelist (btw: its a great idea to keep track of changes before releasing!) drowning! finaly! weather, ipv6, lavalighting bug fixed (finaly!), improved rendering code, additional mapgen, formspeck main menu
23:29 iqualfragile or are you waiting for a specific feature?
23:30 PilzAdam mmm Formspeck
23:30 iqualfragile :D
23:31 proller to complete weather needed https://github.com/minetest/minetest/pull/892
23:32 iqualfragile btw: what about providing torrents? 60GB/month does look like quite a bit of bandwidth to me
23:38 iqualfragile so: is there something that people wait for?
23:39 iqualfragile if not it would be nice if someone (PilzAdam) (:P) would create some kind of list so this release actually happens
23:43 jojoa1997 joined #minetest-dev

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