#code-discussion

1 messages Β· Page 154 of 1

latent hearth
#

yeah that's fine

#

it's just an organization thing you can do whatever you want

#

it does affect caching though so having more screenguis is slightly better for performance because an update to a UI element would only re-render the screengui that contains it

#

never tested this fact though

graceful delta
#

After 3 years, I finally discovered how to make things react to music/audio

dense mauve
graceful delta
#

well forgive me for taking breaks and the Roblox dev forum not being straight forward, having every time you google it just being "How to add music to your game!!!!" and this server just insulting you when you genuionely need help and not knowing how to remake ChatGPT in Roblox

slender olive
#

guys help, my game logic and everything is ruined after trying multiple times.

somber vault
#

If you don't want to code noone is forcing you to. More money for us 🀷

oak verge
#

that match is absolutely terrible πŸ’€ what the hell

near pasture
#

@oak verge

oak verge
near pasture
#

letd play

#

/chess

runic quarry
runic quarry
near pasture
#

RAAAAAAA

graceful delta
somber vault
runic quarry
oak verge
somber vault
#

But I thought you do that for games anyways idk.

#

e.g you make a gun system or a physics system and can use them for different game ideas.

cloud brook
#

which is better for safety:
(large table data)

  1. json encode (over 100k str len) and store it into datastore
  2. json encode (over 100k str len), then buffer.fromstring it, then json encode it again and store it into datastore

from my test, that method 2 reduced the string.len upto ~3-5x but both still have the same byte size.

latent hearth
#

because you can make it much smaller without json

cloud brook
#

so just serialize it into buffer instead?

latent hearth
#

yeah there's open source libraries for that

#

if you know what the structure of the table looks like beforehand you can make it very small

cloud brook
#

it contains vectors, cframes, numbers, string, arrays

latent hearth
#

but seems like it's disappeared

near pasture
stuck vortex
#

guys i spent like half a DAY just trying to comprehend the BASICS of CFrame, am I a bit slow to learn scripting TvT

idle horizon
#

hello guys i am making controls similar to the football game FIFA, and I was wondering, should I make a gameplay server sided, wich means if your network is weak its not gonna affect the game fundamentals but mostly just delay your actions, or else doing half gameplay server half gameplay client, taking the risk?

#

and I dont know much about powers, nor physics, Innitialy I am an UI Designer / frontend scripter

somber vault
marsh kelp
stuck vortex
somber vault
thorn arch
#

Which most people aren't

marsh kelp
#
  • and if you hate math
thorn arch
#

^ this is why most people aren't familiar with linear algebra

somber vault
#

Unless ur tryna make smth with math then idk chatgpt it or smth. πŸ’€

thorn arch
somber vault
thorn arch
#

They are 4x4 transformation matrices

marsh kelp
somber vault
#

I need bigger brain

thorn arch
#

Or vice versa

#

There's functions for it but still

somber vault
thorn arch
#

Me when local can mean things other than client:

somber vault
#

I refus

#

lol

#

πŸ˜”

thorn arch
#

Local coordinates as in, the same cframe but with respect to a different origin

latent hearth
marsh kelp
# somber vault give an example

bro... I don't understand it to give examples
but the functions I see and don't understand are: Dot, Cross, CFrame.fromMatrix

easier functions: ToWorldSpace, ToObjectSpace
and example code that I don't fully understand:

local function getRotationBetween(u, v, axis)
    local dot, uxv = u:Dot(v), u:Cross(v)
    if dot < -0.99999 then
        return CFrame.fromAxisAngle(axis, math.pi)
    end

    return CFrame.new(0, 0, 0, uxv.x, uxv.y, uxv.z, 1 + dot)
end

local function getSurfaceCF(part, lnormal)
    local transition = getRotationBetween(
        Vector3.new(0,0,1),
        lnormal,
        Vector3.new(0,0,1)
    )
    
    return part.CFrame * transition * EXTRASPIN
end
latent hearth
#

it used to be pretty fun solving things like this but now mfs just use chatgpt

stuck vortex
#

My brain is frying itself look at this conversation 😭

#

High level ahh

thorn arch
#

Cframe.fromMatrix let's you construct the 4x4 matrix yourself

marsh kelp
somber vault
latent hearth
marsh kelp
somber vault
latent hearth
somber vault
latent hearth
#

there are harder problems but id have to dig pretty deep to find them

marsh kelp
somber vault
thorn arch
thorn arch
copper apex
thorn arch
#

βœ…

copper apex
#

Especially in my physics classes i see it everywhere

somber vault
marsh kelp
latent hearth
somber vault
thorn arch
latent hearth
somber vault
copper apex
thorn arch
#

Not sure what he's trynna do though

somber vault
#

Me when person know math, Ah yes the photosynthasis forumla

runic quarry
#

The mathematical phenomenon of photosynthesis

latent hearth
latent hearth
thorn arch
#

What

latent hearth
#

like

marsh kelp
copper apex
#

Linear algebra done right is really good

thorn arch
#

πŸ™

copper apex
#

I thought linear algebra was taught in college

thorn arch
#

Ok i think i kinda get what they mean

latent hearth
# thorn arch Huh

he has a given number of squares to distribute evenly along this vertical line (i.e. the distance between any 2 squares must always be the same)

and the center of the distribution has to be at a given point, in this case it's 0

thorn arch
#

Given a number N

thorn arch
latent hearth
#

the answer:
||

y(i) = d * (i - (n - 1) / 2)

