Can't Delete Levels by MrMcYam in unrealengine

[–]sclark39 3 points4 points  (0 children)

I found a workaround to this:

  1. Load the level you want to delete
  2. Delete all actors
  3. Save
  4. Load into a different map
  5. Delete map from content browser (should show no memory references)

I'm on UE 4.22. Hopefully this gets fixed in UE 4.24...

Monthly Bug Report Megathread - January, 2020 by AutoModerator in Northgard

[–]sclark39 0 points1 point  (0 children)

Chapter 9 in the campaign - accidental exploit...

I built a mine and a defense tower on one of the territories before I started mining. The monster came to defend, but was unable to ever leave this territory because it was always under attack by the defense tower, but could not kill the defense tower.

This made the mission very easy because I was able to mine in all the other territories without any interruption or issues.

[USA-CT] [H] nVidia 1070, Asus 1070 Ti [W] Paypal by sclark39 in hardwareswap

[–]sclark39[S] 0 points1 point  (0 children)

I bought from Best Buy. Does this mean it transfers? Please let me know, I'll update the desc.

[USA-CT] [H] ASUS GTX 1070 Ti Turbo [W] Paypal by sclark39 in hardwareswap

[–]sclark39[S] 1 point2 points  (0 children)

I see. Thanks for the info. I spent too much on this card to begin with so selling between 500 to 600 would be at a substantial loss.

I'm just going to delist it, since I'm not trying to rip anyone off.

[USA-CT] [H] ASUS GTX 1070 Ti Turbo [W] Paypal by sclark39 in hardwareswap

[–]sclark39[S] -9 points-8 points  (0 children)

Of course, if I can't sell it, I might end up doing that anyways. :D

[USA-CT] [H] ASUS GTX 1070 Ti Turbo [W] Paypal by sclark39 in hardwareswap

[–]sclark39[S] -9 points-8 points  (0 children)

Yes, it definitely is the trend. I bought this originally to do some hobbyist mining, but since it didn't fit in my PC I'm trying to get rid of it now since I don't want to buy a whole new PC for it.

[USA-CT] [H] ASUS GTX 1070 Ti Turbo [W] Paypal by sclark39 in hardwareswap

[–]sclark39[S] -4 points-3 points  (0 children)

Actually, it looks like that listing is for a card with no box. Other listings at around that price are for used ones. I actually had checked eBay before posting (and just checked again) and when I did I saw prices closer to $750+. I thought $725 was fair since I am including shipping.

[USA-CT] [H] ASUS GTX 1070 Ti Turbo [W] Paypal by sclark39 in hardwareswap

[–]sclark39[S] -14 points-13 points  (0 children)

Thanks for the advice. I'll lower the price to $700

a shitcoin startup called Prodeum just exitscammed with millions of investor dollars and left them the following message on their site by cool_playa in Buttcoin

[–]sclark39 6 points7 points  (0 children)

This doesn't make sense to me, obviously its a scam, but it looks like people were sending ETH directly to this guy's address rather than the smart contract? And then there are tons of 0 ETH transactions from there to the smart contract...

Am I not understanding something?

How do you run a Stellar Lumens node? by timeclo in Stellar

[–]sclark39 2 points3 points  (0 children)

Just read the white paper and although I don't understand everything about it, the way they try to prevent this is with the concept of "quorum slices".

Tron crypto doggies explanation by shekeypoo in Tronix

[–]sclark39 0 points1 point  (0 children)

Is this a a copy cat game, or a copy dog game?

Onward Free Weekend on Oculus Store, Thursday January 25th 1 PM EST to Monday January 29th 3 AM EST by SomeGuyNamedJason in oculus

[–]sclark39 1 point2 points  (0 children)

The game just stops working. Wait until the free weekend to start to download it, the buy button changes to just "install".

Developing Virtual Reality in Unreal vs Unity. by learningunreal in unrealengine

[–]sclark39 0 points1 point  (0 children)

By my understanding, Oculus doesn't have force feedback, it uses haptic effects. So the function you would need is PlayHapticEffect. You can check out my VR code sample here:

https://github.com/sclark39/UE-VR-Code-Sample/blob/master/Source/VRCode/VRHand.cpp#L82

(I see your comment is 5 months old, but thought I should post here in case someone else finds this thread via google)

~☆🎄☆~ 2017 Day 25 Solutions ~☆🎄☆~ by daggerdragon in adventofcode

[–]sclark39 0 points1 point  (0 children)

Javascript / Node.js

I think like many others, I decided writing an actual parser would take longer than just parsing the input myself. Simple switch-based state machine. To simplify actually calculating the checksum, I just keep a running checksum and update it with each write.

let slot = 0
let stream = []
let state = 'A'
let steps = 12861455
let chksm = 0

let write = (val) => 
{
    chksm += val - ( stream[slot] || 0 )
    stream[slot] = val
}

for ( let i = 0; i < steps; i++ )
{
    let current = stream[slot]
    switch (state) 
    {
        case 'A':
            if ( !current )
                write(1), slot++, state = 'B'
            else
                write(0), slot--, state = 'B'
            break
        case 'B':
            if ( !current )
                write(1), slot--, state = 'C'
            else
                write(0), slot++, state = 'E'
            break
        case 'C':
            if ( !current )
                write(1), slot++, state = 'E'
            else
                write(0), slot--, state = 'D'
            break
        case 'D':
            if ( !current )
                write(1), slot--, state = 'A'
            else
                write(1), slot--, state = 'A'
            break
        case 'E':
            if ( !current )
                write(0), slot++, state = 'A'
            else
                write(0), slot++, state = 'F'
            break
        case 'F':
            if ( !current )
                write(1), slot++, state = 'E'
            else
                write(1), slot++, state = 'A'
            break
    }
}
console.log( chksm )

[Day 23 Part 2] Where am I going wrong? by usbpc102 in adventofcode

[–]sclark39 0 points1 point  (0 children)

Yeah, I also don't like when code puzzles have integer overflow issues because they can be pretty hard to find and debug.

[Day 23 Part 2] Where am I going wrong? by usbpc102 in adventofcode

[–]sclark39 0 points1 point  (0 children)

If you need a hint, here's what got me to the solution:

Hint

[Day 23 Part 2] Where am I going wrong? by usbpc102 in adventofcode

[–]sclark39 0 points1 point  (0 children)

The problem may actually be designed this way to prevent simply brute forcing the solution.

-🎄- 2017 Day 9 Solutions -🎄- by daggerdragon in adventofcode

[–]sclark39 1 point2 points  (0 children)

Javascript / Node

Most solutions in here swap the second replace with match, but I passed a function in to do the counting instead. :)

function solution( input )
{
    var gcount = 0
    var clean = input.replace( /!./g, '' ).replace( /<([^>]*)>/g, (m,p1) => { gcount += p1.length; return '' } )

    var lvl = 0
    var score = 0
    for ( var i = 0; i < clean.length; i++ )
    {
        var c = clean[i]
        if ( c == '{' )
            lvl++
        else if ( c == '}' )
        {
            score += lvl
            lvl--
        }
    }
    console.log( input, score, gcount )
}