Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
Doubleumc
Jun 3, 2006
I love how there's six actual chats in that image and four of them are scams.

Adbot
ADBOT LOVES YOU

Doubleumc
Jun 3, 2006

Lichtenstein posted:

So I take it, you can't really automate T2?

You can get close, but not entirely. The two main issues are the acct_nt lock and the sn_w_glock lock.

The acct_nt lock asks for the amount of either a range of transactions between two approximate timestamps or a single transaction with a very rough timestamp -- this means there will be several solutions to try before you can guarantee cracking it. Most importantly, what acct_nt asks for can change if your transaction list changes.

The sn_w_glock lock requires the hacker have a specific account balance for it to take, and if they don't it won't unlock and takes a good chunk of their cash anyway. Solving the sn_w_glock and any locks behind it requires repeated transfers of its required amount of cash, which quickly flood your transaction log.

Both of these are rough individually, but the ultimate "cracker's nightmare" is a sn_w_glock -> acct_nt combo. Solving the sn_w_glock to get at the acct_nt can change the acct_nt's answer -- requiring even more attempts to get through, etc. Most crackers will pass on this sort of lock as soon as they figure it out.

Doubleumc
Jun 3, 2006
Commands are always run from the caller's context. The only one accts.xfer_gc_to can take from is the one who ran the script.

Doubleumc
Jun 3, 2006
You can find shell.txt, the console output, in C:\Users\<YourName>\AppData\Roaming\hackmud. You can see your chatlog and scratchpad in there, as well as the ability to edit your macros outside of the game.

Doubleumc
Jun 3, 2006
To be clear dtr is only an admin of the (un)official discord, he has no control over the game itself. His opinions, good or otherwise, have to filter through the dev the same way ours do.

Doubleumc
Jun 3, 2006
Closest thing to a "get logs out of my script RIGHT NOW" would be #s.chats.tell({to:"your_name", msg:"debug_msg"}) but there are cleaner ways to achieve this. The method I'm experimenting with right now uses part of a game-provided library along with try/catch blocks to output a log of what my script was doing up until it crashed. Here's a basic example:

code:
function (context, args) {
    var l = #s.scripts.lib(); // useful trust-provided library
    try {
        l.log("trying something risky now"); // l.log() adds the JSON string of whatever its passed to an internal array
        var result = something_risky(); // stand-in for your at-risk code
        l.log(result); // works on objects/arrays too
        return result;
    } catch (e) {
        return [e.stack, l.get_log()]; // l.get_log() returns the stored array, game automatically parses an array (or an array in an array) as a series of newlines
    }
}

Doubleumc
Jun 3, 2006
Apparently so. Very early this morning the top three users by balance were attacked at roughly the same time, by the same group. By itself this is perfectly in line with the rules but the question arose of how the attackers found all their locs (think hidden IP address, a thing that lets you try to hack people).

Locs aren't revealed unless you do something that causes them to be revealed. Hacking other users or npcs leaves a loc in their access logs, for example. Or running a malicious script can expose your loc. Its technically possible to brute-force all the possible combinations but conservative estimates put that at several months of effort for a large, organized group. The game's been released for slightly more than one month.

The dev was alerted and he investigated. We don't really know what happened or what he saw but apparently the evidence was damning enough to ban the attacking group.

Adbot
ADBOT LOVES YOU

Doubleumc
Jun 3, 2006
You get the lock rotation message regularly even if not breached. It means that your installed locks (if any) have refreshed.

People can only "find" you if they get your loc. Think of your loc as a secret IP address. Accessing someone else's loc leaves your loc in their access logs. Running sys.loc can show your loc, so be careful of running any scripts of LOWSEC or NULLSEC because they could contain a sys.loc execution.

The danger about those dead accounts is if they have a sn_w_glock lock, which can steal all your money up to a limit. This is only a threat if you pass a glock argument to the dead account, like this: npc.loc { sn_w_glock:"anything" }. If you don't "hit" the lock it will never activate.

  • Locked thread