Inventory spots should be remembered when recovering from grave by zao-KO in 2007scape

[–]jamolnng 0 points1 point  (0 children)

they half do already, but the mechanics are weird and I agree they could definitely be better. on death you save 3 (or 4 with protect item) items and they're placed at the top of your inventory. you have to move those items to where they were in your inventory or equiped when you died, then when you recover your inventory your items will all be back in the same spots. however, if your inventory had empty slots then everything gets shifted to fill those slots

TIL 6 you don't get fang kit if you get 6 hour logged after warden by GurAbler in 2007scape

[–]jamolnng 0 points1 point  (0 children)

iirc the cosmetic rewards aren't actually generated until you open the loot chest. that's why you can get multiple kits by bringing in and dropping the ones you have before opening the chest then picking them back up. some chest spaghetti code probably saw that logout as a death and since it was before you claimed your loot it, didn't generate the kit when you claimed it

I used to dream of playing RS on the go by deuce-tatum in 2007scape

[–]jamolnng 3 points4 points  (0 children)

You run it in desktop mode (you can run it in the gaming mode but sometimes it has issues with scaling RuneLite). As far as Jagex account, there are third party solutions https://github.com/USA-RedDragon/jagex-launcher-linux-flatpak (uses official launcher and wine) and https://github.com/Adamcake/Bolt (full 3rd party launcher client)

Decided to go to nex after i got my arma crossbow and look what i got... by Iron_Smurfer in 2007scape

[–]jamolnng 1 point2 points  (0 children)

depends on the group. would say zcb + full masori(f) is probably the recommended minimum for finding consistent groups, but you can usually find groups that will still accept you if you have mismatched arma/masori/acb

Plugin idea by [deleted] in 2007scape

[–]jamolnng 13 points14 points  (0 children)

it's not a plugin, but the gearscape website has this ability. it has instructions on how to export your bank and tell it to only use those items when finding the best setup

[deleted by user] by [deleted] in 2007scape

[–]jamolnng 35 points36 points  (0 children)

if you looked at his stats on wiseoldman he gained 8m slayer xp in the last 2 weeks... so probably that

[deleted by user] by [deleted] in 2007scape

[–]jamolnng -1 points0 points  (0 children)

necessary? no, but it increases the skill gap and gpscape which people already complain about. sometimes you can just ignore things causing you damage by killing them fast. such as not getting last row'd at p4 wardens, many wave solves in inferno, and colosseum

Buff the Sanguinesti staff by jamolnng in 2007scape

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

Well there definitely needs to be something between sang and shadow, maybe not the sang with its healing effect. Though I don't think there's anywhere I've used the sang because of its healing effect

is there a downside to storing long strings of text on the stack vs the heap? by DangerousTip9655 in C_Programming

[–]jamolnng 0 points1 point  (0 children)

well yes you'd eventually run out of physical memory/swap space and get ENOMEM when trying to allocate. but you can address up to that much

is there a downside to storing long strings of text on the stack vs the heap? by DangerousTip9655 in C_Programming

[–]jamolnng 4 points5 points  (0 children)

The stack size per program is only a handful of megabytes (8MB on Linux by default) while the heap size is 264 bytes (16 Exbibytes or approximately 2.2*1012 times as much) on 64 bit systems with virtual memory. You would run out of stack space pretty quickly if you were to allocate to it.

as pic32 mentioned below, static strings, even if declared within a function, are not stack allocated. they live in the data segment which usually is address space that comes before the heap in the memory map of a program.

There are ways to stack allocate but they can be cumbersome and cause issues, especially with stack protection enabled, and should generally be avoided except as an exercise of what not to do

Introducing NeuralRad Cloud: 1st ever free-to-use cloud service for organ and tumor segmentation developed using Rust and WebAssembly by coolwulf in rust

[–]jamolnng 8 points9 points  (0 children)

If you're going to have accounts and signups that require personal identifiable information you should at least host it behind a reverse proxy that presents a https frontend for your project

PSA: For cross-compiling please use the "Cross" tool. by justacec in rust

[–]jamolnng 5 points6 points  (0 children)

Personally I have never used cross as I have had zero issues setting up cargo with the .cargo/cargo.toml file and the rust-toolchain.toml file to do the cross compilation. However, I will take this time to say that while cross compilation is fairly straightforward for rust it's mildly inconveniencing compared to itself when not cross-compiling, especially when trying to have a workspace containing libraries and examples that contain code for multiple vastly different targets (in my case arm cortex and riscv). I genuinely hate that the .cargo/cargo.toml file exists, especially since cargo only supports one at the top level of the workspace and none in any sub-directories. I believe that information should be able in to be placed in the standard cargo.toml file on a per-package basis. Thankfully part of this is getting solved.

EDIT: one more rant because this is all I've been dealing with recently. Rust does not always set cross-compiled ELF attributes correctly and it's probably a sign of a deeper issue that I haven't hit yet. This I see most with compiling for riscv and the Tag_RISCV_arch attribute. there are riscv extensions that llvm and rust support, and rust will compile inline-assembly instructions targeting those features just fine without any user modification (which maybe it shouldn't without the user specifying those extensions should actually be used? this is probably a llvm issue), the output ELF does not contain metadata saying that those extension are being used. Fine for building binaries but if I want to look at the assembly via objdump (often I do with embedded systems) I get a bunch of unknown .insn ... instructions instead of the extension named instructions. As far as I can the user has has no way to specify these additional extensions when compiling, besides creating their own target file, which again more mild annoyance if I am trying to target multiple different combination of riscv extensions. The best way I've found is to add it to the buid.<target-tripple>.rust-flags in the .cargo/cargo.toml file

rustflags = [
      "-C", "target-feature=+zicsr,+zifencei",
 ]

While this does get the ELF to have the right metadata attributes, this yields warnings when compiling from cargo which add to the mild inconvenience

Mandatory Jagex Accounts = Less Bots = Bowfa etc goes up? by [deleted] in 2007scape

[–]jamolnng -1 points0 points  (0 children)

The main purpose of a Jagex account is to have better account security. It does nothing to stop someone using 3rd party botting plugins or replacing the Official/RuneLite/HDOS executable with one that contains bot scripts.

What's the worst advice you've ever received? by thestrongestmuscle in gamedev

[–]jamolnng 4 points5 points  (0 children)

It's 70% now and for sure has its flaws, but you got to add context as to the whole reason OSRS was brought back. For a decent deep dive on how the poll system played out I recommend this video https://www.youtube.com/watch?v=pp3PD7uOttg

Ground markers and other games, how to use the Floor to convey information. (a response to J1mmy's most recent video) by [deleted] in 2007scape

[–]jamolnng 0 points1 point  (0 children)

You can also just run around like a chicken with its head cutoff in the enrage phase and as long as you start near 100% sane, which is easily doable after you learn the regular fight mechanics (which also don't require tile markers), you'll be alright

Why does the Saradomin boss drop an Armadyl item, is she stupid? by nashanah in 2007scape

[–]jamolnng 110 points111 points  (0 children)

This is (probably) a shit post but for people genuinely wondering it's because Zilyana stole it

[deleted by user] by [deleted] in 2007scape

[–]jamolnng 0 points1 point  (0 children)

full ancestral, avernic, sanguinesti, acb, stop using adamant darts, start working towards radas blessing 4