where:
i is the zero-based index of a square in the list, starting from the bottom
y(i) is the position of the center of a square at a given index i
d is the desired distance between the center of each square
n is the number of squares
||

runic quarry
marsh kelp
thorn arch
#

math.map(i,1,n,-n/2,n/2)*40

copper apex
#

They get really theoretical down the stretch though atleast for me, things like vector spaces, eigenvectors, eigenspaces, diagonalization

oak verge
thorn arch
marsh kelp
oak verge
thorn arch
#

For example if you wanted to convert a range of 0 to 1 to a range of -2 to 3

thorn arch
#

It's just a mapping function

#

It takes a range and converts it to another range

oak verge
idle horizon
marsh kelp
#

not the advanced stuff

runic quarry
thorn arch
#

Cframes are 4x4 matrices so yes linear algebra

oak verge
#

what would anyone even need math.map for

copper apex
#

Atleast from what I know

thorn arch
marsh kelp
thorn arch
#

Like for doing rng

oak verge
copper apex
#

Looking at my physics classes, like we mostly just used matrices, dot products and cross product

copper apex
thorn arch
#

Most of the math other than basic arithmetic in gamedev is infact just basic vectors

copper apex
#

Yeah

somber vault
#

just finished a $200 comm! (usd)
was for scripting lol

#

js so happy they did not scam

oak verge
#

I had to make a probability algorithm for my obby game πŸ’€

latent hearth
thorn arch
#

You don't need to know how cframes work under the hood to use them, but it will be way easier if you do

latent hearth
#

don't remember though

thorn arch
#

I only found it recently

copper apex
thorn arch
#

I would just make my own mapping function when necessary

marsh kelp
#

any of you guys heard of Khan Academy? what do you think of it?

lost turtle
#

j

copper apex
#

I think when people look online to solve problems, it's plagiarism.

thorn arch
#
local map(value, r1start, r1end, r2start, r2end)
   local alpha = (value-r1start)/(r1end-r1start)
   return r2start+alpha*(r2end-r2start)
end```
#

^ this function is equivalent to math.map

#

Is just a quality of life thing

copper apex
runic quarry
#

There's also openstax textbooks which I find to be okay

marsh kelp
thorn arch
#

Oh

runic quarry
runic quarry
#

They have other subjects too

oak verge
# copper apex U made ur own algorithm ?

yes i arranged obbies into teirs, and used Binomial and Cumulative distribution to arrange it into a bias if its in a specific significance level, so pretty much, if I want teir 1 obbies, i would make a significance level (acceptance value) of 10, give teir 1 obbies a value of 3, teir 2 and 3 obbies with a value of like 1.7, then pretty much use a randomised value and the probabilty of the obby value being in the significance range, then multiply it by the value assigned to the teir, then interpret the range results, check if its above or equal to the acceptance value, and then it accepts the obby, then it clones that obby and positions it correctly in the game, so you get a range of obbies, for my game theres like over 20^7 variations for each match.

thorn arch
#

Just watch 3blue1brown 😁

runic quarry
marsh kelp
latent hearth
# thorn arch ```math.map(i,1,n,-n/2,n/2)*40```

this seems to give incorrect results

local PROMPT_DISTANCE = 40

local function f1(i, n)
    return PROMPT_DISTANCE * (i - 1 - (n - 1) / 2)
end

local function f2(i, n)
    return math.map(i, 1, n, -n / 2, n / 2) * PROMPT_DISTANCE
end

for n = 1, 5 do
    local prompts = {}
    for i = 1, n do
        prompts[i] = f1(i, n)
    end
    print("f1", table.concat(prompts, ", "))

    prompts = {}
    for i = 1, n do
        prompts[i] = f2(i, n)
    end
    print("f2", table.concat(prompts, ", "))
end```
copper apex
# obsidian vale huh

Pretty much, when someone looks at a problem, and then go online to watch someone do a similar one or the same one and do it, then they do it like them, i think it's plagiarism.

thorn arch
latent hearth
#

my brain is too turned off to think about why it's wrong but it is

copper apex
#

I'm talking mostly about STEM majors

obsidian vale
runic quarry
latent hearth
nimble ginkgo
icy void
#

Hello everyone, is there someone who can help me set up the voice chat player and the hearing of player sounds in Roblox?

oak verge
latent hearth
latent hearth
#

or is it

nimble ginkgo
obsidian vale
oak verge
nimble ginkgo
obsidian vale
copper apex
oak verge
obsidian vale
nimble ginkgo
obsidian vale
#

How does your code look 😭

copper apex
#

It is dense, it is filled with information and with little tips and advices from the author

#

Not only that, it shows TONS of examples and practice problems

nimble ginkgo
obsidian vale
latent hearth
copper apex
#

I dont why im getting questions marks lol its true

obsidian vale
#

Because it's not true in a broad context?

copper apex
oak verge
# copper apex When you study with textbooks, you teach yourself, a page can hold a 10 min vide...

i agree but disagree, youre talking about watching a video as research, most videos dont give you as much information rate as reading and interpretting the information yourself, as videos interpret the information for you but most likely simplify it making it too vague understand. I like researching WAY MORE online, i think what you meant was reading for research and information rather than watching videos. Online research will always be better than just reading a research book

copper apex
#

When u go into STEM, you learn to become a scientist, you need to learn how to research

obsidian vale
#

How do you learn to research?

marsh kelp
#

maybe that's a good thing if you're reading to learn 100% of the subject

copper apex
runic quarry
#

Just need to verify your sources too

obsidian vale
#

πŸ’”

