Closed LordGolias closed 6 years ago
This is because copyToClipboard only works in SP and MP if the client is server.
I didn't know this before, so we have to change to where the game is saved.
On dedicated server I just tried to save and it didn't complete. here is the error log: 21:48:46 "[AS] Server: saving game..." 21:48:46 "[AS] Server: serializing game..." 21:48:46 "[AS] Server: serializing AAF arsenal..." 21:48:46 "[AS] Server: serializing locations..." 21:48:52 "[AS] Server: serializing fia_hq..." 21:48:52 "[AS] Server: serializing FIA arsenal..." 21:48:54 "[AS] Server: serializing persistents..." 21:48:54 Error in expression <t; private _closest_pos = _closest call AS_location_fnc_location; private _size > 21:48:54 Error position: <AS_location_fnc_location; private _size > 21:48:54 Error Undefined variable in expression: as_location_fnc_location 21:48:54 File database\fnc_persistents_toDict.sqf [AS_database_fnc_persistents_toDict], line 40
@mike-187, yap, my bad :( Just pushed a fix for it with 726d6245cbf364525c4f9d4a0f23b912d6120ae0.
The problem still remains that we cannot save the string into a file (this issue)
Closing as this will be handled in #174
In SP this works as expected.