#Programming Discussion

1 messages · Page 2 of 1

willow coral
#

im leaning towards the second cause otherwise every page would be having a spike and instead its only like 3? of them

#

i found that panacea was causing a huge lag spike when loading just to be able to accomodate loading some animations in studio easier and had zero impact on ingame so i deleted that lmao

boreal topaz
#

no

#

should i do that

last sierra
#

no

lilac path
#

hey guys if i were storing all instances in a roblox place in a single array for some reason, if i had to chose, should i be indexing that array with a uint64, or should a uint32 be ok?

#

i mean it would be kinda miraculous if you managed to have 4,294,967,296 instances in a single place loaded at once but i mean you never know

willow coral
#

i dont even know if a roblox server can handle more than 4 billion instances

rare goblet
#

also you cant even create a table that big

#

largest array i could make is 2^26 entries

lilac path
#

good points!!!!

#

uint32 it is then lol

lilac path
#

is there a way to prompt a file export in roblox studio? something similar to StudioService:PromptImportFile() but for exporting
there's PluginManager:ExportSelection(), but that only works with .rblx files and luau scripts, and im trying to export binary data containing 0x00s

rare goblet
#

i dont think there is

#

can you not put the data in a luau script?

lilac path
# rare goblet can you not put the data in a luau script?

out of curiosity i tried writing some buffer data into a script, but it turns out if there are any 0x00 bytes, the script's source will literally cut off at that point and any content after the null byte is no longer present in the script :(

#

the experiment was:

  • i put local A = Instance.new("Script", game.ServerStorage) A.Source = string.char(65, 66, 67, 68, 0, 69, 70, 71, 72, 0, 73) into the command bar
  • the expected result would be that the script's source will consist of:
ABCD?EFGH?I
  • but the actual result is:
rare goblet
#

use UpdateSourceAsync it works

