• Make sure to read the forum rules before creating a new thread or commenting on someone else's thread. The forum rules can be read on this page.

My highlights from playing Erebor for the first time

Status
Not open for further replies.
How you mean? Are you saying that you don't love free kills raining on you o.O? You don't sound like the mass murderer Anrza, who are you and what've they done to you?
Code:
Boolean funForMassMurderers = noobEvent;
@EventHandler
public boolean noobEvent(onJumpFromWallEvent event) {
Player player = event.getPlayer;
Player you = event.getPlayerOnGround;
if (player.usesBow) {
if (player.hits(you)) {
if (!you.hit(player)) {
return false;
}
}
}
}
 
[quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"]How you mean? Are you saying that you don't love free kills raining on you o.O? You don't sound like the mass murderer Anrza, who are you and what've they done to you?
Code:
Boolean funForMassMurderers = noobEvent;
@EventHandler
public boolean noobEvent(onJumpFromWallEvent event) {
Player player = event.getPlayer;
Player you = event.getPlayerOnGround;
if (player.usesBow) {
if (player.hits(you)) {
if (!you.hit(player)) {
return false;
}
}
}
}
[/quote]


Well this just makes me think you've been replaced with a computer :S
 
[quote user_id="4185250" avatar="https://cravatar.eu/helmavatar/Anrza/74.png" name="Anrza"]
Code:
Boolean funForMassMurderers = noobEvent;
@EventHandler
public boolean onNoobEvent(jumpFromWallEvent event) {
Player player = event.getPlayer;
Player you = event.getPlayerOnGround;
if (player.usesBow) {
if (player.hits(you)) {
if (!you.hit(player)) {
return false;
}
}
}
}


Well this just makes me think you've been replaced with a computer :S[/quote]

Java for noobs:

Boolean funForMassMurderers = noobEvent;
Boolean is the type it is. funForMassMurderers is the name by which it's referred to. noobEvent is what's used to get the answer of the boolean (true/false)

@EventHandler
Means that the server is listening for the event to happen

public boolean onNoobEvent(jumpFromWallEvent event) {
public means that it's publicly accessible, boolean is the return type of the class, noobEvent is the name which you refer to the class to, (jumpFromWallEvent event) is first what the listener is listening for, and the "event" is what the jumpFromWallEvent is called inside the class.

Player player = event.getPlayer;
Player you = event.getPlayerOnGround;
Those two lines defines "player" and "you".

if (player.usesBow) {
if (player.hits(you)) {
if (!you.hit(player)) {
Those three lines checks if the players first uses his bow, then if he hits you with it, and lastly, if you don't hit the player.

return false;
If all three conditions are met, the boolean is returned false, which means that funForMassMurderers = false.
So no fun for Anrza, which implements massMurderer.

EDIT: Yea, I changed some stuff in the code now that I did wrong.
 
[quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"]
Code:
Boolean funForMassMurderers = noobEvent;
@EventHandler
public boolean onNoobEvent(jumpFromWallEvent event) {
Player player = event.getPlayer;
Player you = event.getPlayerOnGround;
if (player.usesBow) {
if (player.hits(you)) {
if (!you.hit(player)) {
return false;
}
}
}
}


Well this just makes me think you've been replaced with a computer :S

Java for noobs:

Boolean funForMassMurderers = noobEvent;
Boolean is the type it is. funForMassMurderers is the name by which it's referred to. noobEvent is what's used to get the answer of the boolean (true/false)

@EventHandler
Means that the server is listening for the event to happen

public boolean onNoobEvent(jumpFromWallEvent event) {
public means that it's publicly accessible, boolean is the return type of the class, noobEvent is the name which you refer to the class to, (jumpFromWallEvent event) is first what the listener is listening for, and the "event" is what the jumpFromWallEvent is called inside the class.

Player player = event.getPlayer;
Player you = event.getPlayerOnGround;
Those two lines defines "player" and "you".

if (player.usesBow) {
if (player.hits(you)) {
if (!you.hit(player)) {
Those three lines checks if the players first uses his bow, then if he hits you with it, and lastly, if you don't hit the player.

return false;
If all three conditions are met, the boolean is returned false, which means that funForMassMurderers = false.
So no fun for Anrza, which implements massMurderer.

EDIT: Yea, I changed some stuff in the code now that I did wrong.[/quote]

And I'm just sitting here only being able to type my name in html.
I will learn Java/Html and some others next year on school though :3
 
[quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"]
[quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"]
[quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"]But what's with the falling damage on that map Tim? I just die after like 6 blocks.
It's the same in every map.

It can't be.
I'm 100% sure it is.[/quote]

Then make the falling damage on every map a bit lower (Cause this is insane o.O)[/quote]
Jumping down 6m is realistic for killing you, if we higher this amount people can jump off certain walls too easily.[/quote]
srry about necro, just reading old threads and wanted to say my grate grandpa fell 60 feet (18.288 meters) onto concrete and lived. he had a shattered knee cap and a broken hand but that was it.
 
[quote user_id="960266" avatar="https://cravatar.eu/helmavatar/sjoerdtim/74.png" name="sjoerdtim"][quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"][quote user_id="960266" avatar="https://cravatar.eu/helmavatar/sjoerdtim/74.png" name="sjoerdtim"][quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"][quote user_id="960266" avatar="https://cravatar.eu/helmavatar/sjoerdtim/74.png" name="sjoerdtim"][quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"]But what's with the falling damage on that map Tim? I just die after like 6 blocks.
It's the same in every map.[/quote]

It can't be.[/quote]
I'm 100% sure it is.[/quote]

Then make the falling damage on every map a bit lower (Cause this is insane o.O)[/quote]
Jumping down 6m is realistic for killing you, if we higher this amount people can jump off certain walls too easily.[/quote]
srry about necro, just reading old threads and wanted to say my grate grandpa fell 60 feet (18.288 meters) onto concrete and lived. he had a shattered knee cap and a broken hand but that was it.[/quote]
1. How the hell do you people find this crap
2. People have fallen 10,000+ feet and survived
3. Lock request
 
[quote user_id="4289752" avatar="https://cravatar.eu/helmavatar/Lagy_Paladin/74.png" name="Lagy_Paladin"][quote user_id="960266" avatar="https://cravatar.eu/helmavatar/sjoerdtim/74.png" name="sjoerdtim"][quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"][quote user_id="960266" avatar="https://cravatar.eu/helmavatar/sjoerdtim/74.png" name="sjoerdtim"][quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"][quote user_id="960266" avatar="https://cravatar.eu/helmavatar/sjoerdtim/74.png" name="sjoerdtim"][quote user_id="2931363" avatar="https://cravatar.eu/helmavatar/Mr_CookieSmurf/74.png" name="Mr_CookieSmurf"]But what's with the falling damage on that map Tim? I just die after like 6 blocks.
It's the same in every map.[/quote]

It can't be.[/quote]
I'm 100% sure it is.[/quote]

Then make the falling damage on every map a bit lower (Cause this is insane o.O)[/quote]
Jumping down 6m is realistic for killing you, if we higher this amount people can jump off certain walls too easily.[/quote]
srry about necro, just reading old threads and wanted to say my grate grandpa fell 60 feet (18.288 meters) onto concrete and lived. he had a shattered knee cap and a broken hand but that was it.[/quote]
1. How the hell do you people find this crap
2. People have fallen 10,000+ feet and survived
3. Lock request[/quote]
I read old posts when the forums are dry and boring with no recent activity, which they usually are. Funny enough I was reading this same thread a few days ago
 
Status
Not open for further replies.
Back
Top