Acehart's Save/Load need help

Vunjo

New Member
Reaction score
1
I have used Acehart's Save/Load system. Everything works when I test my map, save and load. But when I test map, save the hero, then close it, open test map again and try to load, it saved only Hero, Level, Gold and Items. You should know, that I added variables to save Stats, and Level of Abilities. Cannot find the answer, I think that i should add something in Jass "code".
Again, without closing Wc3, every single thing works...

Please help me +REP to 1 who helps.
 

Bankde

Member
Reaction score
20
I don't think Acehart's SaveLoad system has system to save level of ability and stats.

Add variable will help you nothing as you didn't change the system code (The code is in the top above all trigger)

Here is some part (1 out of 100) of the system.

Code:
function SaveLoad_InitialSetup takes nothing returns nothing
    local integer i = 0
    local integer j = 0

    loop
        set udg_SaveLoad_Compress[i + 48] = j
        set udg_SaveLoad_Uncompress[i] = i + 48
        set j = j + 1
        set i = i + 1
        exitwhen i >= 10
    endloop
    set i = 0
    loop
        set udg_SaveLoad_Compress[i + 97] = j
        set udg_SaveLoad_Compress[i + 65] = j + 26
        set udg_SaveLoad_Uncompress[i + 10] = i + 97
        set udg_SaveLoad_Uncompress[i + 26 + 10] = i + 65
        set j = j + 1
        set i = i + 1
        exitwhen i >= 26
    endloop
endfunction

Like this and more... if you want to save stats. You need to find other system or create your own.
 

W!†A_cRaft

Ultra Cool Member
Reaction score
28
personally i found save systems to be relatively easy to do, and i strongly recommended always making one for yourself for every map
 
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