02:42 < jflory7> Okay, thanks, I will do that. So, if I understand this correctly, we are exporting the path to vim as the "custom editor" for the OS, and then we are changing the permissions for the custom-editor execution file, right? 02:43 <+sadimusi> winny: that's interesting https://gist.github.com/sadimusi/0b783cce307bc8f6fa33 02:43 < winny> you're creating a file that ends in .sh in /etc/profile.d, then making it executable 02:44 < jflory7> Okay, cool, I see. Thanks, winny! 02:44 < winny> when you log in, the /etc/profile script looks for files in /etc/profile.d ending in .sh and are executable then does . /etc/profile.d/path-to-script.sh 02:44 < winny> . is atkin to python import or C #include 02:45 < winny> sadimusi: oh that wasn't the point i was making, but interesting 02:45 < jflory7> Uhhh... suddenly, no commands are working on my console? D: I can't 'cd', 'ls', 'su', or anything. 02:45 < jflory7> I get this: 02:45 < jflory7> -bash: ls: command not found 02:45 < winny> :o 02:45 < jflory7> For every command. What went wrong? D: 02:46 < jflory7> Well, I can change directory, but I can't do anything else. I can't list the files in the directory, I can't change users, I can't sudo, I can't do anything. D: 02:47 <+SpaceManiac> probably messed up your $PATH 02:47 <+sadimusi> you can't execute /etc/profile.d/path-to-script.sh as a user, so .profile exits :D 02:47 < jflory7> Is there a way to fix this? 02:47 < winny> sadimusi: the point is type isn't always available, for instance if a user were using csh on a non-bsd system, it's always be an error since csh doesn't have a type builtin and linux doesn't come with /usr/bin/type -- POSIX (i think) requires /usr/bin/which, which valid-command returns 0, which invalid-command returns 1 02:47 <+sadimusi> is .profile run with -e? 02:47 < jflory7> Errr- not sure, sadimusi, how do I check? 02:48 <+sadimusi> that was more of a general question 02:48 <+sadimusi> can you log in as root? 02:48 < jflory7> No, I have it disabled :( 02:48 < winny> do you have sudo 02:48 < jflory7> Command not found. :( 02:48 < dx> what the hell is going on here 02:48 <+sadimusi> just set your path manually 02:49 < winny> jflory7: how did you create that file if you don't have root 02:49 < winny> or sudo 02:49 < jflory7> winny: I /HAD/ sudo, but after I did that command, I seem to have lost everything for this user. 02:49 <+sadimusi> try `export $PATH=/usr/bin` 02:49 < jflory7> Alright. 02:49 < dx> without the $ 02:49 <+sadimusi> oh right 02:49 < jflory7> -bash: export: `vim:/home/deploy/bin=/usr/bin': not a valid identifier 02:49 < dx> :P 02:50 < winny> oh 02:50 < winny> i see what i did 02:50 <+sadimusi> well you don't need to export it 02:50 < winny> i typed the wrong text in 02:50 < dx> well that answers some questions i guess 02:50 < winny> [19:41:06] jflory7: you might want to configure the system default editor -- something like this should work (as root): echo 'export PATH=vim' > /etc/profile.d/custom-editor.sh && chmod 755 /etc/profile.d/custom-editor.sh 02:50 < winny> see what i did there 02:50 < winny> i made a very stupid typo 02:50 < dx> good job 02:50 < jflory7> Oh. PATH=vim. Should have been EDITOR, right? 02:50 < winny> yes sorry 02:50 < winny> lol 02:50 <+sadimusi> XD 02:50 < jflory7> Lol. 02:50 < jflory7> Is there a way for me to fix this without root? 02:51 < winny> yes 02:51 < dx> export PATH=/usr/bin 02:51 < winny> try something like: /usr/bin/sudo /bin/rm /etc/profile.d/custom-editor.sh then relogin 02:51 < dx> or that 02:52 < winny> or that too lol 02:53 < dx> i still have no idea what's going on in this channel 02:53 < jflory7> Where is the "export" command located? Is it /usr/bin/? It can't seem to find the command, lol 02:54 <+sadimusi> winny: I understand that type might not always be available, but I can't figure out under which circumstances it returns 0 for an invalid command 02:54 <+sadimusi> jflory7: it's built in 02:54 < jflory7> Never mind, deleting the file worked 02:54 < winny> sadimusi: omg i see what you mean 02:55 < jflory7> Okay, so one more time: 02:55 < dx> omg 02:55 < jflory7> echo 'export EDITOR=vim' > /etc/profile.d/custom-editor.sh && chmod 755 /etc/profile.d/custom-editor.sh 02:55 < winny> yeah that should do it 02:57 < winny> looks like subprocess.call always uses /bin/sh 02:57 < jflory7> Well, now it seems I'm right back to where I started. Trying to open the mark2 config file results in the error. 02:57 < winny> try it in a new shell 02:57 <+sadimusi> winny: the explanation is simple, it doesn't pass any arguments if shell=True 02:58 < winny> oh, derp i see what you mean 02:58 < jflory7> Oh, do I need to export the environment variable as root? It works for my current user, but when I try to 'sudo', it fails. 02:58 <+sadimusi> "any additional items will be treated as additional arguments to the shell itself" 03:00 < jflory7> This is my current issue now, whenever I try to 'sudo' the configuration. https://gist.github.com/anonymous/d6bffa15752031f54bf7 03:00 < winny> anyways, maybe use subprocess.call(['which', 'editor'], shell=False) ? 03:00 <+sadimusi> that would probably be best 03:00 <+sadimusi> but I'm not involved in mark2 in any way 03:00 < winny> oh lol 03:01 < winny> ex-contributor? 03:01 <+sadimusi> no, never even used it 03:01 < jflory7> Wait, so is that a command I need to execute? subprocess.call(['which', 'editor'], shell=False) 03:01 < winny> you had me fooled sadimusi 03:01 < winny> jflory7: sorry so what happened? 03:01 < jflory7> Oh, I can't get `sudo mark2 config` to work. I tried exporting the environment variable as root to no avail. 03:02 < winny> don't use sudo 03:02 < winny> lol 03:02 < jflory7> I don't have the proper permissions to edit the file, though. 03:02 < winny> you need a new login shell 03:03 < jflory7> Already tried that. 03:03 < winny> remove the config file and start over 03:03 < winny> you shouldn't run something like mark as root 03:03 < jflory7> No, it's just because the configuration is in /usr/mark2, I think 03:03 < jflory7> I just need to edit the configuration file 03:04 < jflory7> I already created another user to run it, but I just don't have the perms to edit the configuration file as my current user 03:04 < winny> why not place your config files in that user's home? 03:05 <+sadimusi> winny: we're not the first ones https://github.com/mcdevs/mark2/pull/115 03:05 < jflory7> I had just followed the instructions to put it all in /usr/mark2, but then again, the install guide is a year old, so there might be some kind of discrepancy or something 03:07 < winny> sadimusi: it's so funny that nobody suggested prompting or just blowing up gracefully 03:11 < winny> jflory7: you should also write in there that your centos box doesn't have a vi 03:11 < jflory7> I'll add it to my comment, winny. Thanks. 03:13 <+sadimusi> I'm working on a pr which also solves the check_executable bug 03:13 <+sadimusi> and maybe fails with a message instead of just saving the default config 03:13 < winny> jflory7: so did you get your setup working 03:16 < jflory7> Still working on it, winny. I will get back to you once I have it finished. :) On another note, is mark2 abandoned? 03:16 < winny> tbh i've never used mark2 03:16 < winny> couldn't say if it is 03:17 < jflory7> It just seems fairly unloved. Lots of reported issues, three unmerged pull requests, and last update was three months ago for the merging of a pull request. Seems like the last original addition to the code was even longer 03:17 <+sadimusi> barneygale seems to have left this channel as well 03:19 < winny> it's easy to get fed up with personal open source projects 03:19 < winny> esp when you work with other developers who have a "if it ain't broken don't fix it" opinion about it 03:35 <+sadimusi> winny: apparently the proper way to detect valid commands on POSIX systems is command -v 03:48 < winny> sadimusi: that's pretty funny too 03:48 < winny> thankfully most *nix systems include which 03:50 <+sadimusi> winny: they do but some return zero on errors 03:50 <+sadimusi> according to some guy on stackoverflow old versions of OS X and solaris do so 03:50 < winny> wow that's terrible 03:51 < jflory7> winny: mark2 really just doesn't like my system. 03:53 < jflory7> https://gist.github.com/anonymous/19d9a53119834ca715c1 03:54 < dx> maybe you should type yes 03:54 < dx> outside mark2 03:56 < jflory7> Errr- how do you do that? Hahah 04:11 < winny> sadimusi: got bored https://gist.github.com/winny-/8fb7f90584f7f3aca30e 04:13 <+sadimusi> os.access looks interesting 04:13 <+sadimusi> I've already made a pull request (https://github.com/mcdevs/mark2/pull/155), but maybe I should change the check_executable method to use that instead 04:14 < winny> i'm not entirely certain if this is the canonical way which does it 04:18 < winny> i think i need to check if it's a dir as well 04:30 < winny> sadimusi: https://gist.github.com/winny-/8fb7f90584f7f3aca30e yeah i had a little bug in there (mkdir ~/bin/t and it'll return that dir) 04:31 <+SpaceManiac> You might want to use $PATHSEP instead of hardcoded : also 04:32 <+SpaceManiac> Hmm, actually ignore me 04:35 < winny> https://docs.python.org/2/library/os.html#os.pathsep might be a good idea 04:35 < winny> : on unix ; on windows 04:39 < winny> wtg i reinvented the wheel https://pypi.python.org/pypi/which/1.1.0 18:02 < TkTech> SirCmpwn: But it has a .io extension, it's hip and cool and gotta be the best. 18:04 <+SirCmpwn> TkTech: context? 18:28 < TkTech> SirCmpwn: HN, your comments on compressor 18:28 <+SirCmpwn> TkTech: ah 18:29 <+SirCmpwn> TkTech: yes, clearly it's better to use tools via .io web services 18:53 <+AndrewPH> >atom.io, the brand new text editor written using technology proven to be way too slow. 18:54 <+SirCmpwn> vim <3 18:56 <+AndrewPH> on a somewhat relevant note, I started using Brackets and I'm surprised it's so much faster than atom. 19:04 < TkTech> I tried Atom, and I thought the concept was well done (it's way more modular than Sublime and it does settings/themes better) 19:04 < TkTech> But yeah, it ended up being way to slow. Even disabling almost everything it still added several seconds to launch, and typing would sometimes lag. 19:04 < TkTech> So back to vim :) 19:05 < TkTech> Didn't brackets used to be hosted? 19:05 < TkTech> Seems to just be a download now 19:13 < Not-ad12> [mcprotocol] thinkofdeath pushed 1 commit to master [+0/-0/±105] http://git.io/hfZGqA 19:13 < Not-ad12> [mcprotocol] thinkofdeath 7394faa - 14w21b 19:14 <+AndrewPH> TkTech: brackets had always been a download afaik 19:41 < Not-ad12> [mcprotocol] thinkofdeath pushed 1 commit to master [+0/-0/±9] http://git.io/d5Shjw 19:41 < Not-ad12> [mcprotocol] thinkofdeath 4a5db4b - Map readEnum and writeEnum 20:06 < TkTech> Huh, weird. I thought it used to be an online IDE concept from Adobe --- Day changed ven. mai 23 2014 01:32 < Not-ad12> [Glowstone] SpaceManiac pushed 2 commits [+0/-0/±17] http://git.io/xbValw 01:32 < Not-ad12> [Glowstone] SpaceManiac c68306c - Some reorganization and minor fixes to world I/O in preparation for big fixes. 01:32 < Not-ad12> [Glowstone] SpaceManiac 1251b5e - Various world fixes: 05:40 < Not-ad12> [Glowstone] SpaceManiac pushed 1 commit [+0/-1/±9] http://git.io/XR_kQw 05:40 < Not-ad12> [Glowstone] SpaceManiac 13d9d5c - Reduced extraneous chunk sends on login, and some minor fixes: 13:27 < zeorin> Hi guys 13:27 < zeorin> I'm having an issue installing mark2 13:27 < zeorin> python is unable to compile the pyOpenSSL extension. Debian 7.5 13:29 < zeorin> OpenSSL/ssl/ssl.c: In function ‘initSSL’: 13:29 < zeorin> OpenSSL/ssl/ssl.c:214:66: error: ‘SSL_OP_MSIE_SSLV2_RSA_PADDING’ undeclared (first use in this function) 13:29 < zeorin> Has anyone seen this before? 18:18 < kamcio96> hi, anybodu can explain this packet: http://wiki.vg/Protocol#Chunk_Data and it: http://wiki.vg/SMP_Map_Format 18:18 < kamcio96> anybody* 18:25 < TkTech> That's...what those pages do... 23:00 < Not-ad12> [Glowstone] SpaceManiac pushed 3 commits [+1/-0/±7] http://git.io/p_Sdjg 23:00 < Not-ad12> [Glowstone] SpaceManiac 842de6b - Rearranged createExplosion variants and added a few ItemPlaceAs entries. 23:00 < Not-ad12> [Glowstone] SpaceManiac 0a1e375 - A couple of bugfixes to block placement: 23:00 < Not-ad12> [Glowstone] SpaceManiac e9121a5 - Added NibbleArray for storing metadata, light, and skylight. Reduces memory impact of loaded chunks significantly. --- Day changed sam. mai 24 2014 14:08 < Not-ad12> [Charge] Wallbraker pushed 1 commit to master [+0/-0/±1] http://git.io/UxZPFA 14:08 < Not-ad12> [Charge] Wallbraker 72ead92 - charge: Remove dead code in makefile --- Day changed dim. mai 25 2014 03:20 < luke5227> So quiet... 03:21 < dx> welcome to irc 03:28 < luke5227> So I'm looking to start working on some bot that will join a server and be able to do specific things, get data, etc 03:28 < luke5227> I already have coding knowledge but I'm trying to figure out where to start. Been looking at the wiki some. 03:28 < luke5227> I understand json aswell. 03:32 < dx> understand this page http://wiki.vg/Data_types (particularly varints) then implement all of this http://wiki.vg/Protocol 03:33 < dx> or don't 03:33 < dx> and use one of these http://wiki.vg/Library_List 03:33 < humerusj> Depending on how fluent you are in some languages, you can use some libraries for it 03:34 < luke5227> Is there any solid spot I can start though? Such as actual code (that I might be able to translate into other languages if needed) 03:35 < humerusj> What Lang are you looking to use? 03:36 < luke5227> I don't know. I know javascript very well. I would be willing to work in python. Worst comes to worst I work in java. 03:36 < luke5227> I aint doing c. 03:36 < humerusj> there is one in js 03:36 < luke5227> I looked at it, said it was like "No online mode" or something like that... 03:36 < humerusj> https://github.com/andrewrk/mineflayer ? 03:37 < luke5227> " Important: Disable online-mode, as this proxy does not support encryption." 03:37 < luke5227> Oh, alright.... 03:39 < luke5227> Well thank you very much :) 21:38 < Rhodderz> hey i was wondering if i can have some help. i have been following this tut [https://forums.bukkit.org/threads/nms-tutorial-how-to-override-default-minecraft-mobs.216788/] and for some reason when i try to set a different value for follow distance (b), nothing seems to change 21:50 <+clonejo> Rhodderz: Bukkit is off-topic here, try #bukkit 21:51 < Rhodderz> at #bukkit i got told i wasnt allowed to ask NMC questions there and in craftbukkit is dead and the motd says to try here 21:51 < Rhodderz> sorry #buukitdev. ill try #bukkit 21:59 <+clonejo> Rhodderz: someone might help you here, but this channel focuses on software which contains no original mc code 22:01 < Rhodderz> Ah i see, cheers clonejo, ill stay idle in the chan iif anyone knows of an answer. Again cheers 22:13 <+clonejo> np --- Day changed lun. mai 26 2014 00:53 < luke5227> Stupid errors >.> 00:54 < luke5227> I'm fine with errors in my code, but when it come's to somebody else's code that I don't know how to fix…. grrrrrr 00:55 < luke5227> Anybody who has some knowledge of minecraft-protocol/mineflayer willing to help me? 00:58 < rom1504> luke5227: what version are you using ? 00:58 < luke5227> Version of minecraft or of mineflayer/protocol? 00:58 < rom1504> as far as I know mineflayer is not compatible with minecraft last version yet 00:58 < luke5227> Well, I having issues logging in, would that be connected with the latest version? 00:59 < rom1504> last npm published mineflayer works well with minecraft 1.6 00:59 < luke5227> "events.js:72 00:59 < luke5227> throw er; // Unhandled 'error' event" 00:59 < rom1504> luke5227: no idea 00:59 < luke5227> It was a ECONNREFUSED 01:00 < humerusj> The server isn't running 01:01 < luke5227> But I know that isn't true 01:01 < luke5227> Its not local 01:02 < humerusj> Hmm, try a different server 01:02 < luke5227> I tried many servers 01:02 < luke5227> Then when I tired my own server, it "runs" which basically means it just goes to a new line (No errors though) 01:02 < luke5227> Which doesn't help too much since I want to connect to a non-local online server :/ 01:03 < humerusj> Make sure it's a server running 1.6.2 01:03 < luke5227> It's not 01:03 < luke5227> Will that be an issue? xD 01:04 < luke5227> I might need to switch over to minecraft-protocol D: 01:04 < humerusj> mineflayer only supports 1.6.2 as rom1504 said 01:04 < luke5227> Yea, but should that affect login? 01:04 < humerusj> but that wouldn't cause the issue you're having 01:05 < luke5227> yea… Its the exact same login method for both (except one is called "createBot()" vs "createClient()" or whatever) 01:05 <+SpaceManiac> 1.6 -> 1.7 was a big change in how the login process goes 01:05 < luke5227> mmmm, Alright 01:06 < luke5227> Well, I'll try moving over to minecraft-protocol and see how that works. 'username' is just the email right? 01:06 < humerusj> SpaceManiac: I don't think that would cause a connection refused error though 01:09 < luke5227> Running minecraft-protocol I'm now getting "ENOTFOUND" 01:17 < humerusj> SpaceManiac: actually, that makes sense. The login servers changed leading to the connection refused 01:17 < humerusj> luke5227: that's what you're currently experiencing 01:17 < luke5227> I'm getting ENOTFOUND from minecraft-protocol though 01:17 < luke5227> I might not have the 100% correct version 01:18 < luke5227> I'm using minelayer's version of minecraft-protocol :P 01:18 < luke5227> I just download the ZIP, correct? 01:22 < luke5227> YYYUUUSSS 01:22 < luke5227> "Invalid session" when I try to login to the server I apparently connected to 01:23 < luke5227> When I do node test.'s it just brings me to a new line, it prompts me unlike other programs though... 01:23 < luke5227> Users//desktop > node test.js 01:24 < luke5227> Okay, well now its just going to a new line. I guess its good because it's not giving any errors, but it's not joining the server either :/ 01:27 < luke5227> @humerusj :( 01:54 < luke5227> @SpaceManiac The program just runs and doesn't continue. How do I have it continue/send more packets to stay active? 01:55 <+SpaceManiac> be more specific? 01:56 < luke5227> This is my console when I hit enter: 01:56 < luke5227> ./Users//desktop > node test.js 01:56 < luke5227> And then like 1 second later I just get: 01:57 < luke5227> ./Users//desktop > 01:58 <+SpaceManiac> probably need to run a different thing than test.js? 01:58 < luke5227> What should I be running...? 01:58 < luke5227> (I wrote test) 01:59 <+SpaceManiac> Okay, I guess it's a script making use of minecraft-protocol then? 01:59 < luke5227> Kind of 01:59 < luke5227> Should I send you the code or something? :P 01:59 < luke5227> It creates it fine 02:00 < luke5227> But it never spawns it (or logs it into the server) 02:00 <+SpaceManiac> Sure, gist or pastebin or whatever 02:01 < luke5227> http://pastebin.com/aBZc9BL2 02:02 < luke5227> btw I'm using the new version of minecraft-protocol on the old mineflayer 02:02 < luke5227> And its giving the same results as minecraft-protocol alone so it seems like that should work fine 02:03 <+SpaceManiac> I don't know much about Node or Mineflayer, but is "var mineflayer = require('./Node');" correct? 02:03 <+SpaceManiac> examples look like "var mc = require('minecraft-protocol');" 02:03 < luke5227> Well, minecraft-protocol is probably in mineflayer 02:03 < luke5227> I' m just requiring mineflayer 02:06 <+SpaceManiac> I don't think I'll be of much help, sorry 02:06 < luke5227> Well, I get the same results from using examples from the example folder in minecraft-protocol 02:07 < luke5227> I run it, it gets no errors, and ends within 1 second 02:08 <+SpaceManiac> Maybe you need to pass flags to node to tell it to stay alive longer, or something 02:10 < luke5227> Is there anywhere where I don't have to do this from scratch? 02:10 < luke5227> Thats why I was looking toward mineflayer 02:10 < luke5227> I don't know enough about packets to deal with it and kind of just want to start with already having a bot and being able to detect stuff, control it, etc 03:07 < humerusj> SpaceManiac: when you mentioned changes to the login system, did you mean online mode auth or client server login? 03:08 <+SpaceManiac> I was referring to client-server login specifically. But there might've been an auth change too. 06:02 < luke5227> Can anybody help me? Just struggling with this stupid client which can't get past states.LOGIN 06:04 < luke5227> D: 06:11 < luke5227> I don't know where else to go for help :/ 06:15 < dx> define 'stupid client' 06:15 < luke5227> Its just stupid because it won't work 06:15 < luke5227> It does states.HANDSHAKE and then states.LOGIN and gets stuck 06:16 < dx> ...i mean, what client are you talking about? 06:16 < luke5227> minecraft-protocol 06:16 < dx> eh. 06:16 < dx> you're not too good at this 06:16 < dx> node-minecraft-protocol, i guess? 06:16 < luke5227> yea 06:19 < luke5227> http://pastebin.com/E0T2dKea 06:19 < dx> luke5227: enabled debugging? pastebin console output, all of it. 06:19 < dx> NODE_DEBUG="minecraft-protocol" node [...] 06:20 < luke5227> That exactly? 06:20 < humerusj> I'll mess about with it in a bit 06:21 < luke5227> I feel like an idiot but: NODE_DEBUG="minecraft-protocol" node [...] 06:21 < luke5227> ^^^^ 06:21 < luke5227> SyntaxError: Unexpected identifier 06:21 < luke5227> (Its pointing to the word "node") 06:21 < dx> ehh 06:21 < dx> run that in a shell 06:22 < dx> and replace [...] with whatever parameters you need to start your script 06:22 < dx> NODE_DEBUG="minecraft-protocol" node whatever.js 06:23 < luke5227> NODE_DEBUG="minecraft-protocol" node test.js 06:23 < luke5227> "node" still unexpected identifier 06:23 < dx> are you on windows or something 06:23 < luke5227> mac 06:24 < dx> you should be running that command in a terminal with bash 06:24 < luke5227> Yea..... 06:24 < luke5227> Owait 06:24 < luke5227> okay, okay 06:24 < luke5227> The flu thing? 06:24 < luke5227> *full thing 06:24 < dx> lol flu 06:25 < luke5227> http://pastebin.com/4EUfdtsq 06:25 < dx> is that all? 06:25 < luke5227> Yea.... 06:26 < luke5227> That's excluding my personal logging 06:33 < luke5227> dx: You're so dumbfounded that you can't even respond 06:33 < dx> luke5227: INDEED 06:34 < luke5227> Alright 06:35 < dx> luke5227: start a test server in localhost, in offline mode, get that working first, then set online mode, check if it works, then move to a remote server 06:35 < luke5227> Alright 06:35 < luke5227> Any clue what it was btw? 06:35 < luke5227> Because I'm afraid the exact same thing might happen :/ 06:36 < dx> don't be afraid 06:36 < dx> test 06:37 < dx> fear gets you nowhere 06:37 < dx> (and i have no clue) 06:38 < dx> but yeah with a local offline mode server there are less things that can go wrong, so it's better to test with it 07:03 < luke5227> dx: Exact same thing as before when trying it on a local host 07:04 < dx> luke5227: yay 07:04 < dx> luke5227: now run the node-minecarft-protocol test suite, see if that succeeds 07:04 < luke5227> ? 07:04 < luke5227> test.js? 07:04 < dx> https://github.com/andrewrk/node-minecraft-protocol#testing 07:05 < luke5227> Cannot find module "batch".... 07:05 < luke5227> *npm install batch* 07:05 < luke5227> Cannot find module "zfill" 07:05 < luke5227> *npm install zfill* 07:06 < luke5227> Alright, we got an error... 07:07 < luke5227> Hold on 07:09 < luke5227> says "mocha command not found" 07:09 < luke5227> k 07:09 < luke5227> npm install mocha annnnnnd 07:09 < luke5227> dx: It just says: 0 passing (3ms) 07:09 < luke5227> Should I be running my server...? 07:10 < dx> no, shutdown yours 07:10 < luke5227> yeah, soooooo 07:10 < luke5227> Just says what I told you above 07:11 < luke5227> MC_SERVER_JAR=/Users//Desktop/Server/minecraft_server.jar MC_USERNAME= MC_PASSWORD= npm test 07:12 < dx> and.. errors? 07:12 < luke5227> Noooooo 07:13 < dx> wot 07:13 < luke5227> > minecraft-protocol@0.12.1 test /Users//Desktop; mocha --reporter spec; 0 passing (5ms) 07:13 < luke5227> semicolon = new line (or multiple new lines) 07:15 < luke5227> D: 07:15 < luke5227> Wait 07:15 < luke5227> why does MC_PASSWORD matter? 07:15 < luke5227> If its in offline-mode 07:16 < luke5227> And why does it need my jar :P 07:16 < luke5227> Since it doesn't seem like it runs the server 07:17 < dx> that stuff would matter if it wasn't broken 07:17 < luke5227> llol 07:18 < luke5227> Maybe "0 passing" means it isn't doing anything 07:18 < dx> ye 07:21 < luke5227> Oh now we're getting somewhere 07:21 < luke5227> Well kinda 07:21 < luke5227> ish. Not really. F***. 07:22 < luke5227> total ................................................... 0/0 07:22 < luke5227> And then it just says "ok" 07:22 < luke5227> pss dx 07:23 < dx> ? 07:23 < luke5227> http://pastebin.com/1Qqdukkf 07:30 < luke5227> dx: What does this mean Ensure your system has the java executable in PATH. 07:30 < luke5227> yah, I probably need to do that 07:30 < luke5227> Where can I find my java executable on mac 07:34 < luke5227> dx: http://pastebin.com/117gBrba 07:35 < dx> would be cool if you also posted the command that resulted in that output 07:36 < luke5227> MC_SERVER_JAR=./minecraft_server.jar MC_USERNAME= MC_PASSWORD= npm test 07:36 < luke5227> I was inside /Users//Desktop/Server 07:37 < dx> eh. 07:37 < dx> you're supposed to run npm test while being in the directory that has the source 07:38 < luke5227> has the source of what 07:38 < dx> eh. 07:38 < luke5227> o-O 07:38 < dx> of node-minecraft-protocol 07:38 < luke5227> right… I knew dat 07:38 < luke5227> Of course 07:39 < dx> just grabbed the released version, ran the echo client, worked, sorta 07:41 < luke5227> :O 07:41 < luke5227> aidsfjaosdhf;oashdfoahsdf 07:41 < dx> emphasis in sorta 07:42 < luke5227> It owkred 07:42 < luke5227> Stuff is working 07:42 < luke5227> Holy crud 07:42 < dx> crashes as soon as i do "say test" in the server console 07:43 < luke5227> Alright, pings the server (35863ms) and connects successfully - online mode 07:43 < luke5227> Connects successfully offline mode 07:43 < luke5227> ugh 07:43 < luke5227> Got an error 07:44 < luke5227> 3) gets kicked when no credentials supplied in online mode 07:44 < luke5227> 4) "after each" hook 07:45 < luke5227> Oh… It was expecting "Failed to verify username!" but instead go "Outdated server!" 07:45 < luke5227> and then 4) client "after each" hook: 07:45 < luke5227> Uncaught AssertionError: false == true 07:45 < dx> i don't even understand half of the errors 07:45 < dx> http://ix.io/cEy http://ix.io/cEz 07:46 < luke5227> I'm just running test.... 07:46 < dx> ☒ it sucks 07:46 < luke5227> Anybody who knows more about this kinda thing? 07:48 < dx> uh 07:49 < dx> andrewrk isn't here for some reason 07:49 < dx> i see roblabla, mapppum from the contributors list 07:49 < luke5227> Well just so we're all clear.... 07:49 < luke5227> http://pastebin.com/yWzyA5iM 07:50 < dx> lol outdated server 07:50 < luke5227> Ya, is that my fault? 07:50 < luke5227> xD 07:50 < dx> unless you asked someone else to download the jar for you 07:51 < luke5227> Well, it's technically a bukkit jar 07:51 < luke5227> And I downloaded it like a month or two ago 07:51 < luke5227> But I g2g D: 07:51 < dx> good job 07:51 < luke5227> Is andrew normally on? 07:53 < dx> hasn't been in this channel for almost one month 07:53 < dx> so don't count on that 07:53 < luke5227> :( 07:54 < luke5227> Looks like its going better with 1.7.9 07:54 < luke5227> the server ping went from 35k to 7k 07:54 < luke5227> Offline mode is 8k 07:54 < luke5227> Looks like we have one error, which is online mode 07:54 < luke5227> oh, and a few others... 07:55 < luke5227> Ya.... 07:55 < luke5227> A) Cannot successfully login to online mode 07:55 < luke5227> Wait, mc-server isn't important right? 07:56 < luke5227> If I'm just running like clients? 07:57 < luke5227> OMG 07:57 < luke5227> Okay 07:57 < luke5227> So offline mode works 07:57 < luke5227> woot 07:57 < luke5227> Online mode doesn't look like it does though... 07:57 < luke5227> I'm getting: Uncaught Error: ForbiddenOperationException 07:57 < luke5227> Which is what you got 08:02 < luke5227> dx: Would you know what the problem was if it wasn't working in online-mode? 19:15 < morfin> i guess packet length: 254 could be wrong 19:16 < morfin> idk how but some fields are being readed properly 19:16 < morfin> even when packet length is not working properly 21:29 < luke5227> Welp, I'm back... 21:29 < luke5227> Big surprise. 23:11 < luke5227> dx, did you fix the problem you had yesterday, because I think I have the exact same problem :/ 23:35 < luke5227> dx :( --- Day changed mar. mai 27 2014 00:54 < luke5227> Oh fudge. Now it works on some servers and not others 02:20 <+SirCmpwn> https://github.com/django/django/pull/2692 02:38 < dx> SirCmpwn: my favorite¹ kind of github comment thread. pretty fun¹ to play 'guess the troll' 02:38 < dx> ¹not 02:46 < dx> rip luke5227 04:24 < luke5227> dx: You there? 04:48 < humerusj> luke5227: still having the same issues as yesterday? 04:48 < luke5227> No 04:48 < luke5227> I've imported a lot of the stuff from flayer into this 04:48 < luke5227> had to delete some stuff like game.js which basically just made the bot duplicate itself (as well as its events) 04:48 < luke5227> atm the bot won't move though 04:49 < luke5227> client.setControlState("forward",true); 04:49 < luke5227> client.setControlState("jump",true); 04:52 < luke5227> humerusj, D: 04:59 < humerusj> luke5227: i'm trying to see why mineflayer is installing minecraft-protocol 11.6 (which doesn't support the newest version of mc) 04:59 < luke5227> Well 04:59 < luke5227> I just dragged in most of the lib stuff 04:59 < humerusj> I think it's the npm package because I just pulled it from github and installed it and i am able to connect 04:59 < luke5227> Had to make some changes to change bot.client => bot 05:00 < humerusj> Only thing is even listeners don't seem to be working 05:00 < luke5227> whenever I do client.setControlState, though, it doesn't work :/ 05:00 < humerusj> Hmm 05:00 < luke5227> Yea, listeners here work 05:00 < humerusj> Do you have a snippet of code i could see? 05:01 < luke5227> um 05:01 < luke5227> Look above? 05:01 < luke5227> I have: var client = mc.createClient(opt); 05:01 < luke5227> And then something like: client.setControlState('forward',true); 05:03 < humerusj> Hmm 05:04 < luke5227> I'm mainly looking at pysics.js in mineflayer 05:04 < luke5227> in plugins 05:04 < luke5227> Because that's what control setControlState 05:04 < humerusj> Are you sure the object is correct? 05:04 < luke5227> I don't know what that means... 05:05 < luke5227> I could console.log(client) and paste bin what it gives me if that would help.... 05:05 < luke5227> actually 05:05 < luke5227> I can check if its actually setting 05:05 < luke5227> one sec 05:07 < luke5227> Doesn't look like its even storing them 05:07 < luke5227> The only thing in "physics" are the constants they set (yawSpeed, jumpSpeed, etc) but I can't seem to fine "ControlState" stored anywhere 05:08 < luke5227> Oh thats because its not in physics 05:08 < luke5227> ugh 05:12 < humerusj> https://github.com/andrewrk/mineflayer/blob/master/lib/plugins/physics.js#L278 ? 05:12 < luke5227> yup 05:12 < luke5227> so I'm trying client.setControlState('forward',true) 05:12 < luke5227> Aaaannnndddd its not working 05:13 < luke5227> I also know that the controlStates are getting set 05:13 < luke5227> just tested it 07:58 < morfin> that's node.js server? 07:58 < morfin> i saw it :D 18:14 < TkTech> SpaceManiac: Might not be the best name for a project, MicroPython is a thing 20:01 < Fenhl> hello, is it possible to configure the vanilla server to create more machine-readable logs? 20:02 < Fenhl> for example, I have a project that parses the logs looking for death messages: https://github.com/wurstmineberg/wurstminebot/blob/master/wurstminebot/deaths.py 20:02 < Fenhl> but that would be so much easier if the log was differently formatted --- Day changed mer. mai 28 2014 05:08 < morfin> how Minecraft handle abandoned packets in queue? just drops them? 05:10 < morfin> i mean if i send something, it goes into queue and i lost connection. Does server just drop all of them from queue or when it's time to handle it just do nothing since there no such session? 17:23 < M4GNV5> hello 17:30 < M4GNV5> hello r04r 17:30 < M4GNV5> ^^ 17:31 < M4GNV5> hello ZioCrocifisso 17:31 < ZioCrocifisso> hello. 18:22 < M4GNV5> hmmm has anyone made it to run minecraft through a proxy? i mean not only the server-client traffic that e.g. SMProxy by SirCmpwn or the minecraft-sniffer can log i mean also e.g. the launcher etc. it seems to be not working with fiddler2 ... 18:23 <+sadimusi> the launcher mostly gets stuff from https sites, so maybe you didn't install fiddler's ssl cert 18:23 <+sadimusi> it might even be hardcoded, but I doubt that 18:24 < shoghicp> sadimusi: they did not update the launcher after heartbleed 18:24 < shoghicp> so not hardcoded :) 18:26 < M4GNV5> if i do java -jar Minecraft.jar --proxyHost 127.0.0.1 --proxyPort 8888 it throws an exception for every request with message "Malformed reply from Socks server"... 18:27 < M4GNV5> but fiddler dont even logs the... 18:27 < M4GNV5> *theM 18:28 < M4GNV5> and yes i installed fiddler https certificates... 19:03 < M4GNV5> meow 21:54 < YukonAppleGeek> nickelpro: Does spock still work? I am having issues with the authentication. 21:58 < M4GNV5> 1.6.4 ? 21:59 < YukonAppleGeek> No it says it supports 1.7.4 21:59 < YukonAppleGeek> It does not even get to the point of connecting to the server, fails when authenticating the user. 22:01 < YukonAppleGeek> http://cl.yukon.io/text/27303Z3P3c0H 22:06 < M4GNV5> i never used python... but according to my knowledge this error means that self.settings is empty so has type nonetype and you cannot use a foreach loop on nonetypes... so maybe you kinda missing some files? or havent installed it correctly? (if you even have to install it) 22:06 < M4GNV5> ps according to http://wiki.vg/Client_List last version is 1.6.4 22:06 < M4GNV5> hmm but https://github.com/nickelpro/spock says 1.7.4 i dunno :D 22:07 <+SpaceManiac> I'd expect github is more up-to-date than the wiki 22:12 < YukonAppleGeek> I have no clue what I did but it works now 22:13 < YukonAppleGeek> Oh I see 22:15 < YukonAppleGeek> I boke auth when I was trying to fix no auth 22:18 < YukonAppleGeek> nickelpro: I fixed it, as well as fixed offline auth --- Day changed jeu. mai 29 2014 03:01 < vemacs> Getting a weird error when trying to read the string 03:01 < vemacs> http://paste.ubuntu.com/7540495/ 03:01 < vemacs> java.io.EOFException: fieldSize is too long! Length is 256, but maximum is 0 03:03 < vemacs> getting weird numbers for length+id+version 03:03 < vemacs> 251659273, 825374510, 808333358 03:07 < vemacs> oh, jewgle 03:17 < vemacs> meh, read more docs, got it working 03:17 < vemacs> what is with mojew and this retarded protocol 03:23 < shoghicp> vemacs: it was worse before 03:28 < vemacs> what were they smoking 03:28 < vemacs> what's wrong with a simple java standard int 03:28 < vemacs> and a simple java standard utf8 string 03:28 < vemacs> http://paste.ubuntu.com/7540574/ 03:28 < vemacs> truly retarded 03:30 <+sadimusi> there are many things wrong with the protocol, bit strings and varints are pretty far down on the list 03:30 <+sadimusi> keep in mind that the protocol is not designed to suit your needs but mojangs 03:31 < dx> general purpose voxel based game protocol ietf draft when 03:34 < dx> the standarization process will follow the success of oauth 2.0 and http 2.0 04:46 < Not-cdc9> [Glowstone] SpaceManiac pushed 3 commits [+0/-0/±10] http://git.io/A-ZOmw 04:46 < Not-cdc9> [Glowstone] SpaceManiac 9827627 - Some world saving and session management fixes: 04:46 < Not-cdc9> [Glowstone] SpaceManiac fe51140 - Various network and usability fixes: 04:46 < Not-cdc9> [Glowstone] SpaceManiac 9287485 - Added extra isActive() during establishment check, improved log rotation. 04:50 < vemacs> Just a dumb question, do any of you have a clue why this is crashing 1.7.5- clients, and broken in 1.7.6+ clients? 04:51 < vemacs> https://github.com/vemacs/FakeMCserver/blob/master/src/main/java/me/vemacs/fakemcserver/BasePacketHandler.java#L36 04:51 < vemacs> looks basically correct to me, and it looks like my packet generation is working properly in terms of length 04:52 < vemacs> this output's correct when reading: http://i.imgur.com/cjg9fS1.png 04:52 < vemacs> then it starts derping out once I write and flush 04:53 <+SpaceManiac> can you stick a proxy or something in the middle to figure out what actual bytes you're writing? 04:54 < vemacs> Well, I can give a dump of the bytes 04:54 < vemacs> would that help? 04:54 <+SpaceManiac> Sure. 04:56 < vemacs> http://paste.ubuntu.com/7540980/ 04:56 < vemacs> 189 is the length 04:56 < vemacs> written as a varint 04:56 < vemacs> huh, tons of zeroes at the end 04:57 <+sadimusi> data.buffer().array() might not only return the written bytes 04:57 <+SpaceManiac> ^ 04:57 < vemacs> that might be why, thanks 07:01 <+SpaceManiac> TkTech: I'll keep that in mind trying to find a good name, I've had the code lying around for some time and just discovered the project it's a clone of is inactive so I'm considering doing something with it 16:03 < TkTech> Wiki will be unavailable for a couple of minutes for server maintenance. 16:09 < M4GNV5> okay 17:50 < vemacs> Hmm, truncating the byte array doesn't seem to help either 17:50 < vemacs> here's what I'm outputting (status response packet): http://paste.ubuntu.com/7544828/ 17:51 < vemacs> client just still states pinging... 17:52 < vemacs> length header seems correct 17:55 < vemacs> http://paste.ubuntu.com/7544828/ 17:55 < vemacs> BD = 189, seems right 17:55 < vemacs> 01 00 = 0x00 17:55 < vemacs> hmm, seems that it shouldn't start with BD 17:56 < vemacs> does anybody have a dump for a valid SLP response? 17:56 <+sadimusi> I just tried to parse your response and it's working fine 17:57 < vemacs> huh, what client version? 17:57 <+sadimusi> maybe you're closing the socket too early? 17:57 <+sadimusi> I used my parser for the 1.7 query 17:57 < vemacs> oh, link? 17:57 <+sadimusi> sorry, proprietary 17:57 < vemacs> ;_; 17:57 < vemacs> I'm wondering why there's no length byte 17:57 < vemacs> before the length header 17:58 < vemacs> but there does seem to be one before the packet ID 18:01 <+sadimusi> what do you mean? 18:02 <+sadimusi> you have 0xbd01 = 191 for the packet length and 0x00ba = 186 for the string length 18:02 < vemacs> welp 18:03 <+sadimusi> wait, that was wrong 18:03 <+sadimusi> the 0x00 is the packet id of course 18:03 <+sadimusi> 0xba01 is the string lenght 18:03 <+sadimusi> *length 18:04 <+sadimusi> did the client print any error in the console? 18:09 < vemacs> lemme check that 18:10 < vemacs> Nope 18:10 < vemacs> last I saw was [10:10:07 INFO]: Client> [10:10:07] [Client thread/INFO]: Created: 512x512 textures/items-atlas 18:56 < vemacs> yay, finally got it working 18:56 < vemacs> thanks guys 18:57 <+sadimusi> what was the issue? 18:58 < vemacs> first off, corrupted JSON 18:58 < vemacs> for the ping, I was writing the length twice 18:58 < vemacs> should've spotted them 18:58 <+sadimusi> the json parsed fine for me 18:58 < vemacs> invalid UUID for Thinkofdeath 18:59 < vemacs> i just ended up removing the sample section altogether 18:59 < vemacs> vemacs: and change my uuid to '4566e69f-c907-48ee-8d71-d7ba5aa00d20' 18:59 < vemacs> woops, accidental ping 19:43 < TkTech> (Sorry for the extended downtime, upgrading 418 packages and moving up two major distro versions) 21:01 < Drainedsoul> Is there any particular reason why the "Legacy" field here => http://wiki.vg/Authentication#Response is represented as a string rather than a boolean? 21:03 < Thinkofdeath> I guess someone typo'd when adding it 21:40 < vemacs> I think I have some semi-useful "documentation" about the description field 21:40 < vemacs> https://github.com/vemacs/FakeMCserver/blob/master/README.md 21:42 < vemacs> might be worth adding to the SLP doc 22:26 < YukonAppleGeek> nickelpro: I am having issues with your bot timing out. A plugin disables all world updates and it blocks the entire bot after connecting. Eventually getting to the point to bukkit timing out. I can not figure out how to fix the loop to not use world time so it keeps running and does not time out. --- Day changed ven. mai 30 2014 09:59 < MasterGberry> Does any1 know where the mob movement stuff is for updating this.locX, this.locY, this.locZ 09:59 < MasterGberry> I know it calls Entity.move() 09:59 < MasterGberry> but it uses this.motX and this.motZ to determine it, and i can't seem to find where it is. 09:59 < MasterGberry> I'm trying to force the mob to update it's position properly, which it is not currently doing with some changes I made 10:00 < MasterGberry> NMS stuff ofc. 13:00 <+Amaranth> MasterGberry: This channel isn't for messing with NMS stuff, it's for figuring out the protocol and file formats so you can replace the NMS stuff :P 13:04 < shoghicp> NMS? 13:05 < Thinkofdeath> net.minecraft.server 13:05 < Thinkofdeath> aka https://github.com/Bukkit/mc-dev/tree/master/net/minecraft/server 13:06 < shoghicp> ah, right 13:06 < shoghicp> learned something new today :D 18:35 < MasterGberry> Whoops! 18:36 < TkTech> MasterGberry: Sorry :) We're more a DIY group. 18:41 < dx> is there *any* channel about NMS? 18:41 < Thinkofdeath> Not really 18:42 < TkTech> MCP guys possibly? 18:42 < dx> bukkitdev hates them, MCP isn't about bukkit, we don't really bother with that stuff. 18:42 < Krenair> bukkitdev hates MCP? 18:42 < Thinkofdeath> Its ok to talk about it in #spigot but i'm not sure how many there really know about it 18:42 < TkTech> No, NMS 18:43 < dx> ^ 18:43 < dx> only bukkit api talk allowed in bukkitdev, which excludes NMS and craftbukkit (implementation, not api) 18:46 < dx> i guess the best option is to find the relevant code in the MCP source tree and reformulate the NMS question to ask in a MCP channel 18:46 < dx> not really sure how different the name mappings are 19:02 < shoghicp> oh, I knew the answer to that question about NMS 19:03 < shoghicp> MasterGberry: I know the answer to that, it's on each entity (where it applies drag / gravity) 19:03 < shoghicp> then it calls move 19:03 < shoghicp> +other things before to detect collision and add upwards motion for items, for example 19:05 < shoghicp> I've to go now, if it's not on the topic on this channel, feel free to PM me later 19:37 < luke5227> *implodes* 19:37 < luke5227> Why can't stuff just... work. 19:42 < luke5227> dx Still there? :3 19:43 < dx> YES HELLO I'M HERE BUT I DON'T KNOW ANYTHING 19:43 < luke5227> :( 19:43 < dx> srsly dude 19:43 < dx> ask the devs 19:43 < dx> not me 19:43 < dx> the thing is buggy as far as i checked and i don't do node.js 19:44 < luke5227> alright :/ 19:46 < luke5227> bitcraft 19:47 < luke5227> You know EVERYTHING about minecraft-protocol and mineflayer, right? 19:47 < luke5227> Right? 19:49 < dx> when i said 'devs' i meant 'the devs of node-minecraft-protocol', not 'any random person in #mcdevs' 19:49 < dx> lol 19:50 < bitcraft> YES 19:50 < bitcraft> YES I DO luke5227 19:50 < luke5227> Really? 19:50 < dx> ._. 19:50 < luke5227> Cause stuff here is kinda getting random... 19:51 < luke5227> Some servers don't load (just stops the bot) and other servers its random. Other servers the bot can't move...... 19:51 < dx> heh random 19:51 < bitcraft> no. a long time a go i did know it, but that was beta 1.5 19:51 < dx> lol 19:51 < dx> anyway 19:51 < dx> like i said before, roblabla and mappum have some commits in that repository and they are here. i don't know if they know but at least they should be able to guide you. 19:52 < dx> also, don't refer to it as minecraft-protocol, because it's not immediately obvious that you're referring to the node.js one 19:52 < luke5227> Alright 19:52 < mappum> i don't know if it was ever fully updated to the latest protocol 19:52 < luke5227> Would be so much better if it was consistent :/ 19:55 < mappum> luke5227: what problems are you experiencing? 19:55 < luke5227> A couple, and I can't figure out when or why they occur. 19:56 < dx> that's not a good answer 19:56 < luke5227> The first is this one: Error: read ECONNRESET 19:56 < dx> that's not a great answer either 19:56 < luke5227> Only happens on one server (as far as I know) 19:56 < mappum> so you're running a client? 19:56 < luke5227> Yeah, I'm running the node-protocol 19:57 < luke5227> Just in the console. 19:57 < mappum> well it has server code as well 19:57 < luke5227> I understand but I'm trying to make it run on servers other than mine 19:57 < dx> mappum: i got these while testing the other day http://ix.io/cEy and http://ix.io/cEz (the latter is modified so it has a hardcoded username. connects to offline mode localhost server) 19:57 < mappum> so can you explain exactly what is happening? it successfully connects to a server, then eventually gets disconnected with ECONNRESET? 19:58 < luke5227> It doesn't connect due to "read ECONNRESET" 19:58 < luke5227> Well 19:58 < luke5227> It logs "Logged in" with client.on("login"), and it never outputs "Logged in" 19:59 < luke5227> So I assume it never successfully connects to the server 20:00 < mappum> dx: what packet are you trying to write in client_echo.js:16 20:02 < dx> gah, i shouldn't have nuked this temporary directory 20:03 < dx> mappum: i believe i only added one line to specify the server address in createClient, so offset line numbers by +1: https://github.com/andrewrk/node-minecraft-protocol/blob/master/examples/client_echo.js#L17 22:10 < luke5227> Well 22:11 < luke5227> I'm starting to figure out the problem 22:14 < luke5227> Was is mappum? --- Day changed sam. mai 31 2014 04:48 < luke5227> The problem appears to be with the entity. I've been using most of the Libraries from Mineflayer and I checked, and a couple things are occuring 04:48 < luke5227> A) The bot only moves while it's not touching the ground 04:48 < luke5227> B) The bot always has "onGround" set to false (although this server has a double jump so that could be what's causing it...?) 04:52 < luke5227> WizardCM 04:52 < luke5227> You a wizard with the node-minecraft-protocol? 04:58 < luke5227> mappum? 04:59 < dx> god dammit luke5227 04:59 < luke5227> lol 04:59 < dx> don't ping random people 04:59 < luke5227> Wait 04:59 < luke5227> Isn't that who you pinged before? 04:59 < dx> (mappum isn't random) 04:59 < dx> i said mappum and roblabla 04:59 < luke5227> Well then 04:59 < dx> but not WizardCM 04:59 < luke5227> lol Wizard had just joined 04:59 < luke5227> <3 04:59 < dx> yeah, well, don't do that :P 05:00 < luke5227> I decided he needed some love 05:00 < luke5227> Stupid bot only moves mid air O_O 05:16 < mappum> i can debug that, i just don't have any time tonight 05:16 < mappum> maybe tomorrow 05:23 < luke5227> It doesn't make any sense O_O 05:23 < luke5227> My log shows it position: 847 => 848 => 849 => 849 => 849 => 849 GAH 05:41 < mappum> luke5227: can you check the server log and see why it's disconnecting? 05:41 < luke5227> That's not the main issue I'm experiencing 05:42 < luke5227> That issue was on a specific server that I can't replicate. The current issue is that my bot doesn't move while on the ground 05:42 < mappum> well can you still check the server logs and see what it says is wrong? 05:42 < luke5227> Not on my server >.> 05:43 < luke5227> Should I do that? xD 05:43 < mappum> yes. 05:49 < luke5227> mappum, now I'm getting new errors (although this server is 1.7.9 and the previous server I want to run it on is 1.7.4) 05:50 < luke5227> mappum: Workins fine on my server... 06:04 < benbaptist> hmm. I'm trying to filter these SMP packets but getting errors when I have the server in online mode. 06:05 < benbaptist> is encryption perhaps getting in the way? at first I thought maybe that was it, but http://wiki.vg/Protocol#Login claims there's no encryption when logging in localhost. 06:12 < benbaptist> every error when logging in is new and different. I've never even seen this before in my life. http://s.benbaptist.com/elOwq6hj5M.jpg :P 10:40 < morfin> i am wondering how do i write packet length without knowing it 10:40 < morfin> *length 10:40 < morfin> hm 10:42 <+md_5> write the packet, prepend length 10:55 < morfin> prepending will be slow 11:52 < Drainedsoul> how big are the packets that you're worried about memmoving them being "slow" 13:38 < morfin> hm 13:38 < morfin> not sure how big are chunk data packets but big enought 13:39 < morfin> reallocation is slow 14:39 < morfin> because it’s heap 19:38 < Drainedsoul> just make sure your container has a good resizing policy. 21:03 < Not-cdc9> [Charge] Wallbraker pushed 1 commit to master [+0/-0/±1] http://git.io/PVBJsg 21:03 < Not-cdc9> [Charge] Wallbraker c0d80ba - charge: Change binary name 23:35 < morfin> oh and also moving memory over heap will fragment it 23:36 < morfin> i already fixed code i think --- Day changed dim. juin 01 2014 01:13 < nevercast> p 02:28 <+Amaranth> morfin: Storing the size separately and making your packet writing just write out the size then the payload? 23:13 < Not-cdc9> [Glowstone] SpaceManiac pushed 1 commit [+0/-1/±24] http://git.io/YNsG5A 23:13 < Not-cdc9> [Glowstone] SpaceManiac 58dcb1b - Various minor cleanup and fixes to eyeHeight and channel events. --- Day changed lun. juin 02 2014 03:22 < mathuin> Coming back to Minecraft development after a long time away because a user finally noticed my code didn't work with the "new" biomes. 03:22 < mathuin> How long ago did pymclevel remove the compressedSize() method from AnvilChunk ? 05:09 < morfin> what’s max packet size in Minecraft? 05:22 < benbaptist> Dang, I was hoping I could send an entire resource pack through a MC|RPack packet via a data URL. :P 05:23 < benbaptist> It might still be possible if it's smaller, that was a pretty large pack (5MB) 05:24 < benbaptist> I guess the resource pack needs to be less than 65536 bytes due to the short length. :( 23:53 < TkTech> Are there any objections to merging wiki.vg into the main minecraft wiki? All change history will be preserved if this happens. 23:54 < shoghicp> heh, that is interesting 23:55 < shoghicp> will it be moved to a section of it? 23:56 < TkTech> Probably not, get mixed in with the other content. Keep a slightly modified version of the front page as the dev portal page on the minecraft wiki. 23:56 < TkTech> Nothing specific yet, I just want to see if anyone has any particular issues or concerns. 23:58 < shoghicp> well, what will happen with the external pages? 23:58 < shoghicp> like b.wiki.vg, p.wiki.vg 23:58 < shoghicp> and links to #mcdevs? 23:59 < TkTech> p.wiki.vg and b.wiki.vg can still work for quite awhile, the domain was recently renewed I think. 23:59 < TkTech> #mcdevs will probably still be on the page. 23:59 < shoghicp> ok :) --- Day changed mar. juin 03 2014 00:00 < TkTech> But p.wiki.vg and b.wiki.vg should probably move at some point - although I don't know if sadimusi is still maintaining b.wiki.vg 00:00 < shoghicp> well, if it goes down, p.wiki.vg has a subdomain in my domain too 00:00 < shoghicp> p.wiki.vg = burger.pocketmine.net 00:01 < shoghicp> hmm, I can't think of anything else... 00:02 <+sadimusi> I'm currently not maintaining b.wiki.vg, maybe I'll release a completely new version at some point but probably under a new name 00:02 <+sadimusi> the address could stay, but if we're moving away from wiki.vg anyway it might as well change too 00:03 <+sadimusi> TkTech: why are you considering this? not enough activity and exposure on wiki.vg? 00:05 < TkTech> Activity is dying down, losing interest in it, no reason to maintain two wikis (Gru_m, Notch and company ensured it'll never be censored by validating it), massive traffic spikes when they tweet links to it 00:05 < dx> and you could sell wiki.vg for loadsamone 00:05 < TkTech> Dealing with spam and bot registrations, etc... 00:05 < TkTech> dx: I was just going to let it expiry if no one wants it 00:06 < TkTech> *expire. urgh. 00:06 < dx> i always thought it was too generic for a wiki that is just about minecraft development 00:07 < dx> generic as in 'could be applied to anything else', not 'boring'. definitely not boring 00:09 < shoghicp> TkTech: if you want, I can keep the domain + the pointers 00:13 < dx> keeping a redirect for at least one year would be good 00:16 < dx> also obligatory: the minecraft wiki is owned by curse which is a transnational megacorporation directly affiliated with lots of three letter agencies[citation needed] 00:42 <+AndrewPH> TkTech: you could probably give the domain to a large videogame-related wiki 00:42 <+AndrewPH> tcrf perhaps 00:44 < TkTech> I'd be okay giving it to an existing site assuming someone connected us. 17:36 < mathuin> If minecraftwiki weren't part of Curse I'd be 100% in favor. 17:36 < mathuin> But I've been an anti-fan of Curse since my WoW days. 17:37 < mathuin> They particularly fouled up the minecraftwiki merger -- I *still* have two accounts. 18:22 < Fenhl> Curse is also not responding to admin requests 18:23 < Fenhl> templates that would benefit the structure of the wiki can't be written because the required extensions aren't being installed 18:24 < Fenhl> instead Curse insist on slapping their outdated videos on articles 18:24 < mathuin> So yeah, if you want to make money off the transaction and walk away, they'd be a great option. :-) 18:38 < TkTech> To clarify something here, the wiki isn't being sold. All we're doing is hitting export on wiki.vg and import on mw. 18:47 < Fenhl> yes, but that doesn't make gamepedia any less of a hostile platform 19:36 < dx> Fenhl mathuin: i don't see how anything you mentioned could affect wiki.vg negatively in a significant way. the basic wiki functionality is there, we don't need complex extensions 19:36 < mathuin> dx: the primary fail is with account transitions. 19:36 < mathuin> After Curse absorbed minecraftwiki I was unable to update the wiki page there for my project for months. 19:37 < dx> couldn't you workaround that by creating a new account? 19:38 < dx> and that's a past issue anyway, wiki.vg accounts are not included in the mediawiki export afaik 19:38 < mathuin> I tried that -- but there was an existing account with that email address, broken by the merge. 19:38 < mathuin> I had to create a new email address and then a new account, and still wasn't able to get things fixed. 19:38 < mathuin> If you don't care about history, then it won't bother you. 19:38 < dx> wat 19:39 < dx> what do you mean "still wasn't able to get things fixed"? 19:40 < mathuin> They could not (or would not) merge the history of the accounts. 19:40 < mathuin> Let's say you have "dx" as your account on wiki.vg. You will not get that account on Curse. 19:40 < mathuin> What should be done with the history of your edits? 19:40 < mathuin> It's not just what you wrote, it's that you wrote it, right? 19:41 < dx> fun fact: wiki.vg edit history was also wiped relatively recently due to a server migration 19:41 < mathuin> *shrug* 19:41 < mathuin> Again, if you don't care about history, then it won't bother you. 19:42 < mathuin> Any contributors would have to create new Curse accounts (or use their existing ones) for editing, and it would be just the same but without bothering TkTech. :-) 19:43 < dx> sounds like a good thing to me, but i'm not sure if you agree 19:43 < TkTech> mathuin: I can't entirely blame Curse for the user muckup - mediawiki does not make it easy. 19:43 < TkTech> The import and export maintains the actual history of the pages, but not the user relations. 19:43 < mathuin> TkTech: I confess that part of the responsiblity of using complex software is working well with it, but I may have had unreasonable expectations. 19:44 < dx> uhhhh 19:44 < dx> 'working well with it' == 'implementing missing features'? 19:44 < dx> TkTech just said db exports don't keep user relations 19:45 < mathuin> If you want to take on a large amount of content maintained by an active community, you should do it right is all I'm saying. if working well with mediawiki means finding a solution to the user issue, find it. 19:45 < mathuin> Again, I may have had unreasonable expectations. 19:45 < TkTech> dx: The better way to have done it would be a complete database dump instead of using Mediawiki's import/export. 19:46 < TkTech> Although that can't handle merges which is a different problem. 19:46 < dx> TkTech: yeah, that would have avoided the wipe we had before. 19:46 < dx> but in this case a merge is needed 19:47 < mathuin> It is a difficult problem. If I were prince of all that is Curse, I probably would have asked mw's admins to send me a list of their users, done some matching against my own database, and emailed them with "we're acquiring your wiki, do you have a curse account? if so, let us knwo and we'll link your edits, if not, make one and we'll do it then." 19:47 < mathuin> But I just play video games and occasionally write code for fun. 19:48 < dx> the 'link your edits' feature does not exist in mediawiki. they would have to write a non-trivial amount of php code to achieve that 19:48 < TkTech> Well, doesn't need to be PHP. It's just My/MariaDB 19:48 < mathuin> Or they could take the database dump and perform a mass translation on it. 19:49 < mathuin> One huge committed transaction. 19:49 < mathuin> Take your time, do it right, get it done. 19:49 < dx> mathuin: have you actually looked at the mediawiki db layout? 19:49 < mathuin> dx: nope! Does it not have user tables, and does it not reference those tables elsewhere when reporting who edited a page when? 19:50 < TkTech> mathuin: It does, but it does so in hundreds of places. 19:50 < TkTech> mathuin: It's a bit of a mess. 19:50 < dx> this is like saying 'hey mojang, got a trivial feature request, turn the minecraft protocol into UDP. should be an one line change, just change where it says TCP' 19:50 < TkTech> Not trying to defend Curse here, they're a commercial company who should have put the money and time into an aquisition. 19:50 < TkTech> Just pointing out it's not snap-your-fingers simple. 19:50 < mathuin> Actually, no, it's more like "Hey, Mojang, you're transitioning your own cloud-based addon storage to Curse, you might want to think about accounts when performing the transition." 19:50 < mathuin> I said that it was a difficult problem. 19:51 < mathuin> And I said that I thought they should do it right, and that I may have had unreasonable expectations. 19:52 < mathuin> Anyway. It's up to you all. I own no pages there, and only read them when I'm confused by changes, so I will not be impacted by the change. 19:53 < mathuin> I only wanted to express my concerns about Curse as a possible destination based on my personal experience with the mw transition. 19:55 < dx> i'm not a huge fan of curse either (they haven't given me a cent in bukkit points so far, those fuckers), but in this case it's a transition that would save a significant amount of effort in administration. they can handle the spambots, they can handle the traffic. 19:58 < dx> yep just checked, not a single cent from curse. i can still say i'm not being paid to defend them :3 20:02 <+SpaceManiac> They've paid me and I'm still occasionally sketched out by them :P 20:06 < TkTech> Would you say it's...like a curse? 20:06 < dx> heheheh 20:10 < shoghicp> *slow clap* 21:03 < TkTech> Alright, so at the moment the discussion is moving forward. 21:05 < TkTech> It's likely that the entire wiki will become the Development: namespace on the minecraft wiki. 21:05 < TkTech> The current wiki landing page will become Development:Main_Page 21:05 < TkTech> The references and attribution to #mcdevs won't be touched 21:07 < TkTech> Any additional objections to this? Right now my feeling is that the channel is generally positive about this. 21:07 < TkTech> I tried to bring up mathuin, dx, and shoghicp's concerns. 21:07 < dx> did i have concerns? 21:08 < dx> also, glad to hear it's going to be a namespace. that will simplify redirection 21:09 < TkTech> dx: You brought up redirection which we resolved with the namespace 21:09 < dx> oh. heh. 21:11 < TkTech> shoghicp: The wiki.vg subdomains will stay, and all inbound links will redirect to the right pages on the minecraft wiki. 21:11 < TkTech> I'll keep the domain renewed for another year at least. 21:13 < humerusj> TkTech: how much do you pay for renewing? 21:13 < TkTech> Don't rightly know, one second. 21:14 < TkTech> wiki.vg is $39.99 21:14 < dx> gandi says $52 per year 21:14 < dx> ...gandi is expensive. 21:14 < TkTech> Ah, I think the price actually went up. Looks like it'll be $49.00 this year. 21:15 < humerusj> Hmm 21:15 < dx> hm, okay. gandi does have a reputation of being slightly expensive anyway 21:15 < TkTech> My vanity domains still cost more, the stupid ones like ein.io and ☂.ws 21:16 < dx> haha 21:17 < TkTech> I've been using https://iwantmyname.com/ recently, never tried gandi 21:18 < dx> i use it for lookups only, since they have lots of cctld 21:46 < M4GNV5> heyho is Zhuowei here? 22:01 < shoghicp> no 22:01 < shoghicp> M4GNV5: ask him via Twitter to come here, but he was online a few minutes ago on the mcpe channel 22:06 < M4GNV5> hmmmpf is he regularly online? i dont have twitter ^^ i just wanted to ask how he got the information for http://wiki.vg/Realms_API 22:07 < shoghicp> M4GNV5: http://wiki.vg/index.php?title=Realms_API&action=history 22:07 < shoghicp> That was done by a few people 22:08 < shoghicp> a lot of them are not in the history 22:08 < shoghicp> how did we got them? looking up the Minecraft: PE binaries 22:08 < shoghicp> M4GNV5: don't create another Realms service ;) 22:13 < M4GNV5> shogchips: well i would do it :P if i would be able use a proxy for the minecraft menu... the problem is i werent even able to do this ^^ even fiddler does not show anything 22:14 < shoghicp> after I closed PocketMine Realms people tried to do it again 22:14 < shoghicp> but Mojang asked to not to do that, they want that spot (Realms) to be only for them 22:15 < M4GNV5> waitwait whats pocketmine realms? :D 22:15 < shoghicp> it's fron nearly one year ago 22:15 < shoghicp> from* 22:15 < M4GNV5> and i will do it so everybody can get free "realms" ;) :P 22:15 < shoghicp> when Mojang launched Pocket Realms 22:15 < Duntuor> Greetings people 22:15 < M4GNV5> hi Duntuor 22:15 < shoghicp> we didn't had the Play -> Edit -> External menu 22:15 < M4GNV5> shogchips: so its for pocket edition? 22:16 < shoghicp> so, we created the service where people could submit servers to be listed publicly, or private for their friends 22:16 < Duntuor> Anyone of you guys good with Bukkit ? I'd like to know if there is a way too set the 16 character limit in TAB yourself. 22:16 < M4GNV5> Duntuor: i dont think so thats client side 22:17 < Duntuor> Dang 22:17 < shoghicp> Duntuor: this is not a channel for bukkit development 22:17 < Duntuor> Oh sorry haha 22:17 < M4GNV5> shogchips: well seems awsome i want to do the same thing ^^ is your code open source? 22:17 < shoghicp> M4GNV5: if it's for personal use, you can do that 22:17 < shoghicp> but not for other people 22:17 < M4GNV5> no it isnt really... why not? 22:18 < M4GNV5> i mean they cant tell me what to do ^^ 22:18 < shoghicp> there are no "free" realms, they are just normal servers 22:18 < shoghicp> so, you want to do it for MCPE or MC PC? 22:19 < M4GNV5> computer... 22:19 < shoghicp> you have a nice server list there ;D 22:19 < M4GNV5> i know i just want to redirect them to lets say another server list ^^ 22:19 < M4GNV5> shogchips: i know but it isnt the same... look, pls just tell me if you know how i can play Minecraft via proxy... 22:19 < shoghicp> well, I didn't play a lot with the PC API 22:20 < shoghicp> only the PE api 22:20 < shoghicp> I'm sure you can 22:20 < shoghicp> but those things use HTTPs 22:20 < shoghicp> so you have to create a custom cert, and users must install it 22:20 < shoghicp> (that creates security issues if not done right) 22:21 < M4GNV5> a real cert should work? and yes i know its HTTPs so fiddler should be able to read it 22:22 < shoghicp> the certificate should be one trusted by the PC 22:22 < shoghicp> and for the Realms API domain 22:24 < M4GNV5> okay thats stuff i will focus later on... now i wanna know why minecraft says malformed reply, when i use fiddler proxy with accepted certs.... 22:24 < shoghicp> no idea 22:25 < shoghicp> I used dns tricks because proxying a few thousands of devices is really costly 22:25 < shoghicp> even with PAC files 22:25 < humerusj> Did someone say DNS? 22:25 < humerusj> That must mean realms playing :D 22:25 < shoghicp> so I just used a custom DNS that redirected those domains, then a CA certified for a few domains only 22:26 < shoghicp> well, after that, Johan asked me to close them, but they would be adding a online play menu 22:26 < shoghicp> so thats something good :) 22:26 < shoghicp> but we can't have online authentication now, something we could do using the realms part 22:27 < humerusj> Has the api changed at all? 22:27 < shoghicp> humerusj: did not check, but he is talking about the PC api 22:27 < humerusj> Ahh 22:27 < shoghicp> M4GNV5: now that I remember, those parts were heavily obfuscated 22:28 < humerusj> The pc one is probably easier to deal with 22:28 < M4GNV5> shogchips: who is Johan? and hmmmmm custom dns server isnt really userfriendly... 22:28 < humerusj> If it's pc, you can get it done in a few quick steps 22:28 < shoghicp> Johan is a mojang developer (jbernhardsson) 22:28 < humerusj> Mobile is a bit more difficult 22:28 < M4GNV5> humerusj: if it would accept proxies yes... 22:28 < shoghicp> M4GNV5: a DNS is more friendly than a proxy on mobile devices ;) 22:28 < humerusj> ^ 22:29 < M4GNV5> shogchips: lol he contacted you? or were you already in touch? 22:29 < humerusj> shoghicp: although you only needed to proxy a few domains and could do it over 3g/4g 22:29 < shoghicp> we were already in touch, but he asked me formally 22:29 < shoghicp> humerusj: the proxy thing was a mess 22:29 < shoghicp> a year after removing it 22:29 < shoghicp> I get 5 requests/second to 22:29 < shoghicp> the PAC file 22:30 < shoghicp> and a lot more to the secondary DNS server 22:30 < M4GNV5> humerusj: well in fact the Minecraft.jar launcher thing has proxy option... but as i said it always throws exceptions using fiddler proxy 22:30 < humerusj> shoghicp: you still never emailed me back after I first mentioned dnsmasq to you, i thought you were going to continue to use the proxy 22:30 < humerusj> Then one day, the switch 22:31 < humerusj> M4GNV5: set fiddler to act as the system proxy and try it that way 22:31 < shoghicp> did you... email me? 22:31 < humerusj> Also, make sure to install the CA 22:32 < shoghicp> humerusj: found it, unread! 22:32 < shoghicp> xD 22:32 < humerusj> shoghicp: :/ 22:33 < humerusj> I sent that to dan also 22:33 < shoghicp> so formal :O 22:33 < M4GNV5> humerusj: well i already checked taht last time and found out that fiddler does that automatically :D but it seems to not set itself as default socks proxy... lets try that ^^ 22:34 < humerusj> shoghicp: yup 22:34 < M4GNV5> well now minecraft doesnt throw any exceptions but fiddler doesnt log anything... 22:35 < shoghicp> 07/06/13... haha, that's a year ago 22:42 < mbaxter> dx: Can you even use the curse reward points for anything lower than the 100USD paypal checkout? :P 22:48 < mathuin> With regard to Realms, what exactly is it? Is it 'private servers for people who don't feel like hosting their own server'? 22:49 < dx> mbaxter: aren't there $10 amazon gift cards? 22:51 < dx> mathuin: or don't know how. it's nicely integrated with the minecraft client. 22:52 < M4GNV5> well therefore i wanna do it more open... 22:52 < M4GNV5> but now i will go to bed 22:52 < M4GNV5> night ^^ 22:52 < mbaxter> mathuin: It's mojang-run server hosting. No mods, just vanilla(ish) and you can invite a set number of friends (and a certain number can be online at once). 22:53 < mathuin> dx: huh. If it's wicked inexpensive for small groups (i.e., 3 players) and comes with commands like /home and /back, I might be interested. 22:53 < shoghicp> for MCPE, it's the only "official" way to have an online server 22:53 < mbaxter> Basically, it's excellent for parents who want their kids to play with friends, their kid has been asking them about hosting one, and they don't want to pay some third party they don't fully trust to do it 22:54 < dx> also it's CLOUD BASED 22:54 < dx> (it's in aws) 22:54 < mbaxter> Numbers: $13/mo (with discount for 3month/6month plans). Invite up to 20 friends. Up to 10 users online at once. 22:54 < mbaxter> Includes automatic backups and ability to restore to previous backup points.