#
local s = Instance.new("Script")
game:GetService("ScriptEditorService"):UpdateSourceAsync(s, function()
    return "ab\0cdefg"
end)
print(#s.Source) --> 8
lilac path
#

WHAT

#

oooooooooooooooooo

#

thanks

patent notch
#

I use like a roblox.js node thing and it can upload rbxm and stuff to roblox

boreal topaz
#

apparently unions are very weird when it comes to physics for some reason

rare goblet
#

and if that doesnt work then oh well idk

#

collision is janky in roblox because the physics system requires everything to be convex, so meshes/unions have to be broken into convex solids

boreal topaz
boreal topaz
#

it definitely helps in certain cases

eternal basin
#

who up adventing they code

willow coral
#

day 3 part 1 was pretty easy and then i started to do day 3 part 2 until i realized my solution was flawed and now idk what to do for it

eternal basin
#

I hand wrote an algorithm for part 2 and then tried implementing it into code

boreal topaz
#

advent of code looks like hell!

willow coral
#

i know the solution to part 2 but havent done it yet

rare goblet
#

why use a programming language when you could use regex

#

(this was so painful to make)

boreal topaz
#

what in the unholy fuck

ashen tree
# rare goblet

Why would you do that to yourself 😭 😭 😭 😭 😭 😭

rare goblet
#

im doing something stupid for each day

#

day 2 i did in the luau typechecker

willow coral
#

hopefully ill be able to keep up with it until day 12

patent notch
last sierra
#

and by regexing it, i mean our string capture

boreal topaz
#

i aint even gon be able to do day 1 😭

boreal topaz
#

3000 LINES OF INPUT???

#

ez for loop frfr time to make gpt add a comma to every line

rare goblet
#

ludo did day 1 parts 1 and 2 by hand

last sierra
#

hes hacking

last sierra
#
local function ParseSequence(value)
    return 
end
local sequences = string.split(script.Sequences.Value, "\n")

local dial = 50
local clicks = 0

for i, sequence in sequences do
    local direction = string.sub(sequence, 1, 1) == "R" and 1 or -1
    local amount = tonumber(string.sub(sequence, 2, -1))

    dial += amount * direction
    clicks += math.abs(math.floor(dial/100))
    dial %= 100
end

print(clicks)

what did i do wrong help 😭

rare goblet
#

e.g. it is on 15 then turns L15 to land on 0

last sierra
rare goblet
#

because now you are double counting a specific case

#

step through the example and think about it

willow coral
#

i managed to fuck up a pr so badly instead of going from one branch to master it went master to one branch

#

even though the pr was set to go from one branch to master that wasnt messed up

eternal basin
#

racking my brains trying to think of a way to do day 5 p2 without sorting the intervals first

#

but i dont think i can do it

#

every idea i have requires them to be sorted based on their starting value

eternal basin
rare goblet
#

i think i know how you could do it

last sierra
#

Me When I Cant Read The Instruction Properly 😂

#

ive been trying to recreate the dragger instance

#

had to visualize how it works

willow coral
#

unless you are trying to figure out the math for it as a challenge i would absolutely reccomend using the dragger instance

lilac path
#

so i've abandoned the script im writing and will instead take the alternative solution of opening the roblox place with C# and doing stuff in C# 🙃 🙃 🙃 🙃 🙃 🙃 🙃 🙃 🙃 🙃 🙃 🙃

boreal topaz
#

not 100% sure on what the best way to pass in a bunch of values for UI purposes is
should i be making a module dictionary object whatever for that i dont even know how to make dictionaries or smth else

rare goblet
#

the best way to update ui state has been a debate since the dawn of gui

#

if you just need to pass in a lot of data then a table containing all the data is good enough

devout finch
#

@last sierra okay so,, basically i want to make a game thats kinda like minus elevation, but im stuck at how im going to paste the levers into the map, ive already,, kinda..? got floor generation, i just want to get a random lever template part and paste the levers, but i need multiple levers as well

last sierra
#

make it like nullscape

#

each room has a possibility of having one lever?

#

located at a different position

devout finch
#

yeah, just making the first few floors not boring

devout finch
#

the levers are pasting in now, i just need to make it so that only this amount spawns

#

oh wait this is the furniture module,,

last sierra
#

assign a global level value for amount of levers

#

also usually lever were placed like at the edge of the map or within it

#

is there a chance for it to spawn near spawn?

devout finch
#

the floors are pretty bare bones right now, but im gonna make them much bigger

#

so

last sierra
#
local leverAmount, leverPlaced = 0, 0

leverAmount = --idk what algorithm u use to assign lever

function levelGeneration.Assignlever(room)
   if leverPlaced < leverAmount then
      local leverPositions = room.leverPositions:GetChildren()
      local rand = math.random(1, #leverPositions)
      leverPlaced += 1
      local model = leverModel:Clone()
      model.Parent = workspace.game.levers
      model:ToPivot(leverPositions[rand].CFrame)

      lever.Hitbox.Touched:Connect(levelGeneration.leverTouched)
   end 
end
#

@devout finch

devout finch
last sierra
#

can it has multiple

devout finch
#

im making it so that it slowly ramps up in the number of levers

last sierra
#

ah ok

devout finch
#

like floor 1-5 has like 1-2 levers?

#

yah

last sierra
#
local leverPlaced, leverAmount = 0, 0
local levers = {}

repeat
   local rand = math.random(1, #rooms)
   if rooms[rand] then
      if not levers[rand] then levers[rand] = {} end
       levers[rand] = Levers.AssignLever(room)
      end
   end
until leverPlaced < leverAmount
#

i hope you get the idea

devout finch
#

i

#

dont

#

hrmmm

#

is this supposed to be in the lever module?

devout finch
#

OHH OK WAIT I THINK I KINDA GET IT?

#

uhh uhh

#

@last sierra


function lever.New(template)
    local leverModel = workspace.Lever:FindFirstChild("Lever")
    
    if leverModel then
        leverModel = leverModel:Clone()
        leverModel:PivotTo(template.CFrame)

        leverModel.Parent = template.Parent
        template:Destroy()
    end
end

function lever.GetRandom(roomModel,number)
    local levers = roomModel:WaitForChild("PossibleLevers"):GetChildren()
    for i, part in ipairs(levers) do
        lever.New(part, roomModel)
    end
end

return lever```
#

heres the lever module

#

i think i kinda got what you were trying now?

last sierra
#

yeah but

#

it need a random

devout finch
#

yeah yeah

#

i got what you put down!!

last sierra
#

btw store asset in ServerStorage

devout finch
#

oh right,

last sierra
#
local ServerStorage = game:GetService("ServerStorage")

local LeverModel = ServerStorage.Asset:FindFirstChild("LeverModel")
devout finch
#

gootcha

#

i should probably do that with the rooms too,

last sierra
#

ye

devout finch
#

ok im gonna figure out how to do the thingy now

#

thanks mall

#

dont mind if i ping you more layter..

#

@last sierra what should rooms be?

last sierra
#

like rooms = workspace.game.rooms:GetChildren()

devout finch
#

ohh kay

#

got it got it

#

i'll just modify it so it fits what i need it to do..

#

also how do i make global values..? should i just use like a string value

#

@last sierra sorry,, i dont really know how this part works..

last sierra
devout finch
#

ahh

#

ok i got it

last sierra
#

each room has an array of levers

devout finch
#

@last sierra OK I KINDA GOT IT TO WORK?

#

but um. its the same lever everytime i load it in

last sierra
#

whats a Floor

devout finch
# last sierra whats a Floor

i dont know how to make a global value so,, i jsut made an attribute in the Server script (script that actually executes the room generation) which is a number attribute

#
local lever = {}

local ServerStorage = game:GetService("ServerStorage")

function lever.New(template)
    local leverModel = ServerStorage.Lever:FindFirstChild("Lever")
    
    if leverModel then
        leverModel = leverModel:Clone()
        leverModel:PivotTo(template.CFrame)

        leverModel.Parent = template.Parent
        template:Destroy()
    end
end

function lever.GetRandom(roomModel,number)
    local leverPlaced = 0
    local leverAmount = number
    local levers = roomModel:WaitForChild("PossibleLevers"):GetChildren()
    
    repeat
        local rand = math.random(1, script.Parent.Parent:GetAttribute("Floor"))            
        
        if levers[rand] then
            if not levers[rand] then levers[rand] = {} end
            levers[rand] = lever.New(levers[rand])
        end
    until leverPlaced < leverAmount
    
    --[[
        for i, part in ipairs(levers) do
        lever.New(part, roomModel)
    end
    ]]


    
end

return lever```
devout finch
last sierra
#

for the format

quartz ridge
#

^

devout finch
#

ohh i se

devout finch
last sierra
devout finch
#

umm.. @last sierra would it be easier if i just invited you into the place? since a lot of the stuff the module calls for doesnt exist

last sierra
#

nah im doing assignment

#

sorry

devout finch
#

:Sob:

#

oh

#

😭

last sierra
#

your code would be simpler than mine

#

i had a habit of making complicated code

devout finch
#

har har..

#

ok i'll just try to figure it out..

#

but like

last sierra
#

just

#

for round input

#

its just a table

#
local round = {
  map = map
  Intensity = 1
  Level = 0
}
#

@devout finch lever should have a hitbox part

#

a map should have map.rooms

#

and room.PossibleLevers

#

thats all

devout finch
#

ohh i see

last sierra
#

in your uh

#

main script

#

local Lever = require(script.Parent.Lever)

function Round.newRound()
   local round = {
     map = map
     Intensity = 1
     Level = 0
   }
   round.lever = Lever.new(round)
   round.RoundEnding = function()
       round.lever:Destroy()
   end)
   return round
end
#

idk

devout finch
#

yeah this is way out of my understanding of scripting..

last sierra
#

sorry i tried

#

😭

quartz ridge
#

3

last sierra
#

thats prob the reason why i never have my own game

devout finch
#

i mean if youre ever free i can invite you to the place (another way of saying I NE ED SCRIPTING HELP WHAT THE FUCK IS THIS)

#

i'll just try to figure it out in the mean time..

last sierra
#

nah i dont wanna burden myself

#

my intrusive thought would want to be involved in this

#

but last time i did that i got burnt out

#

so not doing that

#
  • i got a map to finish
devout finch
#

ahwa..

#

hawa..

#

neh its fine

#

just need to pull myself up by the bootsraps

#

and maybe suddenly gain knowledge on how all of this works

#

herm

#

maybe i'll just work on the old version and see if i'll figure out the one you gave me

#

thanks though, mal

#

oh hey its getting the levers randomly now

#

or not

devout finch
#

YESS OKAY I GOT THE RANDOM LEVERS TO WORK NOW

#

now i just need to figure out how to make the levers functional, make the levers actually count,,

#

yknow what, i got the levers to be pasted how i wanted, i'll leave floor progression functionality all for later..

urban pulsar
#

lets goo

last sierra
#

neat

patent notch
#

Do you guys know how to patch the CameraModule so Gamepad/Controller camera sensitivity don't depend on FPS

rare goblet
#

wasnt that fixed in newer camera module versions

urban pulsar
#

thats what we ended up doing if I remember right

last sierra
#

I DID IT

#

I MADE MY OWN DRAGGERRRRRRRRRRRRRRRRRRRR

#

now i can delete this useful but schizoprenic shit

last sierra
#

i the did it

pulsar crest
pulsar crest
#

oh

last sierra
#

yeah i recreated studio dragger because im bored

#

next up handle and rotating handle

#

so i can move my part or rotate it

pulsar crest
#

insane

last sierra
#

the goal is to be able to make these model with these custom building tool

last sierra
#

idk how to typecheck

boreal topaz
#

i wish i knew

eternal basin
last sierra
#

yk what would be funny

#

if i somehow use it to make obby creator bootleg that just compile your map into a tria map

stiff talon
willow coral
#

Had to make a website for the final project of a class so say hi to TRIA.blog

#

has accounts and sessions that also hash passwords (using a not ideal library but was told to use it) and administrative features
blogs with full markdown and comments
other pages to view catalogs of blogs uhhhh and then yeah the apis to support it yeah

#

The website only partially sucks

#

This won’t exist I just made it for a final

last sierra
#

wb fe2 forum

boreal topaz
rare goblet
#

since when did instances work in weak tables?

urban pulsar
last sierra
#

i rather just make an id system

last sierra
#

@pulsar crest it evolved

patent notch
#

ok, this is definitely NOT the way to do it

last sierra
#

atleast json has one

unkempt egret
#

the reason to use reactive

rare goblet
#

react server components 🥀

stiff talon
#

nothing in this function has the ability to actually modify the CylinderCFrame, right? Im trying to fix a really strange bug and i just want to check that this part specifically isnt messing things up

stiff talon
#

i also have another question: are there any factors that could cause a script to do something randomly despite math.randomseed() being used earlier in the script in order to reproduce the same result? im trying to make some kind of random parkour generator, and despite the very clear set seed, the bug is still randomly affecting the map

edit: pretty sure its because i had task.wait() in the script which was dependant on my frame rate i assume

stiff talon
#

nevermind, ignore my previous questions ive realised what’s actually wrong with my script

rare goblet
last sierra
#

should i fusion

pulsar crest
#

🔥

pulsar crest
#

oh a craft button

pulsar crest
#

damn i have a similar idea for my secret game...

#

but it doesnt have actual building involved

#

just placing stuff on a grid

patent notch
dense veldt
#

you ever get annoyed of the tria plugin autocomplete so you just Implement the types in yourself

boreal topaz
#

mmmm

pulsar crest
#

is it bad practice to use a remote event that does something when it's the client firing it to the server and then it does something else when the server fires it back to the client?

last sierra
pulsar crest
#

one that only fires to the server and one that only fires to the clients

last sierra
dense veldt
#

Did all of that just to type MapLib:Move btw

quartz ridge
#

💔

stiff talon
lilac path
boreal topaz
#

i sure love the humanoid service

patent notch
boreal topaz
#

schrödingers humanoid, its either a service or a boolean until observed

rare goblet
#

@urban pulsar did you see this

#

ghost players can actually be good again

willow coral
#

yeah we saw that

#

huge

patent notch
#

HUH, tf you mean "Hack"
this repo is literally full of PHP

rare goblet
patent notch
#

tailwind WHAT

#

no way, we gonna have className spam in SQL

rare goblet
#

the new meta to poison llms

lilac path
#

Not checking whether the player actually has permission to do something on the server-side and instead solely relying on the client
🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦 🤦

rare goblet
#

does it actually work though

#

like, can others see it

patent notch
#

damn

stiff talon
#

is there a way to do GetExtentsSize on a part that doesnt actually exist
(i have a table with a size property and a cframe property that will later be used to actually make the part)

rare goblet
stiff talon
#

yes

#

this is part of a script thats supposed to see if a position is colliding with a hypothetical part that has a certain cframe and size

#

i found an article which said to use getextentssize for this and im pretty confident that article was written by chatgpt so i might be doing the wrong thing here

rare goblet
#

can send later im on my phone rn

stiff talon
#

Okay good to know

rare goblet
#

pretty sure this works

local function isPointInBounds(point: Vector3, center: CFrame, size: Vector3): bool
    local transformed = (center:Inverse() * point):Abs()
    local half = size / 2
    return transformed.X <= half.X and transformed.Y <= half.Y and transformed.Z <= half.Z
end
stiff talon
#

ty

hollow sphinx
#

should i even learn this

#

seems straightforward (not)

patent notch
#

Can someone like tell me why the input event isn't working on left (my main profile) while it works on right (private window)

I'm guessing extensions would cause a problem to it, and how to work around it

this is the code in it

// [[ Upload modal ]]
const uploadModal = document.getElementById("uploadModal");
const postBody = document.getElementById("post-body");
const postLimit = document.getElementById("post-limit");

// Focus
if (uploadModal) {
  postBody.focus();
}

// Limit Text
const textLimit = 300;
const cjkRegex =
  /[\u3040-\u309F\u30A0-\u30FF\u4E00-\u9FFF\u3400-\u4DBF\uAC00-\uD7AF\u3130-\u318F\u1100-\u11FF]/g;

function countCharacters(text) {
  const cjkMatches = text.match(cjkRegex);
  const cjkCount = cjkMatches ? cjkMatches.length : 0;
  const nonCjkCount = text.length - cjkCount;
  return cjkCount * 2 + nonCjkCount;
}

function showLimitFeedback() {
  console.log("Ye Shunguang's big schlong")
  postBody.classList.add("shake")
  setTimeout(() => {
        postBody.classList.remove('shake');
      }, 500);
}
// This is to handle Firefox bs
postBody.addEventListener("input", postBodyEvent);
postBody.addEventListener("keyup", postBodyEvent);
postBody.addEventListener("change", postBodyEvent);
postBody.addEventListener("paste", postBodyEvent);
postBody.addEventListener("cut", postBodyEvent);

function postBodyEvent(e) {
  newBody = e.target.value
  bodyLength = countCharacters(newBody);

  // Remove red border from error
  if (bodyLength <= textLimit) {
    if (postBody.classList.contains('border-danger')) {
      postBody.classList.remove('border-danger')
    }
    if (postLimit.classList.contains('text-danger')) {
      postLimit.classList.remove('text-danger')
    }
  }

  // Remove text if exceeds limit
  if (bodyLength > textLimit) {
    if (e.data != null) {
      postBody.value = newBody.slice(0, -1 * (countCharacters(e.data)));
      showLimitFeedback();
    }
  }

  postLimit.innerHTML = Math.min(bodyLength, 300) + "/" + textLimit;
}
willow coral
#

What extensions do you have installed

patent notch
# willow coral What extensions do you have installed

LanguageTool, BitWarden, BTRoblox, Dark Reader, Facebook Container, Firefox Multi-Account Containers, Proton VPN, Return Youtube Dislike, SponsorBlock, Stylus, TamperMonkey (only for wplace), Tweaks for YouTube, TWP = Translate Web Pages, uBlock Origin, and User-Agent Switcher and Manager

patent notch
quartz ridge
#

KILL ALL REACT USERS

pulsar crest
#

maybe the indentation could use some work but other than that this might be the worst thing ive ever written 🔥

pulsar crest
#

wait it's wrong it's worse than that

#

nvm it makes it better

#

this function might run 100 times per minute

willow coral
#

wheres my code from a long time ago that has like 30 indentations to it

pulsar crest
#

and it used a lot of those roblox value instances

willow coral
#

probably i used those a ton back then

pulsar crest
rare goblet
rare goblet
#

the pyramid of doom

willow coral
#

i have a pyramid of even doomer

pulsar crest
#

ig i made the pyramid of mild inconveniences

fervent stratus
#

I think I have worse

urban pulsar
quartz ridge
#

LOLLLLLLLLLLL

boreal topaz
#

i wonder how many lines of just closures are in the yanderedev code

willow coral
#

Mines worse

pulsar crest
#

oh my god bruh 😭 at least the post is alive now

rare goblet
#

this is an actual war crime

urban pulsar
#

cant let this into oss

rare goblet
#

im not usually a fan of splitting things out to a function that is used once but this justifies it 😭

#

you also could have just made that Computed on the previous line

#

that image is being saved

willow coral
#

the file that generated the map info page ingame used to be terrible until i broke it up into a file for each of its interactable/display components

pulsar crest
#

?

pulsar crest
#

@frail flicker

willow coral
#

i hate you

unkempt egret
hollow sphinx
willow coral
#

i would scream if it was in tria

rare goblet
#

ethan kicked off the tria dev team for that downright illegal code

fervent stratus
#

It’s just tune

patent notch
#

nvm I got it to work

pulsar crest
#

have you guys tried the "new" (ts is 6 months old) input action system?

#

and is it better than contextactionservice

patent notch
#

this is way too overkill for alert UI lol

#

though I don't think this will work at all lol
cause I tried to see if I could call PlayerStates and it returned nil
maybe something to do with chlorine

#

ye nah, I tried to print the require() and it returned a nil

#

well, guess I'll just do the hacky and rely on something else to do the checks for me

#

ye, this is all stupid lol

patent notch
#

I'm still fixing this since there's a lot of mistakes but I found a way to get player is playing or not AND I found a way to check if they're Spectating/Ghost

#

for the spectate, it's LocalPlayer.ReplicationFocus or smth

#

I also just put Fusion in the map itself and manually add Runtime to every single module in it which deletes the strict and nostrict thing but whatever

#

I obv didn't need fusion and its just bloat in this case but why not

pulsar crest
# pulsar crest

not only was this wrong it was also overcomplicated 😭 heres what it was supposed to be

ashen tree
#

Shouldn't self be the reverse

#

canUse = function(self, entitity) ?

pulsar crest
#

uhh theres a reason i did that cuz it's not a class but i could switch them

#

it would kinda suck tho cuz id have to edit like 5 other scripts

willow coral
#

I haven’t cause I’m not rewriting tria.os to use it

#

Cause our system works

pulsar crest
#

i got it working it's pretty cool

#

i have 0 experience trying to do console compatible input systems using cas but this thing makes it easy

#

same for mobile

willow coral
#

Mobile is cool except it’s buttons are capped at 7

#

Hard cap

#

For cas

#

Which I learned the hard way

pulsar crest
#

thats so stupid

#

maybe it's the same with ias who knows

patent notch
# patent notch this is way too overkill for alert UI lol

Ok, I managed to get it working lol
ye it's still kinda overkill but good learning opportunity for me for using Fusion, at least that's my main motivation aside from having a cool UI that can collapse and appear if you're spectating or not

lilac path
#

Cannot resolve symbol 'System' this is actually cursed

urban pulsar
#

rip

hollow sphinx
#

idk

#

¯_(ツ)_/¯

fervent stratus
#

@willow coral @rare goblet https://devforum.roblox.com/t/release-notes-for-703/4232806/25 demoted from service 😔

strange edge
#

wtf lol

frail flicker
#

Everytime I want a feature Roblox adds it 3 days later

rare goblet
#
local Workspace = game:GetService("Workspace")
pulsar crest
#

good night to everyone who uses game["Run Service"]

pulsar crest
rare goblet
#

there is a style guide that recommends this and i kinda agree with it

pulsar crest
#

with rep storage server storage sss everything

#

i would do it for anything other than workspace cuz theres already the workspace variable

pulsar crest
#

im having a migraine trying to do a 2d input except each keybind fires its own vector instead of having a global input vector

#

i gotta use 4 bool inputactions which is stupid

frail flicker
#

Boolean ❤️

pulsar crest
#

i thought i was cooking on my 4th attempt at making a good ias controller but it's mysteriously using every bool action 200 times

hollow sphinx
#

😭

lilac path
#

This move comes as no surprise. Stenberg has been the most vocal opponent of indiscriminate use of AI bug reports for some time now. In May 2025, he had complained about a flood of “AI slop” bug reports from the bug bounty site HackerOne. He’d said, on LinkedIn, “We now ban every reporter INSTANTLY who submits reports we deem AI slop. A threshold has been reached. We are effectively being DDoSed. If we could, we would charge them for this waste of our time. We still have not seen a single valid security report done with AI help.

rare goblet
#

didnt they make it so that you had to put a down payment to open a report

#

you are telling me that still didnt work? are these ai bros just throwing away money?

rare goblet
urban pulsar
#

@willow coral @rare goblet

rare goblet
#

i know

#

i saw the rfc before it was added

urban pulsar
#

wait thats crazyblox

#

where is that LOL

#

oss?

rare goblet
rare goblet
urban pulsar
#

yeah oss

rare goblet
#

probably, ik those people from ross and the name colors match

hollow sphinx
#

i wanna chat but 😭

rare goblet
#

pretty sure thats just attaching a phone number

hollow sphinx
rare goblet
#

💔

willow coral
hollow sphinx
frail flicker
#

Nah that’s awesome

#

I know how hard it be to make those

hollow sphinx
#

Thanks

unkempt egret
#

override

boreal topaz
#

im so lost (this should be playing right? cause the stuff below anim is running properly)

this is done within a module script located in repstorage, :Init() is being called from a localscript in startercharscripts
(this is also not the full script, but the stuff above it is completely irrelevant its just services and a couple constant variables so that shouldnt cause it)


local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local hum = char:WaitForChild("Humanoid")
--local rootPart = char:WaitForChild("HumanoidRootPart")
local animator = hum:WaitForChild("Animator")


--Anim
local runAnim = animator:LoadAnimation(Resources.Animations.Run)


local function runSpeed(b:boolean)
    if b then
        hum.WalkSpeed = maxSpeed
        runAnim:Play()
        print("anim should be running")
    else
        hum.WalkSpeed = minSpeed
        runAnim:Stop()
        print("anim should not be running")
    end
end
    
function MovementLib:Init()
    local running = false 
    --runAnim:Play()
    UIS.InputBegan:Connect(function(i,gps)
        if gps then return end
        print("input received ", i.KeyCode)
        
        if i.KeyCode==Enum.KeyCode.LeftShift then
            running = not running
            runSpeed(running)
        end
    end)
end



return MovementLib
frail flicker
#

Remove the :Wait() you just need to reference the character

#

and use FindFirstChild

#

On everything else

boreal topaz
#

oki

boreal topaz
#

fixed it

boreal topaz
boreal topaz
#

thoughts and prayers for me trying to create an item grabbing system

hollow sphinx
#

ngl this looks so stupid

hollow sphinx
#

@pulsar crest @willow coral i did it ig

#

im getting the hang of ecs

hollow sphinx
#

wyd when

rare goblet
hollow sphinx
pulsar crest
frail flicker
#

@pulsar crest u on ur pc

pulsar crest
#

yeah

frail flicker
#

wanna test out the game

pulsar crest
#

im already there

frail flicker
#

wa

pulsar crest
#

oh

#

how the hell did i not join you lol

#

oh i disconnected

frail flicker
#

i aint in

#

yea i restarted to push todays update

#

bro LOL

#

@pulsar crest can u

#

join with a diff avatar

pulsar crest
#

huh

#

ok

#

i thought it was just corrupted data and you had to wipe the datastores

frail flicker
#

no they wipe whenever you rejoin rn

pulsar crest
#

oh

frail flicker
#

it isnt the avatar

#

something is causing the ui to shut down

#

idk what it is

#

works in studio

#

but in roblox it dies??

#

no errors either

pulsar crest
#

now it prints a table

frail flicker
#

wait

pulsar crest
#

i can sprint

#

sometimes i couldnt sprint

frail flicker
#

.

#

i hate the character bro

pulsar crest
#

huh

hollow sphinx
#

but with ecs it makes things 10x less complicaated

pulsar crest
#

so i recently found out theres Enum.KeyCode.MouseLeftButton but it doesn't work with cas

#

this sucks

willow coral
#

Yeah that was recently added

#

It only works with ias

pulsar crest
#

yeah i remember using it with ias

#

it's just so ugly that for every single key you gotta use Enum.KeyCode but for mouse inputs you gotta use Enum.UserInputType

#

also is there a way to just force shiftlock enabled without scripting a custom camera?

willow coral
#

Uh

#

You would need to force enable it in the shiftlock controller

#

Stop disabling it in the same function

#

And make CameraToggle not disable it

#

You might be able to just force a camera offset of 1.75 to the side

pulsar crest
#

i see

patent notch
#

recently, I've been interested in wondering what are even the practical applications for LinkedList aside from teaching freshmen about nodes, trees and all that stuff. Two that I found so far is for a "Replay Buffer", and Hash Tables

rare goblet
#

none 👍

#

im exaggerating; there are some, but they are somewhat rare, and most of the "reasons" that classes teach linked lists for can be done without linked lists (a circular vector can implement a queue just as well as a linked list)

#

separate chaining in hash tables is a usecase but idk if a linked list is really the best option there? only way to know would be to benchmark

#

the runtime complexity doesnt actually matter with a linked list vs. a vector for separate chaining since you have to iterate through every item for comparisons anyway

#

(and the number of items in each bucket should be small anyway, ideally less than some small constant)

willow coral
#

I’m yet to run into a practical use for a linked list

#

Only times I’ve used one was when I was forced to

rare goblet
#

python's sorted dictionaries

#

though i think they can be done using an array? it just has weird behavior with amortization

#

also an adjacency list for representing a graph (though im pretty sure there is a way to get similar runtime complexity using hashing)

#

a skip list is basically a bunch of linked lists (but it can actually be useful) https://en.wikipedia.org/wiki/Skip_list

In computer science, a skip list (or skiplist) is a probabilistic data structure that allows

        O
      
    
    (
    log
    ⁡
    n
    )
  

{\displaystyle {\mathcal {O}}(\log n)}

average complexity for search as well as

stiff talon
#

are there any super obvious scripting mistakes ive made here that could cause the player to bug out when TimeValue > 1? i can show more parts of the script if necessary but im under the assumption that this is the part thats broken
(this script is supposed to move the player over a curved path, just like ziplines)

hollow sphinx
#

you should get difference between getcoordinate(1) and getcoordinate(0.999) then use that as a futurepos

pulsar crest
#

damn whys the player module so big 😭 like it's just moving and turning your camera around

hollow sphinx
stiff talon
#

wasnt really expecting it to cause getcoordinate should work with any number
but im not gonna complain!

rare goblet
#

also because they use inheritance

pulsar crest
#

oh 😭

#

also why does the camera module return {}

#

instead of the thing it creates

#

why does it even call new in the module itself

#

and i can't find the code that makes your character look forward using shiftlock

#

i hope it's not internal or something

rare goblet
#

its intentional

#

specifically so it is impossible to get access to the cameramodule without forking the camera scripts

#

i know this because it used to actually return the thing several years ago but they changed it with an fflag that was named in a way to show that was the point

pulsar crest
#

oh i found it

#

well i found the line that does the secret stuff that makes you look forward

#

i just wanted to get rid of it

rare goblet
#

oh yeah its some weird property in usergamesettings

pulsar crest
#

what happens if you just make a custom chat system?

#

do you get slimed by roblox if they find out?

willow coral
#

you can make a custom chat system so long as your chat system implements TextChatService:CanUserChatAsync()

pulsar crest
#

and if i made one with it would it get rid of the
🔒 : ......

willow coral
#

Then you are liable

#

Idk

urban pulsar
#

bulkmoveto is actually so good

#

why isnt there a nothing option though

urban pulsar
#
boreal topaz
#

no clue what that is

urban pulsar
#

only just realised now this exists

hollow sphinx
#

i love constant that just

hollow sphinx
#

what happened to my github 😂

frail flicker
#

This came out a couple months ago

urban pulsar
#

first time actually using it

hollow sphinx
#

so good to not making a a + (b - a) * n function

#

and instead just directly using math.lerp

stiff talon
willow coral
#

i just got a devforum notification that meshofpaul liked my dm from like december that dmd him about my specs for some studio performance problems hopefully this indicates this problems being looked at cause it sucks whenever it happens

rare goblet
#

i dont think i made this dfa correctly

hollow sphinx
#

really nice

#

you should add a jumppower pad that also increase the height of the platform and walkspeed that increase the distance

rare goblet
hollow sphinx
willow coral
#

Please yes make teleport data server sided

#

this forcing server teleports within places is a great update idk why it hasnt happened sooner

stiff talon
stiff talon
willow coral
#

LoadLibrary() is back

#

Ain no way

urban pulsar
#

whats that again

willow coral
#

It was really strange

#

There were like 3 of them I don’t remember what they were used for but roblox added a way kinda like that with string require

rare goblet
#

2027 we will have lute support for studio

#

trust

rare goblet
hollow sphinx
#

no way

urban pulsar
#

wild rfc

#

close enough wb rust

rare goblet
#

you cant use operators on them which is kinda interesting

#

though someone will probably make an rfc for it

#

addition, subtraction, and multiplication make sense because they are the same algorithm for signed and unsigned numbers. as long as trying to use an integer and a float errors instead of doing a type coercion like python has anything but that

urban pulsar
#

math.isnan is such a nice addition

#

made tracking this down alot easier

rare goblet
#

x ~= x

#

but yeah its nice to finally have an easy way to check if a number is finite

willow coral
#

And makes stuff a bit more readable

rare goblet
#

x ~= x was consise enough for me but checking if something is finite was really akward

#

x == x and math.abs(x) ~= math.huge

#

real

local function is_finite(n: number): boolean
    local b = buffer.create(4)
    buffer.writef32(b, 0, n)
    return buffer.readbits(b, 23, 8) ~= 255
end
#
local function is_nan(n: number): boolean
    local b = buffer.create(4)
    buffer.writef32(b, 0, n)
    return buffer.readbits(b, 0, 31) > 0x7F800000
end
#

i think this is how you are supposed to do it

hollow sphinx
#

aw hn

eternal basin
#

I wish i knew a thing about how Servers work so i could make a plugin which lets me self-host Team Create so i can avoid the stupid fucking Age Estimation

#

the age thing has genuinely wanted to make me quit roblox entirely but at the same time its literally the only place where i can make small scale projects like this

#

Using something like godot is way too much for me plus i wouldnt even have a goal there, i know that i want to build obbies on roblox and it lets me do that easily

eternal basin
rare goblet
#

incredible ai post fail

hollow sphinx
#

LOL

frail flicker
willow coral
#

No way these points aren’t ai generated

#

None of these are related to the change

rare goblet
#

i feel like they couldve just added json5 encoding and used that for their internal systems

willow coral
#

@urban pulsar did you know this

willow coral
#

and @rare goblet did you know this existed

rare goblet
#

i think

#

kinda sounds familiar

willow coral
#

I wish we could create custom fonts so I could do this

#

I really wish I could just inline the scrip or difficulty icons in text labels

lilac path
#

GESINJOROJ

#

MI PREZENTAS AL VI

#

MIAN DOSIERAN FORMATON

urban pulsar
#

@willow coral

#

@willow coral

#

@willow coral

#

@willow coral

#

@willow coral

#

this was that 1 post I was talking about

willow coral
#

Interesting

#

If we want to compress the data I’ll look into it at the end but for now I’m gonna leave it

hollow sphinx
#

finally this took so long

hollow sphinx
#

i didnt know you could do this

willow coral
#

i forgot that was a thing

hollow sphinx
#

in what case would you use it for bro

willow coral
#

probably just to make constants look more readable

#

so instead of like 109234875 you could have 109_234_875

hollow sphinx
#

I see

urban pulsar
#

@rare goblet I got a question

urban pulsar
#

wait i think i fixed it

rare goblet
#

was in a 2 hour exam sorry

urban pulsar
#

dw its good i forgot about multiplication order being important

pulsar crest
#

bro unlocked golden radicalradio😂 😂

hollow sphinx
#

diabolical lib find

rare goblet
#

not surprised they made this

#

they use meow mrrp in their code samples instead of foo bar

willow coral
#

ive got an even simpler maid

#

table.insert(connections, connection)
for _, connection in pairs(connections) do
connection:Disconnect()
end
table.clear(connections)

rare goblet
#

(which is why they are so good)

hollow sphinx
willow coral
#

I really hate how studios script editor does not respect PowerToys KeyboardManager

#

wait no it is now

#

???

#

ok it doesnt respect my alt+key rebindings

#

thats super annoying

rare goblet
#

solution: do not use the studio script editor

hollow sphinx
#

do vs ode

abstract rune
#

hello?

frail flicker
#

@hollow sphinx i gotta figure out how to gc editable meshes

urban pulsar
#

does ^ or * come first in luau

#

^ goes first

frail flicker
#

BEDMAS

#

^ goes first

boreal topaz
#

pemdas better >:)

frail flicker
#

I am learning C++ now

willow coral
#

better than the alternative

frail flicker
#

@willow coral i can see why people enjoy c++ for making games

#

its a synchronous language

rare goblet
hollow sphinx
#

its just a programming language with a side of headache in typechecking

frail flicker
rare goblet
#

dont like 95% of languages do that

frail flicker
#

not like lua

rare goblet
#

lua is singlethreaded

#

it has coroutines but most languages have some form of threads

frail flicker
#

oh cool

rare goblet
#

c++ threads are actual os threads, meaning they run concurrently

willow coral
#

funwolf

#

do you want to see something ive been working on for the past week

rare goblet
#

just found out something so outrageous it seems illegal. california law requires that every single application (which is literally defined as “can run on a general purpose computing device that can download applications”) updated since 2026 began must use an api provided by the operating system (these apis dont yet exist) to request the users age. from what i can tell the law doesnt even require you to do anything with it, you are just required to use the api. if you do not do this by july 1, 2027 (keep in mind this applies to all applications that have been updated recently, even though it is currently impossible to comply), then you are on the hook for up to $2500 (or $7500 if violated intentionally) PER CALIFORNIAN CHILD WHO USES YOUR APP

willow coral
#

I heard about that

#

It’s fucked

rare goblet
#

from what i can tell, this means that currently, releasing a program to any californians is illegal, considering it is literally impossible to comply atm

#

technically you wont be breaking the law until july 1, 2027, but if you release an app now you are now strapped with the duty to update it before then

#

this seems like genuinely one of the most negligent software bills ever passed

hollow sphinx
#

wth

#

now theyre forcing age verification everywhere (in europe)

#

cant have shi in the internet anymore

rare goblet
#

ive seen people say this is for surveillance, but that doesnt make sense, since it only requires operating systems to ask for your birthday (no verification required). it seems to me like its just a genuine, unfathomable lack of knowledge of how software and operating systems work

rare goblet
#

cant wait for oss devs to start putting “this is illegal to download in california” in their programs

#

because thats the only reasonable way to follow the law

abstract rune
#

well that’s fucked up.

boreal topaz
#

mind you these are the same people who say "its them damn phones" and then post on twitter for the 800th time that day

broken laurel
#

mfw when i downloaded vs code to test my code but turns out i should have downloaded visual studio lol

hollow sphinx
#

fl studio

abstract rune
broken laurel
#

no im learning c++ rn

#

well i wish i learned javascript lol but thats prob for later

rare goblet
#

honestly if you learn one procedural language really well then learning other procedural languages isnt that bad

#

(most popular languages are procedural)

#

the concepts of programming is the hardest to learn, once you know them learning a new language is just about the syntax and quirks of that language

patent notch
#

Istg the word "verbatim" feels off to me
It sounds like something a conservative evangelical Christian apologetics would say

patent notch
patent notch
#

Integrated Development environment

#

AKA a fancy text editor for programming

abstract rune
#

oh, that’s interesting ig.

#

although i don’t know much about coding since i lost my programming skills ever since i couldn’t access to roblox studio due to a login failed.

patent notch
#

Though, for a text editor, VSCode sure takes up a lot of RAM and CPU cycles
Ahem Electron app

abstract rune
#

thats nice.

patent notch
#

I'm not sure how one can lose "programming skills" aside from getting brain damage

#

Even if it's a skill
I can still drive a manual car just fine after like months or years of not driving one

abstract rune
#

the thing is i couldn’t remember my skill since i haven’t went back to Roblox Studio for like a few months or a year.

#

i wanted to log back in again and get it sorted out but it doesn’t let me log back in somehow.

patent notch
#

Have you tried quick login

#

But still, after years of not driving a manual car, all I need to do is hop in, feel the pedals, then I can get on the road without struggling, so I don't think skills can be lost that easily

abstract rune
#

like it takes less time to learn.

abstract rune
patent notch
#

Weird

abstract rune
#

wait hold on.

patent notch
#

Anyway, I tried to see if I could vibe code an entire Tower defense game and the clanker literally hallucinated like JavaScript OOP code into luau lmfao

abstract rune
#

does the email me a one time code work in RBLX Studio you wonder?

patent notch
#

So I concluded AI sucks

abstract rune
#

jk

#

anyways, when i get back into roblox studio again i'm just gonna try "Use Another Device" to see if that works since i dont think i've tried that before.

broken laurel
#

oh nvm it is

#

but yeah its a code editor

patent notch
#

Well, it got debug/test/build buttons, a terminal, and all that

broken laurel
#

ye i tried using it today bc i needed to test a c++ code for my assignment

#

lowkey dont know how to get the debugging working

patent notch
#

Last time I wrote C++ was in high school using some old ass looking IDE

abstract rune
#

been planning on making a bloxstrap fork with a modified bloxstraprpc for a planned project btw.

#

but haven’t started since i still need to get something sorted out.

rare goblet
#

if you want to use the vscode debugger im pretty sure you gotta set up some config (since it needs to know your build parameters)

abstract rune
rare goblet
#

what do you need it for

abstract rune
#

no offense but tbh nothing much, just saw this while i was scrolling down in github. (although i do not have a github account yet.)

hollow sphinx
#

but roblox update log

abstract rune
#

and versions as well.

#

it’s basically a tracker.

#

just like the fflag tracker.

urban pulsar
#

does anyone have that one benchmark plugin i need to benchmark math.lerp vs a + (b - a) * t

hollow sphinx
#

i use jabby

#

which has scheduler function for ecs benchmarking

hollow sphinx
#

aight

#

but if im being honest with you one is prob integrated and another is a lua code

urban pulsar
#

ik

#

i need to know which is the fastest

hollow sphinx
#

how would i benchmark it

#

like do i fire it a million time?

urban pulsar
#

manual looks slightly faster but extremely negligible

hollow sphinx
#

might not be the best way to do it but manual seems to be it

#
local t1 = 0
function lerp1(dt)
    t1 += dt
    t1 %= 1

    return a + (b - a) * t1
end

local t2 = 0
function lerp2(dt)
    t2 += dt
    t2 %= 1
    return math.lerp(a, b, t2)
end
#

actually lemme send video

urban pulsar
hollow sphinx
#

jabby

#

pretty much where you view or edit ecs stuff

#

too bad my laptop resolution is small to be able to use these to the fullest

urban pulsar
#

@hollow sphinx

#

can you do

#

:Lerp as well

hollow sphinx
urban pulsar
#

local newPos = baseCF.Position:Lerp(baseCF.Position + moveDir * boost, t)

hollow sphinx
#

bet

#

Vector3 lerp?

urban pulsar
#

yes

hollow sphinx
#

crazy told me to use vector cus its faster at calculation ig

 local color: vector = vector.create(0,0,0)
            color = vector.lerp(color, vector.create(1,1,1), perlinValue)
            color = vector.floor(color * 255)

 local packed = 
                0xFF000000 +
                bit32.lshift(color.z, 16) +
                bit32.lshift(color.y, 8) +
                color.x
            
            buffer.writeu32(colorBuffer, pointIndex, packed)
urban pulsar
#

@hollow sphinx try this

    return Vector3.new(
        a.X + (b.X - a.X) * t,
        a.Y + (b.Y - a.Y) * t,
        a.Z + (b.Z - a.Z) * t
    )
end```
hollow sphinx
#

wait what if i use vector

urban pulsar
#

prob cause it takes advantage being C function

hollow sphinx
#

yep

urban pulsar
#

this is what we are working with btw

hollow sphinx
#

but somewhat a + (b - a) * t being faster than math.lerp is funny

urban pulsar
#

it has to be found first in the math library

hollow sphinx
#

WAIT

#

what if we do

#

local lerp = math.lerp

urban pulsar
#

try it

hollow sphinx
urban pulsar
#

what did it get

hollow sphinx
#

lerp2 is local lerp = math.lerp

urban pulsar
hollow sphinx
#

thats alot of exponentional

urban pulsar
#

this is also another variation

hollow sphinx
#

:ScaleTo?

urban pulsar
#

yeah

#

can be called on models

hollow sphinx
#

those tend to be costy

#

oh isnt that the ring?

urban pulsar
#

its that or I

manually change attachment pos and beam width

hollow sphinx
#

true...

urban pulsar
#

i imagine ScaleTo, to maybe bulk the 2 calls but I could be wrong

hollow sphinx
#

what if you try the manual

#

if manual lerp is faster

#

maybe that could be faster

urban pulsar
#

fastLerp is manual

hollow sphinx
#

i meant manual scaleto

urban pulsar
#

this is opposite to scaleTo

#

4 calls

#

vs 1

hollow sphinx
#

🤔

#

is it WorldCFrame

#

cus since it gotta recalculate like world relative to object

urban pulsar
hollow sphinx
#

yeah

#

i just think setting worldcframe will result in 2 call of cframe math

urban pulsar
#

what are the chances

#

literally what ive been doing this entire time while working on tores

#

learning about easing styles

hollow sphinx
#

i saw that video LMAO

urban pulsar
hollow sphinx
#

why would you need worldcframe

#

when yo ucan insert offset value

#

ohhhhhhh right

#

your particle is set on global space

#

to render it, it needs to be on an attachment

#

yeah honestly thats the least i can think of im no expert when it come to optimization but call me when you want to obsfucate or overcomplicate a piece of code

#

you should ask Crazyblox trol hes really keen when it come to optimization

urban pulsar
#

i think at this point I just need to tone down the amount of particles

#

wait hold on its not that bad

#

lowest is 90 fps now

rare goblet
#
function math.lerp(a: number, b: number, t: number): number
    return if t == 1 then b else a + (b - a) * t
end
#

per the rfc

#

also idk what tests you guys are running but i find manual lerping to be ~2x slower

#

average time over 3e8 lerp calls, 5 trials each

#

NVM MY TESTS WERE BAD

#

function wasnt being inlined

#

its like microscopically faster with O(2)

#

with native its over 2x slower

#

no native support for clients though

#

honestly i really doubt you are being bottlenecked by lerp

rare goblet
#

there is a reason some people cache different size particles and switch between them; changing cframes is very quick versus changing size

#

you should run a microprofiler dump and look at the flamegraph to find what is actually taking the longest

urban pulsar
#

its my own custom particle system btw

urban pulsar
rare goblet
#

idk

#

run a microprofiler dump to check

willow coral
#

@urban pulsar what a release note

fervent stratus
#

I have returned

fervent stratus
fervent stratus
frail flicker
#

they should give us pointers too that would be really helpful

willow coral
#

whats the point of pointers in luau

#

we barely need constants

frail flicker
willow coral
#

i dont think you do

frail flicker
#

I do

willow coral
#

i guarantee you that you dont

rare goblet
#

every object is already passed by reference

#

allowing arbitrary pointer arithmetic and dereferencing is inherently unsafe

rare goblet
#

yall its cooked

#

prompt injection in roblox chat 💔

pulsar crest
willow coral
#

idk what i think about chat rephrasing

#

yeah itll be nice to not see a wall of ####s all the time but i dont want it to correct into some like super corny alternative that i would never say

urban pulsar
willow coral
#

If prompt injections possible I definitely think it’s possible to get it to swear

willow coral
#

today i learned that the function parameter to table.sort is optional

urban pulsar
#

what does it do w out

pulsar crest
#

doesnt it default to a < b

#

?

hollow sphinx
#

yea

abstract rune
#
#

and it might be useful for making npcs act like players.

frail flicker
#

Is duckduckgo a good browser to use

stiff talon
#

it’s fine, i hear people say the quality of search results is worse but i haven’t really noticed a difference

frail flicker
#

right on

#

What’s the best for privacy though

sterile narwhal
#

searxng

boreal topaz
frail flicker
#

Thanks

rare goblet
willow coral
#

I love trying to manually calculate the exact memory addresses needed to successfully run a memory overflow shellcode* attack

#

It’s so much fun

rare goblet
#

you gotta either brute force or the better way is to use a debugger

willow coral
#

im pretty sure i need to figure out where on the stack the strings getting stored to and then calculate the offset up to the return address

#

so i can override it but having a hard time figuring that out in this program

rare goblet
#

use a debugger

willow coral
#

im using gdb but it is not helping my lack of understanding

#

i just realized the attack i was trying to go after the string was being stored in the heap and the return address is stored on the stack so that was getting nowhere

willow coral
#

ok i found a proper buffer overflow i am so smart

rare goblet
#

but its more common in real-world applications (because use-after-frees and double-frees are harder to notice and defend against than a stack-based buffer overflow)

willow coral
#

This program uses wchar_t for strings in some strange way and I’m trying to figure out why it’s not setting my address correctly

#

I think it’s only setting half of it but not the other half

frail flicker
#

is mint a good distro

#

Today I’m thinking of switching to Linux

rare goblet
#

ive heard its fine

urban pulsar
#

curious whats the reason for the sudden switch

frail flicker
willow coral
#

I’m such a genius I got it working

willow coral
#

I think it’s generally rated one of the better and good distros

frail flicker
#

Okay I’m gonna do a little more research

willow coral
#

@rare goblet are you familiar with BASIC

rare goblet
#

no

#

you could not catch me dead writing basic

willow coral
#

oh well i have a version of basic that is coded to have memory flaws and i need to break* it

#

i spent the past 5 days creating this

fmt = "%s%s%s111122223333ab"
fmt[21] = 4210397
x = "111122223333444455556666777788889"

o = fmt % x
frail flicker
#

if i get mint should i use wine to install roblox and studio or just use sober

willow coral
#

I’m taking a security course

rare goblet
willow coral
#

It has some protections disabled I don’t remember everything off the top of my head

#

I’m not that good

rare goblet
#

is the stack executable

#

and is aslr disabled

willow coral
#

aslr is yeah

#

Not sure about the stack executable

rare goblet
#

are you overriding the return address to run code you wrote?

willow coral
#

I don’t actually know how to write shellcode so for this I’m just overwriting it with another function to prove you can attack the program

#

It’s a decently long program so auditing took a decent time

rare goblet
#

is this running on windows or linux

willow coral
#

Linux but I think it works on windows

#

The program implements a max Unicode character check incorrectly and alongside a stupid stack buffer efficiency along with the program fails to compute its true length if there’s more than 2 format strings in it

rare goblet
#

a single executable cant work on both windows and linux

willow coral
#

You can easily overflow it

#

It’s not an executable I said that wrong

rare goblet
#

reasonable json file sizes

frail flicker
#

Alright I’m switching to arch Linux

willow coral
#

Nerd

frail flicker
#

dude this looks sick

#

i love cyberpunk edgerunners

rare goblet
rare goblet
#

it might depend on hardware but in my experience its very flickery

#

though i tried a bit ago and it seemed maybe a bit better than a while ago?

#

dont use wine, use vinegar (its a fork of wine specifically for studio). sober is for the client, not studio

frail flicker
#

any other packages i should get in general

willow coral
#

SharedTables are interesting

willow coral
#

@rare goblet do you know how roblox servers allocate the amount of available threads and cores for parallel use

rare goblet
#

i might remember something about it being based on server size but that might have been a feature request

willow coral
#

i did some research and yeah it does seem to be pretty limited and based on server size

#

unfortunate i was hoping for more actors to be able to run at once

frail flicker
#

i now have neofetch for windows 😭

frail flicker
#

i did a little work and here is the finish result

urban pulsar
#

clean

frail flicker
#

ty

rare goblet
#

windows neofetch in git bash is diabolical

hollow sphinx
#

why does your arch look mangled

frail flicker
#

Probably cuz it’s a pokemon

frail flicker
willow coral
#

i just found a really stupid memory leak in tria.os

#

ok it may not be as dumb as i first thought but its still dumb

frail flicker
#

I finished my home server

#

It’s a start but it’s looking really awesome

fervent stratus
#

@frail flicker what do you plan using it for

frail flicker
#

My irls Minecraft server

hollow sphinx
#

w

frail flicker
#

@urban pulsar @hollow sphinx bad news

#

my isp is a steaming heap of dogshit and they have decided to take the liberty of NOT giving me a static wan ipv4