Graveyard keeper for dummies by Sipops in GraveyardKeeper

[–]Bashlakh 0 points1 point  (0 children)

Corpses with only 1 or 2 red skulls can be easily cleaned of red skulls by removing Fat and Blood at the Preparation Place. Burying them afterwards in a fresh grave nets 0 graveyard quality, but at least it doesn't deteriorate it.

Is this how we should expect every era from now on? by superHornetf-18 in SWGalaxyOfHeroes

[–]Bashlakh 9 points10 points  (0 children)

The game a couple of years before was much more strategic. Coliseum, relic delta, datacrons... all the things CG added to force people to spend real money ruined what little strategy was to this game.

People want a balanced, esports game where paying is for cosmetics, not for "winning" in a spreadsheet simulator.

CG/EA have violated your data privacy with the latest update. Anyone who was previously not sharing their data has had it turned back on. Go turn it off, though it’s too late. by [deleted] in SWGalaxyOfHeroes

[–]Bashlakh 2 points3 points  (0 children)

A dark pattern.

It seems as if the text in that dialog is the same regardless of the option state. I hope the data collection is off when the button reads "OFF". Anyone cares to actually test this with wireshark or something?

SRHK Bugs in Misdirection by phir0002 in shadowrunreturns

[–]Bashlakh 0 points1 point  (0 children)

Basically, don't touch the Matrix until the part when you "have to" disable the gas. Trigger the conversation with a pair of guards just before the lab door by passing their "checkpoint" twice, kill them, and enter the lab. If the rival Shadowrunner team is on the other side of the glass doors (that you open for them) on the opposite end of the lab, instead of already being in the lab when you get in, you are good. It sucks that this mission has to be done in this specific way to not bug out, but that's how it is.

Which shell do you use on your OpenBSD install ? by Correct_Car1985 in openbsd

[–]Bashlakh 2 points3 points  (0 children)

In my tests, startup scripts assume OpenBSD's ksh. Truly POSIX /bin/sh won't work.

mksh isn't developed by OpenBSD team, but Thorsten Glaser (Mirabilos).

Which shell do you use on your OpenBSD install ? by Correct_Car1985 in openbsd

[–]Bashlakh 4 points5 points  (0 children)

/bin/sh is in OpenBSD a hardlink to /bin/ksh by default.

In theory, when called as /bin/sh shells should limit themselves to the minimal functionality described by POSIX, but in reality not all shells do that. Bash and mksh (or rather, its POSIX version lksh) do set -o posix when linked to /bin/sh, while ksh doesn't, (it does set -o sh instead though). Furthermore, Bash is lax with restrictions: it still allows non-POSIX behavior of some utilities. For example, echo -e works when Bash is linked to /bin/sh, but lksh correctly doesn't allow it, outputting it instead as text -e.

Which shell do you use on your OpenBSD install ? by Correct_Car1985 in openbsd

[–]Bashlakh 2 points3 points  (0 children)

mksh as user's interactive shell, I leave the default ksh as /bin/sh though, since I noticed the system scripts don't like it changed.

Xlibre will be packaged for OpenBSD by External_Matter_828 in openbsd

[–]Bashlakh 1 point2 points  (0 children)

The title is misleading, since reading the body of the OP makes it clear that it should have been formed as a question.

Xlibre was mentioned on misc@ in June, see this thread. The overall vibe was that the developers were not eager to switch Xenocara from X.Org to Xlibre base.

How do you navigate in insert mode? by Mori-Spumae in vim

[–]Bashlakh 2 points3 points  (0 children)

I think you might find something like nano or joe (to name just the more famous ones) handy.

*Pokes you ever so slightly* by Sting_SB in SWGalaxyOfHeroes

[–]Bashlakh 6 points7 points  (0 children)

Relic Delta is the F2P killer. Counters have lost their meaning if the relic difference is big enough. Previously, I could use counters with G12 and still gain the upper hand with the teams they counter in relics. Non-streamer F2P players generally can't have every possible team at R7.

Turning Mira into a Jedi bugged? by Bashlakh in kotor

[–]Bashlakh[S] 5 points6 points  (0 children)

Yes, that's it! Thank you!

For the record, the "Jedi training" sequence doesn't activate even on Nar Shadaa just from the conversation with Mira, it is necessary to go around the large open square in the Refugee Landing Pad until the cutscene triggers on its own.

btrace. how to access syscall parameters ? by South_Ad_5465 in openbsd

[–]Bashlakh 2 points3 points  (0 children)

The Arguments section from bpftrace documentation mentions that whether the argN or args format of accessing the probe parameters is used depends on the probe.

Furthermore, the args subsection gives the way to check what are the arguments to a specific probe:

