Author Topic: How to give someone eval trust  (Read 4130 times)

shed some light on this please

Assuming you have the add on, open console and type:

%name.canEval

Replace name with whoever you want to give access to.

blockhead is incorrect. there is no catch-all method of giving someone eval trust.

eval is essentially console access. anyone who has eval can potentially delete all your blockland files, or upload files to your computer (but can only "run" them if they are blockland files). it is normally only accessible on the computer hosting the server.

eval mods/addons allow users to use eval ingame, and generally come with other useful features. port's eval, for example, allows players to give other players eval access, supports multiple-line evals, checks for variables like %player and %client and automatically replaces it with the correct variables, and dumps console output to chat.

generally if you aren't knowledgeable enough to setup eval on your server without help (or with only minimal help), you should not install an eval mod. there's too much potential for a malicious or inexperienced user to either crash or screw up your server.

for ports eval in specific, you can give clients (players on your server) access to eval by setting the canEval variable on their client object to true. the exact console command is
Code: [Select]
findclientbyname("client name").canEval = true;%name.canEval will only echo 0 in ports eval, and crash your server if you put that in the console window.

Oh I really forgeted up then, sorry about that. I remembered writing that down before and thought it was fine.

Do you have a link to the Eval addon?



Thanks

Ok, so I downloaded this, but I can't seem to "activate" it. I tried using findclientbyname("Warzone").canEval = true; in my Console but it did not work. I assumed that you use $ to say a command so I tried that, but still nothing happened.

You use \ to say a command in chat, for example:

\findclientbyname("Warzone").canEval = 1;

You use \ to say a command in chat, for example:

\findclientbyname("Warzone").canEval = 1;

o i c thank you

Be very careful about giving away eval. Its relatively easy for someone who can copy-paste to execute a code line to delete all of your files. Or for someone more knowledgeable to embed a permanent backdoor in your game that they can access via a web api (wasnt it iban who did this?).

Be very careful about giving away eval. Its relatively easy for someone who can copy-paste to execute a code line to delete all of your files. Or for someone more knowledgeable to embed a permanent backdoor in your game that they can access via a web api (wasnt it iban who did this?).

it was marble man and he used tcpobjects for it