Regulating clientside unsynced Lua

Regulating clientside unsynced Lua

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Regulating clientside unsynced Lua

Post by KDR_11k »

Since several threads have been derailed by discussion about this:

It is IMPOSSIBLE to prevent the client from executing custom unsynced Lua. This is the old DRM problem, you cannot have security when the legitimate and illegitimate user are the same person. You have no knowledge about the client status, all you know is whether the data it sends you is what you want to hear. The client could be playing Tetris for all you know. The client is a black box. What you're trying to do is determine how the blackbox works internally. This is as futile as trying to prove or disprove the existence of an alledgedly undetectable entity (e.g. God). You can only verify if the output of the blackbox corresponds to the input but that cannot prove anything about the inside of the blackbox.

Therefore, having the official client restrict unsynced Lua just gives a greater advantage to users of hacked clients.

To preempt any attempts of anti-cheating systems: The client can send ANY data over the network, any attempt to make the client report anything is futile as that reporting can be altered.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

And forcing the lobby to check lua beforehand is not going to happen.

The workload of implementing ti isnt justified as it would be so easy to work around.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Lobby and anything else being run on the client computer should count as part of the client for that matter.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

See also .nohelp.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Which a client could be hacked to ignore.
User avatar
Zpock
Posts: 1218
Joined: 16 Sep 2004, 23:20

Post by Zpock »

Your ignoring that:

A: someone has to write hacks

B: someone has to want to cheat to use them

C: it's hard to get away with cheating if your a top player
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Of course but a top player wouldn't exactly be uninformed so he'd know about all the widgets.
User avatar
theHive
Posts: 124
Joined: 13 May 2007, 06:54

Post by theHive »

Zpock wrote:Your ignoring that:

A: someone has to write hacks
Only 1 person has to to distribute a hacked .exe

but your other points are valid
Post Reply

Return to “Lua Scripts”