#

Unreal points

oak verge
obsidian vale
#

You need to learn to read a text book praysob

kind pond
#

guys i can code and can make graphics for your games dm me if you have any work

copper apex
#

When i was talking about online, i was talking about people doing problems where when you watch it, you just copy their steps

oak verge
copper apex
#

You guys went sideways and made it broader and talked about RESEARCHING in general

nimble ginkgo
thorn arch
obsidian vale
marsh kelp
copper apex
thorn arch
#

Oh yeah that doesn't work here

obsidian vale
proper sonnet
#
oak verge
marsh kelp
# nimble ginkgo click view whole file

I had to ask... why this?

Module.Init = function()

local FadeElements = function(Time, Target)

local Transition = function()

and not this

function Module.Init()

local function FadeElements(Time, Target)

local function Transition()
obsidian vale
obsidian vale
nimble ginkgo
#

is there a difference

latent hearth
# thorn arch ```math.map(i,1,n,0,(n-1)*d)-d/2```

still wrong

local PROMPT_DISTANCE = 40

local function f1(i, n)
    return PROMPT_DISTANCE * (i - 1 - (n - 1) / 2)
end

local function f2(i, n)
    return math.map(i, 1, n, 0, (n - 1) * PROMPT_DISTANCE) - PROMPT_DISTANCE / 2
end

for n = 1, 5 do
    local prompts = {}
    for i = 1, n do
        prompts[i] = f1(i, n)
    end
    print("f1", table.concat(prompts, ", "))

    prompts = {}
    for i = 1, n do
        prompts[i] = f2(i, n)
    end
    print("f2", table.concat(prompts, ", "))
end
thorn arch
nimble ginkgo
oak verge
marsh kelp
nimble ginkgo
obsidian vale
thorn arch
latent hearth
# nimble ginkgo wat is the differenc

compiler optimizations (not sure if they changed it so that both are equivalent)
and in the first one you would get a warning from your editor if you tried to call the function inside itself

obsidian vale
thorn arch
#

It's

obsidian vale
#

❀️ great for him

#

I guess kids will finally be allowed to make low earning games and buy gag gamepasses

thorn arch
#

math.map(i,1,n,0,(n-1)*d)-n*d/2

obsidian vale
#

until it gets saturated because it can't do much

thorn arch
#

And uh

nimble ginkgo
# oak verge

"5k robux per week" ig its a lot if he's not dev-exing πŸ’”

obsidian vale
#

also that ai model is definitely just a repurposed model

thorn arch
#

It's still gonna give nan for n = 1 i think

oak verge
# obsidian vale wow he's making nothing per week

thats not the problem . If its easy for him to make games with scripts and earn 5k rbx per week, then the game development market will soon become oversaturated and roblox's cost per effective games will go up due to low effort slop being produced

latent hearth
thorn arch
#

Since it's not designed to handle ranges where start = end

obsidian vale
#

or he's just lying

#

he sounds like he's 12 and I don't know where he'd get money to market his game

obsidian vale
#

How does a game even make 5k a week

#

That's so low it can't be consistent

latent hearth
#

5000 robux a week is only $70 a month

#

you don't have to worry about the market being saturated with people making $70 a month

obsidian vale
#

Yeah that means he makes 700R$ per day

#

with 1R$ per player

#

that's 700 visits

#

that's mostly 0-4 ccu

oak verge
oak verge
obsidian vale
#

That's what I'm saying

#

It doesn't make sense that it's even possible to make so little consistently

#

Your game is either dead or not

oak verge
#

if its trend slop the demographic is a kids audience, kids audiences have less robux, likely 30-150 rbx

#

so the passes and developer products have to be like 5-50 rbx

#

πŸ’€

#

so if its 5-50 rbx the average should be like 27 rbx spent, so 5k / 27 - > 185 players paying 27 rbx average per week

#

and since not all ccu would do that

#

its most likely a game with like 300-500 ccu

#

so he gets average 400 ccu

obsidian vale
#

Yeah that's not right

oak verge
#

why not

#

what ccu fr pays a game πŸ’€

obsidian vale
#

Depends on the PCR

oak verge
obsidian vale
#

Conversion rate

oak verge
obsidian vale
#

out of all players that join

#

average is 2%

oak verge
#

thats high for trendy slop games

obsidian vale
#

CCU is based on how many DAU you have and how long your playtime is

oak verge
#

its atleast like 15-30% for slop games

#

and it heavily depends on the price of the pass also

obsidian vale
#

30% you oughtta be next Jandel

oak verge
obsidian vale
#

based on what

#

where are you pulling this out of

oak verge
#

for example look at these games and this genre

obsidian vale
#

Obby?

oak verge
#

the target demographic should be kids 12 and under, and the gamepass prices are often very cheep

oak verge
#

theyre more like dynamic obbies

obsidian vale
#

You're giving really conflicting information

oak verge
#

people get them confused for static obbies which are like

obsidian vale
#

Do you know what the usual robux per player is

oak verge
# obsidian vale Do you know what the usual robux per player is
Roblox

[UPD 27/1/25] - Added WORLD 11 🌴

Beat the obby on your springy little pogo stick.

😀 This game is DIFFICULT it takes time to get used to
πŸ’Ύ Your progress saves, return to finish worlds any time.

πŸ‘ LIKE the game & JOIN the group for FREE in-game rewards
🎁 Make sure to FOLLOW the DEVELOPERS for more games!
πŸ’– Thank you for playi...

#

Check its demographic and average pass price

obsidian vale
#

