Discussion The End of Save/Load Codes

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

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

fenix140

Cool Member
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 The Helper:
    that sucks
  • jonas jonas:
    @midnight8 how is it looking
  • midnight8 midnight8:
    meh, me, wife and her friend thaty traveled with us all have covid, seems to be winding down some for me at least. Felt like complete shit, been sleeping a lot, just bieng lazy as hell. I feel like that today has probably been like 11 or 12 days since exposure. Have not had any fever today, and have not taken any meds, so hopefully by monday or tuesday I will be good to go, sadly have passed it on to our teen son, I guess that was pretty much unavoidable
  • The Helper The Helper:
    hope you get to feeling better and get vaccinated my friend
  • midnight8 midnight8:
    I will at some point, but so many vaccinated people still getting it. One of the bands we watch in vegas, all 4 had been vaccinated and are now positive.
  • Ghan Ghan:
    Symptoms?
  • Ghan Ghan:
    I think the symptoms are typically less severe if previously vaccinated.
  • midnight8 midnight8:
    I have had all of the symptoms, taste is slightly starting to come back, but smell, no. Honestly, just been a little miserable, have never felt in any danger from it. Being trapped at home sucks. lol
  • midnight8 midnight8:
    meh, got a little fever again this morning, guess gonna be a few more days
  • The Helper The Helper:
    I went to Comicon this last weekend I hope I dont get it I feel fine and I am not vaccinated and did not wear a mask
  • The Helper The Helper:
    Comicon really was not packed though like it was in the past. I am not really worried though it was the most people I have been around in a year.
  • tom_mai78101 tom_mai78101:
    Still, getting vaccinated is a good idea. We're getting Delta variant spikes here in Boston.
  • The Helper The Helper:
    I am not against vaccination at all I just have a serious procrastination problem I plan on getting vaccinated soon
  • midnight8 midnight8:
    was kinda same with me, I was gonna do it, and life got in the way.
  • midnight8 midnight8:
    we wore mask in some places, but at 118 degrees outside, little rough. :)
  • The Helper The Helper:
    yeah i had another friend in Vegas talking about that heat damn
  • The Helper The Helper:
    Well I do not think I got Covid from the Comicon
    +1
  • tom_mai78101 tom_mai78101:
    Pushed out a new Pokemon Walking algorithm build. With a new system in place, I'll probably start tackling triggers and NPCs,
    +1
  • Varine Varine:
    Is it fucking hot everywhere?
  • Varine Varine:
    What's a pokemon walking algorithm?
  • jonas jonas:
    it's an engine for pokemon games that closely emulates the walking behavior of pokemon red/blue/yellow
  • jonas jonas:
    basically if you wanted to implement pokemon yellow from scratch, and you'd want it to feel as close as possible to the real thing, you'd start with that
  • Varine Varine:
    Like from the Gameboy games? I'm not at all familiar with Pokemon.
  • jonas jonas:
    yeah
  • The Helper The Helper:
    I only played the Pokemon games on the Gamecube and Wii and such not on the portables my kids had all those games but I never really played on the portables. Now that I think about maybe once sooooo long ago.

    Staff online

    • Ghan
      Administrator - Servers are fun

    Members online

    Affiliates

    Hive Workshop NUON Dome
    Top