Author Topic: Can I force clients to have shaders on?  (Read 4971 times)

what about people who can't run shaders omg

what about people who can't run shaders omg
Who gives a stuff about little kids playing on toasters?

Who gives a stuff about little kids playing on toasters?
My computers not a toaster and I can hardly run them.

Isn't there some texture thing that fixes the glowing lines problem?
Unless you want shadows.

(Yes I know this isn't exactly what you want)
« Last Edit: September 03, 2013, 03:01:07 AM by Fastlex »

would it be impossible to just check every 30 seconds to see what shader setting they have it on, and if it's on OFF, kick them?
It would be possible, but the client could you change the client sided code to tell the server that their on. Even if their not.

A fairly hacky way to do it:
Have a client-sided add-on to make sure players use shaders. To address people who bypass it, see below.

For every player, send a raycast in the direction of the sun. If it doesn't hit anything, consider the player visible. Otherwise, go through map lights and, based on their datablock radius, determine if they would light up the player, and if they would, also consider the player visible.

When a player is considered visible, apply their avatar preferences.
When a player is not considered visible, hide all their nodes.

Why would you torture us with shaders I mean I like them but I can't see them or use them

Why would you torture us with shaders I mean I like them but I can't see them or use them
They can add some very interesting gameplay mechanics. While I understand that a majority of players can't use them, that shouldn't stop us from making a server based around them. And if the people who can't use them simply cannot play, so be it. We really need to release some sort of general server-client mod that lets servers enforce mandatory shadows or shaders.

A fairly hacky way to do it:
Have a client-sided add-on to make sure players use shaders. To address people who bypass it, see below.

For every player, send a raycast in the direction of the sun. If it doesn't hit anything, consider the player visible. Otherwise, go through map lights and, based on their datablock radius, determine if they would light up the player, and if they would, also consider the player visible.

When a player is considered visible, apply their avatar preferences.
When a player is not considered visible, hide all their nodes.

Please do this.. :")
They can add some very interesting gameplay mechanics. While I understand that a majority of players can't use them, that shouldn't stop us from making a server based around them. And if the people who can't use them simply cannot play, so be it. We really need to release some sort of general server-client mod that lets servers enforce mandatory shadows or shaders.
Exactly!!

Who gives a stuff about little kids playing on toasters?

A good chunk of the community can't use them. (me included)

Who gives a stuff about little kids playing on toasters?


i cant ues them

protip: the end user can modify client-side mods unless you distribute them as comiled dso files which gets you banned real quick
So a few jerks will probably end up cheating, I'm sure you can pretty easily figure out who doesn't have shaders on by looking at them closely in death cam or something. If someone attacks someone else when they're in a shadow, well then we can probably safely assume they're cheating- kick/ban

As creative a solution as Port's idea is, I feel a little skeptical as to how well that would work. Every player would have to constantly shoot raycasts towards the sun, which seems like it would eventually lag the server a bit. And if not that, then I still don't think it would have the same effect as just using shadows would. Players wouldn't fade into shadows, they'd just kind of blink in and out of visibility near the edge of shadows, it'd look weird

 

Every player would have to constantly shoot raycasts towards the sun, which seems like it would eventually lag the server a bit.

Even if you had 1000 raycasts every second it wouldn't lag.

Even if you had 1000 raycasts every second it wouldn't lag.
o
never mind then, I thought it'd be like projectiles

Although I thought I remembered Badspot saying that the reason precipitation didn't work with bricks correctly was because it would lag?

A good chunk of the community can't use them. (me included)
Well if you can't use shadows, then simply don't go to servers that require them. We need a way to enforce this.