Vetex code copypasta

never tried coding on roblox but i could reliably write shitty code in unity that would torture my pc. i did elseifs like vetex but instead of background colors it was actual assets

people acting as though vetex doesn’t optimize his game when it’s turned out time and time again that he constantly does it and the issue is always on roblox’s end

cough cough cough filtering update cough cough cough

if it wasn’t for filtering enabled, we’d be on the 6th sea in AA by now.

i guess that’s true but aa would also be fucking riddled with exploiters so bad pvp would be impossible and the map could literally just bend to a random skiddie’s will if they felt like it

How did they even get the script???

so this is a client sided script that’s used to handle the displaying of the dialogue ui, which means, well, it’s on your client’s memory, so a decompiler can steal it, along with the entire map. the thing about decompiled scripts is that they don’t come with anything that the programmer wrote to make it more legible, so variables will read as ‘v_x’, comments won’t be visible, and so on.

this is also stealing work from other people, and i wouldn’t recommend anyone doing this, because it’s both very immoral and you will get banned forever from every vetex discord/game if you get caught

2 Likes

eugh, is that code real? There’s no way you’d make a script like that just to get the color…

and don’t touch vetex’s code, that not for you!

1 Like

it’s not getting the color, it’s setting the color, and it could be very real because again, ppl are lazy and dont want to rewrite code that works and isn’t doing very much harm other than looking ugly

and this is probably what optimized code would look like anyway:

Summary
local backgroundColors = {
["[Join Grand Navy]"] = Color3.fromRGB(whatever),
... -- im lazy im not writing all that
}

if backgroundColors[(textbox).Text] then
 (textbox).BackgroundColor3 = backgroundColors[(textbox).Text]
end

You need to get the color to set it, you can’t just set the color without getting a color to set. This particular section shown here is the part where the color is gotten from.

Don’t get technical on me, especially when you don’t know what you’re saying.

It looks fine, it’s not ugly at all, it just looks like a terribly inefficient way to retrieve a color.

this is just not true ! what it is doing is setting the BackgroundColor3 of some ui element based on some variable, presumably the text that is being shown. this method, or wherever this code is being written, is not a getter method, it does not retrieve a color. this is why it’s easy to be lazy here, because this color isn’t needed anywhere else other than to set that text

Fine, it sets the color, I’m wrong to say it doesn’t set it, but it also absolutely does get it. You don’t need to point out that I’ve said it wrong when this is indeed where the button gets its color from.

“hmm the worst case time complexity of n amount of elseif statements is O(n) whilst the worst case time complexity of doing this without any selection or using one single selection statement is O(1), vetexgames should rethink his code and make it more efficient!!!” - juris hartmanis probably

anyways like you guys are forgetting the no.1 rule of programming, if it works don’t touch it :roll_eyes: :roll_eyes:

8 Likes

I was sadly never around for AA but hearing about it makes me thing it would’ve been incredible. Imagine something as large scale as AA but with Vetex’s experience through the years.

That’s not just programming but basically applies to everything

Arcane Odyssey is the better option, because AA was already in “if it ain’t broke, don’t fix it”, so things wouldn’t be nearly as cool as the ground-up reworks.

I agree to be honest and I think while it would have been nice to have AA finished it was most likely better that we now have AO

AA had better lore though, soy whimsical.

AA lore was good and it laid the foundations but I think the War Sea’s is a more matured and interesting adaptation to Sea curses in all honesty. It just shows how multiple kingdoms and cultured would adapt when massive God-like powers dictate the landscape of humanities progress. In all honesty I’m very glad with how Vetex and Tech are handling the story of AO and it’s a very good showcase of how powerful and important curses are. (ignoring my goat Theos)

2 Likes

yeah this is pretty much the reason why nothing has been done to this piece of code because no one actually cares about the performance hit of if/else statements until its time to shit on vetex