Time Nick Message 14:40 messa4 hello 14:41 messa4 HELP. how to get minetest in ENGLISH? im using windows xp [french version]. but i want to play minetest in english 14:41 messa4 its serious bug 14:42 messa4 imagine: u are using chinese computer in cyber-caffe in china, u want to play but minetest is AUTOMATICLY changing launugage to chinese instead english 14:43 VanessaE wrong channel, messa4 14:44 VanessaE these questions belong in #minetest 14:44 messa4 I CANT 14:44 messa4 PLEASE HELP ME 14:44 messa4 I have only 40 minutes lefty of cybercafe 14:44 messa4 and i 14:44 messa4 want to play in english 14:44 ironzorg messa4: "language" variable in minetest.conf 14:44 messa4 but menu if FORCING french menus becasue of french windows installed on machine 14:44 messa4 why its not in some menu? 14:45 messa4 also why minetest is doing that without question? 14:45 messa4 THERE IS NOT "language" in minetest .conf!!!!!!!!!!!!!!!!!! 14:46 messa4 any professinal here? HOW TO CHANGE LAUNGUAGE of game? 14:46 messa4 why this is not in the menu? 14:46 ironzorg language=en 14:46 VanessaE messa4: this is a community, volunteer effort, please show some respect. 14:46 messa4 please add it to menu ok? 14:46 messa4 i was using minetest for year 14:46 messa4 on pc with english windows 14:47 messa4 so i was shocked when i enetered the game [usb pen drive] and suddenly my game is FRENCH 14:47 messa4 this is serious bug 14:48 ironzorg who is bug 14:48 ironzorg bug better be serious about this. 14:48 zat How can it be a bug that a game uses the language of the OS 14:48 messa4 autoamtic launguage change based on windows version. 14:48 messa4 please add change in menu 14:48 VanessaE this is not a bug, messa4. the normal behavior of most software that is i18n compatible is to adapt to the language of the system being run on. 14:48 messa4 otherwise - people would be not able tyo play 14:48 messa4 but its opposite 14:49 zat Windows is in french, game decided to start in french because of that 14:49 messa4 re-read my "travel to china to cybercafe" line 14:49 zat how can that behavior be incorrect? 14:49 messa4 and what if i will be in china? 14:49 VanessaE change the language variable, or add it if it isn't in there. 14:49 messa4 THIS SHOULD BE IN MENU IN GAME 14:49 messa4 not in some myhsterious config 14:49 messa4 that i would never find without asking on irc 14:49 messa4 :( 14:49 messa4 think of normla users 14:49 messa4 normal 14:50 zat normal users use Windows in their native language AFAIK 14:50 VanessaE minetest.conf is not "mysterious". Almost eeryone who uses minetest knows of this file. 14:50 messa4 i didnt know about it 14:50 zat messa4: if it is so urgent for you, you can add the feature to the code. 14:50 messa4 and i played minetest for almost year 14:50 VanessaE and am I wrong, or doesn't every minetest install also come with a copy of the .example also? 14:50 ironzorg yep, that's where I found the variable 14:51 messa4 zat: from me its ok. as i can ask for help on irc. but im afriad that normal users would never know how to change it. imo there should option in menu. thats it :) 14:51 messa4 ps. minetest is great. and thx for making it 14:51 zat sure :) 14:52 messa4 zat: like flag on first menu that u see. u click on falg and choose: default os launguage or english or other transaltions avalible 14:52 zat yes I know how language selection works 14:52 messa4 good 14:53 messa4 do it then. and add living nimals and mosters :) thanks 14:53 messa4 animals* 14:53 VanessaE messa4: if you feel the need to add something like this, please code it and submit a pull request 14:53 VanessaE even an initial language selection screen as you propose would probably suffice. 14:53 messa4 VanessaE: in future maybe. now i dont have access to computer, electricity or internet. [cyber cafe now] 14:53 VanessaE morning, Jordach 14:54 VanessaE messa4: if no electricity, how have you been playing for the past year? 14:54 messa4 VanessaE: I moved to diffrent country month ago :) traveling 14:54 VanessaE I se 14:54 VanessaE see* 14:54 Jordach wrong channel 14:54 VanessaE Jordach: been there, done that. 14:55 VanessaE now, please take this to #minetest 14:55 VanessaE you're already signed into that channel also. 14:55 messa4 i cant talk there 14:55 VanessaE why not? 14:55 messa4 Cannot send to channel 14:56 VanessaE try now. 15:30 messa4 when u will add the launguage choose option to default build? 15:30 messa4 its crtitical bug 15:31 messa4 u will go to china and unable to play 15:31 messa4 at current state 15:31 zat If I ever travel to china I really doubt I would be worried of playing Minetest in a computer. 15:31 messa4 what if u will move to china? 15:32 messa4 some people travel and not stay in hotels 15:32 messa4 for months 15:32 messa4 think about it 15:32 zat I doubt I will ever be, and if I move, I think I am smart enough to change a config. 15:32 zat $"#&%$&#%&#$ 15:38 ironzorg messa4 | its crtitical bug 15:38 ironzorg :) 15:40 zat extreme unstability 16:37 ShadowNinja zat: I will try your SQLite rollback. Where should I get it from? And which branch is it in? 16:41 zat ShadowNinja it is the last commit in the master branch at git://bros.ivn.cl/mbarrera/minetest.git 16:46 ShadowNinja zat: rollback.txt is left in place for you to delete if all went well? 16:47 zat yes if all went well it will be deleted 16:47 zat so better back it up just in case 16:47 zat I made a hard link of mine to not use more space 16:48 ShadowNinja zat: It shouldn't delete it. 16:48 zat (/rollback_check is not implemented in the mod, only the rollback function) 16:48 zat ShadowNinja: it should not, but how does it know it should not migrate the file again? 16:49 zat I could not find more useful functions in filesystem.h to make it do something else 16:49 zat I had originally though of appending a .done to the file 16:49 ShadowNinja zat: It should only migrete if rollback.sqlite doesn't exist, rollback_recording is enabled, and rollback.txt exists. 16:49 ShadowNinja migrate* 16:49 zat I let it migrate is the rollback.sqlite does not exist in case of incomplete migrations 16:50 zat you can kill minetestserver during a migration, and it will continue on next start 16:50 ShadowNinja zat: If the migration is incomplete you just delete the sqlite file. 16:51 zat if the migration is incomplete it will more likely be for a reason that did not let the server correctly close 16:51 zat but well, I have to take your opinion into consideration 16:51 zat I would rather rename the original file anyway 16:51 Exio4 you need to think the rollback generated could be corrupted 16:52 Exio4 and you would want to go to the "old format" or keep it or whatever 16:52 ShadowNinja Yes, a pertially-converted db may very well be corrupted. 16:52 zat I am using transactions to minimize that possibility 16:53 zat still I need more useful functions in filesystem.h 16:53 zat how do I guarantee that the resulting database is not corrupted? 16:53 ShadowNinja zat: Then write them. :-) 16:53 Exio4 you can't? that is why you shouldn't delete it 16:53 ShadowNinja zat: I don't think you can. 16:53 zat ShadowNinja: I could write them, but I cannot guarantee it would be cross-platform. 16:54 zat Exio4: I cannot guarantee it would not be corrupted, but I cannot tell whether should I migrate the existing file again or not 16:54 zat it would be easier if filesystem.h provided a function to rename the old file afterwards 16:54 Exio4 if the sqlite file is there, you shouldn't migrate 16:54 zat I let it do that in case of interrupted migrations 16:55 ShadowNinja zat: Add a file, set a value in the db, or something similar while migratin and remove it afterg. If the key or file exists then restart the migration. 16:55 zat other thing I could do is recording the modification date of rollback.txt and record somewhere after the migration is done 16:55 zat well lol like that yes 16:57 zat whatever method I am implementing it after confirming the new rollback works fine for everybody 16:57 zat how big is your txt ShadowNinja? 16:57 ShadowNinja zat: Could the speed be calculated more acurately? It seems to round to 5000. 16:57 zat actions per second? 16:58 ShadowNinja $ wc -l worlds/b/rollback.txt 16:58 ShadowNinja 5426636 worlds/b/rollback.txt 16:58 zat ok that is a bunch 16:58 ShadowNinja Took a few minutes. 16:58 zat the speed can be calculated more accurately yes, I think it just does 10000 actions per commit 16:58 ShadowNinja So rollback_check doesn't work? 16:58 zat yes I did not implement that one yet 16:59 zat but it is easy to implement... I abstracted the query mechanism to a single function 17:00 zat I can probably improve that part of the code and have the migrator adjust its actions per commit depending on its speed. 17:00 ShadowNinja Alright, that is the best function to profile this since it doesn't involve changing the map. 17:00 zat did not think of that huh 17:00 zat but aren’t you working on a test world? 17:00 zat (not on production/public) 17:01 ShadowNinja A old copy of my public server. 17:01 zat ah good 17:01 zat then I guess you can destroy :D 17:08 ShadowNinja rollback.sqlite: 464M rollback.txt.bkp: 833M 17:09 zat it optimized too 17:19 ShadowNinja Using the sqlite3 tool on the DB shows aproximately 1 second rollback checks. 17:20 zat did you perform actual rollbacks? 17:20 ShadowNinja Much better than >256s checks. (My server started pinging out from the IRC server it was connected to) 17:21 ShadowNinja Nope, I want to keep this world for now, I may want to copy things from it. 17:21 ShadowNinja I used it because it had a big rollback file. 17:22 zat cannot you copy the world and change that one? 17:23 ShadowNinja Yes, but the SQLite rollback os definitely better. The bottleneck should only be the ma now. 17:24 zat ma? 17:24 ShadowNinja map. grep shows speeds similar to SQLite. 17:30 ShadowNinja zat: Make sure that when you change it you make rollback_check more informative, eg: BadPlayer changed air to lava 12345 seconds ago GoodPlayer changed lava to stone 1234 seconds ago GoodPlayer changed stone to air 1232 seconds ago. 17:30 celeron55 zat: i didn't bother reading the full discussion, but you're free to add a function to filesys.h (it can just use the C standard rename() like safeWriteToFile does) 17:32 zat ShadowNinja: I guess that would go in the file that interfaces with lua but sure I can improve it 17:33 zat celeron55: thx for permission and I noticed what you meant the other day... when trying to amend my own commit I soft-resetd by accident and ended up amending a commit that wasnt mine D: 17:34 celeron55 do it in a separate commit so things stay organized 17:34 zat right, I never meant to use an existing commit to begin with roflol 17:35 celeron55 has Sokomine already tested sqlite rollback? sokomine is one of the people who've been eager to get some improvements on rollbacks 17:36 zat Sokomine asked me how to get it but hasn’t tell me how it went. 17:36 zat told* 17:39 celeron55 having it as a pull request on github would be good for making it seen by more people 17:40 ShadowNinja ^ The proper way to do this is to fork the repo and make your changes in a sqlite_rollback branch. 17:40 celeron55 (which is important because the more eyeballs, the more issues are found before users get hold of it) 17:41 zat oh goood 17:41 zat I am going to do that 17:41 zat after I finish cleaning the kitchen... 17:42 celeron55 i'm totally in for having as much improvement on the rollback functionality as possible; the current one is really just a proof-of-concept 17:44 celeron55 (i know it is because i made it 8)) 17:44 zat kik 17:48 celeron55 one thing i guess would be very desired would be automatic removal of old rollback logs 17:48 celeron55 so that server admins can decide that they tend to hear about griefings within a week and then save space by not holding a month of log 17:49 celeron55 i haven't really been running a server in a year or two, and never ran a server with rollback enabled so i don't know what i'm talking about 17:49 VanessaE +10000 17:50 VanessaE an active server will generare 2-3 GB worth of rollback.txt in a few weeks' time 17:50 ShadowNinja DELETE FROM action WHERE timestamp