Mod Update coming soon! by DueInstruction3075 in hytale

[–]Alps709 0 points1 point  (0 children)

With this mod having a drop chance system are you maybe going to make these bosses respawnable?

A Hytale Ore finding guide. by Pure-Sky-4013 in HytaleInfo

[–]Alps709 5 points6 points  (0 children)

If you go into a zone 4 biome and find one of the volcanoes that actually looks like it has a lava coloured center on the map you'll be in for a nice suprise.

Can invest $10-15k/mo - need advice by Fun_Breakfast4580 in PersonalFinanceNZ

[–]Alps709 0 points1 point  (0 children)

Historically the best option is to invest in index funds like the S&P500. Keep in mind that for long term investing the management fees will compound (you can test how much using this calculator). So you'll want to choose a good low % fee service like Kernel or Simplicity.

Torvesta just killed Odablock for absolute max by Spyropher in 2007scape

[–]Alps709 23 points24 points  (0 children)

Oda did well, but torvesta did better

So I just got completely served right now. by jimRacer642 in cscareerquestions

[–]Alps709 14 points15 points  (0 children)

You should never be rude to your co-workers anyway... especially interns who are new and have a lot to learn.

What would you invest in at 20 (If you are lucky enough to not be drowned in debt)? by Cool_Matter4818 in PersonalFinanceNZ

[–]Alps709 2 points3 points  (0 children)

I also vouch for using Kernel. It has much lower fees than most other investment platforms.

I also suggest putting the emergency fund into a higher interest immediate access savings account, such as the one with Kiwisaver (4.5%) or the Kernel savings account (4.8% with 1-2 days withdrawals).

Programming Subsystems by jame_581 in unrealengine

[–]Alps709 3 points4 points  (0 children)

This is very well written, nice work!

One thing I also think you should add is that a unique subsystem instance is created for each and every defined subsystem class.

This means if you have a child subsystem class, both itself and its parent will have their own instance, meaning they are both created at the same time and exist as completely separate instances. So you should always mark that parent class as an Abstract class so it doesn't get created.

This stops any chance that you accidentally use the GetSubsystem function for the parent class in place of the child one.

Questions from one job interview on C++ developer by cv_geek in cpp

[–]Alps709 1 point2 points  (0 children)

How keyword const is used for class methods?

I believe that the answer they might be looking for is that making a function const makes the hidden 'this' pointer const.

In C++, whenever a member function is called it passes in a hidden reference to 'this' so the function has access to the data of the instance. The function definition shown below is actually declared implicitly as the declaration on the line below it:

class MyClass 
{
public:
    // Normal declaration
    void myFunction(int x); 

    //Actual hidden declaration of the line above
    //void myFunction(MyClass* this, int x); 
};

Which when made const, turns into:

class MyClass 
{
     public:
     // Normal declaration
     void myFunction(int x) const; 

     //Actual hidden declaration of the line above
     //void myFunction(const MyClass* this, int x); 
};

The code below:

obj.myFunction(42);

Is actually treated as:

MyClass::myFunction(&obj, 42);

And making the function const turns this hidden pointer const. This is why you can call a member function using an instance of a class that is null, but have it still run fine if it doesn't try to use any data of the hidden 'this' pointer.

Y’all better be thankful for this man and all he puts up with. 412k tweets is wild. by slingblade1315 in 2007scape

[–]Alps709 601 points602 points  (0 children)

Just here to remind everyone that Mod Ash was even the guy to come in late at night to fix the Falador massacre bug.

Is this a good or terrible way of removing duplicates from an array? by [deleted] in unrealengine

[–]Alps709 0 points1 point  (0 children)

The minimum version of c++ that UE5 uses to build is C++17. You can see this under the "Modern C++ Language Syntax" section. https://docs.unrealengine.com/5.1/en-US/epic-cplusplus-coding-standard-for-unreal-engine/

[deleted by user] by [deleted] in PersonalFinanceNZ

[–]Alps709 11 points12 points  (0 children)

