Skip to content

DLL/so error, ocap not in writing state #83

@AdmiralGhoster

Description

@AdmiralGhoster

i have set up the web side of things and that side appears to be working as intended (aka site appears on localhost:8499). but when i try and record a test mission the ocap logs say OCAPLOG/ocap-main.20251120_100437.log
2025-11-20 10:04:37,0867 140081309913216 [OcapReplaySaver2.cpp:1213:initialize_logger] INFO Logging initialized 4.4.2.3 build: Wed Jul 28 08:28:28 2021
2025-11-20 10:05:03,6654 140076017252032 [OcapReplaySaver2.cpp:1152:commandEvent] ERROR Is not writing state!
2025-11-20 10:05:03,6657 140076017252032 [OcapReplaySaver2.cpp:252:perform_command] ERROR Exception: std::exception
2025-11-20 10:05:03,6657 140076017252032 [OcapReplaySaver2.cpp:269:perform_command] ERROR Return, parameters were: :EVENT: 3:[0::"connected"::"Ghoster"]
ocap-main.20251120_100437.log
Ive tried giving the .so variant the execute permission (744) but nothing seems to work

From server logs 2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:619:get_config_path] INFO OcapReplaySaver2.so: ~arma3/mods/ocap/OcapReplaySaver2_x64.so
2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:649:readWriteConfig] INFO Trying to read config file:"~arma3/mods/ocap//OcapReplaySaver2.cfg.json"
2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:650:readWriteConfig] INFO ~arma3/mods/ocap//OcapReplaySaver2.cfg.json
2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:602:read_config] INFO Config parameter [httpRequestTimeout:120]
2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:602:read_config] INFO Config parameter [traceLog:0]
2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:602:read_config] INFO Config parameter [newUrl:https://REDACTED:8499/api/v1/operations/add]
2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:602:read_config] INFO Config parameter [newServerGameType:PVE]
2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:602:read_config] INFO Config parameter [newUrlRequestSecret:REDACTED]
2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:602:read_config] INFO Config parameter [logsDir:./OCAPLOG]
2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:602:read_config] INFO Config parameter [logAndTmpPrefix:ocap-]
2025-11-20 10:04:37,085 140081309913216 [OcapReplaySaver2.cpp:1171:initialize_logger] INFO logifles: "./OCAPLOG/ocap-main.%datetime{%Y%M%d_%H%m%s}.log":"./OCAPLOG/ocap-ext.%datetime{%Y%M%d_%H%m%s}.log"
10:04:37 CallExtension loaded: OcapReplaySaver2 ~mods/ocap/OcapReplaySaver2_x64.so) [4.4.2.3]
(file location, ip and secret redacted)

Server info: Debian GNU/Linux 13(Trixie)
webserver info: Docker desktop Windows 11 (separate machine on local network)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions