WenjaHCF Release

Status
This thread has been locked.

joeleoli

@bigjoeleoli
Banned
Feedback score
15
Posts
468
Reactions
615
Resources
0
501c2a57973e30024b92eac9c7e02a05.png

MilkSkids is a meme

I was an owner of WenjaPvP until it shutdown. Source is on GitHub, and the Google Drive link contains the source and dependencies.
https://github.com/ijoeleoli/WenjaFactions
https://goo.gl/3pOuA6

Found the MySQL version:

This isn't a leak, it's a release Kappa
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

LordOfTime

Feedback score
15
Posts
602
Reactions
245
Resources
0
Oh boy he's back again. Not denying there is a memory leak, but go ahead and point out a memory leak in ProPractice.

As for your GenBucket, I'm just going to critique one class, "xyz.rinn.genbucket.data.Generating.java".

lOlmvQf.jpg


1. You're using a static initializer block to instantiate the "active" map, when it could've been done in the line where it was declared.

Example:
Code:
    private static Map<UUID, GeneratingBlock> active;

    static {
        Generating.active = new HashMap<>();
    }
could have been
Code:
    private static Map<UUID, GeneratingBlock> active = new HashMap<>();

2. You felt the need to declare the "active" map privately, when it's not needed. Doesn't really matter, but why private if it's not needed? You created more work for yourself.

3. Because of #2, you can't use the ALREADY PROVIDED methods of the HashMap outside of the Generating class. You improvised by "re-creating" the methods (you literally just took the data and used the HashMap's real methods). This is what I was talking about when I said you created more work for yourself. You could've just declared "active" publicly, and accessed the object from anywhere.

Looking at some of your other classes, you don't understand when to use final.

This doesn't really matter, but a lot of people prefer Google's Java Style. If you want to practice reusability, I would hope you would adapt to this. For example, after the end of each block or block-like structure, you use 2 line breaks, not 1... Just food for thought, you meme.

No developer in Minecraft ever has the need for perfectly written code. I can tell you that my code, if examined by a CS major, would have issues too. All code written for practical application in a small-scale environment will have some problems, because if a developer really has the time to go through and whine about small style issues, they need to spend more time coding. Most of this kind of code is the kind that will never see the light of an IDE again, and in the cases where it's a larger piece of code, like the work you've cited above, the changes you've suggested don't even matter. Sure, there's a technically more-right way to do it. Does it make any impact on the final result of the code's execution? Not really. Do his style choices make any difference about how the code runs? No. They only impact readability, and frankly his code is amazing in terms of readability based on this community's guidelines. If you wish to insult his ability as a developer, you'll have to find some better material.

Tl;Dr: Are your critiques technically correct? Quite possibly. Does anybody here really care if there's relatively small problems like that in his code? Nope. At least it's not skidded *Cough Cough*
 
Last edited:

LordOfTime

Feedback score
15
Posts
602
Reactions
245
Resources
0
There is a difference between "every action" and something that is only done once every few minutes by each player. Some of the data you're storing should even be tied to the UUID of the player directly rather than a player such as the player's elo.

So you admit that you have/had memory leaks? You use the same excuse every time. "It's old", yeah right, cut the bullshit please. It was uploaded on GitHub 9 days ago, but as there were many versions of it, I'd assume it was started possibly a few months ago. I really don't care about any of this shit as long as you admit that your code is not as godly as you thing :3

You say that all the time yet you can't prove it. Anything you say, I easily counter. My code is not "garbage" and for sure a lot better than yours, lol.


Actually, there are no problems (or changes that should be made) with GenBucket. He was being delusional as he doesn't understand how modifiers, blocks, or memory management works. I admit, I had shitloads of problems with my code when I was at the level of this retard, but I never tried flexing on anyone, I just kept learning and working hard as I was able to acknowledge my lack of knowledge. Thanks for trying to back me up on this though, appreciate it ;)

In fairness, I believe (with my limited knowledge of proper code theory) that his point #1 may be correct. As for the others, reviewing them more closely, that's actually completely backwards, now that you mention it :p You don't make a variable public unless you have to... It's called encapsulation, go google it joeleoli.
 
Last edited:

LordOfTime

Feedback score
15
Posts
602
Reactions
245
Resources
0
2. You felt the need to declare the "active" map privately, when it's not needed. Doesn't really matter, but why private if it's not needed? You created more work for yourself.

3. Because of #2, you can't use the ALREADY PROVIDED methods of the HashMap outside of the Generating class. You improvised by "re-creating" the methods (you literally just took the data and used the HashMap's real methods). This is what I was talking about when I said you created more work for yourself. You could've just declared "active" publicly, and accessed the object from anywhere.

I just read this again. I'm sorry, but I feel this deserves another post. You what? You actually what? You literally just made a textbook child's argument against encapsulation, and you made it as if you were correcting him! Well, I've learned something very useful today! Here's a snippet from my newest code, I hope you like it! It uses the joeleoli school of anti-encapsulation!

Code:
    public static float shipSpeed = 0;
   
    public static float shipAcceleration = 0.1f;
   
    public static float shipYaw = 0;
    public static float shipPitch = 0;
    public static float shipRoll = 0;
   
    public static double lastForInput = 0;
    public static double lastSideInput = 0;
   
    public static float maxSpeed = 1;
    public static float turnSpeed = 2;
    public static float rollIncrement = 2;
    public static float maxRoll = 35;
 

LordOfTime

Feedback score
15
Posts
602
Reactions
245
Resources
0
Holy shit.

You're hired.

Wonderful! PM me, I'd be glad to discuss working for you! I'm glad the lessons I've learned today were valuable! Kappa
 

Fudged

Premium
Feedback score
3
Posts
187
Reactions
93
Resources
0
And it still goes on!

if(argumentIsGoingOn)
givePopcorn(mcMarket.getUsers().getUserByName("Foodle"));
else giveDepression(mcMarket.getUsers().getUserByName("Foodle"));
This is the most beautiful post on this entire thread full of useless arguing. It's not going to achieve anything so rip

At least you have popcorn :(
 
Status
This thread has been locked.
Top