You're making assumptions based on prices πŸ’”

#

You can't even check its demographic

oak verge
obsidian vale
#

There are 800 players

oak verge
#

the way their avatar is , their typing patterns its good enough assumption

obsidian vale
#

by checking one full server, you've covered 4%

tepid yacht
#

how could i make like a drone be able to do flips its like a fpv drone it truns left right up and down but cant do flips?

oak verge
obsidian vale
#

A lot of purchases actually come from people who have free avatars

obsidian vale
oak verge
obsidian vale
#

I'm saying that they have Robux

#

to make purchases with

oak verge
obsidian vale
#

also your point is completely wrong statistics

oak verge
#

and for some countries 40 rbx

obsidian vale
#

and that this game has noob avatars

obsidian vale
#

Yeah

#

that doesn't make your PCR 15-30% 😭

#

can you imagine how rich you'd be if that was true

#

imagine you get 100 concurrent, for 10 minutes

#

throughout the entire day

#

14400 visits

#

or players in general

#

at a

#

sub par rate

#

of 1 robux per user

#

you made 14400 robux

oak verge
# obsidian vale can you imagine how rich you'd be if that was true

15-30% = 22.5% average, 800 x 22.5% = 180, players average spending 5-100 rbx, lets say per day. ~ 48 rbx x 180 = 8.64k robux a day, which isnt far off for a game like this https://www.roblox.com/games/16646849903/W11-Pogo-Obby

Roblox

[UPD 27/1/25] - Added WORLD 11 🌴

Beat the obby on your springy little pogo stick.

😀 This game is DIFFICULT it takes time to get used to
πŸ’Ύ Your progress saves, return to finish worlds any time.

πŸ‘ LIKE the game & JOIN the group for FREE in-game rewards
🎁 Make sure to FOLLOW the DEVELOPERS for more games!
πŸ’– Thank you for playi...

obsidian vale
#

Those are completely made up stats πŸ’”

oak verge
#

Even if theres some margin of error it should ofcourse be making atleast 3.5k+ robux a day

oak verge
obsidian vale
#

google it.

#

wait till you find out some games make 3

oak verge
#

its better to use robux per percent of players in its demographic, then break that down into robux per average user

oak verge
obsidian vale
#

it's taken from real games

#

it's not estimate

oak verge
#

people have games with 500 visits and have made atleast 3 robux

oak verge
obsidian vale
#

yeah

#

that's why it ranges from 1-3 or more

oak verge
#

so its a vague average that barely applies to your game unless its like theirs

obsidian vale
#

1 is sub par but it's not completely uncommon to have below 1 but then it's considered bad and you should work on it

obsidian vale
#

FROM ACTUAL GAMES

oak verge
#

my statistics make sense and is likely

obsidian vale
#

Your stats are based on pulled out of ass

#

and very surface level scouting

oak verge
#

Btw those actual games include these πŸ’”

#

your statistics are vague, taken from roblox's top games

obsidian vale
#

no?

oak verge
#

and if you know about statistics and average, the games with the largest user base heavily effect the average, especially considering their target demographics

obsidian vale
#

I mean top games probably don't have better stats I think, they just have a larger amount of players. But I don't know about that

oak verge
#

and to even aquire 1 robuck per user average youd need a fairly large amount of ccu, an interested demographic and a good enough PCR

obsidian vale
#

huh?? 😭

oak verge
obsidian vale
#

no?

#

are you ragebaiting

#

the most common thing in statistics is that bigger sample means more accurate result

obsidian vale
#

just because your game jumped from 100 concurrent to 1000 concurrent

#

doesnt mean users are any less incentivized to spend

oak verge
#

its called quota sampling

obsidian vale
#

more averaged results?? 😭

#

You know averaging isn't deducting or anything

oak verge
obsidian vale
#

yeah

oak verge
#

with a smaller sample you get more accurate results, that arent determined by a vague average, and you get more information per the statistic who donated in the 100 sample

#

thats the point of quota sampling

obsidian vale
oak verge
#

any reliable statistic uses quota

oak verge
oak verge
obsidian vale
#

No you just got closer to what I'm saying with your example

obsidian vale
#

you are aware you previously said PCR is 20%

#

and then proceeded to claim that more players = worse stats

oak verge
# oak verge per the annalogy the PCR is 5% becuase the sample size is small

youre proving my point as i literally stated for the average statistic of 1 rbx per person to match the average statistic of PCR 1% ish, the sample size of ccu would have to be at a threshold and way higher than the average newly released game, to get statistics like that the game would need to be of these statuses

slender yew
#

does this mean I'm experienced?

#

wtf πŸ’€

#

why did it format like SHIT

oak verge
marsh kelp
obsidian vale
#

it's real

#

from actual games

somber vault
oak verge
obsidian vale
#

and not surface level scouting of popular games

#

ok youre ragebaiting or stupid

oak verge
obsidian vale
#

im done w/ this

oak verge
#

easily folded

sharp finch
#

Would this be a good roblox game?

obsidian vale
sharp finch
obsidian vale
#

Yeah no but what's the game like

sharp finch
#

First it pciks two random words that you have to do hten if u dont want4 to then you can do a double dare

#

which is just a different one ut its two words

#

the 4th segment is a longer word almost like a sentence.

obsidian vale
#

I mean

#

no idea how you'd implement this

#

but I think it could be a pretty good social experience

sharp finch
#

I would probagbly implement it inside of a hangout game.

obsidian vale
#

Definitely but how would you make dares that are actually interesting

#