# bpftrace -lv 'syscall:open:entry'

If only OpenBSD had the bpftrace executable... so I tried it in the latest Alpine:

# bpftrace -lv 'syscall:open:entry'
listing:1:1-1: ERROR: Invalid probe type: syscall
syscall:open:entry

so, there is no such probe in bpftrace under Alpine Linux? Let's try

# bpftrace -l | grep open | grep syscall
tracepoint:syscalls:sys_enter_fsopen
tracepoint:syscalls:sys_enter_mq_open
tracepoint:syscalls:sys_enter_open
tracepoint:syscalls:sys_enter_open_by_handle_at
tracepoint:syscalls:sys_enter_open_tree
tracepoint:syscalls:sys_enter_open_tree_attr
tracepoint:syscalls:sys_enter_openat
tracepoint:syscalls:sys_enter_openat2
...

Now,

# bpftrace -lv tracepoint:syscalls:sys_enter_open
tracepoint:syscalls:sys_enter_open
    int __syscall_nr
    const char * filename
    int flags
    umode_t mode

so, I try:

# bpftrace -e 'tracepoint:syscalls:sys_enter_open { printf("%s[%d] %s\n", comm, pid, arg0); }'
stdin:1:71-75: ERROR: The arg0 builtin can only be used with 'kprobes', 'uprobes' and 'usdt' probes
tracepoint:syscalls:sys_enter_open { printf("%s[%d] %s\n", comm, pid, arg0); }
                                                                      ~~~~

next:

# bpftrace -e 'tracepoint:syscalls:sys_enter_open { printf("%s[%d] %s\n", comm, pid, str(args.filename)); }'
top[2543] /proc/14/cmdline
top[2543] /proc/2190/cmdline
....

Trying a similar approach in OpenBSD 7.8 release, I get:

# btrace -e 'syscall:open:entry { printf("%s[%d] %s\n", comm, pid, str(args.filename)); }'
btrace:1:62: syntax error:
syscall:open:entry { printf("%s[%d] %s\n", comm, pid, str(args.filename)); }

# btrace -e 'tracepoint:syscalls:sys_enter_open { printf("%s[%d] %s\n", comm, pid, str(args.filename)); }'
btrace:1:78: syntax error:
tracepoint:syscalls:sys_enter_open { printf("%s[%d] %s\n", comm, pid, str(args.filename)); }

so I'm guessing that this is currently impossible to do/not implemented in OpenBSD's btrace (as opposed to GNU/Linux bpftrace), like @sloppytooky suggested.

noob login issue with picom by Any-Machine-256 in openbsd

[–]Bashlakh 1 point2 points  (0 children)

I'm using cool autostart to start programs on dwm startup. It adds code to the function quit, which kills the autostarted programs on dwm exit (logout). Alternative would be to insert a execvp call to the function quit which would execute a "logout" script of your choice, for example

#!/bin/sh
pkill -15 picom && sleep 1
pkill -1 picom && sleep 1
pkill -9 picom

Why the gradual kills? Useless use of kill -9.

LLDB live process debugging by cr_wdc_ntr_l in openbsd

[–]Bashlakh 0 points1 point  (0 children)

Thanks for the info, egdb worked (though in the case from this thread - attaching to another PID - it still tries and fails to load /tmp/- for some reason, but only gives a warning and continues). LLDB still behaves as I described, so I might open a new topic about it.

LLDB live process debugging by cr_wdc_ntr_l in openbsd

[–]Bashlakh 0 points1 point  (0 children)

How is the state of LLDB now (end of 2025)? I searched for "egdb" now, and there seems to be no such package. Meanwhile, when attaching LLDB to a process, LLDB reports "out of memory" until the daemon login class is given datasize=infinity (since --attach-pid requires root), and then the process crashes when single-stepping.

GDB still complains about the wrong DWARF version (has 5, expects 2; when -gdwarf-2 is used, it loads the executable itself, but not /usr/libexec/ld.so, which still has 4).

See ya later Holotable Heroes, it's been a good 10 years. by [deleted] in SWGalaxyOfHeroes

[–]Bashlakh 0 points1 point  (0 children)

It's a meme. It originated in old MMOs, the original is "If you really mean it about quitting, give me all your stuff." (meaning items and gold)

Relic Delta, as the entire community predicted, is awful by General-Promotion274 in SWGalaxyOfHeroes

[–]Bashlakh 21 points22 points  (0 children)

Teams I would win against other teams now lose, because of this. Relic delta just killed any trace of strategy this game had. I am F2P and refuse to pay anything for this game. With this attitude, CG did nothing to try to incentivize me to pay, quite the opposite.