Time Nick Message 05:50 cg72 ok why does my new build not find my gpu drivers??????? 06:24 RealBadAngel cg72, video driver setting is now in menu 06:24 cg72 is that why mine crash lol 06:25 RealBadAngel dunno, just guessing 06:26 RealBadAngel https://github.com/minetest/minetest/commit/996ea60642c5d78fc915573af0641d78bc7e2d49 06:26 cg72 if i click on the settings tad it errors 'get_video_rdriver' = nil 06:27 cg72 yup line 113 is my error 06:28 RealBadAngel huh, that commit doesnt have such function 06:29 cg72 i swear it hangs up on it every time i click settings tab 06:30 cg72 have to go to .conf and change last tab 06:44 RealBadAngel idk whats going on, will check that 06:47 cg72 thanks rba <2 06:48 cg72 <3 06:50 RealBadAngel ./src/script/lua_api/l_mainmenu.cpp:1006:int ModApiMainMenu::l_get_video_drivers(lua_State *L) 06:50 RealBadAngel do you have it in your copy? 06:50 cg72 one sec 06:51 cg72 yes i have it 06:51 RealBadAngel you can grep for get_video_drivers, and should have 5 matches 06:52 cg72 how? 06:56 RealBadAngel idk how cmd line grep works, im using one geany built-in one 07:00 RealBadAngel i just compiled fresh sources with that patch 07:00 RealBadAngel i think i should kick some1 in the ass 07:00 jin_xi are you all out of bubblegum? 07:00 RealBadAngel that setting is completely useless in main menu 07:01 RealBadAngel 1st of all it requires restart of the game for changes to take effect 07:01 RealBadAngel i do have 3 drivers aviable, software, burningsvideo (wtf is that shit??) and opengl 07:01 RealBadAngel and only opengl is working 07:02 RealBadAngel two others are badly fucked up 07:03 cg72 and it kills me any way i do it lol i commented that out of my menue and it works again 07:03 cg72 rba can i ask you a question? 07:03 RealBadAngel sure 07:04 cg72 why is it that some of the code is from the first commit and is shit code but everyone wants to add new stuff not improve the old code 07:04 cg72 just in gerenal 07:05 RealBadAngel hmm, sometimes to be able to change the old code, first you have to understand what it does 07:06 RealBadAngel maybe its easier to write something new? 07:06 RealBadAngel im changing now the lighting code, its a pain in the ass to get how it all works 07:06 cg72 well i have the method of perfect one thing before adding a new thing 07:07 RealBadAngel even i when i need a break from something that pissed me off badly enough i take someting easier to make 07:07 cg72 rba is there any way to have it compress or display far nodes at lower res? 07:08 cg72 to help out fps but make it look like the distance blur in other games 07:08 RealBadAngel there was such attempts, called farmesh 07:08 RealBadAngel afaik freeminer have something like that 07:08 cg72 atempts means it didnt work right lol 07:09 RealBadAngel proller played with the idea further 07:09 RealBadAngel you can check freeminer if it works 07:10 RealBadAngel back to the drivers setting, that is not how it should be done 07:10 RealBadAngel mt can only use opengl and directx (to some point) 07:11 RealBadAngel theres absolutely no reason to make other non working modes be aviable for user 07:12 RealBadAngel maybe if main modes are not aviable, then use software one to display nice window with info that right ones are needed and shut the engine down 07:13 RealBadAngel but using modes that are not capable even to display main menu correctly is just plain dead stupid 07:13 cg72 rba i 100% agree, whos code is that lol 07:15 RealBadAngel sapier's (based uppon idea from webdesigner97) 07:15 RealBadAngel so we do have two butts to kick 07:15 cg72 i will get on sapier as it shows him as the ofender 07:16 cg72 only win builds can use directX or opengl so i dont need that option at all ever 07:20 RealBadAngel http://i.imgur.com/5hGuOUq.png 07:21 RealBadAngel whoever thought adding such driver as aviable, had to be drunk or on high 07:22 cg72 what the bloody hell? 07:23 RealBadAngel thats software renderer 07:23 cg72 thats utter rubbish 07:24 RealBadAngel that commit has to reverted asap 07:26 cg72 well i apearently suck at trying to be a dev and only a few even care to talk to me so ill leav thet bit to yuo lol 07:45 casimir well i have the method of perfect one thing before adding a new thing 07:45 casimir I like that. 07:45 cg72 to be honest sometimes i dont progress very fast hahaha 10:03 Megaf Hi all 10:04 Megaf kahrl: fantastic, now I can see why my server crashes 10:04 Megaf It wasnt always a minetest core fault afterall 10:04 Megaf https://github.com/Uberi/Minetest-WorldEdit/issues/58 10:04 Megaf there are a couple of misbehaving mods 10:46 Zeno` gosh I hate C++ exceptions 10:46 Zeno` worst idea ever 10:55 Megaf Zeno`: Are you talking about my issue? 10:55 Megaf It was a /home/minetest/Server/src/main.cpp:1955: int main(int, char**): Assertion '0' failed. 10:55 Zeno` no, just stuff in general 10:55 Megaf hm, since kahrl’s fix I no longer get C++ exeptions, only old school mod errors 10:56 Zeno` 21:17:13: ERROR[main]: ERROR: An unhandled exception occurred: std::bad_alloc 10:57 Megaf oh 10:57 Megaf but I think that just a very generic message, isnt it? 10:57 Zeno` not really 10:58 Zeno` it's not a Lua message afaik 10:58 Zeno` I could be wrong though 10:59 Zeno` Uberi is pretty quick (in my limited experience) 10:59 Zeno` hopefully you get an answer soon 11:03 Megaf I think WorldEdit and Pipework have been causing crashes in my server for long now, but I could never figure that out because Mineteset would just hide the actual error 14:30 ShadowNinja cg72, VanessaE, those interested: The structure of a mod depends on it's size and complexity. For something like hardened_clay more than one init.lua file is overkill, while for something like Technic multiple mods, with multiple levels of subfolders containing topical Lua files works well becuase there are so many different nodes, machines, tools, and utilities to support them. 14:30 ShadowNinja It's not good to overdo it (which Mesecons may do) or underdo it (like default before it was split into multiple files) and you have to do it logically so that when you're looking for a piece of code you can follow the directory structure and find it without resorting to `grep -r .`. 14:30 ShadowNinja And for Lua codung style see http://dev.minetest.net/Lua_code_style_guidelines It's still a draft, so mention your concerns on the talk page if you have any. 14:31 ShadowNinja ''tell Zeno` std::bad_alloc is a C++-side memory allocation error. How much memory do you have and what were you doing at the time? How long was the server running? 20:14 sapier ShadowNinja: that location we delete the player is destructor of playerobject. which is correct place because there's no readon to delete a active player object. The player object may not be deleted anytime except player disconnecting. We may have had player aos getting lost before, maybe the bugs resulting from it are less severe, e.g. player not beeing in world, not beeing accessible by lua, things like that. 20:16 sapier hmm not exactly playersao destructor, let me check again 20:16 Miner_48er what causes unknown players? 20:23 sapier ok not in destructor, but along with removing player from environment ... well a player not being in environment doesn't have any reason to exist ;-)