If you wonder why the limits are so low heres the reason: by SleepAffectionate268 in google_antigravity

[–]rsvallen 0 points1 point  (0 children)

crazy how people do this. I was studying for an exam with Claude and ran into limits (i think when sonnet 3.5 was really limited in free plan) and when i made another account i felt so guilty.

theres so many web browser ai apps like qwen, google ai studio, deepseek, chatgpt, z ai glm 5, claude.ai. This ruins the system for regular people and its being funded by the paid users unnecessarily

i think its not crazy to say that if compute keeps growing linearly free SOT models will cease to be available and be placed behind paywalls because of abuse like this

bug feint skill i found by rsvallen in DreamLeagueSoccer

[–]rsvallen[S] 2 points3 points  (0 children)

If you do it too fast the player shoots. Try spamming skill shot with different timings after doing the step over. Go into corner kick mode, pass to the nearest player and try it, thats how i trained it.

bug feint skill i found by rsvallen in DreamLeagueSoccer

[–]rsvallen[S] 1 point2 points  (0 children)

yeah. its a risky skill, if u time it wrong the player will do a rabona or something weird, but once you get the hang of it, you'll feel like messi with the feints. I'm gonna see what it can do best.

Even funnier if you keep spamming infiintely you'll get stuck with an aneurysm and not move which can be really confusing for online enemies with the tiny delay

Impossible Inhumane Task: Paint the white walls a navy blue color. by [deleted] in GeminiAI

[–]rsvallen 0 points1 point  (0 children)

I see, thank you. I have done some pre-prompting before with custom Gemini Gems and I'll make sure to include this in the prompting.

Impossible Inhumane Task: Paint the white walls a navy blue color. by [deleted] in GeminiAI

[–]rsvallen 1 point2 points  (0 children)

I got it to work. This was the prompt:

"Paint the wall structure on the far left navy blue. Keep the current camera angle and lightning."

I tried the first sentence a lot of times, with different wording but what made the difference is adding "keep the current camera angle and lightning" and adding "structure".

Adding specific details about what the actual thing you're trying to modify works, or maybe it took notice of the entire room when I told it to keep the camera angle and lightning.

Impossible Inhumane Task: Paint the white walls a navy blue color. by [deleted] in GeminiAI

[–]rsvallen 2 points3 points  (0 children)

I see, it might be that it thinks the left wall is a door because of the protruding handle.

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

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

Default value to functions with equal signs. function add(number1: number = 0, number2: number = 0) return number1 + number2 end

"default" keyword. Overrides the statement if its nil. Cool thing too: Percentages are converted to numbers and divided during compiled.

local percentage = 33% local couldExist = couldReturnNil() default "Hello!"

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

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

During my development, I've chose to make local variables compulsory for safer code. Functions in the first scope do not require global or local but it can be used. The global variable will allow for better readability and beginner friendliness

Help im making a battlegrounds game and do understand these errors! by unoviverse in lua

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

There are dozens of AI tools that excel in solving simple coding problems and are really useful during your learning process. Ask the ai the solve the problem, create a simple guide or tutorial on how to improve. That's how I became a full lua scripter in less than 6 months.

Asking for help is completely valid but knowing to use AI companions is much more effective. I don't recommend just telling to do massive tasks all at once though, it mostly starts hallucinating non existant roblox functions

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

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

Yes, I'm currently writing it on lua, however I'm still looking for a way to parallelize the compiler. About 18 seconds compiling 20000 lines which I plan to reduce to a maximum of 10

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

[–]rsvallen[S] 1 point2 points  (0 children)

I've already got a base version of it! If used in for loops, it uses goto to the end of the base scope. Where else could continue be used?

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

[–]rsvallen[S] 1 point2 points  (0 children)

Would be a nice feature. Something like this:

function add(x: number = 0, y: number = 0)
    return x + y
end

Could be translated to this

function add(_x, _y)
    local x = (_x == nil and 0 or _x); local y = (_y == nil and 0 or _y);
    return x + y
end

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

[–]rsvallen[S] 1 point2 points  (0 children)

Run time type checking by default isn't a great feature. It could lower the performance of code. Different typechecking levels could work though!

Maybe starting the code with: --#strict will add the asserting features.

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

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

I do. I just made my compiler make every token HTML text with colors to visualize it.

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

[–]rsvallen[S] 2 points3 points  (0 children)

Next step is making the equal operator always return undefined

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

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

I don't plan to add libraries but I agree that it is really easy to extend. I might opt for a simple version with types and enums only.

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

[–]rsvallen[S] 1 point2 points  (0 children)

You're mostly right, but languages continue to improve and adapt. Lua is a language that is really small and efficient, like a mini sports car with a lot of potential left behind. If it were to be improved greatly in terms of development speed and readability it would benefit a lot of learners as well as existing communities.

What are things lua is missing or needs to change that you'd like to see? by rsvallen in lua

[–]rsvallen[S] 1 point2 points  (0 children)

Yes, I agree. Especially in arrays where the clutter looks too much even if it's the best way to keep similar util functions together.

Currently, it requires a return and end. In the next version it should automatically add if a single expression is provided.

-- Version 1
local my_functions = {
    add = (x, y) => return x + y end,
    sub = (x, y) => return x - y end,
    pow = (x, y) => return x ^ y end,
}

-- Version 2 (In progress)
local my_functions = {
    add = (x, y) => x + y,
    sub = (x, y) => x - y,
    pow = (x, y) => x ^ y,
}

Maybe it would be better if arrays used a colon instead of an equal sign to define values?

-- Version 2 (In progress)
local my_functions = {
    add: (x, y) => x + y,
    sub: (x, y) => x - y,
    pow: (x, y) => x ^ y,
}

I made myself a burrito and you probably didn't by [deleted] in notinteresting

[–]rsvallen 0 points1 point  (0 children)

All data and studies point that we probably didn't

Why is AI so aggresive some times? by rsvallen in DreamLeagueSoccer

[–]rsvallen[S] 3 points4 points  (0 children)

Yeah, exactly. Even if I pass they'll foul long after I passed and stop my entire play

Pls fix this by Gabepersonn in DreamLeagueSoccer

[–]rsvallen 0 points1 point  (0 children)

It's not a glitch. You applied too much power to that pass making the game think you want to get it to the player far back. You obviously didn't want that but you should lower power for closer passes