• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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