Page MenuHomeFeedback Tracker

Suggestions For RvExtension
Feedback, NormalPublic

Description

Hello,
I am a content creator and so far, i have an important suggestions for Bohemia's Arma development team:

  • Add a variable in RvExtension which contains the hashcode of the script file which is calling the extension and an other variable which contains a generated serial (created by the game that we could check from a distant server using some way you have provided). I am working on a SSL socket server to communicate with a distant server to record player's military file, but there is no way to make sure the dll is only called by an authorized script, plus, any smart person could decompile the DLL and find a way to cheat. With a serial i can secure my remote server. With the calling script hashcode, i can make sure no other script can call my DLL.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Feature Request

Event Timeline

This comment was removed by BIS_fnc_KK.
dedmen added a subscriber: dedmen.EditedJun 7 2022, 11:49 AM

With a serial i can secure my remote server. With the calling script hashcode, i can make sure no other script can call my DLL.

Well...

plus, any smart person could decompile the DLL and find a way to cheat.

If the person would just do that, they could also just grab the hashcode that you expect, and insert it manually.

It would be safer and easier to just make your extension run on server side only.
Normal players cannot get at the DLL to cheat, and you can use remoteExec restrictions so that all calls to the DLL go through one whitelisted function.
Like how Life and Exile servers have handled their database interactions for years.

RVExtensionContext added in 149758

void __stdcall RVExtensionContext(const char **args, int argsCnt)

args = [steamID, sourceFile, missionSourceName, serverName]

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Aug 1 2022, 6:09 PM
BIS_fnc_KK changed the task status from New to Feedback.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.