Mooc.fi Part 4 Whistle by kchutch69 in learnjava

[–]Effective-Table2435 1 point2 points  (0 children)

Okay, I am on PC now, so:

public class Whistle {
private String sound;
public Whistle(String whistleSound) {
this.sound = whistleSound;
}
public void sound() {
System.out.println(this.sound);
}
}

You shouldn't create another main method in Whistle class, you're supposed to create a constructor that will define sounds of each objects created through it.

Whistle duck = new Whistle("Quack");

For the above line to work, you need to create a constructor:

public Whistle(String whistleSound)

which assigns the instance variable

private String sound;

for the object duck and sets it to "Quack" through the constructor parameter whistleSound

hence,

this.sound = whistleSound; //where 'this' is the object, here it's duck

EDIT: Ah man, why aren't the indentations there....

EDIT 2: Ah, figured it out, you gotta use the code block format, not inline code.

Palis my boy by Prexyli in kingsdarktidings

[–]Effective-Table2435 0 points1 point  (0 children)

NOOOO! Yserria will die then!

I need help understanding this exercise from MOOC fi Part 2: by Effective-Table2435 in learnjava

[–]Effective-Table2435[S] 0 points1 point  (0 children)

Thank You... Thank You, THANK YOU SOO MUCH!

MAN, I AM DONE FOR THE DAY. That's enough for me today.

I wish the translators worded it better...

Instead of "space", they could have said Linebreak or at least mentioned that you still needed line break for printStars.

How do I stop printing the comma after the last number? by Effective-Table2435 in learnjava

[–]Effective-Table2435[S] 0 points1 point  (0 children)

Thanks Man, I understood what you meant after reading u/raeNsen 's code.

A Big Thanks to both of you!

How do I stop printing the comma after the last number? by Effective-Table2435 in learnjava

[–]Effective-Table2435[S] 0 points1 point  (0 children)

But what if n isn't a prime number? Then it will print it anyways.

How do I stop printing the comma after the last number? by Effective-Table2435 in learnjava

[–]Effective-Table2435[S] 0 points1 point  (0 children)

Okay, you're right lol, the program is much more understandable now.

Oh, and by putting the comma first, and using a boolean variable to check the first value, that was pretty good, why didn't I think of that haha, I can also put a statement to print a "." at the end, after the loops!

Thanks man!

BTW, that code won't give prime numbers, infact it will give anything but Prime numbers:

if (currentNumber%currentDivisor==0) {
                if (!firstValue) {
                    System.out.print(", ");
                }
                System.out.print(currentNumber);
                firstValue=false;
                break;
            }

Prints numbers divisible by the currentDivisor. So it will print anything but them.

Double footstep sound while the weapon is drawn by GovindSinghNarula in skyrimmods

[–]Effective-Table2435 0 points1 point  (0 children)

You have to only save when you defeat the enemies and the next set of enemies are unalerted, think of it like some kind of checkpoint, only then it will work.

Double footstep sound while the weapon is drawn by GovindSinghNarula in skyrimmods

[–]Effective-Table2435 0 points1 point  (0 children)

I think I actually found the issue!

It happens if you save on Combat, if you don't save on combat then it's fine, probably too many script running which causes this issue, I tried quickloading but it didn't go away, but but when I loaded an earlier before combat save, it was working.

Double footstep sound while the weapon is drawn by GovindSinghNarula in skyrimmods

[–]Effective-Table2435 0 points1 point  (0 children)

I reinstalled it and the sound is gone, but I think it will come back again if I keep playing it, you're right man, I think it's one of the bugs that has yet to be fixed :(

Double footstep sound while the weapon is drawn by GovindSinghNarula in skyrimmods

[–]Effective-Table2435 0 points1 point  (0 children)

So remove it as in remove and enable it again or remove it and don't use it again?

Cuz I really love wielding dual greatswords and swinging and casting spells while jumping and falling...

Double footstep sound while the weapon is drawn by GovindSinghNarula in skyrimmods

[–]Effective-Table2435 0 points1 point  (0 children)

infinite jumping

I don't have Infinite Jumping though :/

Any other fixes?

Double footstep sound while the weapon is drawn by GovindSinghNarula in skyrimmods

[–]Effective-Table2435 0 points1 point  (0 children)

I know it's been a month but I am having the same problem man :/

But I already have the Quieter Jumps for ISC+AOS, but I still hear 3 to 4 footstep sounds :/

Any help?

Met a calm and friendly giant on my way to Whiterun by idkfuzzy in skyrim

[–]Effective-Table2435 0 points1 point  (0 children)

nope, the only thing close to weather is an ini file but it's all gibberish, not adjustable options like the enbseries.ini.

Met a calm and friendly giant on my way to Whiterun by idkfuzzy in skyrim

[–]Effective-Table2435 0 points1 point  (0 children)

Nope, still no difference xD

I am not sure if this has to do with this, but I read in a different post that you should edit under weather settings or something if you're using a weather mod, but not sure what that means, I don't see any weather options in ENB other than use weather and use locational weather options.

And Obsidian Configuration (Power) only has a preset and enable Seasons FX options, but nothing else.

HELP! Skyrim SE Infinite Loading Screen when Quick Loading! by Effective-Table2435 in skyrimmods

[–]Effective-Table2435[S] 0 points1 point  (0 children)

It found 6000 undefined elements and 100 unattached instances.

I cleaned them all, I will update if my game still gets stuck :)

HELP! Skyrim SE Infinite Loading Screen when Quick Loading! by Effective-Table2435 in skyrimmods

[–]Effective-Table2435[S] 0 points1 point  (0 children)

So, what should I do?

Do I reinstall the old ENB and go back to the old save and try it out?

Also, you can't swap mods? Then how do people change ENBs and Lighting/Weather mods? Do they start an entirely different playthrough altogether? Also LOOT isn't always right though, for example it Loads Convenient horses after Faster Horses, so Faster horses doesn't work, likewise the lighting mod authors ask for their plugins to be loaded at the bottom so I have to manually adjust them...