and also still follow TOS

sharp finch
#

or "Eat hair"

obsidian vale
#

Yeahh I don't know about those

sharp finch
#

Do you want to work for percent?

obsidian vale
#

No

sharp finch
#

What.....

#

Why????

junior pier
#

hey, percent here

#

nobody wants to work under me.

#

goodbye

obsidian vale
#

for proof, that is the Roblox given benchmark for 50%-90% of games in the obby genre

oak verge
# obsidian vale Lower percentile average of obbies is 44 Robux per paying user. At an assumed ...

flawed stats, one like i mentioned before there are different types of obbies, that yield different stats, two your argument assumes the rate of paying users is every 10 minuites, thats completely flawed. I mentioned that the rate of paying users on LOWER BOUND average was around 47 rbx per day for each paying user,and the PCR being 22.5% would overal result in 47 x (800 x 22.5%) = 8.46k robux a day

oak verge
obsidian vale
#

How am I meant to make an argument when you're just stupid and wrong

oak verge
#

good you conceid πŸ˜‚

obsidian vale
#

the misconception lies in the fact that they do not have 800 players in one day

#

they have 800 players RIGHT NOW

#

and if 800 players RIGHT NOW play an avg 10 minutes

#

that means they will cycle through

glacial condor
#

You're not accounting for the fact that most of those players come back

obsidian vale
#

roughly 144 cycles

glacial condor
#

And aren't unique players

obsidian vale
#

also no

#

most players do not come back

glacial condor
obsidian vale
#

most would mean 50%+ retention

oak verge
obsidian vale
#

but never most

glacial condor
#

For something like deepwoken most players are returning players

obsidian vale
glacial condor
#

Id also assume grow a garden has a lot of returning players

oak verge
glacial condor
#

But I wouldn't assume a obby game to have a lot of returning players

obsidian vale
#

You genuinely believed completely wrong statistics and now are trying to sound stupid on purpose

obsidian vale
oak verge
obsidian vale
#

on a lower percentile

glacial condor
#

Factor that in the calculations then

obsidian vale
#

it already is

glacial condor
#

Oh k

obsidian vale
#

also 5% wouldn't make a significant difference

#

compared to the completely wrong PCR

glacial condor
#

also you could probably check the avarage playtime of players instead of assuming

#

I'm preety sure there's a tool for that

oak verge
obsidian vale
oak verge
#

still on average 800 DAU

obsidian vale
#

10 minutes could be generous

obsidian vale
obsidian vale
oak verge
obsidian vale
#

Daily

#

active users

#

not average concurrent

#

or concurrent

oak verge
glass panther
#

Hmmm

coral field
glass panther
#

Nah

#

I am new

coral field
obsidian vale
#

doesn't show that for me

#

I thought it'd be global

oak verge
glacial condor
glacial condor
#

Dude there's tools to check the playercounts of games

obsidian vale
#

He's trying to be stupid to ragebait

glacial condor
oak verge
glacial condor
#

You can even see new visits

oak verge
glacial condor
#

Genius help

glacial condor
#

Here's the link for the game

#

You can see the avarage playtime is about 6-8 minutes

obsidian vale
#

makes that PCR look even more outlandish

glacial condor
#

The playercount only drops to 710 on the lowests

#

And there's about 1k new visits every hour

obsidian vale
#

also

#

there's just straight up a graph

#

that shows what Im talking about

obsidian vale
glacial condor
#

Sometimes it dips to 400 CCU

glacial condor
obsidian vale
#

Yeah it does

glacial condor
#

Preety sure a visit is every hour

obsidian vale
#

I mean put it into perspective

#

8 minute playtime, only 1000 users per hour

#

they wouldnt even be putting up 100 concurrent

oak verge
# obsidian vale that shows what Im talking about

and the DAU like i said was 800-500 πŸ’€ , even considering 7.3 min playtime, that doesnt mean that per the average of 7.3 minuites there is a perchace per the PCR i mentioned πŸ’€ , you automatically assumed i meant that per the 7.3 minuite playtime, approx 180 players would play and spend robux, despite how i reiterated that it is a likely 180 players within the spanned duration of 1 day, meaning per each session of 7.3minuites average a likely of one of those players will join and spend the proceeding 47 rbx

obsidian vale
#

new visits every interval

#

so every little bar

#

is how many new ones

glacial condor
obsidian vale
#

you do

#

10 minutes

glacial condor
#

Dang

obsidian vale
glacial condor
#

Also 8 minute avarage playtime doesn't mean everyone plays for 8 minutes, players that quit immediately is counted into that statistic

obsidian vale
#

yes but that is average

#

and average works like that

glacial condor
obsidian vale
#

its great for abstracting data while keeping it accurate

glacial condor
#

For gamesn

obsidian vale
#

yeah but like

glacial condor
#

It would help a lot

obsidian vale
#

what purpose

glacial condor
#

Idk why are visitors there

#

To check how many have played your game

obsidian vale
#

I mean it would tell you how fast a game is growing

glacial condor
#

If your game is a paid game it shows how many have bought it

#

Making a badge for it gets old

obsidian vale
#

oh im pretty sure you can see this

#

in the analytics tab

#

it seperates new from returning

verbal coral
#

Using AI to do test cases for you program is goated technique

obsidian vale
#

but honestly you're within 8%~ if you just assume theyre all new

glacial condor
last hawk
#

I need to make the camera collide with a tool that has collisions off in my game, does anyone know how?

glacial condor
#

Ai doesn't write good code but it sure knows how to clean it up

