OS and File IO Lib

Status
Not open for further replies.
Here you go.

JASS:
native FileCreate takes string filename returns nothing
native FileCopy   takes string filename, string dest returns nothing
native FileDelete takes string filename returns nothing
native FileWrite  takes string filename, string contents returns nothing
native FileAppend takes string filename, string contents returns nothing
native FileMove   takes string filename, string dest returns nothing
native FileRead   takes string filename returns string
native FileExists takes string filename returns boolean

native GetInstallPath takes nothing returns string

native OSVersion takes nothing returns string
 

Attachments

Yes, SharpCraft

Like writing it's own data in files, without preloading or setting the data to the player's name.

Why?...

Preload natives work fine and theyre not buggy (not to mention work without installing SharpCraft)

the shit that doesnt work is synchronization.

e/ genius idea-

A .bat file is used to enable local files on the user's PC
can't we make that .bat file also throw in a hotfix for the SyncStoredString native?
 
Here you go.

JASS:
native FileCreate takes string filename returns nothing
native FileCopy   takes string filename, string dest returns nothing
native FileDelete takes string filename returns nothing
native FileWrite  takes string filename, string contents returns nothing
native FileAppend takes string filename, string contents returns nothing
native FileMove   takes string filename, string dest returns nothing
native FileRead   takes string filename returns string
native FileExists takes string filename returns boolean

native GetInstallPath takes nothing returns string

native OSVersion takes nothing returns string

Cool. But just want to mention that OS plugin still has a script error.
 
Status
Not open for further replies.
Back
Top