Discussion The End of Save/Load Codes

Nestharus

o-o
Reaction score
84
I present a fully working functional resource that can be used in maps that are played by average players on battle.net. No files need to be downloaded, the resource provides everything.

This resource can save up to around 103 trillion characters of data per file. It can read the data back from the files into the game. Furthermore, it can sync all of this data (full blown strings, meaning you can put your save/load codes and what not up).

Each line of a file may contain up to 4000 or so characters. You may save up to 25,769,803,764 lines and precisely 103,079,215,056,000 characters of data.

Strings are sync'd safely with a 100% guarantee. They are done rather quickly, 4 characters at a time. This resource has been tested with 3 players and is fully working.

The resource determines whether or not your machine is currently set up for it. If it isn't, it provides the one necessary file in an easy to find location and tells you to run it and then restart warcraft 3. Once you run that file, you will never see that message again. It knows that you ran the file : ).

I now present the code to the resource with a demo. The reason it is linked to is because thehelper can't handle the size of the lib. I'd have to split it into 5-6 threads :\.
Code + Demo

Attached to this post is a file that you may run ^_-. Run it solo to see the file i/o. Run it with buddies to see the file i/o + syncing =).

edit
Current map up isn't the latest. The syncing now almost instantly syncs all of the data at once regardless of how much data there is. I'm going to continue working on this in order to make it safe in the event of players leaving and so on ^_-. Eventually I'll write documentation on it and submit it for peeps to use : ).

The API is not going to change, so you can work on some GUI save/load stuff for it if you want ;p.

After this, I'll probably do an AES thing and update BigInt to be able to handle any amount of data.
 

Attachments

  • BigInt.zip
    205.1 KB · Views: 370

Nestharus

o-o
Reaction score
84
read/write from files and sync strings up with other players, essentially the ultimate system for save/load like SC2 banks.
 

fenix140

Cool Member
Reaction score
0
Nestharus Thank you for this great contribution :cool:
If I finish my rpg, will put your work in the credits of my map.
Greetings ...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top