All other off-topic discussions go in here.
-
Tjololo12
- Posts: 338
- Joined: 09 Nov 2011, 02:41
- Location: Outside Washington DC
Post
by Tjololo12 » 07 Nov 2012, 14:13
changed the title to be more interesting...Submit your own funny java class (doesn't have to be properly formatted, just legible) or code story! The winner will get..umm...laughs I guess.
Code: Select all
import EscapeCraft.mods.modhaxx;
import java.math.*;
public class Tjololo12{
private int motivation = 0;
private boolean trolling = false;
private int annoyanceLevel = 0;
//default constructor
public Tjololo12(){
motivation = 100;
}
public boolean doWork(Work work, boolean start){
if(start == true){
while (motivation > 0){
work.makeProgress();
motivation -= work.difficultyLevel;
annoyanceLevel += work.difficultyLevel;
if(annoyanceLevel > 1)
this.troll();
}
else
this.troll();
return true;
}
public void troll(){
Player victim = Escapecraft.players.choosePlayer();
trolling = true;
Random value = new Random;
while (trolling)
this.derp(victim);
}
private void derp(Player victim){
--snip--
}
}
* Sti is now known as Sti|DTF
<Sti|work> My mouth REALLY cant keep up.
* Daemon is eggy's slave. ;3
<SurvivalBot> [m] robipodsupreme: gently strokes the Tj
<derigin> A little too huge, IMO.
<SurvivalBot> [m] neonraven: just put it in there
<Haxx> You can try and work penis into it if you want
<SurvivalBot> [g] Invunarble: jesus that is big
<Sti|work> Mine is a little over 200m long, I doubt I could get it to work on my planet
I'm a card!
-
J4Numbers
- Numbers
- Posts: 1308
- Joined: 12 Oct 2011, 14:17
-
Contact:
Post
by J4Numbers » 07 Nov 2012, 14:16
Why did we start this again?
Code: Select all
public VallornBomb(radius Int) {
WorldEdit(radius, Lava)
}
-
Tjololo12
- Posts: 338
- Joined: 09 Nov 2011, 02:41
- Location: Outside Washington DC
Post
by Tjololo12 » 07 Nov 2012, 14:22
I was told to make code stories, I figured this would be a good way to get started.
Code: Select all
public getBlackadderTNTAmount (World world) {
return WorldEdit.countBlocks(world);
}
* Sti is now known as Sti|DTF
<Sti|work> My mouth REALLY cant keep up.
* Daemon is eggy's slave. ;3
<SurvivalBot> [m] robipodsupreme: gently strokes the Tj
<derigin> A little too huge, IMO.
<SurvivalBot> [m] neonraven: just put it in there
<Haxx> You can try and work penis into it if you want
<SurvivalBot> [g] Invunarble: jesus that is big
<Sti|work> Mine is a little over 200m long, I doubt I could get it to work on my planet
I'm a card!
-
Invunarble
- Site Contributor
- Posts: 4201
- Joined: 11 Feb 2012, 18:45
- Location: Canada
-
minnerthecat
- Retired
- Posts: 604
- Joined: 21 Jul 2011, 21:58
- Location: Canada
Post
by minnerthecat » 07 Nov 2012, 16:19
Ok, so mine's not code but rather, a compiler error:
Code: Select all
File: C:\Users\Minner\Java Programs\DoMath.java
Error: method studyCalculus in class Minnerthecat cannot be applied to given types;
required: Motivation
found: CrushingBoredom
reason: math cannot be done while experiencing endless sadness
Orange and white, but not quite right.
-
MayorLennie
- Site Contributor
- Posts: 1016
- Joined: 23 Aug 2011, 23:09
- Location: Denver, CO
Post
by MayorLennie » 07 Nov 2012, 17:06
I now have MATH! yessss
EDIT: @m477 I thought he would be good at it, and it would be...FUN
"No one can escape the inevitable envelopment of will and desire that is Escapecraft. Bring him here." -- Lord_Mountbatten
-
Tjololo12
- Posts: 338
- Joined: 09 Nov 2011, 02:41
- Location: Outside Washington DC
Post
by Tjololo12 » 07 Nov 2012, 18:33
Code: Select all
public class storyBehindCodeThread{
InputStreamReader converter = new InputStreamReader(System.in);
BufferedReader in = new BufferedReader(converter);
Tj Trololo12 = new Tj();
public storyBehindCodeThread() throws FlipTheBirdException() {
IRC.ping(MayorLennie, Tjololo12);
boolean comprehension Trololo12.listen(in.readLine());
if(comprehension){
Boolean coop = Trololo12.cooperate();
if(!coop)
throw new FlipTheBirdException();
else
Trololo12.respond(coop);
}
else {
Trololo12.wharrgarbl();
}
}
}
public class Tj extends Tjololo12{
public Tj(){
super();
}
public wharrgarbl(){
Nonsense code = new Escapecraft.mods.nonsense();
for (int i = 0; i <= 5; i++){
code.generateNonsense();
System.out.println(code);
super.troll(); //because why not
i--;
}
}
}
//I don't really know how custom exceptions works, but here's my best guess
public class FlipTheBirdException extends Exception {
System.out.println("This exception only exists to make you wonder why it exists.");
System.exit(999);
}
* Sti is now known as Sti|DTF
<Sti|work> My mouth REALLY cant keep up.
* Daemon is eggy's slave. ;3
<SurvivalBot> [m] robipodsupreme: gently strokes the Tj
<derigin> A little too huge, IMO.
<SurvivalBot> [m] neonraven: just put it in there
<Haxx> You can try and work penis into it if you want
<SurvivalBot> [g] Invunarble: jesus that is big
<Sti|work> Mine is a little over 200m long, I doubt I could get it to work on my planet
I'm a card!
-
Eddietester1066
- Retired
- Posts: 305
- Joined: 21 Mar 2011, 17:07
- Location: USA, Left Coast :P
Post
by Eddietester1066 » 07 Nov 2012, 19:30
Fun thread! This snippet is guaranteed to not compile:
import java.coffee.*;
import comp.exorcist.*;
import pets.cat.*;
public class Eddietester {
private float caffeine=0;
private cat kittez[];
//constructor
public Eddietester(){
for each kitteh in kittez {
if (kitteh.awake && kitteh.dish==empty) kitteh.feed();
}
if (caffeine < 10) caffeine += 10;
}
public FixComputer(computer victim){
while (!victim.fixed) {
victim.exorcise();
BeatHeadOnWall(true);
}
}
}
Last edited by
Eddietester1066 on 08 Nov 2012, 20:10, edited 1 time in total.
Which leads to this:
-
MayorLennie
- Site Contributor
- Posts: 1016
- Joined: 23 Aug 2011, 23:09
- Location: Denver, CO
Post
by MayorLennie » 08 Nov 2012, 02:29
What great stories
"No one can escape the inevitable envelopment of will and desire that is Escapecraft. Bring him here." -- Lord_Mountbatten
-
Sti_Jo_Lew
- Posts: 3251
- Joined: 19 Dec 2010, 12:46
- Location: Nevada
Post
by Sti_Jo_Lew » 08 Nov 2012, 18:11
My brain hurts...
SMWasder: BEGONE FOUL BEATS, FOR I AM THE DJ OF THE APOCALYPSE
-
Eddietester1066
- Retired
- Posts: 305
- Joined: 21 Mar 2011, 17:07
- Location: USA, Left Coast :P
Post
by Eddietester1066 » 08 Nov 2012, 20:09
Sti_Jo_Lew wrote:My brain hurts...
Fix_Sti_Jo_Lew() extends Sti_Jo_Lew(){
BeatHeadOnWall(false);
}
Which leads to this:
-
Sti_Jo_Lew
- Posts: 3251
- Joined: 19 Dec 2010, 12:46
- Location: Nevada
Post
by Sti_Jo_Lew » 08 Nov 2012, 20:10
Eddietester1066 wrote:Sti_Jo_Lew wrote:My brain hurts...
Fix_Sti_Jo_Lew() extends Sti_Jo_Lew(){
BeatHeadOnWall(true);
}
Fixed to make my brain hurt.
SMWasder: BEGONE FOUL BEATS, FOR I AM THE DJ OF THE APOCALYPSE
-
Eddietester1066
- Retired
- Posts: 305
- Joined: 21 Mar 2011, 17:07
- Location: USA, Left Coast :P
Post
by Eddietester1066 » 08 Nov 2012, 20:21
Sti_Jo_Lew wrote:Eddietester1066 wrote:Sti_Jo_Lew wrote:My brain hurts...
Fix_Sti_Jo_Lew() extends Sti_Jo_Lew(){
BeatHeadOnWall(true);
}
Fixed to make my brain hurt.
Well, as long as you're into that sort of play, go for it.
Which leads to this:
-
Tjololo12
- Posts: 338
- Joined: 09 Nov 2011, 02:41
- Location: Outside Washington DC
Post
by Tjololo12 » 08 Nov 2012, 21:43
Code: Select all
#python, because it's funnier that way
import kinkometer
while Sti_Jo_Lew.head.hurts:
if kinkometer.measure(Sti_Jo_Lew) >= kinkometer.measure(Eddietester1066):
pickle.dump(Sti_Jo_Lew, Eddietester1066_bed.lvnst)
else:
kinkometer.addKink(Sti_Jo_Lew)
* Sti is now known as Sti|DTF
<Sti|work> My mouth REALLY cant keep up.
* Daemon is eggy's slave. ;3
<SurvivalBot> [m] robipodsupreme: gently strokes the Tj
<derigin> A little too huge, IMO.
<SurvivalBot> [m] neonraven: just put it in there
<Haxx> You can try and work penis into it if you want
<SurvivalBot> [g] Invunarble: jesus that is big
<Sti|work> Mine is a little over 200m long, I doubt I could get it to work on my planet
I'm a card!
-
Sti_Jo_Lew
- Posts: 3251
- Joined: 19 Dec 2010, 12:46
- Location: Nevada
Post
by Sti_Jo_Lew » 08 Nov 2012, 21:49
Tjololo12 wrote:Code: Select all
#python, because it's funnier that way
import kinkometer
while Sti_Jo_Lew.head.hurts:
if kinkometer.measure(Sti_Jo_Lew) >= kinkometer.measure(Eddietester1066):
pickle.dump(Sti_Jo_Lew, Eddietester1066_bed.lvnst)
else:
kinkometer.addKink(Sti_Jo_Lew)
So if I am understanding this correctly... if I am kinkier than Eddie pickles get dumped on both our beds. If not, I get more kinky.
What. The. Fuck.
SMWasder: BEGONE FOUL BEATS, FOR I AM THE DJ OF THE APOCALYPSE
-
Eddietester1066
- Retired
- Posts: 305
- Joined: 21 Mar 2011, 17:07
- Location: USA, Left Coast :P
Post
by Eddietester1066 » 08 Nov 2012, 22:13
Sti_Jo_Lew wrote:Tjololo12 wrote:Code: Select all
#python, because it's funnier that way
import kinkometer
while Sti_Jo_Lew.head.hurts:
if kinkometer.measure(Sti_Jo_Lew) >= kinkometer.measure(Eddietester1066):
pickle.dump(Sti_Jo_Lew, Eddietester1066_bed.lvnst)
else:
kinkometer.addKink(Sti_Jo_Lew)
So if I am understanding this correctly... if I am kinkier than Eddie pickles get dumped on both our beds. If not, I get more kinky.
What. The. Fuck.
Sort of. This only occurs if your head hurts, and my pickles are dumped on your bed.
Which leads to this:
-
Sti_Jo_Lew
- Posts: 3251
- Joined: 19 Dec 2010, 12:46
- Location: Nevada
Post
by Sti_Jo_Lew » 08 Nov 2012, 22:21
Ok then.... my head doesn't hurt anymore. There, no pickles.
SMWasder: BEGONE FOUL BEATS, FOR I AM THE DJ OF THE APOCALYPSE
-
welwyn
- Posts: 483
- Joined: 03 Feb 2011, 04:38
Post
by welwyn » 08 Nov 2012, 22:37
pickle.dump(Sti_Jo_Lew, Eddietester1066_bed.lvnst)
To me that looks like they only get dumped on you not your bed. But they get dumped on eddies lovenest bed.
-
Tjololo12
- Posts: 338
- Joined: 09 Nov 2011, 02:41
- Location: Outside Washington DC
Post
by Tjololo12 » 08 Nov 2012, 23:09
Sorry, I should have commented.
Code: Select all
while Sti_Jo_Lew.head.hurts:
#test to see how kinky Sti_Jo_Lew is in comparison to Eddietester1066
if kinkometer.measure(Sti_Jo_Lew) >= kinkometer.measure(Eddietester1066):
#if Sti_Jo_Lew is at least as kinky as Eddietester1066, dump Sti_Jo_Lew object into file
#Eddietester1066_bed.lvnst of filetype lovenest
pickle.dump(Sti_Jo_Lew, Eddietester1066_bed.lvnst)
else:
#Increment Sti_Jo_Lew's kinkiness to correspond with Eddietester1066's desired level of kink
kinkometer.addKink(Sti_Jo_Lew)
* Sti is now known as Sti|DTF
<Sti|work> My mouth REALLY cant keep up.
* Daemon is eggy's slave. ;3
<SurvivalBot> [m] robipodsupreme: gently strokes the Tj
<derigin> A little too huge, IMO.
<SurvivalBot> [m] neonraven: just put it in there
<Haxx> You can try and work penis into it if you want
<SurvivalBot> [g] Invunarble: jesus that is big
<Sti|work> Mine is a little over 200m long, I doubt I could get it to work on my planet
I'm a card!
-
Sti_Jo_Lew
- Posts: 3251
- Joined: 19 Dec 2010, 12:46
- Location: Nevada
Post
by Sti_Jo_Lew » 08 Nov 2012, 23:19
I give up. I don't want my brain to implode.
SMWasder: BEGONE FOUL BEATS, FOR I AM THE DJ OF THE APOCALYPSE
-
minnerthecat
- Retired
- Posts: 604
- Joined: 21 Jul 2011, 21:58
- Location: Canada
Post
by minnerthecat » 09 Nov 2012, 08:56
Code: Select all
while (pickleCount > 0) {
if (!pickle.usedForKinkyStuff()) {
minnerthecat.eat(pickle);
pickleCount--;
}else {
minnerthecat.wash(pickle);
pickle.setSafeToEat(true);
}
Orange and white, but not quite right.
-
Invunarble
- Site Contributor
- Posts: 4201
- Joined: 11 Feb 2012, 18:45
- Location: Canada
Post
by Invunarble » 09 Nov 2012, 13:52
Someone call a paramedic, I think my head is going to implode from how ludicrous this thread is.
"The roses are red, but Invunarble is blue. Hit him with a puma." - Vallorn
"Baked fucking potato" - Lord Mountbatten, 2014
-
Eddietester1066
- Retired
- Posts: 305
- Joined: 21 Mar 2011, 17:07
- Location: USA, Left Coast :P
Post
by Eddietester1066 » 09 Nov 2012, 15:58
Invunarble wrote:Someone call a paramedic, I think my head is going to implode from how ludicrous this thread is.
Class Paramedic extends Player {
}
Invunarble = new Paramedic();
//There, now you're a Paramedic
Which leads to this:
-
Aenir_bEPU
- Nyan Master
- Posts: 1237
- Joined: 14 Jun 2011, 20:24
- Location: Massachusetts
Post
by Aenir_bEPU » 09 Nov 2012, 16:23
Code: Select all
public class Aenir
{
private boolean lazy;
private int senseOfAccomplishment;
public Aenir()
{
lazy = true;
senseOfAccomplishment = 0;
}
public void doWork(boolean lazy)
{
if (lazy)
{
procrastinate(lazy);
}
else
{
senseOfAccomplishment++;
}
}
private void procrastinate(boolean lazy)
{
if (lazy)
{
procrastinate(lazy);
}
else
{
doWork(lazy);
}
}
}
-
Tjololo12
- Posts: 338
- Joined: 09 Nov 2011, 02:41
- Location: Outside Washington DC
Post
by Tjololo12 » 09 Nov 2012, 16:36
Exception in thread Aenir_bEPU: OutOfMemoryException: at procrastinate (Aenir.java:28)
at procrastinate (Aenir.java:28)
at procrastinate (Aenir.java:28)
at procrastinate (Aenir.java:28)
at procrastinate (Aenir.java:28)
at procrastinate (Aenir.java:28)
at procrastinate (Aenir.java:28)
at procrastinate (Aenir.java:28)
at procrastinate (Aenir.java:28)
...plus 9001 more
* Sti is now known as Sti|DTF
<Sti|work> My mouth REALLY cant keep up.
* Daemon is eggy's slave. ;3
<SurvivalBot> [m] robipodsupreme: gently strokes the Tj
<derigin> A little too huge, IMO.
<SurvivalBot> [m] neonraven: just put it in there
<Haxx> You can try and work penis into it if you want
<SurvivalBot> [g] Invunarble: jesus that is big
<Sti|work> Mine is a little over 200m long, I doubt I could get it to work on my planet
I'm a card!
Who is online
Users browsing this forum: No registered users and 16 guests