Time Nick Message 00:30 OldCoder Dolf of Grand, give him a hand 00:30 OldCoder Grandolf, welcome 01:50 Grandolf hi OC 02:04 OldCoder electrodude512, moin 04:17 OldCoder Moment 04:17 OldCoder tiwake, welcome 11:23 * Megaf runs 11:23 * Shara lassos Megaf 11:23 Shara Silly Tiger 11:24 Megaf :O 11:24 Megaf ='( 11:25 * Megaf dies 11:26 Shara Death by being called silly? 11:27 * Shara will be careful with that word from now on. 11:34 Megaf 12:23:42]* Shara lassos Megaf 19:02 ircSparky what would your recommendation for simple spawned buildings/villages be? 19:42 OldCoder ircSparky, Hi. Context? 19:42 OldCoder Sokomine has her mod(s) 19:43 OldCoder LOTT provides examples you will be familiar with 19:43 OldCoder Those could easily be extended 19:43 OldCoder The latter would be better; it would provide an alternative approach 19:47 Sokomine hi oldcoder. er. what's the topic? :_) 19:47 * Sokomine looks puzzled 19:47 OldCoder Sokomine, this: 19:47 OldCoder what would your recommendation for simple spawned buildings/villages be? 19:47 Amaz OldCoder: LOTT's generation is NOT suitable in any way for villages. It would require a total rewrite to work, and you'd be better off starting from scratch. 19:47 OldCoder We have them in LOTT 19:48 OldCoder Define village 19:48 Sokomine ah. i see :-) was hidden behind all those automatic messages. yes, my mg_villages mod provides villages generated at mapgen time 19:48 OldCoder He said "buildings/villages" 19:48 Amaz Even adding individual buildings is tied deeply into lottmapgen itself 19:48 OldCoder That is all fine... code evolves 19:48 Amaz Village = cluster of houses 19:48 OldCoder Let a simple building API result 19:48 ircSparky i just want randomly generated ruins 19:48 OldCoder But he said "buildings" ... perhaps he needs just a few types. This said... 19:48 OldCoder Right, perhaps suitable for that 19:48 OldCoder But speak of Sokomine villages 19:49 OldCoder What is the status of that? 19:49 ircSparky its called mg_villages ? 19:49 Sokomine i'm currently working on a citybuilder mod that will allow players to place blueprints for the houses manually and to even upgrade them 19:49 OldCoder Right, asking Amaz and Sokomine for status 19:49 OldCoder Is there a 3rd choice or is that about it? 19:50 Sokomine ircSparky: there's a ruins mod that provides some very simple ruins. the pyramids mod might also fit in 19:50 ircSparky oh 19:50 Amaz Ruins mod: https://forum.minetest.net/viewtopic.php?t=7200 19:50 OldCoder https://forum.minetest.net/viewtopic.php?id=7200 19:50 OldCoder Ninja 19:50 OldCoder Rewrite it... 19:50 OldCoder Should be easy 19:50 OldCoder Start with this and tidy up 19:51 Sokomine yes, the mod itshelf is called mg_villages. you will need handle_schematics as well. cottages is highly recommended as you'll get more and more intresting village types if you've got it installed. i've also created a villages modpack. the individual mods therein need update... 19:52 Sokomine there's even a village type village_ruins consisting of some buildings someone created as ruins 19:52 OldCoder Sokomine, that is all helpful. For his purposes, ruins looks best, but mg_villages plus cottages seems useful. 19:52 OldCoder ircSparky, sufficient choices? 19:52 ircSparky yea 19:52 ircSparky ruins seems to be a single building 19:52 ircSparky it might look better to have a villiage of ruins 19:52 OldCoder But of different materials? 19:52 Sokomine yes, ruins might be sufficient if all ircsparky is after are ruins :-) 19:52 ircSparky ill test them out 19:53 OldCoder Remember, ruins is simple enough that you can rewrite it 19:53 OldCoder And extend it 19:53 OldCoder That is how I started with mapgens 19:53 Sokomine then give village_ruins a try (depends on mg_villages). you can also build your own houses and villages 19:53 OldCoder If you need more complex, go with Sokomine Stuff 19:54 Sokomine spawning a small(!) schematic (small regarding x and z dimensions) might even work with decorations registered with mapgen. those might overlap...which might not be a problem for rather simple buildings 19:56 OldCoder Bathroom in Kitchen just like in San Franciso ($10000 rent) 22:32 OldCoder NathanS21, Hello 22:32 OldCoder 22:32 OldCoder To see Nathan-S 22:32 OldCoder is to confess 22:32 OldCoder the world is a better place 22:32 OldCoder so is the human race 22:32 OldCoder Nathan-S welcome 22:32 OldCoder 22:35 NathanS21 hi 22:36 OldCoder o/ 22:36 OldCoder lo 22:36 OldCoder away we go 22:36 OldCoder hi 22:36 OldCoder lo 22:36 OldCoder on with the sho 22:36 OldCoder 22:47 OldCoder Grandolf, present? 22:47 OldCoder Under one of these nicks? 22:48 OldCoder Type my nick when here 22:48 Guest26472 grand is afk 22:48 OldCoder Guest26472, But I just talked to him? 22:48 OldCoder OK 22:48 Guest26472 yea 22:48 OldCoder Tell him to state the nick here when he returns 22:48 Guest26472 he had top go for a sec 22:48 OldCoder And we 22:48 OldCoder will finish the mod 22:48 Guest26472 will b here shortly? 22:48 OldCoder Guest26472, u r halt? And yes bb in 3 minutes 22:48 Guest26472 btw nick changing was b/c our hexchats got messed up a bit 22:48 Guest26472 yea 22:49 OldCoder Happens 22:49 OldCoder You share machines? 22:49 OldCoder How do you IRC ? 22:49 Grandolf hi 22:49 OldCoder machine * 22:49 OldCoder Grandolf, brb 22:49 Grandolf he took over when i left 22:49 Grandolf kk 22:49 OldCoder OK will finish mod now 22:49 OldCoder brb 22:53 OldCoder Back 22:53 OldCoder Grandolf, I deleted most of the entity code 22:53 OldCoder and it still disappears 22:53 OldCoder What would the block you mentioned be? 22:53 OldCoder Come to Grandolfia and try it 22:54 OldCoder We can discuss technical details here 22:55 Grandolf o0k 22:55 OldCoder Teleport tome 22:55 OldCoder to me * 22:57 OldCoder OK, so they are working 22:57 OldCoder Grandolf, back? 22:57 Grandolf yep 22:57 OldCoder Moment 22:57 OldCoder Look at npcf.lua 22:57 OldCoder The part around line 250 which reads 22:57 OldCoder if type(def.on_rightclick) == "function" then 22:57 OldCoder Indicate when you find it 22:58 Grandolf yea 22:58 OldCoder You have two calls to def.on_rightclick 22:58 OldCoder is this so? 22:58 Grandolf def.on_rightclick(self, clicker,player_name) 22:58 Grandolf minetest.chat_send_player(player_name, self.npc_name) 22:58 Grandolf minetest.chat_send_player(player_name, "woof") 22:58 Grandolf if type(def.on_rightclick) == "function" then 22:58 Grandolf minetest.chat_send_player(player_name, "meow") 22:58 Grandolf def.on_rightclick(self, clicker) 22:58 Grandolf yes 22:59 OldCoder Did not delete old code 22:59 OldCoder So that 2nd call goes "crash" 22:59 OldCoder Correct code looks like this: 22:59 OldCoder Just 4 lines: 22:59 OldCoder 22:59 OldCoder if type(def.on_rightclick) == "function" then 22:59 OldCoder minetest.chat_send_player (player_name, self.npc_name) 22:59 OldCoder def.on_rightclick (self, clicker, player_name) 22:59 OldCoder end 22:59 OldCoder Try that 23:00 OldCoder Paste the whole source file to a 1-hour pastebin 23:00 OldCoder Or update git; either 23:00 OldCoder And let me review it, Grandolf 23:00 OldCoder Pastebin or update git 23:03 Grandolf uploading to git 23:03 OldCoder Indicate when there 23:03 OldCoder Updated, it appears 23:04 OldCoder Oops. Empty repo now? 23:04 Grandolf https://github.com/Grandolf/filez.git 23:04 Grandolf ready 23:04 OldCoder I know, just did a pull 23:04 OldCoder OM 23:04 OldCoder Got it... 23:04 OldCoder No, it's worse now :D 23:05 OldCoder Hm 23:05 Grandolf :/ 23:05 OldCoder Be pleased, it is proceeding, take heeding, this will work 23:05 OldCoder Moment, please lurk 23:05 Grandolf k 23:05 OldCoder Review that code 23:05 OldCoder Do you see that you sort of have two copies of things? 23:06 Grandolf oh 23:06 OldCoder Get rid of all of that 23:06 OldCoder That entire block 23:06 Grandolf what thinbgs? 23:06 Grandolf the npcs u mean? 23:06 OldCoder def.on_rightclick (self, clicker, player_name) 23:06 OldCoder You got THREE 23:06 OldCoder calls to that function now 23:06 OldCoder when there are supposed to be one 23:06 OldCoder Review and count them 23:06 OldCoder minetest.chat_send_player (player_name, self.npc_name) 23:06 OldCoder You also have about three of those 23:07 OldCoder if type(def.on_rightclick) == "function" then 23:07 OldCoder and two of those 23:07 OldCoder 23:07 OldCoder Review and count 23:07 OldCoder There should only be one of each 23:07 OldCoder Patience is a virtue 23:07 OldCoder It will not hurt you 23:07 OldCoder Therefore :/ do eschew 23:07 OldCoder This is advice from me to you 23:07 OldCoder 23:07 * OldCoder is on a roll, you know, look out below 23:08 OldCoder 23:08 Grandolf https://pastebin.com/fpu1KRiN 23:08 OldCoder R 23:09 Grandolf the -- should make it ignore the line i think 23:09 OldCoder You commented out all of it? 23:09 OldCoder Yes 23:10 OldCoder So now it does nothing? 23:10 OldCoder Here is what to try 23:10 OldCoder before the part you commented out: 23:10 OldCoder Hm I can't see if the end's line up 23:10 OldCoder Hold on 23:11 OldCoder Wait 23:13 OldCoder wget http://minetest.org/npcf.txt 23:13 OldCoder Grandolf, do that please 23:14 Grandolf KK 23:14 OldCoder Then edit that file (the .txt) and jump to the same code 23:14 OldCoder Around line 250, search for if type(def.on_rightclick) == "function" 23:16 Grandolf u want me to makte the .txt a .lua? 23:16 OldCoder Not yet 23:16 OldCoder First 23:16 OldCoder Edit that file (the .txt) and jump to the same code 23:16 OldCoder Around line 250, search for if type(def.on_rightclick) == "function" 23:16 OldCoder I want you to be comfortable with the change and understand it 23:16 OldCoder Indicate when there 23:17 Grandolf found it 23:17 OldCoder See the 4 lines involved? 23:18 OldCoder You had multiple copies of these lines randomly pasted there 23:18 OldCoder Code is very unforgiving about that 23:18 OldCoder Look at your .lua copy if you like; 23:18 OldCoder that same place 23:18 Grandolf it was pretty messy 23:18 OldCoder Take a minute, if you can to look at both versions at the same time 23:18 OldCoder Right 23:18 OldCoder If you can't say 23:18 OldCoder Why a line of code is there 23:18 OldCoder When you are working on the code 23:19 OldCoder You have a problem 23:19 OldCoder Follow? 23:19 Grandolf yea 23:19 OldCoder It is OK not to understand a codebase 23:19 OldCoder but if you go... 23:19 OldCoder 23:19 OldCoder I shall plant crops here 23:19 OldCoder I see red sticks labeled TNT 23:19 OldCoder I shall bang on them with the hoe 23:19 OldCoder and drop matches on them 23:19 OldCoder 23:19 OldCoder It is best to understand what you are changing 23:20 OldCoder Do not take patches on faith for code that you expect to maintain 23:20 OldCoder Only for code that you still consider to be "upstream" or belonging to somebody else 23:20 Grandolf i downloaded the npcf 23:20 OldCoder If you hack at code, it becomes yours, and you must understand what you are doing 23:20 Grandolf added stuff to it 23:20 OldCoder Right 23:20 OldCoder It is yours now 23:20 OldCoder But can learn it 23:20 OldCoder A little at a time 23:21 OldCoder Just study the parts you hack at 23:21 OldCoder 23:21 OldCoder Does the preceding work for you? 23:21 Grandolf yes 23:21 OldCoder Rename the .txt to .lua 23:21 OldCoder Deleting your version 23:21 OldCoder then try running it 23:21 OldCoder BTW git will let you go back and forth with changes 23:21 OldCoder And have branches 23:23 Grandolf its working :D 23:23 OldCoder betterthanyou710, did you see the answer? 23:23 OldCoder Grandolf, he'd just asked about it 23:23 OldCoder Grandolf, congrats 23:23 OldCoder Satisfactory outcome for now? 23:23 Grandolf yes, thank you OC 23:23 OldCoder Thank *you* 23:24 betterthanyou710 thank you 23:24 OldCoder Go hack at it 23:24 Grandolf i shall 23:24 Grandolf :D 23:24 OldCoder betterthanyou710, hang on, adding +V 23:24 OldCoder o/ 23:24 OldCoder Hm 23:24 OldCoder betterthanyou710, you must login 23:24 OldCoder betterthanyou710, hang on, adding +V 23:24 betterthanyou710 how does one login? 23:24 OldCoder betterthanyou710, is this a registered nick? That is step 1 23:24 OldCoder Must have registered nick 23:25 betterthanyou710 i believe so 23:25 OldCoder Moment 23:25 Grandolf /msg nickserv identify to login 23:25 OldCoder Yes 23:25 OldCoder Do NOT 23:25 OldCoder have a space at the start 23:25 OldCoder Must be 23:25 OldCoder /msg nickserv identify MYPASSWORD 23:25 OldCoder or people will see the password 23:25 OldCoder Better to use HexChat 23:25 OldCoder to auto identity you 23:25 betterthanyou710 hm 23:25 OldCoder Can do that 23:26 OldCoder You can also do this! 23:26 OldCoder Much safer 23:26 OldCoder /query nickserv 23:26 OldCoder In that window type 23:26 OldCoder identify PASSWORD 23:26 OldCoder Go on, try it 23:26 betterthanyou710 is there a way to change my password 23:26 betterthanyou710 kk 23:26 OldCoder Yes, you can have a new one emailed to your registered email address 23:26 betterthanyou710 and how do i do that? 23:26 Grandolf can u change ur registered email? 23:26 OldCoder You forgot your password :-) 23:26 betterthanyou710 sorry im forgetting my password :P 23:27 OldCoder Grandolf, not sure; betterthanyou710 wait, checking docs 23:27 betterthanyou710 thank you 23:27 betterthanyou710 i know the email i used 23:27 betterthanyou710 just not the password 23:28 OldCoder /msg nickserv set password PASSWORD is what to do if you know the old one... 23:28 betterthanyou710 i dont know the old one sadly 23:29 OldCoder /msg NickServ SENDPASS betterthanyou710 23:29 OldCoder What does that do? 23:29 betterthanyou710 it sent a email 23:30 betterthanyou710 gimme a moment, following procedure 23:30 betterthanyou710 it might take a while to send 23:30 OldCoder Hm? What were the instructions? 23:30 betterthanyou710 The password change key for betterthanyou710 has been sent to the corresponding email address. 23:30 betterthanyou710 just waiting for the key 23:31 OldCoder Check spam 23:31 OldCoder If you used a MS email, you have a problem 23:31 OldCoder Let me know if that is the case 23:31 OldCoder Gmail or Yahoo should be OK 23:31 OldCoder Log into web interface and check spam folders there 23:32 betterthanyou710 checking 23:32 betterthanyou710 i have some weird stuff 23:32 betterthanyou710 woah 23:32 OldCoder ? 23:32 betterthanyou710 found it 23:32 OldCoder spam or not spam? 23:33 betterthanyou710 different acc entirely 23:33 betterthanyou710 ha 45 failed login attemps 23:33 betterthanyou710 k i am logged in 23:34 Grandolf XD 23:34 betterthanyou710 can u V+ me? 23:34 betterthanyou710 dude my spam is great 23:34 betterthanyou710 im just gonna spend a while looking at this 23:34 OldCoder You are +V 23:34 OldCoder Watch 23:34 OldCoder leave and come back 23:35 betterthanyou710 tax returns, credit help, walgreens. all a man needs 23:35 OldCoder Magic 23:35 betterthanyou710 why hello 23:35 betterthanyou710 interesting 23:35 betterthanyou710 thank you 23:35 OldCoder But you should add auto-identify to hexchat 23:35 betterthanyou710 how? 23:35 OldCoder You are using hexchat? Or other? 23:35 betterthanyou710 sorry, no one ever taught me this stuff 23:35 betterthanyou710 hexchat 23:35 OldCoder Gud 23:36 OldCoder Wait, It has been a while... 23:36 betterthanyou710 diabetes destroy bob johnson. i need to just spend a while looking at this 23:37 OldCoder HexChat -> Networks -> Freenode -> Edit 23:37 OldCoder Login Method: Try SASL first 23:37 OldCoder Password: Enter password 23:37 OldCoder betterthanyou710, ^ 23:37 betterthanyou710 kk trying 23:37 OldCoder SASL may not work for you, but try it 1st 23:38 betterthanyou710 hm 23:38 betterthanyou710 well how do i test it? 23:38 OldCoder Restart HexChat betterthanyou710 23:38 betterthanyou710 well, ttyl 23:38 OldCoder o/ 23:41 betterthanyou710 i dont think it worked 23:41 betterthanyou710 idk though 23:41 OldCoder You seem to have authed 23:41 betterthanyou710 multiple responses were given 23:41 OldCoder ChanServ gives voice to betterthanyou710 23:41 betterthanyou710 yeah i just manually did it 23:41 betterthanyou710 then it should be fine 23:41 OldCoder OK try another login option 23:41 OldCoder Just for fun 23:42 betterthanyou710 which one? 23:42 OldCoder One of the 2 NickServ options 23:42 OldCoder I think I know why SASL failed 23:42 OldCoder But worry about that another time 23:42 betterthanyou710 k trying first nickserv option 23:43 betterthanyou710 didnt work 23:43 OldCoder Try 2nd nickserv option. You have entered the password correctly? 23:43 OldCoder In the Freenode Edit screen? 23:43 betterthanyou710 yep 23:43 OldCoder Try 2nd nickserv option 23:44 OldCoder One more try 23:44 OldCoder betterthanyou710, do this 23:45 OldCoder Turn OFF all of the checkboxes except for Accept Invalid SSL and the proxy one 23:45 OldCoder Turn those two ON 23:45 OldCoder Done? 23:45 betterthanyou710 yep 23:45 OldCoder Now, there are four name fields 23:46 OldCoder Vertical 23:46 OldCoder Copy paste to set them ALL to betterthanyou710 23:46 betterthanyou710 done 23:46 OldCoder Then add an underscore to the 2nd one from the top 23:46 betterthanyou710 done 23:46 OldCoder Are you able to screenshot that screen? 23:47 betterthanyou710 one momento 23:47 betterthanyou710 putting on imgur 23:50 betterthanyou710 http://imgur.com/a/aJkg0 23:51 OldCoder r 23:51 * Sokomine takes the matches from the farmer and destroys them 23:52 OldCoder betterthanyou710, remember to delete images that contain personal information... 23:52 OldCoder R 23:52 betterthanyou710 wheres the personal info? 23:52 OldCoder Looks good to me. Try this and then with SASL. betterthanyou710 23:52 OldCoder The rest of the screen 23:52 OldCoder Have not looked closely, but 23:52 OldCoder all of your windows are tehre 23:52 OldCoder there 23:53 OldCoder So, people can see your channels; I suppose that is all 23:53 betterthanyou710 thats fine 23:53 betterthanyou710 wont change much :P 23:53 OldCoder Setup looks correct. Save the changes. 23:53 OldCoder Restart. May fail... I don't see 23:53 OldCoder why it didn't work before. 23:53 OldCoder Global info 23:53 OldCoder is correct 23:54 OldCoder Ah 23:54 OldCoder He's connecting to which port? 23:54 OldCoder Sorry 23:54 OldCoder Hm, please try SASL one more time 23:57 OldCoder OK, we tried 23:57 OldCoder your basic setup looks good 23:57 OldCoder Hm 23:58 betterthanyou710 eh didnt work 23:58 OldCoder Sorry 23:58 betterthanyou710 but oh welp 23:58 betterthanyou710 well* 23:58 betterthanyou710 its fine 23:58 OldCoder You'll need to debug it 23:58 OldCoder Interesting 23:58 betterthanyou710 its only like half a minute of my time :P 23:58 OldCoder I am close to sleepy now... 23:58 betterthanyou710 kk 23:58 betterthanyou710 gn 23:58 OldCoder Time is precious 23:58 OldCoder Anyway welcome 23:58 OldCoder to the official MT community edition channel 23:59 betterthanyou710 thank u 23:59 OldCoder Need to rest 23:59 OldCoder No, thank *you* 23:59 OldCoder Zzz << brief rest 23:59 betterthanyou710 ping me when your back 23:59 betterthanyou710 things i want to talk about