verbal coral
last hawk
#

yea nobody replying bru

oak verge
verbal coral
#

ai is honestly so good at theoretical stuff πŸ™

oak verge
verbal coral
#

like back then programmers had to find textbooks

#

and relearn what they once new

#

but know i can just type in a prompt and relearn eveyrthing

last hawk
#

the part just wont

oak verge
obsidian vale
#

but really do watchout

#

it will hallucinate if something isn't as common

#

or somewhat new

#

and no, you can't just give chatgpt the docs

#

you can, but it's not actually going to learn it

#

you'll just point it towards the correct thing

lean ocean
#

you can gaslight chatgpt its insane

obsidian vale
#

if it still doesnt have enough data about that thing

#

you're cooked

lean ocean
#

if u just say somethings wrong it will say you're right without thinking

#

even though its correct

obsidian vale
#

i mean yeah its a word predictor

#

you cant expect it to be good at proof reading logic

#

code formatting at best

obsidian vale
#

or creating common code from scratch

fresh basalt
#

yo, anyone know an estimate on the price for a sports game script

verbal coral
#

yeah i always try to tailor my prompt with wording that ive seen in literature/textbooks

obsidian vale
oak verge
# last hawk Ill try

just make the part's cancollide true again, then make it so that part has the default collision group off, and then for the part attached to the camera make it so that that part has its collision group off for default aswell, so the cam will only collide with the part

obsidian vale
#

It's really interesting how prompting chat bots work though

obsidian vale
#

It's like language crafting

oak verge
fresh basalt
last hawk
#

Ill just put the camera into a different collision group than the tool

verbal coral
#

yo anyone got a good Tensor library for roblox?

oak verge
obsidian vale
#

Tensor library for Roblox?

#

You're trying to train an AI native to Roblox?

fresh basalt
verbal coral
#

No 😭

oak verge
# fresh basalt afl

whats the script about though, if its basic framework like movement and passing it should be minimum 27k

obsidian vale
#

ohh

#

i was thinking of

#

tensorflow

#

the app for creating ai models

fresh basalt
obsidian vale
#

not tensor the math

oak verge
obsidian vale
#

Reach out to several scripters to get several references

fresh basalt
obsidian vale
#

Just don't mention your budget

#

Well yeah but there are a lot of details

last hawk
oak verge
obsidian vale
#

about "handballing, tackling, stamina, diving, kicking"

oak verge
#

This Fooly guys advice has been absolutely awful today

obsidian vale
#

I'm talking simulated ball physics for rollback

last hawk
#

the camera will still clip through and the part will just follow it

obsidian vale
#

custom character controller, stamina management

oak verge
#

what is this even for bro

last hawk
#

I made...a scoping system but when you look too far up, the camera starts glitching through the tool

fair copper
#

u ever make a solid framework for combat then have to redesign it cuz it sucks after u made it

verbal coral
#

And by constraint I mean algebraic constraints

last hawk
#

And changed the subject

fair copper
verbal coral
#

It sucks πŸ—£οΈπŸ—£οΈπŸ”₯πŸ”₯

last hawk
fair copper
obsidian vale
fair copper
#

dude fooly i completed my combat system

#

then i realized i hardcoded some parts

#

lol

obsidian vale
#

how do you realize that after??

fair copper
#

nah i mean i was gonna change them after testing

#

i just forgot to do the changes

obsidian vale
#

wew

fair copper
last hawk
#

my whole system is kinda hardcoded rn

fair copper
#

atleast it was good while it lasted

last hawk
#

But it should be changable

fair copper
#

now we make something cleaner

obsidian vale
last hawk
#

the problem is rather that it aint safe from exploiting

obsidian vale
fair copper
#

then it aint up for public release bro

obsidian vale
last hawk
#

Im just trying to make my own fun game, it pmo that I have to think about exploiters

obsidian vale
#

Just don't allow exploiters to ruin the game for everyone

#

or to ruin leaderboards

last hawk
obsidian vale
#

and youre pretty much good

obsidian vale
#

but also a really easy fix no?

verbal coral
fair copper
#

yeah u just need to add sanity checks

fair copper
#

for the ammo n all that stuff u got on the client

obsidian vale
last hawk
#

so anyways

fair copper
#

yea

obsidian vale
last hawk
#

Here is my camera logic

verbal coral
obsidian vale
#

Its not like they can shoot without going through the server

fair copper
#

yep u should leave the ammo calc on server

verbal coral
#

You can model everything analytically on the server as on the client for ammo

fair copper
#

and just display it on client

obsidian vale
verbal coral
#

You should do calcs for both server and client

last hawk
verbal coral
#

So it’s responsive too

last hawk
#

for realism

obsidian vale
#

hardest part about this is deciding what to do once you detect a discrepancy

fair copper
#

hmm i havent played with ammo yet imma find out whats best

verbal coral
#

Well there’s rlly only one option…

fair copper
#

for combo i just use sanity checks rn

verbal coral
#

Sync to server..

fair copper
#

melee tho

obsidian vale
#

yeah

#

I'd probably try something like a remote function from client to server

#

then spawn another thread for the shooty part

#

and return the correct ammo

oak verge
# last hawk I made...a scoping system but when you look too far up, the camera starts glitch...

