These are chat archives for MylesIsCool/ViaVersion

26th
May 2016
Florian
@sinnlosername
May 26 2016 15:29
My bug is back <3
Faizaan
@faizaand
May 26 2016 15:34
;(
Florian
@sinnlosername
May 26 2016 15:49
yep
Florian
@sinnlosername
May 26 2016 16:10
Something works perfect, recompile it, works no longer. nice
Florian
@sinnlosername
May 26 2016 18:06
Someone knows a good irc/chat fro developing things like this? ^^
for*
Mats
@Matsv
May 26 2016 18:06
I'd join #mcdevs on freenode
Florian
@sinnlosername
May 26 2016 18:10
wait for answer in mcdevs
sinnlosername @sinnlosername is waiting for an answer lel
Mats
@Matsv
May 26 2016 18:11
I would just ask what you want to know. People on IRC don't really like to answer if you only ask 'Can someone help me?'. But it might take some time also before someone respond though
Florian
@sinnlosername
May 26 2016 18:17
enough? lel
sinnlosername @sinnlosername is waiting again
Florian
@sinnlosername
May 26 2016 18:32
Has wiki.vg got a forum? nobody answer's in the irc ^.^
Mats
@Matsv
May 26 2016 18:32
Nope
But I have 15 minutes now, if you want and can send me the code, I am willing to take a look at it
Faizaan
@faizaand
May 26 2016 19:06
Hello
Mats
@Matsv
May 26 2016 19:06
Hey
Faizaan
@faizaand
May 26 2016 19:07
I'm melting for real today
Florian
@sinnlosername
May 26 2016 19:07
nice, Matsv have 15 minutes, and I was 15 minutes afk. xD
had*
Faizaan
@faizaand
May 26 2016 19:07
33°, but the realfeel temperature is 35° and there is no wind - plus bad air quality today
Mats
@Matsv
May 26 2016 19:08
Rip
@sinnlosername I still have some time, however. I need to go 21:30 amsterdam time
So in 20 minutes
Florian
@sinnlosername
May 26 2016 19:08
ok. It's the same time zone as I am
private chat or something else?
Faizaan
@faizaand
May 26 2016 19:09
If I die, I already have trustees who will tell the world (spigot forums) my story and carry on my legacy!
Mats
@Matsv
May 26 2016 19:11
Sure you can start a private chat @sinnlosername
Florian
@sinnlosername
May 26 2016 19:11
how?
Mats
@Matsv
May 26 2016 19:11
Okay @SirFaizdat I will
Florian
@sinnlosername
May 26 2016 19:45
Nice @Matsv. Send me a private but I can't see the chat.
Mats
@Matsv
May 26 2016 19:45
Reload the page
Faizaan
@faizaand
May 26 2016 20:55
Great news I'm alive and well in my air conditioned home
Mats
@Matsv
May 26 2016 20:56
Yay :D
Florian
@sinnlosername
May 26 2016 20:56
nice
Faizaan
@faizaand
May 26 2016 20:57
Jenkins appears to be failing
Nvm that was a while ago
Mats
@Matsv
May 26 2016 20:57
Yeah it was a pain to set it up
:P
Faizaan
@faizaand
May 26 2016 20:57
TeamCityFTW
Mats
@Matsv
May 26 2016 20:58
Myles cried a lot
Myles
@MylesIsCool
May 26 2016 20:58
i blame mats
Mats
@Matsv
May 26 2016 20:58
And I did too
Faizaan
@faizaand
May 26 2016 20:58
Haha, well it's good that it's working now
Mats
@Matsv
May 26 2016 20:58
But hey, the positive news is, there is now, https://jd.viaversion.com https://repo.viaversion.com and https://ci.viaversion.com
;)
Faizaan
@faizaand
May 26 2016 20:58
:)
The repo earns an honorary spot on my Repository Cheatsheet of Awesomeness (est. July 2015, unamended until now)
Mats
@Matsv
May 26 2016 21:01
Sounds fancy :)
Do you have the new chrome design?
Oh
you used safari
right
Faizaan
@faizaand
May 26 2016 21:03
Tada
Behold! Though it's not actually sideways!
Mats
@Matsv
May 26 2016 21:04
Wooo
Faizaan
@faizaand
May 26 2016 21:04
Okay back to ripping my hair out over my stupid annotation-based command system
Myles
@MylesIsCool
May 26 2016 21:05
what's so bad about it?
Faizaan
@faizaand
May 26 2016 21:05
It doesn't work
It's based off of MethodCommand with edits to make it not use the Bukkit API (among other things), I messed something up and I have to dig through the messy code to find what's wrong
Myles
@MylesIsCool
May 26 2016 21:09
if it's open source I can take a look if you want :)
Faizaan
@faizaand
May 26 2016 21:11
No thanks, I've narrowed down the problem to something wrong with my CommandSender class (it has parameter injection), it's failing to cast to Player and I have to find out where
And finding out where is hard when dealing with annotations and reflection
Mats
@Matsv
May 26 2016 21:13
I'm going to start a php 7 small personal project
wish me luck
Faizaan
@faizaand
May 26 2016 21:13
The only side effect with PHP 7 is that you won't want to go back to the previous version ;)
The improvements make it feel a lot more solid than the old versions, especially with OOP
Mats
@Matsv
May 26 2016 21:14
Its now object oriented right?
Faizaan
@faizaand
May 26 2016 21:14
Yes
Mats
@Matsv
May 26 2016 21:14
no need to go back than
Great
Faizaan
@faizaand
May 26 2016 21:15
Oooooooh I found the problem
I was casting to Bukkit's Player class instead of my own
Mats
@Matsv
May 26 2016 21:15
Rip
Faizaan
@faizaand
May 26 2016 21:15
I blame Bukkit for naming its classes too conveniently
Mats
@Matsv
May 26 2016 21:16
I always call it the Dutch name or PluginnamePlayer to prevent issues like that
Faizaan
@faizaand
May 26 2016 21:17
I should have done that
Although I didn't think the Spigot jar would be included in the module I wrote the API in
IntelliJ's being sneaky and including libs for me
Mats
@Matsv
May 26 2016 21:18
Ah okay
Faizaan
@faizaand
May 26 2016 21:19
Does Spigot review jars nowadays? Or is it still instant upload?
I haven't uploaded anything to Spigot since last year
Myles
@MylesIsCool
May 26 2016 21:19
if it's premium it's reviewed
Faizaan
@faizaand
May 26 2016 21:19
Okay thank you :)
Finally, the commands work
Mats
@Matsv
May 26 2016 21:21
:)
Faizaan
@faizaand
May 26 2016 21:23
... nevermind
Mats
@Matsv
May 26 2016 21:24
Rip
Faizaan
@faizaand
May 26 2016 21:24
Maybe I should just catch the exception and ignore it
That's not clean though
Oh never mind fixed again
Mats
@Matsv
May 26 2016 21:27
Php works way better then JavaScript on JetBrains products
Faizaan
@faizaand
May 26 2016 21:28
You're using PhpStorm right?
Mats
@Matsv
May 26 2016 21:28
yeah
Faizaan
@faizaand
May 26 2016 21:28
That's my favorite IDE for web development
Though I'd much prefer Atom or Sublime Text if I don't require PHP
PHP's fun though, it was easy to learn because of the similarity to Java
Mats
@Matsv
May 26 2016 21:30
I use webstorm for web development
Faizaan
@faizaand
May 26 2016 21:30
JetBrains has an IDE for almost everything xD
Mats
@Matsv
May 26 2016 21:30
well yeah web storm is almost the same I think
it just doesn't support php there
but nodejs
Faizaan
@faizaand
May 26 2016 21:31
Yes, I don't see why they market two products when they can be merged
Mats
@Matsv
May 26 2016 21:31
Mainly targeted for JavaScript development
Money
probably
idk
Faizaan
@faizaand
May 26 2016 21:31
They get enough money as it is, $500 for IDEA ultimate is absurd
Mats
@Matsv
May 26 2016 21:32
Well yeah but tbh, you can make a lot of money using that tool
Faizaan
@faizaand
May 26 2016 21:32
That's true
Mats
@Matsv
May 26 2016 21:32
But you can request a student license right?
Faizaan
@faizaand
May 26 2016 21:33
They have that option yes
I don't use it because I wasn't sure if my school would be notified or would be charged (I doubt they'd be charged but notified maybe)
I've had strange experiences when using IntelliJ there
Mats
@Matsv
May 26 2016 21:35
Oh
Faizaan
@faizaand
May 26 2016 21:35
People congregate around me and say "ooh omg what are you hacking omg"
Mats
@Matsv
May 26 2016 21:35
The reason I don't request those things is because most of them require you to send identity cards. Don't like to just send that over the internet
Faizaan
@faizaand
May 26 2016 21:36
That's true too
Mats
@Matsv
May 26 2016 21:36
I requested some of them. It's fun to get free things
Myles
@MylesIsCool
May 26 2016 21:37
Man I hate javascript
spent like 20 mins looking for an error
and the issue was I forgot to put new Shape();
Mats
@Matsv
May 26 2016 21:37
Hahaha same
Myles
@MylesIsCool
May 26 2016 21:37
I just had Shape();
Mats
@Matsv
May 26 2016 21:37
I accidentally mistyped module.export
Faizaan
@faizaand
May 26 2016 21:37
JavaScript is awful
Mats
@Matsv
May 26 2016 21:37
instead of exports
Myles
@MylesIsCool
May 26 2016 21:37
sssh lil javascript don't listen to them!
Mats
@Matsv
May 26 2016 21:38
Are you learning nodejs? ;)
Myles
@MylesIsCool
May 26 2016 21:38
Nah
;)
One of my side projects is playing with canvas
I'm using easeljs to do all the magic
Mats
@Matsv
May 26 2016 21:39
Ah
Faizaan
@faizaand
May 26 2016 21:39
How is Node.js?
Mats
@Matsv
May 26 2016 21:39
I really enjoy using it
its easy
For small projects
Faizaan
@faizaand
May 26 2016 21:39
I was learning it before, but I am now forbidden from working on side projects until I finish my main project
Mats
@Matsv
May 26 2016 21:39
I would miss classes for big projects
and oop
Why?
Only focussing on main projects is not good
will burn you out
:P
Faizaan
@faizaand
May 26 2016 21:40
Because I promised my main project would be out 2 years ago
Myles
@MylesIsCool
May 26 2016 21:40
I can agree focussing on one thing burns you out
I have so many projects it's insane
a lot of small projects though
Mats
@Matsv
May 26 2016 21:40
Yeah same
I never finish them
but just doing something else
Myles
@MylesIsCool
May 26 2016 21:41
My intellij projects folder has 491 projects
all the fun ;)
Mats
@Matsv
May 26 2016 21:41
I have a cleanup ones a month
:P
everything on my external hard drive
Myles
@MylesIsCool
May 26 2016 21:42
My favourite project was I finished the main concept of my own programming language parser / lexer / compiler. It currently handles basic var x = 0; if (x == 0) print("yolo");
You gotta do stuff fun and exciting for yourself imo (and challenging)
Mats
@Matsv
May 26 2016 21:42
Yup :)
Myles
@MylesIsCool
May 26 2016 21:43
I mean that doesn't mean I don't reply to all the stupid viaversion messages I get
the dumbest of today is "I put this in my BungeeCord folder and it doesn't load"
Faizaan
@faizaand
May 26 2016 21:43
xD
Mats
@Matsv
May 26 2016 21:43
Still getting those? The discussion is boring as fuck
Myles
@MylesIsCool
May 26 2016 21:43
Sometimes I get weird PMs
like people asking me to look at topics etc
Faizaan
@faizaand
May 26 2016 21:43
My main project's discussion is myself saying the current version sucks and the new version would be out "soon"
Myles
@MylesIsCool
May 26 2016 21:44
My best advice is: Never pre-release etc, or say you have a date, or even talk about it. Otherwise you just get discussion of "wen it coming out???!?!?"
Mats
@Matsv
May 26 2016 21:44
Never say that, be like apple, make everything look nicer than it in real-world is
Faizaan
@faizaand
May 26 2016 21:44
I learned not to say release dates the hard way
Myles
@MylesIsCool
May 26 2016 21:45
hey look all these dead bodies, cover them up! look guys the real world is nice :D
Mats
@Matsv
May 26 2016 21:45
Yes
one big censor
If that's the right word
Faizaan
@faizaand
May 26 2016 21:45
censor?
Censure is strong criticism
Mats
@Matsv
May 26 2016 21:46
Ah thanks
Myles
@MylesIsCool
May 26 2016 21:46
:D
Faizaan
@faizaand
May 26 2016 21:46
My biggest issue, though, is when people give my plugins bad reviews and then say "it's not working!"
Mats
@Matsv
May 26 2016 21:46
It's 'censuur' in Dutch, the world would be so much easier if there was one language
Faizaan
@faizaand
May 26 2016 21:47
Because all they forgot to do was install Vault or something
Mats
@Matsv
May 26 2016 21:47
Yeah you used to be able to report those issues, but they removed it
Faizaan
@faizaand
May 26 2016 21:47
I'm in a hurry to get this main project done too, which is bad for code quality
Mats
@Matsv
May 26 2016 21:48
What's your main project?
the prison thing?
Faizaan
@faizaand
May 26 2016 21:48
Yes
I'm a huge stickler for code quality, I yelled at mrCookieSlime (maintainer of SlimeFun and other plugins) because his code "makes my eyes hurt" - when I barely knew him
Mats
@Matsv
May 26 2016 21:49
Lol that's so rude
Faizaan
@faizaand
May 26 2016 21:49
I know, things escalated quickly
Mats
@Matsv
May 26 2016 21:49
That's why we need closed-source
to prevent your eyes to get hurt
Faizaan
@faizaand
May 26 2016 21:50
My eyes will get hurt anyway, when something's closed source I usually try to decompile it
Which outputs even more ugly code
Mats
@Matsv
May 26 2016 21:50
Lol
Faizaan
@faizaand
May 26 2016 21:50
Of course, unless the terms say not to
Myles
@MylesIsCool
May 26 2016 21:51
Mats code is the worst
runs away
Mats
@Matsv
May 26 2016 21:51
Ofcourse, by looking at it it'll break everything
that's my feature
Faizaan
@faizaand
May 26 2016 21:52
"My code's not buggy, it just develops its own features."
Myles
@MylesIsCool
May 26 2016 21:52
Man I hate how java 8 enforces javadoc so hard
Mats
@Matsv
May 26 2016 21:52
Would be nice if machine learning would maintain your project in the future
Faizaan
@faizaand
May 26 2016 21:52
Then what would be the fun
Myles
@MylesIsCool
May 26 2016 21:52
Mats I thought you were an AI :'(
Mats
@Matsv
May 26 2016 21:52
Am I from the future? ;)
Faizaan
@faizaand
May 26 2016 21:53
No, because if time travel were to exist, we couldn't go back to a time before it existed since something Information Theory
Mats
@Matsv
May 26 2016 21:53
Myles did you already learn the Java 8 features?
Myles
@MylesIsCool
May 26 2016 21:53
I learnt the feature of the javadoc lint being horrible :'(
Mats
@Matsv
May 26 2016 21:53
That's a great feaTure
Faizaan
@faizaand
May 26 2016 21:53
What about Lambdas and Optionals and Streams D:
Mats
@Matsv
May 26 2016 21:53
i requested it
I kind of like it
Myles
@MylesIsCool
May 26 2016 21:54
When most servers use java 8
Mats
@Matsv
May 26 2016 21:54
in some cases
Myles
@MylesIsCool
May 26 2016 21:54
i'll learn it
Mats
@Matsv
May 26 2016 21:54
deal
Faizaan
@faizaand
May 26 2016 21:54
Em
Most servers already do use Java 8
Mats
@Matsv
May 26 2016 21:55
True :P
Faizaan
@faizaand
May 26 2016 21:55
68.82% Java 8, 30.87% Java 7
I never actually "learned" java 8 per se
I just let IntelliJ correct me and I learned that way
Mats
@Matsv
May 26 2016 21:55
Same
intellij did it for me
hahaha
Myles
@MylesIsCool
May 26 2016 21:56
it's all basically like .stream() or something isn't it? and also () -> xyz
Faizaan
@faizaand
May 26 2016 21:56
Yes pretty much
IntelliJ: "This expression may be replaced by a lambda."
Me: "OMG <3"
IntelliJ: "This expression may be replaced by a this::run"
Me: "PRAISE BE TO THE ORACLE"
IntelliJ: "This for loop may be replaced by a stream().collect() call"
Me: faints
Myles
@MylesIsCool
May 26 2016 21:56
I dislike oracle
Faizaan
@faizaand
May 26 2016 21:57
So do I
Mats
@Matsv
May 26 2016 21:57
What's up with them?
Faizaan
@faizaand
May 26 2016 21:57
Dirty not-nice-words trying to make a quick buck by ruining APIs for everyone
Myles
@MylesIsCool
May 26 2016 21:57
The reason I dislike them is their public attitude, primarily in relation to Android lawsuit
Mats
@Matsv
May 26 2016 21:57
next to keeping fucking Windows 2003 themed things on linux
Oh yeah I read about that
Florian
@sinnlosername
May 26 2016 21:57
a is working, b isn't working. Any idea why?
a: http://mindmc.net:7777/numaciqisi.avrasm
b: http://mindmc.net:7777/ebanuzuviz.avrasm
It's the same code, isn't it? o:o
(If I use b I don't get a ping request packet (id=0x01))
Mats
@Matsv
May 26 2016 21:59
Sorry I'm on mobile atm can't really compare it
Faizaan
@faizaand
May 26 2016 21:59
Rule 8: Methods over 10 lines should be split into sub methods for better clarity
Okay that's besides the point (pushes code quality issues aside)
Florian
@sinnlosername
May 26 2016 22:01
I still get the motd, but I don't get the packet 0x01 which is the request for a pingBuffer
Faizaan
@faizaand
May 26 2016 22:03
Packets must really dislike you :O
Florian
@sinnlosername
May 26 2016 22:04
yep
They do.
Faizaan
@faizaand
May 26 2016 22:04
Eh they dislike everyone
Myles
@MylesIsCool
May 26 2016 22:04
I love packets
they're fun
Florian
@sinnlosername
May 26 2016 22:04
They only dislike me if I try to write the code fancier.
Look at the code. The fancier version doesn't change any logics, but it won't work.
Faizaan
@faizaand
May 26 2016 22:05
The old one's easier to read though D:
xD
Myles
@MylesIsCool
May 26 2016 22:06
It's really hard to read your code
I'd suggest using system.out's and working out what's different
Florian
@sinnlosername
May 26 2016 22:06
logger looks more fancy ^^
Faizaan
@faizaand
May 26 2016 22:07
Fanciness isn't as important as readability and simplicity
Florian
@sinnlosername
May 26 2016 22:07
Main.getLogger.info() is as long as System.out.println(); ^^
Myles
@MylesIsCool
May 26 2016 22:08
You can use whatever to debug code it doesn't matter
I use sys out because I type sout and intellij completes it
Faizaan
@faizaand
May 26 2016 22:08
You can always add a live template for loggers too, if you so desire
Florian
@sinnlosername
May 26 2016 22:08
In b I've split everything to single methods I think it is better to read
Myles
@MylesIsCool
May 26 2016 22:09
Nobody will tell you what your errors are you're gonna have to work it out for yourself
Faizaan
@faizaand
May 26 2016 22:09
^ The sad truth
Welllll
The compiler will
Myles
@MylesIsCool
May 26 2016 22:09
For the fact you know your own code
and the fact your not posting all of it
Faizaan
@faizaand
May 26 2016 22:09
^
Florian
@sinnlosername
May 26 2016 22:10
Because I think that's all which really contains code
Faizaan
@faizaand
May 26 2016 22:10
What does PacketInfo do
Florian
@sinnlosername
May 26 2016 22:10
DecodeParams, PacketInfo, etc. only stores the think you input in the constructor
Faizaan
@faizaand
May 26 2016 22:10
Unless that's part of the library you're using
Florian
@sinnlosername
May 26 2016 22:11
public class PacketInfo {
    private int id;
    private int length;

    public PacketInfo(int id, int length) {
        this.id = id;
        this.length = length;
    }

    public int getId() {
        return id;
    }

    public int getLength() {
        return length;
    }

    public String info() {
        return "(id="+id+", length="+length+")";
    }

    public boolean isWrong() {
        return getId() < 0 || getId() > 128 || getLength() < 0;
    }
}
@MylesIsCool I know my own code, but I don't know minecraft packet logics as good as other people do.
Faizaan
@faizaand
May 26 2016 22:13
Use your logger and print out values that you think may be wrong or must be right
Florian
@sinnlosername
May 26 2016 22:14
There's the problem. I don't get the packet, so I don't get the values.
@MylesIsCool And if you want, there are all classes of the whole package. https://workupload.com/file/zDkkjyv
Myles
@MylesIsCool
May 26 2016 22:18
Just put system outs through your decode method
work out how far it gets
etc
Mats
@Matsv
May 26 2016 22:29
Oh hey, Google won the Google vs oracle case
how fun
Florian
@sinnlosername
May 26 2016 22:42
@MylesIsCool
There are enough log methods to know how far it get's.
-> Receiving Motd request
-> Sending Motd request (I see)
  • The end
Faizaan
@faizaand
May 26 2016 22:45
Thank goodness Google won
Hey, @sinnlosername , what's this proxy supposed to do anyway (what's the goal)?
Florian
@sinnlosername
May 26 2016 22:50
It's a load balancer to balance the players on target bungeecords/servers ^^
Florian
@sinnlosername
May 26 2016 22:56
LTE connection is shit. :D
Mats
@Matsv
May 26 2016 22:57
Where do you live?
its great here :)
Florian
@sinnlosername
May 26 2016 23:04
Sometimes it is great, but currently, it is shit.
Dropping file into filezilla, waiting 30 sec., upload starting, upload 100%, waiting 20sec, upload done. nice
Faizaan
@faizaand
May 26 2016 23:16
Oh that's cool, how does it work? (I don't have experience with what load balancers are)
Florian
@sinnlosername
May 26 2016 23:18
Balancing connections between servers
Faizaan
@faizaand
May 26 2016 23:20
Ah
No wonder you rely on packets so much
Myles
@MylesIsCool
May 26 2016 23:21
My favourite time of night, fixing viaversion bugs :D
Faizaan
@faizaand
May 26 2016 23:21
wooooo
My favorite time of the night, watching Webdriver Torso on YouTube
This is my favorite episode, but turn volume down if anyone wants to watch:
https://www.youtube.com/watch?v=YNgLIQPfXPE
Florian
@sinnlosername
May 26 2016 23:36
@MylesIsCool It is about 1PM in us, isn't it? "night"
Faizaan
@faizaand
May 26 2016 23:37
What's "us"
Florian
@sinnlosername
May 26 2016 23:37
usa
Faizaan
@faizaand
May 26 2016 23:37
United States?
Or the pronoun "us"
Florian
@sinnlosername
May 26 2016 23:37
Or other country's which use's us in their tld
^.^
Faizaan
@faizaand
May 26 2016 23:38
I wasn't sure if you meant the first-person pronoun "us" xD
Florian
@sinnlosername
May 26 2016 23:38
xD
Faizaan
@faizaand
May 26 2016 23:38
If you mean the country, then it's about 7:38 PM along the eastern coastline of the US, and 4:38 PM along the western coastline of the US
Florian
@sinnlosername
May 26 2016 23:39
ok :D
In the middle of europe it is 1:39 AM. :p
Faizaan
@faizaand
May 26 2016 23:39
Wow, that's rather late
But nighttime is usually when the best code is written
I still have to wait an hour or two for nighttime :(
Florian
@sinnlosername
May 26 2016 23:41
:D
If I am alone on ts I am in a "half-sleep" from 2PM. ^^
and then I am writing shit.
Mats
@Matsv
May 26 2016 23:43
Nighttime is also the time to produce most bugs
Florian
@sinnlosername
May 26 2016 23:43
yep
Faizaan
@faizaand
May 26 2016 23:43
A study shows that drunk people write working code more often but don't understand it
Florian
@sinnlosername
May 26 2016 23:44
xD
10PM - 2-3AM Writing best code
2-3AM - dev.getSleepTime() Writing bugs.
or
Faizaan
@faizaand
May 26 2016 23:45
dev.mountainDew()
Florian
@sinnlosername
May 26 2016 23:45
10PM - 2-3AM Fixing bugs of the last day
2-3AM - dev.getSleepTime() Writing bugs.
NoSuchMountainDewException
:(
Faizaan
@faizaand
May 26 2016 23:48
try {
       dev.doWork();
} catch(NoSuchMountainDewException e) {
       System.exit(1);
}
Myles
@MylesIsCool
May 26 2016 23:49
what does exit(1) do
;)
Faizaan
@faizaand
May 26 2016 23:49
Exits with exit code 1 (non-zero)
Florian
@sinnlosername
May 26 2016 23:50
I've never seen a MountainDew in austria xD
Faizaan
@faizaand
May 26 2016 23:51
if(!e.getMountainDewStorage().hasMountainDew()) dev.sleep(24000) // sleep at desk
else {
        dev.getMountainDew()
        e.getMountainDewStorage().setAmount(e.getMountainDewStorage().getAmount() -1));
        if(e.getMountainDewStorage().getAmount() == 0) dev.setEmotion(Emotion.SADNESS);
        dev.continue();
}
Florian
@sinnlosername
May 26 2016 23:53
if (!dev.getLocation().getCountry().hasMountainDew()) {
     if (dev.addictedTo("MountainDew")) dev.suicide(SuicideType.RM_RF_FILE_ROOT);
}
Mats
@Matsv
May 26 2016 23:53
I'm going to sleep, see you guys later :)
Faizaan
@faizaand
May 26 2016 23:53
System.out.println("Goodbye :)");
Florian
@sinnlosername
May 26 2016 23:54
Developer.forName("Matsv").sendMessage("Bye! :)");
Faizaan
@faizaand
May 26 2016 23:54
Developer mats = Developer.forName("Matsv");
mats.setEmotion(Emotion.SADNESS); // obviously he's sad to leave us
mats.sleep(24000);
Oops that throws an IllegalStateException, he can't feel emotion while sleeping
There fixed
Florian
@sinnlosername
May 26 2016 23:55
//EVIL >:D
Developer.forName("SirFaizdat").setDevelopingSkills(INTEGER.MIN_VALUE);
Mats
@Matsv
May 26 2016 23:55
Lol
Faizaan
@faizaand
May 26 2016 23:56
Developer.forName("sinnlosername").setDevelopingSkills(Long.MIN_VALUE);
:o
Ugh my code is ugly time for some refactoring
Florian
@sinnlosername
May 26 2016 23:57
D:
Developer.forName("SirFaizdat").setDevelopingSkills(new BigInteger("-573749358579857").multiply(new BigInteger("17476547656475625676527456")));
Faizaan
@faizaand
May 26 2016 23:59
Sorry
Florian
@sinnlosername
May 26 2016 23:59
this.getChat().getDev("SirFaizdat").askForPeace();