#Third person camera button

1 messages · Page 1 of 1 (latest)

timid kettle
#

I don't like to just copy other addons and use them, so I try to understand them to do my own works, but this addon is difficult for me. What it does is add some buttons on the pause screen and on the player screen, one of those buttons is the camera switch to third person

The author used codes that I don't know if are necessary for the game recognize them or he only did it this way to prevent his work from being stolen. One of the files is this and it is what I would like you to help me understand.

It seems to be made up of Unicode text, random letter text, and the command to be true or false. I decoded the Unicode text (you can see what it says in the second image) and I can understand the true or false commands. What I don't understand are the random letters, does anyone know what encoding this is? I think that there is the key to know which is the function of which button. So I can know how the addon works.

peak sluice
#

if you gonna publicly asking everyone to decode that for you then, don't. The author used obfuscation to prevent people reading and stealing author's code. you'll need a permission for author to make it readable for you.

#

And also, if you meant about third person camera button on your gameplay, that does not exist. the author likely make settings screen as always rendering and making entire element invisible, only those buttons to be seen. these buttons are from settings screen to be used.

#

therefore you got usable third person button thing that you need to disable it before going to settings.

timid kettle
#

Take It easy, I'm not trying to steal anything, even people who enter this post will not know what addon this is, the file I show does not represent even a tenth of the original addon. I'm trying to understand that because after all the only way to learn how to make addons is by seeing how others do it. And the button really does work, it even generates a settings button that sends you directly to that menu

placid moon
#

But I do wonder how do they encrypt codesbao_doggo_confused

peak sluice
peak sluice
#

but, since this server has strictly rule against code encryption, I'd recommend not to talk anything about it.

cold crown
#

i wonder how the creator like managed to add the „ionsijnaln“ stuff

carmine wraith
timid kettle
carmine wraith
#

/**/ means comments

#

in most formats

twin drift
severe cliff
#

Obfuscation is silly

cold rampart
#

use this to deobfuscate @timid kettle

#

this doesn't work anymore but basically it was buttons on the settings screen that changed it with a special toggle that looks like a button. tlgm then edited screen properties to make it overlay on hud

vital hearth
#

This is code is escaped or whatever it’s called

#

Just search up json unescaper

peak sluice
#

The code that OP posted are JSON obfuscation and made it specially harder for people to deobfuscation with tricks of how to cause errors on website that trying to format and deobfuscation it. Author's really taking effort in doing that. and I'm pretty sure who that author was.

twin drift
#

it errors when {} Is at the end or /**/

#

like what ambro did to prevent people from deobfuscating it

peak sluice
#

Same thing as tyel's packs.

#

JSON are not meant to have comments, that's how it cause some of errors that website are facing.

#

( same thing that my editor syntax checker thing are doing I suppose )

vital hearth
#

It’s possible

#

Just a little bit harder

severe cliff
#

You could write fake pseudo code without comments after the actual json code and confuse people

grand gazelle
#

mc dont read invalid json

comments in json is not invalid in terms of engine

silent siren
#

not sure why people obfuscate things like that when most people that know what they are doing are the ones that look into the code in the first place

carmine wraith
#

fr

carmine wraith
#

not json

#

jsonc allows the use of comments

peak sluice
carmine wraith
#

yes yes

#

im just saying

peak sluice
#

minecraft kinda does tbf

carmine wraith
#

wdym

peak sluice
#

it reads comments too, but it stops when specific line has syntax errors, therefore loading half of the code.

carmine wraith
#

ye

#

technically

peak sluice
#

that only happens to json-ui though

#

iirc something like that does not occur in any addon topics.

carmine wraith
#

im pretty sure you can use comments in addons

peak sluice
#

yeah I suppose

severe cliff
grand gazelle
#

comments in json is not invalid its part of json depending on engine

js based json parsers allow comments as a valid element of json

cold smelt