yea so just make it so that the camera cant be in the region of the gun. I recommend making the CFrame region this ```lua
local gun:Model = --[[your gun ]]
local region = workspace:GetPartBoundsInBox(gun:GetPivot(), gun:GetExtentsSize())
for _,v in pairs(region) do
if v.CollisionGroup==""--[[you desired collision group]] then
--now push out the camera from the camera vector its facing--
end
end

obsidian vale
#

to match it on the client

fair copper
#

im using packet module instead of remot functions so my server to client is fast ngl i'd use that to my advantage and design the combat around it

verbal coral
#

Remote functions r highkey scary

obsidian vale
#

How come

last hawk
#

wait let send a video how the scoping is

obsidian vale
#

I mean you could also make another

fair copper
obsidian vale
#

remote event

last hawk
#

I also frogor to mention that aiming isnt view modelled, but the arms actually move into the direction of your camera

obsidian vale
#

but a remote function would make the use really nice

verbal coral
obsidian vale
#

Idk if they have more overhead than remote events

oak verge
# last hawk hmm

all you need is the region which the camera cant enter, and a part which tracks the cameras location, then if the part is in the region where the camera cant enter, you can just push it back by overwriting the cframe of the camera, for testing purposes you can just reset the cframe of the camera back to the head's cframe.

#

or to the cframe before where it starts to glitch out

last hawk
verbal coral
obsidian vale
#
local function Gun:Shoot()
  self.Ammo -= 1
  self:UpdateDisplay()
  local serverAmmo = ShootFunction:InvokeServer(self.Id)
  self.Ammo = serverAmmo
end

something like this

verbal coral
#

So I think it’d be better to just use remote events

verbal coral
#

Doesnt need*

last hawk
#

yea but Ill finish the other mechanics first

tidal bolt
#

the server NEEDS to validate the hits

obsidian vale
tidal bolt
#

if you let the client decide the hits it's basically exploiters' paradise

obsidian vale
#

from just firing a remote back

oak verge
# last hawk

yea so when that happens just offset the camera by ```lua

Camera.CFrame*CFrame.new(0,2+(gun:GetExtentsSize.Y/2),0)

verbal coral
last hawk
glacial condor
#

Might be firing to the server too much

obsidian vale
#

just that this is really easy to use

glacial condor
#

It's better to check if you can do everything instead of only the ammo

runic quarry
#

anybody up to playtest some volleyball

oak verge
#

so you dont have to change it

obsidian vale
#

You could even use attributes, there'd be a slight delay but doesn't matter since I wouldn't expect client desync to happen often

verbal coral
#

Only the client sending the server signal to fire

last hawk
obsidian vale
#

so the client doesnt get stuck with a softlocked magazine

last hawk
obsidian vale
#

literally everything can go wrong on the client

verbal coral
#

Unless client is exploiting

#

Remote event firing is reliable

obsidian vale
last hawk
#

the whole thing is consisting of remote events

verbal coral
last hawk
obsidian vale
obsidian vale
#

ok lets say you also rate limit the gun

last hawk
obsidian vale
#

the client has a lag spike

#

they sent 20 requests for shooting at once

verbal coral
# obsidian vale how come

Because the client doesn’t stop sending data until it has received from the server affirming that the server receives it

obsidian vale
#

due to that

#

the client now has -20 ammo

#

but they only really shot 2

verbal coral
#

It will just take a while

#

No remotes are dropped

obsidian vale
#

That's not what I said

obsidian vale
#

because obv youre not going to allow inf fire rate

last hawk
last hawk
#

😭

#

hopefully should be an easy fix

fair copper
#

πŸ’”

verbal coral
fair copper
#

hardcoding or vibe coding

verbal coral
#

To save bandwidth

oak verge
obsidian vale
last hawk
#

alright yea

obsidian vale
#

but yeah I guess you'd save a few bytes of bandwidth

verbal coral
#

But the server dictates that, the client doesn’t know

obsidian vale
#

that's

#

what I just said

verbal coral
#

Oh I read it wrong mb

last hawk
oak verge
verbal coral
#

Holy moly atp I just refer to remote events as remote

oak verge
#

its like using Part.Size

obsidian vale
#

so its either send a little more packets for your convenience or don't

oak verge
#

but for model

verbal coral
#

Like remote function doesn’t exist in my mind

obsidian vale
last hawk
oak verge
verbal coral
#

πŸ’€

obsidian vale
last hawk
oak verge
oak verge
verbal coral
obsidian vale
oak verge
#

couldve swarn you blocked me bc you melted

last hawk
verbal coral
#

It’s okay there is a replace all feature in Roblox studio

obsidian vale
carmine hornet
#

fellas
promise module
good or bad?

obsidian vale
#

I accidentally switched every event name to the same one by accident

oak verge
# last hawk

bro the code isnt verbatim i just gave it as a reference

last hawk
#

Im still learning lua

verbal coral
hot prism
#

Lf someone who wants to make easy games together (I am a modeler)

oak verge
last hawk
oak verge
obsidian vale
#

I mean I dont really use promises

#

but if it manages your signal connections for you

#

why not

oak verge
verbal coral
#

Idk I feel like it’s just

#

Not hard to manage

last hawk
obsidian vale
#

I mean they would definitely help me if they were cross context

oak verge
obsidian vale
#

whenever I need to wait for a response from the player

oak verge
#

does it work

obsidian vale
#

but also time out

#

and also account to the fact they could leave

#

like 30 lines extra and several connections

last hawk
oak verge
last hawk
#

OH

#

yea no I think I dont even need it if it shall only collide with the receiver lol

verbal coral
oak verge
obsidian vale
verbal coral
#

Wait if it’s an instance you can lowk cast it to any descendant of instance

oak verge
#