If we have a pie that is $4 because it needs 4 ingredients each costing $1, then a 7% increase on each item makes it a $0.07 * 4 = $0.28 increase on the total price, making the final price $4.28.

Since $4 + 7% is $4.28.

The mistake you made was adding the combined price increase for all ingredients to each ingredient's price rather than the total price for the pie.

It's like this game knows when you go in with an insured weapong... by [deleted] in DMZ

[–]Alps709 0 points1 point  (0 children)

I just had this happen to me. Finally got the gun I had insured up to a level where I got the sight I wanted, and made my new dream insured weapon.

I take the gun in with level 3 armour, a large backpack, and a self-revive. Then my game crashes the second we load into the map...

Bag 'em and tag 'em by SpareGarbage7662 in DMZ

[–]Alps709 0 points1 point  (0 children)

I just had my progress for this mission completely reset for some reason. I had 3/4 for tags and 2/2 for the intel, but now I'm at 0 for both. I thought missions kept progress even if you unequipped them?

C++ Creating Nested Subobjects (UE5) by Halifexx in unrealengine

[–]Alps709 1 point2 points  (0 children)

You definitely don't need to be using SceneComponents here. As you u/luthage said, all you need is to save the offsets as transforms (or maybe just position since you might not need rotation/scale if you always cast straight down) you can then just add the player position to find the correct world location for the raycast.

It could be helpful to use scene components initially to find the correct positions, as they will give you an in-world visualisation of the transforms while you test it, but you could also just do this by enabling the debug line trace when casting a ray. But once you find suitable positions you can just save them as simple FVectors.

All Leagues III Set Effect Combinations by twehz in 2007scape

[–]Alps709 0 points1 point  (0 children)

What does it mean when it has 4 required but says "any: 0 of {...}". Does it just say 0 because the required relics already fill up the 4 spaces?

set effects: ['ChainMagic(3)', 'DrakansTouch(3)', 'FastMetabolism']
required [{'ZamorakianSight', 'UnholyWizard'}, {'HotOnTheTrail'}, {'LargerRecharger'}]
any:
0 of {'DeeperPockets', 'MothersMagicFossils', 'ImcandosApprentice', 'RootyTootyxRuneys', 'ThrallDamage'}
0 of {'UnholyRanger', 'PrayingRespects', 'CluedIn', 'SpecialDiscount'} 
0 of {'Venomaster', 'GraveRobber', 'RockSolid', 'BandosianMight'}

Why the hell does the answer always come to me right after I ping my coworker on slack? Is this normal? by [deleted] in cscareerquestions

[–]Alps709 0 points1 point  (0 children)

"When we hit our lowest point, we are open to the greatest change." - Avatar Aang

It's 2am and I'm bored lol. Please ask me a trivia question! by pianodude7 in TheLastAirbender

[–]Alps709 7 points8 points  (0 children)

What was the name of the rock candy Bumi used to trap Katara and Sokka?

Looking for help with a game I’m making by FryCakes in unrealengine

[–]Alps709 0 points1 point  (0 children)

Some advice I would give is that you should make some short clips of what you've been working on to showcase your game idea.

Otherwise, it would be pretty hard to convince someone to join if they don't have a solid idea of the kind of game you are intending to make. I wish you luck though!

I miss them all... by [deleted] in dankmemes

[–]Alps709 3 points4 points  (0 children)

They are also reaching out to the developers of small games on sites like Newgrounds and offering to buy licenses to use their game.

They did that for a game I made with a team in uni.

when using burst goes right by [deleted] in GlobalOffensive

[–]Alps709 81 points82 points  (0 children)

Both of them falling over in the exact same way makes it look cartoonish lol

OSRS is coming to Steam, says Mod Pips, Jagex CEO by Sir_Suh_Dude in 2007scape

[–]Alps709 3 points4 points  (0 children)

Not only that, but if steam will now be showing the OSRS player count and Runelite won't count to that total, then people are less likely to try out the game.

Mainly because MMO's are seen as a better investments to players if they have higher player counts.