As both the client and server are two different programs/projects each would have its own obfuscator map
I thought just to the client's routines, given that I'll not sell my server, but it should be considered.
I'm thinking something like:
The Client will send its version code (only once, on connection, then the version will be stored in a websocket attribute session).
The Server will have a folder containing a file for each client version (I'm the devolper
then I know and I have all the obfuscator map files).
So, the server will call client's routines in a way like:
' mapAllCLRoutines is a Map of Maps (mapVerCLRoutines)
Dim mapAllCLRoutines, mapVerCLRoutines As Map
'<omissis - code to read all map files>
Dim ClientVersion As Int = ws.Session.GetAttribute("ClientVersion")
mapVerCLRoutines = mapAllCLRoutines.Get(ClientVersion)
Dim RoutineObfName As String = mapVerCLRoutines.Get("RoutineToCall")
ws.RunFunction(RoutineObfName, Array As Object("Ciao"))
ws.Flush
Do you see any problems? Or have you better solutions?
Thank you
P.S. As I wrote, it should be better if I had files containing only name of routines; I have to search but I think that the Obfuscator is not an Anywhere Software... software, so I think it isn't possible.