whats the actual point of ```lua
@native

verbal coral
#

And it doesn’t error

obsidian vale
frail oyster
#

Hey, can someone help me make sense of why scripts work in solo play test in Studio but not in the game, team test or "Local server" test?

verbal coral
obsidian vale
#

it doesnt help with api use but if youre doing a lot of math it might help

verbal coral
#

Yes native code generation

oak verge
frail oyster
obsidian vale
#

but the API doesnt get any faster

#

mostly just math operations

last hawk
verbal coral
#

And solo play test usually facilitates that

last hawk
#

I need to put it into an if loop to only set the offset incase the camera actually clips through right?

last hawk
verbal coral
#

Math

frail oyster
clear obsidian
#

Hey Guys i am new scripter i started yesterday

frail oyster
#

Nice man good luck

clear obsidian
#

Thanks

oak verge
#

#outdoorcooking #camping #outdoors
zirvede kiremit tavada menemen - Menemen in a tile pan at the summit

KANALA ABONE OL ÜCRETSİZ ➀➀ https://bit.ly/2YLToO1

πŸ“ŒΔ°NSTAGRAM TAKΔ°P ET ➀➀ https://www.instagram.com/karadenizli...

πŸ“ŒVideolarΔ±n devamΔ± Δ°Γ§in videolarΔ± beğenerek kanala abone olursanΔ±z sevinirim herkese iyi seyirle...

β–Ά Play video
#

bro who keeps sending that πŸ’€

last hawk
oak verge
#

crypto pics

last hawk
#

πŸ™

#

so anyways

#

what type of meth uhh math

oak verge
#

but its prob gonna be less accurate

#

Keep the region of the gun model thing.. but instead make a set of upper and lower bound cframes

#

for where the camera cant be

#

and constantly run on client with runservice

#

to push it out

oak verge
#

otherwise youll need to loop on serverside aswell, with multipel scripts

last hawk
#

the whole thing is already running on client

sharp finch
#

how code

last hawk
#

is bro cooking the entire bible or wha

sharp finch
#

is this jump possibly im scared

oak verge
# last hawk what does that mean

local gun:Model = --your gun
local camera:Camera = workspace.CurrentCamera
local runservice=game:GetService("RunService")

runservice.RenderStepped:Connect(function()
  local CFrameSet = {}
  local gunCF=gun:GetPivot()
  local gunSize=gun:GetExtentsSize()
  CFrameSet[1] = gunCF.Position+(gunSize/2); --< frontofGun
  CFrameSet[2] = gunCF.Position-(gunSize/2);--<< back
  local CameraCFpos=camera.CFrame.Position
  
  if ((CameraCFpos.X>=CFrameSet[1].X) and (CameraCFpos.X<=CFrameSet[2].X)) and ((CameraCFpos.Y>=CFrameSet[1].Y) and (CameraCFpos.Y<=CFrameSet[2].Y)) then
camera.CFrame=CFrame.new(camera.CFrame.Position+(gun:GetExtentsSize()/2)*1.3)
end
end)

--pr som'
oak verge
last hawk
oak verge
# last hawk

debug it then, add print function at the start of the if mouse down thing and above the end) and add a print inside the if statement i sent you

#

if nothing prints in the if statement that i sent you then its likely juse to do with the indexes

#

so just switch this

last hawk
#

now it does do something

glacial condor
#

Position the gun forward half of the arms size

#

The arms size would be the collective size of all the limbs

#

The upper arm the lower arm the hand

green valley
#

what yt channel or website should i use to learn scripting

glacial condor
#

It's a better google than us

sleek crater
#

guys uhm
I've started scripting 3 months ago and I can autonomously make combat scripts w even raycasting am i doin good or am i lowkey slow

#

tryna get a lil insight from people who are much more advanced than me ty.

swift plume
#

Any beginners that wanna make a parkour game

green valley
glacial condor
somber vault
#

guys

#

how can i learn coding

#

like should i use tutorials or?

green valley
somber vault
#

k

twin basin
young rock
twin basin
young rock
#

hm

twin basin
#

Yeah that's good

sleek crater
#

tas p cool

somber vault
#

but why in the reloading anim does the players hand enter the camera

sleek crater
#

brawldev tutorials 100%

somber vault
#

kk

sleek crater
#

started watching em around 3 months ago

young rock
young rock
sleek crater
somber vault
young rock
#

i just took them from the toolbox

sleek crater
young rock
sleek crater
#

watch brawldev tutorials till you master the basics

sleek crater
sleek crater
somber vault
#

im doing it rn

sleek crater
#

ok so

#

what you do not wanna do is watch a tutorial and not code

green valley
sleek crater
#

u watch a tutorial then go code the stuff in ur own way

sleek crater
#

advanced stuff is much more fun

#

compared to basic

#

it's like, the basic playlist is fun but the advanced one really just is sum else

#

also @green valley @somber vault take breaks btw

balmy arrow
#

how does one find talented/experienced scripters

sleek crater
#

if you're too tired to go script, then don't scirpt

#

or if you just don't want to

balmy arrow
green valley
#

alr

sleek crater
# green valley alr

u can burn urself out quickly if you try to delve too deep into the unknown

sleek crater
#

though, you can probably see someone there

#

(might have to scroll a lot)

balmy arrow
lean ocean
#

or am i tripping

sleek crater
balmy arrow
#

i scrolled the ENTIRE channel everyone of them is not what im expected, i have wayy too much standards

sleek crater
#

If I can ask

young rock
zealous gorge
somber vault
zealous gorge